Library: more comments for basic10

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@71 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2016-06-06 09:25:33 +00:00
parent f1e5dff122
commit a8d89e373a
2 changed files with 19 additions and 16 deletions

View File

@ -25,26 +25,29 @@ token_DIR = $ee ; was called DIRECTORY in basic v7
;!macro b_DMA {!by $fe, $23}
; new instructions:
!macro b_TYPE {!by $fe, $27}
!macro b_TYPE {!by $fe, $27} ; display sequential disk file
!macro b_BVERIFY {!by $fe, $28}
!macro b_ECTORY {!by $fe, $29} ; no-op in case someone types "DIRECTORY"?
!macro b_ERASE {!by $fe, $2a}
!macro b_FIND {!by $fe, $2b}
!macro b_CHANGE {!by $fe, $2c}
!macro b_SET {!by $fe, $2d}
!macro b_ERASE {!by $fe, $2a} ; delete file
!macro b_FIND {!by $fe, $2b} ; search in basic program
!macro b_CHANGE {!by $fe, $2c} ; edit program
!macro b_SET {!by $fe, $2d} ; set system parameter
!macro b_SCREEN {!by $fe, $2e}
!macro b_POLYGON {!by $fe, $2f}
!macro b_ELLIPSE {!by $fe, $30}
!macro b_VIEWPORT {!by $fe, $31}
!macro b_GCOPY {!by $fe, $32}
!macro b_PEN {!by $fe, $33}
!macro b_PALETTE {!by $fe, $34}
!macro b_DMODE {!by $fe, $35}
!macro b_DPAT {!by $fe, $36}
!macro b_VIEWPORT {!by $fe, $31} ; unimplemented?
!macro b_GCOPY {!by $fe, $32} ; copy graphics
!macro b_PEN {!by $fe, $33} ; set pen color
!macro b_PALETTE {!by $fe, $34} ; set palette color
!macro b_DMODE {!by $fe, $35} ; set draw mode
!macro b_DPAT {!by $fe, $36} ; set draw pattern
!macro b_PIC {!by $fe, $37}
!macro b_GENLOCK {!by $fe, $38}
!macro b_FOREGROUND {!by $fe, $39}
!macro b_FOREGROUND {!by $fe, $39} ; set foreground color
; extended token $fe $3a isn't used ($3a is ':')
!macro b_BACKGROUND {!by $fe, $3b}
!macro b_BORDER {!by $fe, $3c}
!macro b_HIGHLIGHT {!by $fe, $3d}
!macro b_BACKGROUND {!by $fe, $3b} ; set background color
!macro b_BORDER {!by $fe, $3c} ; set border color
!macro b_HIGHLIGHT {!by $fe, $3d} ; set highlight color
!macro b_MOUSE {!by $fe, $3e} ; set mouse parameters
!macro b_RMOUSE {!by $fe, $3f} ; read mouse position
!macro b_DISK {!by $fe, $40} ; send disc command

View File

@ -10,7 +10,7 @@ lib_cbm_c64_memcopy_a = 1
; - the target block must be writable (so no RAM hidden under I/O)
; higher addresses are copied first, so:
; - moving data to higher addresses works even if areas overlap
; - moving data to lower addresses only works of areas do not overlap
; - moving data to lower addresses only works if areas do not overlap
!macro basic_memcopy .src_start, .src_end, .target_start {
!address {
.z_target_end = $58