|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
diffs on tutorial web vs tutorial file;
Posted: Sat Dec 17, 2022 1:31 am
|
In web, https://www.smspower.org/maxim/HowToProgram/Stopping, it says:
; Turn screen on ld a,%01000000 but in code Helloworld.asm is written: ; Turn screen on ld a,%11000000 So what is the correct : %010.. or $110 ? |
|
|
Posted: Sat Dec 17, 2022 7:35 am |
Both are correct. The relevant bit to switch the screen on and off is bit 6 of the byte. The other bits do different things. See Charles's VDP documentation for details. | |
|
Posted: Sat Dec 17, 2022 9:22 am |
Its time to read the doc
https://www.smspower.org/Development/SMSOfficialDocs |
|