micheldebree/retropixels

New image viewer that could return to calling program

Opened this issue · 1 comments

As I'm getting some initial stuff working with Meatloaf, it is now possible to "browse" files located on a IIS web server serving files. After browsing you can call again using a specific filename of a image file. It will fetch file to the server, do the conversion and then send the PRG-file down to C64.
How did you add the KOALA image viewer PRG?
It would be really nice if there was a version that could support "Pres and key to quit" and would go back to calling program (BASIC or maybe a file handler). I'm perfectly fine with this being a edge issue for retro pixels, Im' just bringing it up as a suggestion.

FYI, I did a bit of digging, found this:
https://csdb.dk/release/?id=75777

It's a BAT-file in windows which just appends the KLA-file binary to the end of a template PRG-file and it works.
I disassembled that PRG-file, changed the ending loop-stuck jmp in assembler to a short code that checks for SPACE-key press. It works! So for now I'm using your KLA-file export function and this "script".