Port Graph 90+E du port PRIZM de CGDOOM par Martin Poupe.
Go to file
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
CGDOOM-minisdk/CGDOOM Restore video system screens and memcpy bug in V_CopyRect 2021-07-27 14:20:14 +02:00
cgdoom Restore video system screens and memcpy bug in V_CopyRect 2021-07-27 14:20:14 +02:00
cgemul Inital commit 2015-04-14 19:16:51 -05:00
.gitignore Build system 2021-07-17 10:46:35 +02:00
Changelog Inital commit 2015-04-14 19:16:51 -05:00
README Restore video system screens and memcpy bug in V_CopyRect 2021-07-27 14:20:14 +02:00

README

This repository is a fork of CGDOOM which was ported originally by MPoupe.

Credit goes to:
* MPoupe for the original fx-CG 10/20 port of DOOM.
* ProgrammerNerd for attempts at an fx-CG 50 port, which this repository is
  based on.
* Lephenixnoir for the final fixes and fx-CG 50 version.

TODO:
-> Reenable LTO if possible
-> Include a proper fast, version of memcpy
-> Try and use more memory regions in z_zone.c
-> Overclocking etc.
-> Improve file mapping speed (DMA)

CGDOOM used to be compiled with the mini-SDK. However, it's become quite
difficult to get a copy of that. Instead, this port is built with a slightly
modified PrizmSDK from Jonimoose/libfxcg.

The differences are (I might push it later):
* TOOLCHAIN_PREFIX=sh-elf- (in libc/ and libfxcg/)
* Syscall 0x1B0B, getSecondaryVramAddress() is added in libfxcg/
* abort() is removed from libc/ (CGDOOM has its own)
* calloc() defined in libc/ (just a call to sys_calloc)
* sys_calloc() fixed in libfxcg/ to use memset (memsetZero is broken)
* Linker script outputs in elf32-sh format
* Linker script sets 500k of RAM instead of 64k
* LTO disabled (hopefully it could be reenabled later)

[1] https://github.com/Jonimoose/libfxcg/