Commit Graph

12 Commits

Author SHA1 Message Date
Lephenixnoir 9e89a6983a
Fairly massive refactoring 2021-10-01 20:52:05 +02:00
Lephenixnoir b9fcd7808e
Restore printfs and reduce calc/emulator distance 2021-09-30 12:17:15 +02:00
Lephenixnoir ac6f730bed
Draw full-screen backgrounds without loading them 2021-09-17 17:33:26 +02:00
Lephenixnoir f4c33a2b6a
Enable wipe effect with no additional heap 2021-09-07 21:55:22 +02:00
Lephenixnoir 2675d6d3aa
Progress in making the emulator build 2021-08-14 11:55:20 +02:00
Lephenixnoir 4832390802
Add secondary VRAM as heap when using direct-DD access
Ultimate Doom E1M6 now loads!
2021-08-04 15:58:40 +02:00
Lephenixnoir 6d2bac49a2
Put all screens in SaveVRAMBuffer
This removes 6400 bytes from the Z_Malloc heap. There is about 27 kB
left in the secondary VRAM for further use.
2021-08-04 09:57:03 +02:00
Lephenixnoir 92c1cfe522
Restore the V_Clear function
I removed it before because I had missed the point about clearing the
screen when changing "details" (= the level of detail).
2021-08-03 17:50:27 +02:00
Lephenixnoir dc7519fe3e
Fix level end screen
This was using screens[1] which I had deallocated when fixing the status
bar (I incorrectly assumed it was used only for that).

While the CGDOOM technique to share screens[1] to avoid allocating the
320x20 buffer for the status bar makes clear sense with that new
information, I think I'll keep this 6.4 kB buffer there and rather
search for ways to use more memory zones.
2021-07-29 10:13:00 +02:00
Lephenixnoir 75c8730451
Restore fast copies using the fxlibc memcpy() 2021-07-27 15:05:42 +02:00
Lephenixnoir d7ee5a1bbb
Restore video system screens and memcpy bug in V_CopyRect
* Restore screen numbers; BG is 4, at least in the ST module.
* Let ST module allocate BG, which is just 32 pixels high and not a full
  VRAM (huge memory gain!)
* Fix V_CopyRect() not working because memcpy is still broken (this will
  be changed later with a proper memcpy)
2021-07-27 14:20:14 +02:00
ComputerNerd bd6bb43473 Inital commit 2015-04-14 19:16:51 -05:00