Subject: Re: 8048 Intel programming languages
From: Robert Borsuk <rborsuk at colourfull.com>
Date: Tue, 10 Feb 2009 21:51:42 -0500
To: "General Discussion: On-Topic and Off-Topic Posts" <cctalk at
classiccmp.org>
Steven and Allison,
I've spent some time today with SDCC and I'm sorry to say I couldn't
find any reference to 8048 in it. The 8051 yes. Unfortunately the
memory structure (specifically the banking and jumping) is different
between the 8048 and the 8051. How about this: Did they ever
release any sort of languages for the IMSAI 8048 board?
You have an Imp48????
First if you have a manual I'd appreciate a copy, I've been looking
for 28 years for one! Yes, I have one too, I know the general circuit
for mine by reverse engineering it and I do use it for playing.
As to languages for 8048, IMSAI never did. The concept of a higher level
language for a board with 1K of program space is only a thing you hear
lately. One reason is the limited stack and ram/romspace of the 8048
really does require the efficientcy of assembler. It's possile to create
some varient of a tiny micro basic but then it has to fit in 1K and also
any program in the same 1k. If you working with 8048/9 off that board
more space is possible but remember the ability to address ram without
some banking scheme is limited to 256 bytes. I'd say keep looking
though as I've likely missed a few. I'm sure it's possible to tweak
the code generator in SDCC to do 8048 and it's rare anyone uses more
than 4k. But the compiler logic to do the bank switch is likely insane
since interrupts are only handled in the low memory page. There are all
sorts of cross assemblers out there.
Allison
Rob
On Feb 10, 2009, at 2:50 AM, Scanning wrote:
Rob,
I think a good place for you to start is with the Small Device C
Compiler
(
http://sdcc.sourceforge.net/ ) and see if that will fit your
needs. It
supports 8048, 8051, etc.. family. Good luck.
Best regards, Steven
>> Subject: 8048 Intel programming languages
>> From: Robert Borsuk <rborsuk at colourfull.com>
>> Date: Mon, 09 Feb 2009 11:19:04 -0500
>> To: "General Discussion: On-Topic and Off-Topic Posts" <cctalk at
classiccmp.org
>> >
>>> Does anyone know of any programming languages (compilers)released
>>> for
>> the intel 8048 microcontroller?
>>
>
> Lookup SDCC, Small Device C Compiler. Theres plenty of stuff for
> 8048/9 family
> and it's cousin the 8051.
>
> Allison
>