View Single Post
Old 14 October 2023, 08:37   #23
Mafi
Registered User
 
Join Date: Jul 2022
Location: Australia
Posts: 49
Quote:
Originally Posted by thomas View Post
This one works:

Code:
LVORawDoFmt	EQU	-522
LVORawPutChar	EQU	-516

	move.l	4.w,a6
	move.l	a6,sysbase

	lea	string,a0
	lea	putchproc,a2
	jsr	LVORawDoFmt(a6)

	moveq.l	#0,d0
	rts

putchproc:
	move.l	sysbase(pc),a6
	jsr	LVORawPutChar(a6)
	rts

sysbase:	dc.l	0

string:	dc.b	"Hello Sashimi!",$a,0
Just wanted to say this worked perfectly, thank you so much! Now that I’ve fixed my 4000 I’m back into the coding. Kprintf wasn’t even working when I linked with debug.lib (I was hoping to avoid doing that anyway, and now I can).

Cheers,
-Matt
Mafi is offline  
 
Page generated in 0.04607 seconds with 11 queries