DaveMidknight
Still Fresh
- Joined
- Jan 18, 2005
- Messages
- 7
Hi!
During the Holiday season I start programming a 1942 shooter, but I don't want to compile always two versions of the program (one for the blu+ and one for the other with the samsung display).
So I programmed a quick lcd config program (using the Gamepark SDK, so that it will work with all GP32) in which the user can choose which lcd version he has. The program then creates a small lcd.cfg file in the gpsys directory, which contains "lcd=0" (Samsung LCD) or "lcd=1" (Taiwan LCD). My program checks now at startup the file and sets up accordingly the lcd routine.
Now for my idea! Why don't all GP32 developer use this lcd.cfg in the gpsys directory. Most developer would only need to change a small part in their code. They wouldn't need to compile two versions of their programs and the user wouldn't need to look for the right version, just run the lcd config program once and that it's.
Greatings
Dave
LCD Config Program
During the Holiday season I start programming a 1942 shooter, but I don't want to compile always two versions of the program (one for the blu+ and one for the other with the samsung display).
So I programmed a quick lcd config program (using the Gamepark SDK, so that it will work with all GP32) in which the user can choose which lcd version he has. The program then creates a small lcd.cfg file in the gpsys directory, which contains "lcd=0" (Samsung LCD) or "lcd=1" (Taiwan LCD). My program checks now at startup the file and sets up accordingly the lcd routine.
Now for my idea! Why don't all GP32 developer use this lcd.cfg in the gpsys directory. Most developer would only need to change a small part in their code. They wouldn't need to compile two versions of their programs and the user wouldn't need to look for the right version, just run the lcd config program once and that it's.
Greatings
Dave
LCD Config Program