Jump to content

Machine Code Games Routines for the Commodore 64

From RetroTechCollection

Machine Code Games Routines for the Commodore 64: Essential Routines for Game Design is a book by Paul Roper, published in London by Sunshine Books (an imprint of Scot Press) in 1984; the hosted scan is the 1984 reprint. ISBN 0-946408-47-5.[1] The text ends with the index of routines on p. 169; the publisher's advertisements that follow are numbered to p. 175.[2]

The first half is about method: more 6510 theory, planning a game with top-down charts, coding, writing new routines from an algorithm, testing and debugging, and connecting routines into a game. The second half is a library of Commodore 64 machine code routines for games: screen filling and scrolling, delays, explosions, interrupts, sprites, user-defined graphics, sound, random numbers and non-linear motion. The appendices give utility programs including UDG and sprite editors, a BASIC mini-assembler and disassembler, notes on the keyboard buffer, CIAs, SID and VIC-II, and a complete game, Laserbike.[3]

Contents

[edit | edit source]

Page numbers are from the book's contents list.[3]

  • Author's Note, p. vii
  • 1: Introduction, p. 1
  • 2: Further 6510 Theory, p. 7
  • 3: The Birth of a Game, p. 23
  • 4: Program Design, p. 29
  • 5: Coding the Program, p. 39
  • 6: Writing Your Own Routines, p. 45
  • 7: Testing and Debugging, p. 53
  • 8: Connections: Stringing the Game Together, p. 61
  • 9: Direct Routines, p. 67
  • 10: Indirect Routines, p. 99
  • Appendix A: Utility Programs, p. 133
  • Appendix B: Mini-assembler, p. 145
  • Appendix C: Advanced Machine Characteristics, p. 153
  • Appendix D: Laserbike, p. 161
  • Index of Routines, p. 167

What this book does not contain

[edit | edit source]

It is a programming book. It has no schematics, parts lists or component values; for those use the Commodore 64 / 64C Service Manual.

Download: SunshineBooks Machine Code Games Routines for the Commodore 64.pdf

References

[edit | edit source]
  1. ↑ Paul Roper, Machine Code Games Routines for the Commodore 64 (Sunshine Books, 1984), title page and copyright page (PDF pp. 3-4).
  2. ↑ Roper, Machine Code Games Routines, Index of Routines, pp. 167-169, and advertisements, pp. 171-175 (PDF pp. 177-185).
  3. ↑ 3.0 3.1 Roper, Machine Code Games Routines, Contents and Contents in detail, pp. iii-vi (PDF pp. 5-8).