Re: [cc65] RS-232 on the C64

From: Groepaz <groepaz1gmx.net>
Date: 2010-11-29 10:28:04
On Montag 29 November 2010, you wrote:
> Hi Uz,
> 
> >> Sorry if I'm (again) naive ... but shouldn't there be .ser drivers for
> >> serial i/o ?
> > 
> > These drivers don't work with the "virtual" 6551 emulated by the kernal
> > by bit banging.
> 
> Would it make sense / be feasable to implement a .ser driver for that
> scenario?

the only pro argument would be size - its all in the kernal. however, there 
are strong points against it:
- kernal routines are unreliable and buggy
- the timing constants in the kernal are wrong, resulting in 2400 baud beeing 
almost unuseable, and 1200 baud having stability issues
- when you open the rs232 interface, the kernal routines creates buffers at 
the end of basic ram (which means - right in the middle of the memory cc65 
uses!). this must be take care of.

because of this, almost every program using rs232 on the c64 brings its own 
rs232 routines. (ignoring a few really old things from 1985 :))

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Digital files cannot be made uncopyable, any more than water can be made not 
wet.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Nov 29 10:25:41 2010

This archive was generated by hypermail 2.1.8 : 2010-11-29 10:25:43 CET