1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-26 13:18:31 +00:00

Code goes into the CODE segment, not RODATA.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3713 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2006-03-31 20:07:43 +00:00
parent 4c0720709b
commit 9a98194dc5
4 changed files with 8 additions and 3 deletions
+4 -3
View File
@@ -37,6 +37,7 @@ ser_irq: .byte $60, $00, $00 ; RTS plus two dummy bytes
ser_sig: .byte $73, $65, $72, SER_API_VERSION ; "ser", version
.code
;----------------------------------------------------------------------------
; unsigned char __fastcall__ ser_install (void* driver);
; /* Install the driver once it is loaded */
@@ -44,9 +45,9 @@ ser_sig: .byte $73, $65, $72, SER_API_VERSION ; "ser", version
_ser_install:
sta _ser_drv
sta ptr1
stx _ser_drv+1
stx ptr1+1
sta ptr1
stx _ser_drv+1
stx ptr1+1
; Check the driver signature