![]() |
|
#1
|
|||
|
|||
|
SmallC now available for IsoPod(TM) at:
http://home.attbi.com/~petegray/dsp-1-0.zip courtesy of a cooperative effort between New Micros, Inc. and programmer Peter Gray! Small C is based on Jim Hendrix Small C and in the spirit of Jim's offering, remains a public domain offering. (The assembler provided is however not public domain.) Last edited by RMDumse : 11-16-02 at 07:42 AM. |
|
#2
|
|||
|
|||
|
Enhancement - Interrupts
Added preliminary support for interrupts. Small C code would look like this:
interrupt myintr1 () { /* C code goes here */ } The latest compiler/assembler executables, and additional documentation are available from http://home.attbi.com/~petegray |
|
#3
|
|||
|
|||
|
There's a new version of the Assembler available here:-
http://home.attbi.com/~petegray/sa568.exe This fixes a bug causing incorrect hex generation in the 'support' routines for Small C programs using literals. -Pete. |
|
#4
|
|||
|
|||
|
Version 1.4 of the Small C cross-compiler is now available for download (DOS box and Linux hosts) from here...
http://home.attbi.com/~petegray/ ...which fixes an optimization bug. Regards, -Pete. |
|
#5
|
|||
|
|||
|
The Small C site has moved, and is now available here:-
http://petegray.newmicros.com Regards, -Pete. |
|
#6
|
|||
|
|||
|
Bug fix for do...while loops
The code for dodo() in CC1.C is incorrect. The result is that a 'continue;' statement inside a do...while loop (wrongly) skips the loop test. The correct source for dodo() is as follows:
Code:
Last edited by fjscipione : 02-25-06 at 02:48 PM. Reason: Normalize comments in code |
|
#7
|
|||
|
|||
|
What is the advantage of using this
|
|
#8
|
|||
|
|||
|
If you mean what is the advantage of using Small C, the answer is you can get this development compiler for no cost to you. Then you can work in a C-like environment.
Otherwise you can try to buy a C development package and spend hundreds of dollars for slightly better features. Maybe those features are critical. Likely for most, they are not. |
|
#9
|
|||
|
|||
|
I assume that if I go down this path of working in Small C, I end up flashing over the top of IsoMax and MaxForth and install a loader. Is there a way to restore IsoMax and MaxForth afterward? That is, is there an image for these available that can be flashed back on? Does NMI make this available? I'd be kind of surprised if NMI directly supports this.
|
|
#10
|
|||
|
|||
|
Quote:
Correct! Quote:
Yes! Quote:
Yes. The information to get a copy of IsoMax SRecord is available online. here is the direct link, http://www.newmicros.com/cgi-bin/st...IsoMax%5BPod%5D To reflash your 'Pod with IsoMax Kernel, or Serial Boot Loader, you also need a Jtag cable. You can find the Jtag cable on the previous link as well. |
|
#11
|
|||
|
|||
|
Will the jtag cable and software work with a Keyspan USB to parallel port adapter?
|
|
#12
|
|||
|
|||
|
I don't have a Keyspan USB to parallel port adapter to try it out yet. I will keep you posted when i have access to this adapter. If anyone who already used this adapter with the Jtag, please let us know. Thanks!
|
|
#13
|
|||
|
|||
|
Ok. I ordered the cable anyway. I have an old PC with a real Parallel port, just in case. The Keyspan approach would be more convenient though. I'll post the results when I get the cable. My last order took more than a week, so won't know until then.
So if I need a copy of the IsoMax 'SRecord' I see I need to fax in a license agreement and send in a fee. Once I send in the fax, can I just pay the fee online and download the image? That is, I don't have to wait for anything to ship, or process via regular mail? I'm figuring I can wait until I've got everything setup and verify I have the flashing JTAG process working first. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|