diff --git a/doc/zasm.md b/doc/zasm.md index b32a4ec..dcc82c4 100644 --- a/doc/zasm.md +++ b/doc/zasm.md @@ -22,7 +22,7 @@ is configured to start at `0xe00` > bsel 3 ; select mmap > peek 5 210890CD3C ; looking good - > mptr 9000 ; hello.asm is configured to run from 0x9000 + > mptr 4200 ; hello.asm is configured to run from 0x4200 > load ff ; load compiled code from mmap > peek 5 210890CD3C ; looking good diff --git a/tools/emul/cfsin/hello.asm b/tools/emul/cfsin/hello.asm index 9c98915..1f41e92 100644 --- a/tools/emul/cfsin/hello.asm +++ b/tools/emul/cfsin/hello.asm @@ -1,6 +1,5 @@ -.equ printstr 0x3c - -.org 0x9000 +#include "user.h" +.org USER_CODE ld hl, sAwesome call printstr