Skip to main content

2015 | OriginalPaper | Buchkapitel

3. Ready

verfasst von : Roberto Dillon

Erschienen in: Ready

Verlag: Springer Singapore

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
See Appendix C for a comprehensive list of each VIC-II register, its memory location and purpose.
 
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
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
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
Check Appendix B for a list of emulators and other programming tools.
 
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
See Appendix D for a reference.
 
8
The second nybble is used to enable filtering.
 
9
See Appendix D for the different correspondences between numerical values and timings.
 
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.
 
Metadaten
Titel
Ready
verfasst von
Roberto Dillon
Copyright-Jahr
2015
Verlag
Springer Singapore
DOI
https://doi.org/10.1007/978-981-287-341-5_3