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

Secondary address incorrect in example for loading into VRAM #22

Open
MCPEmaniac opened this issue Oct 19, 2019 · 1 comment
Open

Secondary address incorrect in example for loading into VRAM #22

MCPEmaniac opened this issue Oct 19, 2019 · 1 comment

Comments

@MCPEmaniac
Copy link

The Commander X16 Programmer's Reference Guide indicates the following:

"In BASIC, the contents of files can be directly loaded into VRAM with the LOAD statement. When a secondary address greater than one is used, the KERNAL will now load the file into the VERA's VRAM address space. The first two bytes of the file are used as lower 16 bits of the address. The upper 4 bits are (SA-2) & 0x0ff where SA is the secondary address."

I believe in the following example the secondary address should be 17 instead of 18.

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

@indigodarkwolf
Copy link
Collaborator

Duplicate of issue #19.

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

2 participants