From 823452b54baab15c39517fee7e2eb5db6d73c9d4 Mon Sep 17 00:00:00 2001 From: Astatin Date: Sun, 24 Aug 2025 17:16:57 +0200 Subject: Fix the example for current assembler version + add an example for serial communication --- examples/minimal.gbasm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/minimal.gbasm') 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 -- cgit v1.2.3-70-g09d2