|
Forum Index : Microcontroller and PC projects : PicoMite games on a 7" LCD display?
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10637 |
I've created a pixel doubling driver for 800x480 displays that allows a 320x240 image to display on the bigger screen. Because the 16-bit parallel interface is so fast I'm still achieving faster update rates than an 320x240 SPI display despite a lot of extra code. See the youtube demo Much easier to see than on the little ILI9341 displays This will allow any code designed to work on a 320x240 display to work on the bigger device. The only change needed at the top of any program is IF MM.HRES=800 THEN OPTION LCD 320 ON[\CODE] You can use OPTION LCD 320 OFF to disable the mode. Both are temporary options and when a program is run the display defaults to normal NB: for the Petscii developers. For V5.09.00 you need to change every instance of SPRITE MEMORY to BLIT MEMORY otherwise the program works. Also, I recommend putting a short pause at the top of SELECT CASE map_mode: Case 0 This is needed to allow any background merge to complete otherwise in certain circumstances it can create a memory issue. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |