Re: [cc65] 65tris on ATARI

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2002-12-16 14:30:05


On Monday 16 December 2002 10:10, Ullrich von Bassewitz wrote:
> On Sun, Dec 15, 2002 at 10:52:37PM +0100, Groepaz wrote:
> > only serious problem left right now is that we need some kind of
> > timer-api that can be used for synchronization.
>
> That's right. You may try to use clock() for synchronizing until something
> better is available. The nachm player and Adam Dunkels uip TCP stack do
> this.

yeah but clock() doesnt really solve it (and needs divisions and stuff to work 
across targets...ugly :o))

> [joystick driver]

> And last, there are still platforms without file i/o, so these
> platforms cannot support a joystick (it would be stupid to have a joystick
> as a module for some platforms and statically linker routines for others).

oh yes, that might be a problem .... 

> Another disadvantage of modules (not only true for joystick drivers) is
> that it's an all or nothing approach. When linking statically, you will get
> just the routines that are needed. When using conio for example, if your
> program only uses clrscr(), it will get just that. When moving conio into a
> module, the module can only be loaded as a whole, so cputc(), gotoxy() and
> friends would also be loaded even if they are not needed.

yes ofcoz... but in this case (joystick) not an issue :o) atleast my 
joystickroutines usually consist of one routine only :=P

mmmmh....sounds tricky actually... maybe we should leave the normal joystick 
support as is, and define an advanced api in addition (which then works by 
loadable modules)? i dont know...just dont like the idea of linking a lot of 
code statically when its not needed.

-- 
          ___ ___ .___________________ .___________ _______.
    c=64 /   |   \|   \__    ___/     \ \_   _____/ \      \ [groepaz]
     gb /    '    \   | |    | /  \ /  \ |    __)_  /   |   \ gp32
    cgb \    .    /   | |    |/    '    \|        \/    |    \ psx
     gba \___|_  /|___| |____|\____|__  /_______  /\____|__  / dc
          -----\/-----'---------------\/--------\/---------\/
       http://www.hitmen-console.org    Hitmen WWW Headquarters
       http://fly.to/hitmen-groepaz     my personal playground
       http://rr.c64.org/silversurfer   home of the RR debugger
       ftp.musoftware.de/pub/groepaz    cc65 dump site

----------------------------------------------------------------------
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-12-16 14:32:03 CET