Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old November 5th 13, 06:08 PM posted to rec.radio.amateur.digital.misc
external usenet poster
 
First recorded activity by RadioBanter: Dec 2008
Posts: 375
Default DR-200 Firmware

Jerry Stuckle wrote:
I don't know, but my guess would be C. If you're familiar with the code
generated by the typical C compiler (back then there weren't as many
optimizations as today, so it should be easier), then a bit of
disassembly should give a pretty good idea if it is C or not.

Z80 assembler would also be a possibility, but it would be quite a bit
harder to code than a higher level language. Even though memory was
much less dense and more expensive back then, I think even C could be
used to generate the code. IIRC, the code for the TAPR TNC-2 was
written in C, for instance.


I remember coding for the Z80. To get the best performance out of it,
using assembly was really required. But of course it could be assembly
for the lowest levels and C for the higher level code.

As you write, it should be easy to see if a HLL was used or if it
is handcrafted assembly, just by looking at fragments of code.

There are also other options. In those days I coded a large program
for the Z80 using a couple of Aztec C products. There was a native
code generating compiler, and one that generated p-code for a machine
more suitable to execute C code. It existed only for the 6502
(and maybe for the 8080), but I wrote an efficient p-code interpreter
for the Z80.

The program consisted of a low level in assembly, some often used
functions in C compiled to native code, and the bulk of user interface
code in C compiled to p-code and interpreted. It was really amazing
how many lines of C could be crammed in 32K this way. Probably more
than when using assembly everywhere.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vonage Firmware Burr Scanner 3 August 20th 07 05:01 AM
KPC-4 Firmware Tracy & Bill Digital 0 January 2nd 07 02:23 AM
PK-88 Firmware Mike M. Digital 0 April 9th 04 12:40 AM
PK-88 Firmware Mike M. Digital 0 April 9th 04 12:40 AM
RX-350 firmware Mike Maghakian Shortwave 2 August 26th 03 10:55 PM


All times are GMT +1. The time now is 10:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017