176 Commits

Author SHA1 Message Date
Thomas Bernard
245795f1e1
move SCR/PPH/GO1/CM5 CPC to cpcformats.c 2019-12-07 16:15:50 +01:00
Thomas Bernard
640a80a9e5 C64 formats (KOALA/GPX/PRG/etc.) to c64formats.c 2019-12-07 15:59:05 +01:00
Thomas Bernard
45c1d4d26f
use GFX2_Log() in Load_FLI() 2019-12-07 15:48:41 +01:00
Thomas Bernard
b3affe6e7e
move ST formats (Degas, NEOChrome) to stformats.c 2019-12-07 15:38:12 +01:00
Thomas Bernard
089740f582 move Load_MOTO/Save_MOTO etc to motoformats.c 2019-12-07 15:25:14 +01:00
Thomas Bernard
966b1e58c3
reduce the amount of compilation warnings 2019-12-07 14:24:02 +01:00
Thomas Bernard
24c0bda8b4
Load GO1/GO2 who have a CPC Old palette 2019-12-07 11:27:42 +01:00
Thomas Bernard
6353202623
disasm of code embedded in SCR 2019-12-07 11:27:42 +01:00
Thomas Bernard
fe2fd9a49b
load CPC Old palette of iMPdraw SCR's 2019-12-07 11:27:41 +01:00
Thomas Bernard
6c388020b0
improve debug output of Load_SCR() 2019-12-07 11:27:41 +01:00
Thomas Bernard
5b264e876d
Load_SCR() iMPdraw v2 files 2019-12-07 11:27:41 +01:00
Thomas Bernard
d97364a439
Test_SCR() detect iMPdraw pictures 2019-12-07 11:27:41 +01:00
Adrien Destugues
52ae9de584 More fixes to GraphOS file loading
- There may be no .KIT file around, still load the pixels then
- Files from the actual GraphOS are one byte shorter than expected
2019-12-06 21:54:26 +01:00
Thomas Bernard
4fa256398c add function Get_image_mode()
just as there is Set_image_mode()
2019-11-29 01:03:45 +01:00
Thomas Bernard
6f32ff71d0
independent Test_PRG()/Load_PRG()
It will be easier to disable and also better if there Save_PRG()
2019-11-27 23:18:11 +01:00
Thomas Bernard
3d36057a33
c64 .PRG loader
emulate 6502 to let the autoload picture load itself !
supports multicolor, hires and some C64 FLI .PRGs
2019-11-24 09:57:20 +01:00
Thomas Bernard
69ad90c026 Fix loading of GO1/GO2/KIT Amstrad CPC+ files 2019-11-23 18:08:25 +01:00
Adrien Destugues
f6d6e8c5dd Add support for Graphos (Amstrad Plus) files. 2019-11-23 16:15:58 +01:00
Thomas Bernard
1810cdfb61
ajout d'un systeme de test unitaires 2019-11-19 22:26:03 +01:00
Thomas Bernard
d5953ad51a
move some functions from loadsave.c to loadsavefuncs.c 2019-11-09 02:42:33 +01:00
Thomas Bernard
90e5a61d0f C64: one more format 2019-10-20 18:12:15 +02:00
Thomas Bernard
21f111eef7 Fix processing of comment lines in .GPL files
Gimp palette files
2019-09-16 01:10:30 +02:00
Thomas Bernard
e56d193354
fix warning: 'r' may be used uninitialized in this function 2019-07-25 00:06:57 +02:00
Thomas BERNARD
0cea439da9
add support for reading HP-48 Grob format 2019-07-24 01:59:16 +02:00
Thomas BERNARD
911ad97646
miscfileformats.c: use GFX2_malloc() 2019-07-24 01:59:16 +02:00
Thomas Bernard
02c48d70cf
Load_PKM() log what is origin screen dimensions 2019-05-21 13:11:41 +02:00
Thomas Bernard
9886872c8a
T_IO_Context Original_file_name and Original_file_directory are now dynamically allocated 2019-05-07 17:25:17 +02:00
Thomas Bernard
fcd17f057b
remove usage of MAX_PATH_CHARACTERS in Test_MOTO() and Load_MOTO() 2019-05-07 17:25:17 +02:00
Thomas Bernard
7d8ebb9cd0
GPX debug log of background and border colors
our C64 multicolor constraint code assumes background color #0
which is bad :(

it needs improvement !
2019-04-27 13:11:43 +02:00
Thomas Bernard
682e1a77ad
Add support for loading the C64 pixcen .GPX format
Pixcen is a C64 picture editor under MS Windows :
http://hammarberg.github.io/pixcen/
2019-04-27 12:03:23 +02:00
Thomas Bernard
c8e5656579
fix memory leak in Load_MOTO() 2019-02-15 13:19:40 +01:00
Thomas Bernard
931335d1ad remove warnings in Load_PAL() 2018-12-17 11:52:42 +01:00
Thomas Bernard
b47ace7a30 Load_GPL/Save_GPL: clean code, remove warnings 2018-12-17 11:16:28 +01:00
Thomas Bernard
5a6333e5e8 define COLOR_CYCLING_SPEED_MAX 2018-12-15 20:19:29 +01:00
Thomas Bernard
93bc0e6459
rewrite Save_NEO(). Now writes color Cycling info 2018-12-14 15:43:50 +01:00
Thomas Bernard
7a2c46ccc4
Load_NEO() support color cycling 2018-12-14 11:54:03 +01:00
Thomas Bernard
da092228f3
improve Atari ST file formats NEOchrome and Degas 2018-12-14 09:25:19 +01:00
Thomas Bernard
c81ffb0d6e
Automatically set Drawing mode when loading Thomson, C64 and Apple 2 files 2018-12-11 12:25:39 +01:00
Thomas Bernard
2a6f0e3a27
new function Set_image_mode() to set image mode in Load_XXX() functions 2018-12-11 12:25:39 +01:00
Thomas Bernard
2d392fb7b1
Convert image to FLI when enabling the mode. show errors in layer 4 2018-12-11 12:25:39 +01:00
Thomas Bernard
fd6e420008
use word for C64 loadAddr 2018-12-11 12:25:39 +01:00
Thomas Bernard
4c1c2f34ad
Move the 1layer => C64 FLI code to C64_pixels_to_FLI() 2018-12-11 12:25:39 +01:00
Thomas Bernard
84068c5516
change C64_FLI() to use T_IO_Context 2018-12-11 12:25:39 +01:00
Thomas Bernard
28fb91f265
avoid accessing Main.backups in Load_XXX() or Save_XXX() 2018-12-11 12:25:39 +01:00
Thomas Bernard
ab8c75306e Load_C64_fli() : do not load additional layers when loading preview 2018-12-08 18:20:40 +01:00
Thomas Bernard
eda6e57574 rewrite Save_C64_hires()
- easier to understand.
- Count_used_colors_area() not used anymore (not safe for
  Save function as it does not get the pixels from the Saving
  context)
2018-12-08 18:20:40 +01:00
Thomas Bernard
99224fd6d0 Load_HGR() better HGR mode based on "Le Chat Mauve" real display 2018-12-08 18:12:36 +01:00
Thomas Bernard
1bffaacead Apple II HGR & DHGR Load/Save 2018-12-08 18:12:35 +01:00
Adrien Destugues
2edc897b92 gcc2 build fix. 2018-12-08 18:00:16 +01:00
Thomas BERNARD
4dfd12c346
silence a warning 2018-11-28 23:01:39 +01:00