Page 1 of 1

New community dev tool uploaded: Palette Editor

Posted: Thu Nov 04, 2021 2:02 am
by Justin Baldock



Palette Editor




View File






This is a little tool written in BASIC to display the VERA palette and let you edit the colours. A palette file can be saved or loaded. A palette file is simply all 256 colours saved out of memory. The interface was drawn using PetDraw16. The program and files are on a SD card image. Simply attach and load pal-edit then run. 

Code available from https://github.com/JustinBaldock/X16-SpriteEdit






 

New community dev tool uploaded: Palette Editor

Posted: Thu Nov 04, 2021 2:50 pm
by ZeroByte

You should enable the "Try It Now" feature.


New community dev tool uploaded: Palette Editor

Posted: Thu Nov 04, 2021 6:04 pm
by Ed Minchau


On 11/4/2021 at 8:50 AM, ZeroByte said:




You should enable the "Try It Now" feature.



Is that even possible with an SD card image?


New community dev tool uploaded: Palette Editor

Posted: Thu Nov 04, 2021 9:11 pm
by Justin Baldock

The 'Try It Now' feature only appears to work with a PRG file. Because I've designed this little app to load its interface from a PetDrawX16 file and load palette data it sort of needs the SD image with those files. 


New community dev tool uploaded: Palette Editor

Posted: Thu Nov 04, 2021 11:51 pm
by ZeroByte

Apparently the filenames require .BIN extension to work in "Try it now" - if your program only uses LOAD and SAVE (and doesn't do fopen() fseek() type behaviors) then it should work just fine w/o being in an SD image. I'll try downloading the program and see if I think it could be made to work.

 


New community dev tool uploaded: Palette Editor

Posted: Fri Nov 05, 2021 5:15 am
by Justin Baldock


On 11/5/2021 at 10:21 AM, ZeroByte said:




<snip> if your program only uses LOAD and SAVE (and doesn't do fopen() fseek() type behaviors) then it should work just fine w/o being in an SD image. <snip>



 



This program is using OPEN, PRINT#, INPUT#, CLOSE and expects media on device 8, so I suspect it won't work with the web emulator.


New community dev tool uploaded: Palette Editor

Posted: Fri Nov 05, 2021 6:55 pm
by ZeroByte


On 11/5/2021 at 12:15 AM, Justin Baldock said:




This program is using OPEN, PRINT#, INPUT#, CLOSE and expects media on device 8, so I suspect it won't work with the web emulator.



Then yes, that's correct. It requires an SD card - Regular EMU as well (not just webemu)