forked from arti/vt1200
An 82-byte payload written in GSPA assembly, linked at bit 01800000h and loaded into main RAM by harness/mame/hello.lua, executes on the CPU: it writes DEAD/BEEF and a 1024-iteration counter into RAM and fills a 256x64 block in video RAM, which appears in the frame dump at x 256..511, y 136..199. Entry is a debugger breakpoint on the level-0 menu idle loop, not a delivery mechanism. Includes the build script, a COFF .text extractor (gsprom's hex addresses wrap at 64 KB), the run log, RAM excerpt, frame crops including a no-load control, and HELLO_WORLD_REPORT.md.
26 lines
1.5 KiB
Plaintext
26 lines
1.5 KiB
Plaintext
Warning: -video none doesn't make much sense without -seconds_to_run
|
|
vt1200: screen_update#1 frame=0 clip_y=0..0 screen=1280x901
|
|
HELLO: payload harness/hello-world/payload.bin bytes=82
|
|
vt1200: screen_update#2 frame=0 clip_y=1..900 screen=1280x901
|
|
vt1200: scanline#1 line=1 enabled=1
|
|
vt1200: guard#1 frame=0 dump_frame=145 dump_ram=145
|
|
vt1200: screen_update#3 frame=1 clip_y=0..0 screen=1280x901
|
|
vt1200: scanline#2 line=0 enabled=1
|
|
vt1200: screen_update#4 frame=1 clip_y=1..1 screen=1280x901
|
|
vt1200: scanline#3 line=1 enabled=1
|
|
vt1200: scanline#4 line=2 enabled=1
|
|
HELLO: loaded 41 words at bit 01800000; readback OK (0 bad)
|
|
HELLO: payload has run by frame 121 (PC=01800270)
|
|
vt1200: dumped frame 145 -> harness/hello-world/evidence/vt1200-frame-145.ppm (1280x901, 89974 lit = 7.8016%)
|
|
vt1200: dumped 4194304 bytes of main RAM (frame 145) -> harness/hello-world/evidence/vt1200-ram-145.bin
|
|
--- frame 150, 5 distinct PCs sampled ---
|
|
HELLO: MAGIC1@01810000 = DEAD (DEAD ok)
|
|
HELLO: MAGIC2@01810010 = BEEF (BEEF ok)
|
|
HELLO: COUNT @01810020 = 0400 (1024 stores ok)
|
|
HELLO: VRAM row100 @04019040: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
|
|
HELLO: VRAM row163 @04028C40: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
|
|
HELLO: VRAM block 1024/1024 words are FFFF, 0 holes
|
|
HELLO: VRAM row100 word before start = 003C, after end = 0000
|
|
HELLO: PC at inspection = 01800280 (payload spin expected)
|
|
Average speed: 872.26% (2 seconds)
|