lab 4 part 2
This is the second post about lab for i am still on the data collection but it is completely working except for the backspace key. define SCINIT $ff81 ; initialize/clear screen define CHRIN $ffcf ; input character from keyboard define CHROUT $ffd2 ; output character to screen define SCREEN $ffed ; get screen size define PLOT $fff0 ; get/set cursor coordinates define POINTER $10 ; ptr: start of row define POINTER_H $11 define SPOINTER $12 ; ptr: start of screen define SPOINTER_H $13 define MAX_INPUT $14 ;brk ;ldy #$00 ;clc ;cpy #0 ;dey lda #$f0 sta SPOINTER_H lda #40 sta MAX_INPUT jsr SCINIT ldx #<label1 ; load XY with a pointer to the string to be printed ldy #>label1 jsr prtstr ; go print string ldx #<name ; load XY with a pointer to the string to be read and store ldy #>name