leuat
Posts: 1
Joined: Wed Feb 15, 2023 4:37 pm

Program injection

Hi there!

I'm the developer of TRSE (Turbo Rascal Syntax Error), a modern IDE/compiler for retro development that targets a number of systems, and supports most of the CPUs from the 70s/early 80s. See www.turborascal.com for more information, showcases, downloads etc. The goal of TRSE is to make application development for *all* retro computers available for the general public by providing a "Ctrl+R to build and run" vision, which is working out quite well.

However, a lot of older non-ROM based systems that have slow/inefficient media (looking at *you* Thomson MO5/MO6) are quite painful to develop for, as loading a tape in order to test your program can take up to several minutes (even with -nothrottle). A lot of other emulators that TRSE recommends/requires (VICE for Commodore systems, Caprice32 for Amstrad CPC etc) support automatic injection of programs, cutting down loading times significantly when developing for the system.

Would it be possible to add a injection parameter system to Mame? Something like

./mame mo5 -inject /..../file.bin -startaddress $2400 ...

that would simply inject a raw headerless .bin file at $2400 and set the PC register to this position?

regards

Nicolaas Groeneboom

Return to “MAME Discussion”