Título: Send text to console from openMsx emulator Publicado por: samsaga2 en 05 de Junio de 2012, 04:33:04 pm OpenMSX has a great debugger but sometimes it's better printing messages to the shell.
Sjasm code: Código: DEBUG equ 1 macro dbg msg if DEBUG push af push bc push hl ld b,.next-.text ; string size ld hl,.text ld a,0x23 out (0x2e),a ; multibyte ld c,0x2f otir ; print chars jr .next .text db msg, 13, 10 .next pop hl pop bc pop af endif endmacro Título: Re: Send text to console from openMsx emulator Publicado por: nanochess en 22 de Junio de 2012, 06:37:15 pm Pretty useful. Thank you.
|