[TUHS] A New History of Modern Computing - my thoughts

Steve Nickolas usotsuki at buric.co
Mon Nov 29 07:39:00 AEST 2021


On Sun, 28 Nov 2021, Thomas Paulsen wrote:

> I heard that the null terminated string was a 11-build-in.

It's a fairly good fit for 6502, too.  When I write 6502 code, all my 
messages are stored as C strings.  Because on an Apple, something like 
this...

putch      =        $FDED

entry:    ldy       #$00
@1:       lda       msg, y
           beq       @2
           eor       #$80
           jsr       putch
           iny
           bne       @1
@2:       rts

msg:      .byte     "Hello, cruel world.", 13, 0

...is pretty easy to do.

-uso.


More information about the TUHS mailing list