1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +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

View File

@ -36,6 +36,7 @@ joy_irq: .byte $60, $00, $00 ; RTS plus two dummy bytes
joy_sig: .byte $6A, $6F, $79, JOY_API_VERSION ; "joy", version
.code
;----------------------------------------------------------------------------
; unsigned char __fastcall__ joy_install (void* driver);
; /* Install the driver once it is loaded */

View File

@ -41,6 +41,7 @@ mouse_irq: .byte $60, $00, $00 ; RTS plus two dummy bytes
mouse_sig: .byte $6d, $6f, $75, MOUSE_API_VERSION ; "mou", version
.code
;----------------------------------------------------------------------------
; unsigned char __fastcall__ mouse_install (const struct mouse_callbacks* c,
; void* driver);

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

View File

@ -67,6 +67,7 @@ tgi_irq: .byte $60, $00, $00 ; RTS plus two dummy bytes
tgi_sig: .byte $74, $67, $69, TGI_API_VERSION ; "tgi", version
.code
;----------------------------------------------------------------------------
; void __fastcall__ tgi_install (void* driver);
; /* Install an already loaded driver. */
@ -188,3 +189,4 @@ _tgi_uninstall:
rts