Reworked version by Oliver Schmidt

git-svn-id: svn://svn.cc65.org/cc65/trunk@2913 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-03-11 21:54:22 +00:00
parent 5f2569ef28
commit a57deeb58a
25 changed files with 499 additions and 364 deletions

View File

@@ -21,7 +21,7 @@
; Driver signature
.byte $65, $6d, $64 ; "emd"
.byte $65, $6D, $64 ; "emd"
.byte EMD_API_VERSION ; EM API version number
; Jump table.
@@ -67,7 +67,7 @@ INSTALL:
lda #$FF
sta curpage ; Invalidate the current page
lda #EM_ERR_OK
ldx #0
ldx #$00
; rts ; Run into UNINSTALL instead
; ------------------------------------------------------------------------
@@ -143,7 +143,7 @@ COMMIT: lda curpage ; Get the current page
; Transfer one page. Y must be zero on entry
transfer:
ldx #0
ldx #$00
lda ptr2+1
cmp #>BASE
bcc @L1