| |
MisterMSK Account closed
Registered: Jul 2009 Posts: 37 |
Assembly and adding a Picture
Hi All,
I have some assembly code written for ACME assembler. I was just curious how I would add a picture into the code. I got the pause down but I just need a picture to show. Doesn't matter what format. I assume I can change my picture to most formats specified.
This would be great if someone could let me know.
Thanks,
MisterMSK |
|
... 26 posts hidden. Click here to view all posts.... |
| |
Aeko Account closed
Registered: Nov 2008 Posts: 1 |
Strager: PERFECT !
I've reading and trying several routines for displaying koala images (exported from Proyect One) and this the one that have worked like a charm to me. The explanation is also very clear.
Thanks, thanks a lot. |
| |
Martin Piper
Registered: Nov 2007 Posts: 631 |
I remember back in the day working out how to do this without any documentation on the file format.
The bitmap portion of the file is 40*25*8 bytes, the colour information is another 40*25*2 bytes. The trick was to use the editor to change one thing, save the file, compare the binary difference. Rinse and repeat until it is understood where the different data is. |
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
Or you can rip the code from Koala Painter :D |
| |
MisterMSK Account closed
Registered: Jul 2009 Posts: 37 |
@Stranger
You are great. That works. I can't believe it. I got one final problem. After displaying an image I want to go back to a BASIC TEXT Video mode. I removed the last JMP and I inserted a 3 second pause. I change to the charater set to 21, as well as 23, but I still get the below image. How do you transfer back?
Thanks for All the Help,
MisterMsk |
| |
MisterMSK Account closed
Registered: Jul 2009 Posts: 37 |
Got it. Thanks for all the help.
lda #%00011111
sta $d011 |
Previous - 1 | 2 | 3 | 4 - Next |