Skip to main content
Book cover

Ready pp 17–26Cite as

Ready

  • Chapter
  • First Online:

Abstract

This chapter introduced the reader to the joys and sorrows of the C64 original OS and its BASIC programming language, including a foundational knowledge of sprites and sound programming via the VIC-II and SID chips respectively.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    See Appendix C for a comprehensive list of each VIC-II register, its memory location and purpose.

  2. 2.

    A particularly attentive reader may have noticed that, while the C64 has a standard screen resolution of 320 × 200 pixels, for storing a sprite’s X coordinate we are only using a specific memory location worth 1 byte of memory, i.e. 8 bits, which can cover values from 0 to 255 only! How do we place a sprite having a X coordinate between 256 and 320 then? Indeed, for each sprite, a 9th bit is needed to represent such values and it is stored in location 53264 ($D010) where each one of its 8 bits, from 0 to 7, is being assigned to the corresponding sprite.

  3. 3.

    Comments in MS Basic could be added by using a REM statement. Using a colon instead allowed for concatenating two or more instructions on the same line.

  4. 4.

    Note that, to keep the overall program more tidy and readable, we are inserting the new lines before the data block by numbering them accordingly.

  5. 5.

    Check Appendix B for a list of emulators and other programming tools.

  6. 6.

    For placing sprites in specific positions, we must be aware that, while the inner C64 display window is 320 × 200 pixels as discussed, sprites can also be placed also under the external borders, making the overall area for sprite movement 368 × 255 pixels. Location (0, 0) then is not at the upper left corner of the 320 × 200 window as we might have expected, but at the top left of the outside border.

  7. 7.

    See Appendix D for a reference.

  8. 8.

    The second nybble is used to enable filtering.

  9. 9.

    See Appendix D for the different correspondences between numerical values and timings.

  10. 10.

    A better implementation of CP/M was later built in the Commodore 128. This didn't help the new computer either, though, since, by that time, CP/M was past its prime and MS-DOS was rapidly becoming the leading business OS.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Roberto Dillon .

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer Science+Business Media Singapore

About this chapter

Cite this chapter

Dillon, R. (2015). Ready. In: Ready. Springer, Singapore. https://doi.org/10.1007/978-981-287-341-5_3

Download citation

  • DOI: https://doi.org/10.1007/978-981-287-341-5_3

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-287-340-8

  • Online ISBN: 978-981-287-341-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics