CPCWiki forum

General Category => NC100, NC200, PCW, PDA600 - the rest of the Family! => Topic started by: Nilquader on 20:36, 22 September 11

Title: SDCC runtime library for NC100
Post by: Nilquader on 20:36, 22 September 11
My current project for the NC100 is a C runtime library. It allows you to write your NC100 programs using the SDCC compiler. The current version only supports SRAM card programs (The ones that you start by pressing Function-X in the main screen). The makefile generates card images to be used with the nc100em Emulator or a real NC100.


The library contains the basic C I/O function (like putc, printf etc.) and C functions for most of the NC100 firmware calls. The rest of the firmware calls will follow as soon as I have time to write the missing wrapper functions.



If you want to have a look at this project, go to https://github.com/Nilquader/ncsdcc
(I have tested this on Mac and Linux, but it should work on windows with some modifications to the makefile. Emulator and debugging support is not available on Windows. I strongly recommend using Linux for NC100 development.)
Title: Re: SDCC runtime library for NC100
Post by: Gryzor on 20:58, 22 September 11
Egad, Brain! I had completely forgotten about nc100em!!! Gonna have some fun tonight... :)

Hey, really nice to see some action on the NC front... thanks!
Title: Re: SDCC runtime library for NC100
Post by: TFM on 04:27, 23 September 11
Great work! Thank's for the link!
Title: Re: SDCC runtime library for NC100
Post by: Stefano on 11:46, 23 January 14
For those who may be interested,
 
I cross-compiled the Linux emulator to windows.
http://www.ncus.org.uk/utils.htm#nc100em (http://www.ncus.org.uk/utils.htm#nc100em)
 
Stefano Bodrato
Title: Re: SDCC runtime library for NC100
Post by: robcfg on 20:01, 25 January 14
This is awesome!


The NC has had less love even than the PCW and it's great to see some development going on.


Thank you very much!
Title: Re: SDCC runtime library for NC100
Post by: remax on 23:34, 02 February 14
For those who may be interested,
 
I cross-compiled the Linux emulator to windows.
http://www.ncus.org.uk/utils.htm#nc100em (http://www.ncus.org.uk/utils.htm#nc100em)
 
Stefano Bodrato

Great news!
Title: Re: SDCC runtime library for NC100
Post by: Gryzor on 11:02, 03 February 14
Something tells me I should be getting my NC out soon?