
Ask about this book
Contents
- Bård Baadstø Ildgruben p. 3
- Prac%cal Informa%on p. 10
- Note to Readers p. 11
- Hardware p. 13
- STA $2004 p. 20
- STA $1004 p. 24
- Assembly Language p. 42
- Graphics Applica%ons p. 48
- A Note to Mac Users p. 49
- Development Environment p. 50
- DEV Setup on Windows Computers p. 52
- DEV Setup on Mac Computers p. 61
- Troubleshoo;ng Installa;on and Setup p. 71
- Installing the Graphics Applica;ons p. 75
- Essen%als p. 76
- myHealth $0bf7 p. 85
- Programming p. 114
- A Quick Note About Code Example Files p. 114
- Wri;ng Our First “HELLO C64” Program p. 115
- STA $0400 p. 117
- Character Set p. 126
- Colors p. 131
- %11001000 p. 139
- $D022 p. 144
- $D023 p. 144
- $D020 p. 148
- $D021 p. 148
- Custom Character Set p. 149
- %00010101 p. 149
- % 0001 0101 p. 150
- *=$3800 p. 157
- .import binary “custom1.bin” p. 158
- Sprites p. 162
- %00000001 p. 166
- $D025 p. 171
- $D026 p. 171
- %00000001 p. 187
- CharPad p. 199
- SpritePad p. 237
- Reading Joys;ck Input – Part 1 p. 248
- %00011111 p. 249
- %11111111 p. 251
- Reading Bits and Bit Manipula;on p. 253
- 0 ORA 0 = 0 p. 259
- Reading Joys;ck Input – Part 2 p. 259
- %01111110 p. 262
- Moving a Sprite with Joys;ck Control p. 263
- Bit ShiUing p. 269
- $F0 $0F p. 271
- LSR p. 273
- AND #%00001111 p. 277
- LSR p. 277
- Zero Page p. 279
- $0400 p. 280
- LDA ($0020),y p. 282
- LDA #<$0400 p. 283
- LDA #>$0400 p. 283
- The Stack p. 290
- TXS p. 294
- KERNAL p. 297
- Raster Interrupts p. 300
- % 00011011 p. 310
- $D012 p. 310
- $EA81 p. 311
- $0314 and $0315 p. 311
- $D019 p. 312
- $D01A p. 313
- Includes p. 317
- *=MEMORY_ADDRESS p. 321
- Memory Map p. 322
- Config File p. 323
- LDA #ROOM_WIDTH p. 324
- Project Structure p. 325
- Libraries p. 328
- Main Game Code p. 331
- Setup Ideas and Sugges;ons p. 333
- Basic Upstart p. 337
- Making a Game p. 339
- Ge[ng Started p. 340
- Load and Display Background Graphics p. 355
- Sprite Collisions p. 368
- %00000001 p. 369
- $1A p. 372
- Sprite Anima;on p. 390
- Handle Sprites p. 400
- STA $D015 p. 406
- Update Sprite Registers p. 422
- HUD (Heads-Up Display) p. 427
- Playing Music p. 433
- PETSCII Codes and Text Rou;nes p. 437
- PETSCII code for A: 65 ($41) p. 438
- $0286 p. 439
- $FFF0 p. 439
- $FFD2 p. 440
- Reading Input from Keyboard p. 444
- $ffe4 - GETIN p. 444
- The Program Counter p. 445
- The End of the Line p. 446
- Appendix A – Screen Codes p. 447
- Appendix B – PETSCII Codes p. 452
- Appendix C – Recommended Links p. 454
- Appendix D – Code Examples p. 455