Sym-1 lib changes

This commit is contained in:
Wayne Parham
2021-06-06 21:28:03 -05:00
parent e687f2f048
commit 6c4c959141
17 changed files with 339 additions and 421 deletions

View File

@@ -1,12 +1,8 @@
; ---------------------------------------------------------------------------
; write.s
;
; for Sym-1
; Wayne Parham (wayne@parhamdata.com)
;
; Wayne Parham
; int write (int fd, const void* buf, int count);
;
; wayne@parhamdata.com
; ---------------------------------------------------------------------------
.include "sym1.inc"
@@ -16,7 +12,7 @@
.export _write
.proc _write
; ---------------------------------------------------------------------------
sta ptr3
stx ptr3+1 ; Count in ptr3
inx
@@ -48,6 +44,6 @@ next: inc ptr1
done: lda ptr3
ldx ptr3+1
rts ; Return count
; ---------------------------------------------------------------------------
.endproc