Browse Source

Includes work fine when assembling from the shell

pull/10/head
Virgil Dupras 5 years ago
parent
commit
dfe19e20e4
2 changed files with 3 additions and 4 deletions
  1. +1
    -1
      doc/zasm.md
  2. +2
    -3
      tools/emul/cfsin/hello.asm

+ 1
- 1
doc/zasm.md View File

@@ -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


+ 2
- 3
tools/emul/cfsin/hello.asm View File

@@ -1,6 +1,5 @@
.equ printstr 0x3c

.org 0x9000
#include "user.h"
.org USER_CODE

ld hl, sAwesome
call printstr


Loading…
Cancel
Save