View Single Post
Old 24 March 2024, 15:10   #3
Hannibal
Registered User
 
Join Date: May 2015
Location: Kirkland, Washington, USA
Posts: 56
Of course. Attached is an executable. Here is the source:

Code:
	section	code, code

UaeCommand:	macro 
		pea		0.w
		move.l	a0, -(sp)	; output (not used)
		pea		.cmdend\@-.cmd\@
		pea		.cmd\@(pc)
		pea		-1.w
		pea		82.w
		jsr		$f0ff60
		lea		24(sp), sp
		bra		.done\@
.cmd\@:
		dc.b	\1
		dc.b	0
.cmdend\@:
		even
.done\@:
	endm

	UaeCommand 'DBG "w 0 0 1 w"'
	rts
This opens a console window with the caption
Arabuusimiehet.WinUAE

and the contents
Memwatch breakpoints enabled
0: 00000000 - 00000000 (1) W CPU
Attached Files
File Type: zip OpensConsoleWindow.zip (212 Bytes, 36 views)
Hannibal is offline  
 
Page generated in 0.04395 seconds with 12 queries