|
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;
![]() |
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 ? |
|
![]() ![]() |
|
|
![]() |
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. | |
![]() ![]() |
|
|
![]() |
Its time to read the doc
https://www.smspower.org/Development/SMSOfficialDocs |
|
![]() ![]() |
![]() |