Quick question from you C64'ers... (I'm from Apple-land):
I found many references to the routines below:
CHROUT = $FFD2
STROUT = $AB1E
But in X16 Programmer's Reference: Commodore 64 API Compatibility
Quote
$FFD2: BSOUT – write character
$FFF0: PLOT – read/write cursor position
$FFD2 is given a different name BSOUT... why?
Why not use STROUT directly? Is it compatible with X16? It uses a different memory address... it's not ROM?
Is PLOT the routine used to set LOCATE (or HTAB/VTAB)?
Why did the thread's "Hello World" explicitly print a newline? Couldn't the NEWLINE be added to the string? Do you even need it?
; print newline
lda #NEWLINE
jsr CHROUT
rts
Quote
$FFCF: BASIN – get character
$FFE4: GETIN – get character from keyboard
Lastly, does BASIC's GET command use BASIN or GETIN? Is there a keyboard strobe that needs to be reset before reading in the character?