Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probable errors in X16 Programmer's Reference Guide #19

Open
mobluse opened this issue Oct 11, 2019 · 2 comments
Open

Probable errors in X16 Programmer's Reference Guide #19

mobluse opened this issue Oct 11, 2019 · 2 comments

Comments

@mobluse
Copy link
Contributor

mobluse commented Oct 11, 2019

  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
Copy link

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

@mist64
Copy link
Collaborator

mist64 commented Oct 11, 2019

I agree about the BASIC notation.

@mobluse mobluse changed the title Probable errors in Programmer's Reference Guide Probable errors in X16 Programmer's Reference Guide Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants