Publish VCC Plus OSS source distribution for 3.6.2 build 60

This commit is contained in:
Brian Holman committed 2026-11-13 00:14:03 -07:00
commit c652a5276d
1192 files changed
+272368

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
section code load 3f00
entry start
+32
View File
@@ -0,0 +1,32 @@
; Dispatch: entry, display and data. The copy routine lives in receive.asm.
CHROUT equ $a002 ; ROM's indirect character-output vector
section code
export start
import receive
start leax packet,pcr
leay received,pcr
ldb #expected-packet ; number of bytes before the checksum
jsr receive ; LWLINK supplies the other module's address
inspect cmpa expected,pcr
bne damaged
leax received,pcr
bra print
damaged leax badmsg,pcr
print lda ,x+
beq finish
bsr emit
bra print
finish lda #13
bsr emit
rts ; hand control back to BASIC
emit pshs x ; the print loop needs X after the ROM call
jsr [CHROUT]
puls x,pc
packet fcc "ORB"
expected fcb $e3
received fcb 0,0,0,0 ; the fourth byte terminates the printed string
badmsg fcc "CHECK"
fcb 0
endsection
+14
View File
@@ -0,0 +1,14 @@
; Contract: X = input, Y = output, B = positive number of bytes.
; Returns A = sum modulo 256. Both pointers advance and B reaches zero.
section code
export receive
receive clra
next adda ,x
pshs a
lda ,x+
sta ,y+
puls a
decb
bne next
rts
endsection
@@ -0,0 +1,5 @@
{
"main": "main.asm",
"modules": ["receive.asm"],
"linkScript": "layout.link"
}