aboutsummaryrefslogtreecommitdiff
path: root/examples/minimal.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-08-24 17:16:57 +0200
committerAstatin <[email protected]>2025-08-24 17:16:57 +0200
commit823452b54baab15c39517fee7e2eb5db6d73c9d4 (patch)
tree64bebbbad8ce118c94bcc05c9542b3d1b99db567 /examples/minimal.gbasm
parent5aa866582b5a54851873c8b8c733cd168a9a6451 (diff)
Fix the example for current assembler version + add an example for serial communication
Diffstat (limited to 'examples/minimal.gbasm')
-rw-r--r--examples/minimal.gbasm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/minimal.gbasm b/examples/minimal.gbasm
index 33405c3..4f51339 100644
--- a/examples/minimal.gbasm
+++ b/examples/minimal.gbasm
@@ -15,7 +15,7 @@ Checksum: ; The bytes 0x134-0x14d need to add up to 0xe7 (= 0xff - 0x19)
Start:
Wait_VBlank:
- LD A, (0xFF00+$41)
+ LD A, ($41)
AND $03
CP $01
JR NZ, =Wait_VBlank