micro-sci-a2-controller/firmware/legend.s

71 lines
2.0 KiB
ArmAsm
Raw Normal View History

2023-07-09 20:59:05 +00:00
; Micro-SCI Floppy Drive Controller info disassembly
2023-07-16 02:28:35 +00:00
PRINTVEC := $08
PRBL2 := $F94A
HOME := $FC58
COUT := $FDED
2023-07-09 20:59:05 +00:00
2023-07-28 21:07:45 +00:00
.include "screencode.h"
2023-07-16 02:28:35 +00:00
.org $c600
2023-07-09 20:59:05 +00:00
ldx #$20 ; controller signature
ldy #$00
ldx #$03
stx $3C
jsr HOME ; clear display, home cursor
tsx
lda $0100,x ; current address (#$c6 for slot 6)
sta PRINTVEC+1
lda #0
sta PRINTVEC
ldy #<info ; offset of data begin
2023-07-28 21:16:00 +00:00
loop0: lda (PRINTVEC),y
bmi :+
2023-07-09 20:59:05 +00:00
tax
jsr PRBL2
beq loop1
2023-07-28 21:16:00 +00:00
: jsr COUT
2023-07-16 02:28:35 +00:00
loop1: iny
2023-07-28 21:16:00 +00:00
bne loop0
: beq :-
2023-07-09 20:59:05 +00:00
2023-07-28 21:07:45 +00:00
; Splash screen
;
2023-07-09 20:59:05 +00:00
; <--KEYBOARD U-SCI REAR-->
;
; ---------JUMPER--------
; ! ! !
; V V V
;
; ### ! ! ! ### ! ! ! ###
; ### ! ! ! ### ! ! ! ###
; ### ! ! ! ### ! ! ! ###
; ### ! ! ! ### ! ! ! ###
; XXXXXXX XXXXXXX XXXXXXX
; 3.2 INFO 3.3&PASCAL
2023-07-28 21:07:45 +00:00
;
; Franklin differs on the first three lines:
2023-07-09 20:59:05 +00:00
; <--KEYBOARD ACE 1000 REAR-->
;
; ------JUMPER------
2023-07-27 23:26:15 +00:00
2023-07-28 21:07:45 +00:00
info: screencode $0d, "<--KEYBOARD"
.ifdef MICROSCI
screencode $08, "U-SCI", $08, "REAR-->", $0d, $0d
screencode $08, "---------JUMPER--------", $0d
.else
2023-07-27 23:26:15 +00:00
2023-07-28 21:07:45 +00:00
screencode $06, "ACE 1000", $06, "REAR-->", $0d, $0d
screencode $07, " ", $02, "------JUMPER------", $0d
.endif
screencode $07, "!", $0b, "!", $0b, "!", $0d
screencode $07, "V", $0b, "V", $0b, "V", $0d, $0d
screencode $06, "### ! !", $03, "! ### !", $03, "! ! ###", $0d
screencode $06, "### ! !", $03, "! ### !", $03, "! ! ###", $0d
screencode $06, "### ! !", $03, "! ### !", $03, "! ! ###", $0d
screencode $06, "### ! !", $03, "! ### !", $03, "! ! ###", $0d
2023-07-27 23:26:15 +00:00
2023-07-28 21:07:45 +00:00
screencode $06, "XXXXXXX", $03, "XXXXXXX", $03, "XXXXXXX", $0d
screencode $08, "3.2", $06, "INFO", $04, "3.3&PASCAL", $0d, $0d