From: groepaz (groepaz_at_gmx.net)
Date: 2001-11-04 12:13:33
Hello Ullrich, UvB> The problem with such an emulation is, that some features may not be emulated, UvB> especially when it comes to things that are caused by the larger feature set UvB> of the cc65 tool chain, like relocatable object code, which makes the .ORG UvB> command work different. This means that such an emulation will never be UvB> perfect and people may be disappointed. mmmh, i've 'emulated' the tasm-style "*=$xxxx" thing fine atleast.... and seriously, i still want a traditional .org directive (thats one thing really missing in ca65 IMHO) ... its kinda annyoing to eg write drivecode embedded in your sources this way ;/ UvB> And it will of course mean even more UvB> features which makes ca65 difficult to understand for newbies. hehe well, if THAT would be an issue, you gotta remove like 95% of all features i guess ;=P actually, the lack of certain features (traditional .org and prog-count assignment in particular) is what scares a lot of people i have talked to .... UvB> But ok, I will have a look into this issue. Maybe I can find the narrow path UvB> between simplicity and complexity... UvB> BTW: Is there some sort of comparison sheet for the different assemblers? mmmh i have started one when i have translated some of my old sources to ca65..... its very incomplete/inaccurate by now i guess, but i can mail it over if you like. BTW... different thing... is there already some header file that defines an api for serial-port access? i have just recently made the serial routines for the silversurfer (serial port for use with the new retro-replay hardware) and since i am going to write some debugging-stub using that for cc65 anyway (atm its just pure asm) i'd be glad to do it in a way so other ppl can re-use those pieces of code.... however, if there's no api defined for now, mine looks like sio_init(portname,baudrate); /* init port, return 0 on success or -1 on error) */ sio_readbyte(); /* waits until character arrives and returns it */ sio_readbyte_nowait(); /* if character is waiting, returns it. otherwhise return 0 */ sio_writebyte(val); /* send byte, waits until byte has been send */ all routines incorporate a timeout, and they set the global variables sio_readerr and sio_writerr for further error-handling. hope thats ok that way (that would mean i could just copy/paste most of the code i am using under dos/windoze that is ;D) -- 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.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:43 CET