commanderx16 / x16-docs

Commander X16 Documentation (CC BY-SA)
189 stars 64 forks source link

Probable errors in X16 Programmer's Reference Guide #19

Open mobluse opened 4 years ago

mobluse commented 4 years ago
  1. In this text below should not 0x0ff be 0x0f? since there are 4 bits.
  2. Should not the example be 1,17 instead of 1,18? since 17-2 = 15 = 0x0f?
  3. Also, why use C notation and not BASIC i.e. (SA-2) AND $0F?

The upper 4 bits are (SA-2) & 0x0ff where SA is the secondary address.

Examples:

10 REM LOAD VERA SETTINGS
20 LOAD"VERA.BIN",1,18 : REM SET ADDRESS TO $FXXXX

https://github.com/commanderx16/x16-docs/blob/master/Commander%20X16%20Programmer's%20Reference%20Guide.md#other-new-features

greg-king5 commented 4 years ago

It was an accidental double-tap of the 'f' key.

mist64 commented 4 years ago

I agree about the BASIC notation.