1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00
cc65/libsrc/pce
2015-07-16 17:33:00 +02:00
..
joy more cleanup and fixing 2015-07-12 16:40:52 +02:00
_scrsize.s fixed screensize, timertick, revers mode 2015-07-16 16:00:32 +02:00
clock.s make sure clocktick starts at zero 2015-07-16 16:54:40 +02:00
clrscr.s fixed issues found by gregg 2015-07-15 13:18:12 +02:00
color.s added imports for conio init to conio functions, so the constructor will get linked and called automatically 2015-07-13 12:10:09 +02:00
conio.s fixed screensize, timertick, revers mode 2015-07-16 16:00:32 +02:00
cputc.s fixed screensize, timertick, revers mode 2015-07-16 16:00:32 +02:00
crt0.s make sure clocktick starts at zero 2015-07-16 16:54:40 +02:00
ctype.s more cleanup, joystick works again 2015-07-12 14:27:24 +02:00
gotoxy.s added imports for conio init to conio functions, so the constructor will get linked and called automatically 2015-07-13 12:10:09 +02:00
joy_stat_stddrv.s more cleanup, joystick works again 2015-07-12 14:27:24 +02:00
joy_stddrv.s more cleanup, joystick works again 2015-07-12 14:27:24 +02:00
kplot.s added imports for conio init to conio functions, so the constructor will get linked and called automatically 2015-07-13 12:10:09 +02:00
libref.s more cleanup, joystick works again 2015-07-12 14:27:24 +02:00
psg.s more cleanup, joystick works again 2015-07-12 14:27:24 +02:00
readme.txt added some cbm-like gfx chars to draw lines and boxes 2015-07-16 17:33:00 +02:00
revers.s fixed screensize, timertick, revers mode 2015-07-16 16:00:32 +02:00
vce.s more cleanup, joystick works again 2015-07-12 14:27:24 +02:00
vdc.s fixed issues found by gregg 2015-07-15 13:18:12 +02:00
vga.inc added some cbm-like gfx chars to draw lines and boxes 2015-07-16 17:33:00 +02:00
waitvblank.s added waitvblank and fixed get_tv 2015-07-15 19:46:26 +02:00

PC-Engine (PCE) target support for cc65. this is still work in progress and
a couple of things need to be fixed:
--------------------------------------------------------------------------------

joystick support should get verified on real hw
 - the masks for buttons may be wrong.
 - 6 button gamepads are different and need slightly different code

interruptor support in crt0 (and cfg) is missing
- clock() should be hooked to a VBL interrupt

--------------------------------------------------------------------------------

a good emulator to use for PC-Engine is "mednafen" (mednafen.sourceforge.net)

run the compiled binary like this:

> mednafen -force_module pce <yourprogram.pce>

joypad keys are mapped like this:

w/s/a/d         up/down/left/right
numpad 2        (?) button
numpad 3        (?) button
enter           (start) button

--------------------------------------------------------------------------------
some useful resources on PCE coding:

http://blog.blockos.org/?tag=pc-engine
http://pcedev.blockos.org/viewforum.php?f=5
http://www.romhacking.net/?page=documents&category=&platform=4&game=&author=&perpage=20&level=&title=&desc=&docsearch=Go
http://archaicpixels.com/Main_Page

http://www.magicengine.com/mkit/doc.html

https://github.com/uli/huc
http://www.zeograd.com/parse.php?src=hucf