| |
Krill
Registered: Apr 2002 Posts: 2980 |
Demo Flash-ROM
Vanilla C-64 demo compo requirements aside, how should a hypothetical flashable demo ROM look like?
From the top of my head, features such as auto-boot, IRQ- and fastloader, networking (at least via serial), floating and fixed point maths routines (including a few handy look-up tables), pseudo random number generator, decompressors (RLE and LZ), code generator, simple script interpreter, PAL/NTSC detection, stable raster routines, keyboard/joystick/mouse input, and memset/memcopy/memmove are required.
What else would be on your list? |
|
| |
enthusi
Registered: May 2004 Posts: 677 |
depending on the demo-for-dummies factor: set_VIC_bank/char/screen -routine.
If space is left some unrolled erase_bitmap routine and/or some fast d800-shifter.
Pixel-plot tables.
Tapeloader \o/ (ROM is most fun when no disk drive is connected, no?)
|
| |
Mr. SID
Registered: Jan 2003 Posts: 424 |
How big of a ROM are we talking? Just a replacement for BASIC and KERNAL? Or something with bank switching?
|
| |
Krill
Registered: Apr 2002 Posts: 2980 |
As you like :)
Some additional RAM is also thinkable, if only for VSP-safe code. |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
A demo maker. ;) |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
onboard DMA would be nice, and a lot of memory, so the demo contents can be read from flash rom. I cant be arsed to think on what routines it should, as it's flashable, and 99% of a top notch demo part has to be built up from the ground anyway, generic routines are slow. |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Not all demos and effects are optimized for speed. Having used some handy ROM routines in 4Ks myself, and missed some others, i was just wondering what other ROM stuff people might find useful.
|
| |
enthusi
Registered: May 2004 Posts: 677 |
Oh, Id be strictly against any kind of DMA! |
| |
Krill
Registered: Apr 2002 Posts: 2980 |
Agreed, DMA would be a little too much. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
hardware 4x4 and movelist accelerator =P |
| |
Mr. SID
Registered: Jan 2003 Posts: 424 |
Unrolled code for drawing lines (ORA and EOR) for each x1/y1 -> x2/y2 pair.
:)
|