Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:38 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PicoMite games on a 7" LCD display?

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9115
Posted: 07:00pm 20 Feb 2024
Copy link to clipboard 
Print this post

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.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024