Login
Back to forumReply to this topicGo to last reply

Posted By

johnnnyG
on 2018-05-21
10:48:45
 $AB1E

I watched a video on the cbm programming studio. the demo was for hello world using C64 emulator. It makes a call to $AB1E. the memory map for C64 says this Output string: Output string, which is indicated by accu/Y reg, until 0 byte or quote is found.

I looked for a routine like this for the commodore 8032. I don't see it but the memory map may be inaccurate. Does anyone know if there is such a routine for basic4 / cbm 8032? I know there is a routine to print a character, I'm hoping there is one to print a string.

Posted By

Luca
on 2018-05-21
11:01:21
 Re: $AB1E

Absolutely no offence in the following: why are you asking this on Plus/4 World's forum, and not eventually on a C8032 dedicated site?

Posted By

SVS
on 2018-05-21
12:19:57
 Re: $AB1E

There is a routine on Plus/4 O.S. that does this, at $8FFA.
I attach it for you here below. You could search on your C8032 system for a similar code. It is not so easy because there are JSRs and JMPs that obviously are different in the 2 systems.

d 8ffa
. 8ffa 20 8b 90 jsr $908b
. 8ffd 20 79 04 jsr $0479
. 9000 f0 3c beq $903e
. 9002 c9 fb cmp #$fb
. 9004 d0 03 bne $9009
. 9006 4c f7 ae jmp $aef7
. 9009 f0 43 beq $904e
. 900b c9 a3 cmp #$a3
. 900d f0 50 beq $905f
d
. 900f c9 a6 cmp #$a6
. 9011 18 clc
. 9012 f0 4b beq $905f
. 9014 c9 2c cmp #$2c
. 9016 f0 37 beq $904f
. 9018 c9 3b cmp #$3b
. 901a f0 5e beq $907a
. 901c 20 2c 93 jsr $932c
. 901f 24 0d bit $0d
. 9021 30 d7 bmi $8ffa
. 9023 20 6f a4 jsr $a46f



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024