Re[2]: [cc65] C64 high res color RAM

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2002-05-28 19:51:09


Hello Ullrich,

Tuesday, May 28, 2002, 7:38:47 PM, you wrote:


UvB> Hi!

UvB> On Tue, May 28, 2002 at 07:31:41PM +0200, groepaz wrote:
>> 1) when you place both bitmaps in one bank, where do you put the
>> videoram ? :o)

UvB> One hires screen = 8K, color RAM = 1k. Both together fit nicely into one bank.

err yes ONE bitmap+videoram, ofcoz that works - my own gfx routines do
just that. but i tought you were talking about TWO bitmaps screens
(for double buffering).

UvB> I don't think this would be a problem. While setting the color RAM, interrupts
UvB> can be disabled.

well yes ofocz.... but that will ruin even the simpliest timing
dependend things, like playing music in irq. (it will start to stutter
everytime the screen is updated)

thats totally a non-issue incase you are planning to support 2 colors
(or 4 for multicolor) only ofcoz, since you would access the videoram
only once when clearing/initializing the screen

UvB> What I'm planing are not graphics capabilities that allow writing demos in C.
UvB> My assumption is that most people have a need for something like the old
UvB> Borland graphics interface: A simple, reasonable fast interface. No fancy
UvB> stuff, but a solid API that allow business applications, simple games (text
UvB> adventures like "Hobbit") and the like. Demo authors will have to search
UvB> elsewhere:-)

hey, i am planning to do one (demo in C) actually :O) just for the
heck of it though, since most algorithms are much easier to read for
other ppl when they are written in C.... i expect these to run pretty
slowish obviously :o) (rotating vector cube runs ~ 2fps or sth ;=D)

>> there were certain other little obscure things i think.... thats why
>> most ppl dont use the ram under vic for any gfx stuff

UvB> So in principle it should be doable, right?

yes ofcoz it is.... my "demoish" cc65 memory setup is like

     <$0400 almost untouched, might drop in fastloader here
$0400-$0800 textscreen
$0800-$1000 charset
$1000-$2400 music (most will use up to $2000 only though)
$2400-$d000 code
$d000-$dc00 ramdisc-style temp. storage
$dc00-$e000 videoram
$e000-$ffff bitmap

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-05-28 19:49:16 CEST