Updated the cx16 library to the Commander X16 Kernal's prerelease 35.
This commit is contained in:
19
libsrc/cx16/vaddr0.s
Normal file
19
libsrc/cx16/vaddr0.s
Normal file
@@ -0,0 +1,19 @@
|
||||
;
|
||||
; 2019-12-22, Greg King
|
||||
;
|
||||
; Set the __far__ address that VERA will use for data access.
|
||||
; This is a support function for the fastcall functions vpeek() and vpoke().
|
||||
;
|
||||
|
||||
.export vaddr0
|
||||
|
||||
.importzp sreg
|
||||
.include "cx16.inc"
|
||||
|
||||
|
||||
vaddr0: stz VERA::CTRL ; set address for VERA's data port zero
|
||||
ldy sreg
|
||||
sta VERA::ADDR
|
||||
stx VERA::ADDR+1
|
||||
sty VERA::ADDR+2
|
||||
rts
|
||||
Reference in New Issue
Block a user