convert NC100 basic code to stand alone apps?

Started by Baracus, 01:50, 02 July 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Baracus

This may or may be not worth at all, but I was wondering if there was any compiler for basic code for the Nc100.

On Dos there were some basic compilers that would produce an exe; which would make the code run faster than while running in basic and be standalone. Is this something doable with the NC100 or is not even worth, and it is better to just use basic as is or directly ASM?

Jasmin

The NC series use BBC Basic. Sadly there's no Z80 compilers for it - a real shame as it's a great language and has a CP/M Z80 implementation too, which would be lovely to have a compiler for.

Baracus

Is there a tutorial about how to write ASM for the NC100? The manual just mention that the basic is the same as BBC, so it can use ASM mixed up with basic, but offer no real examples.

Running basic programs as way to run ASM applications would be an alternative; although I heard that you can actually output a bin file somehow from basic, if you write your application in ASM.

Problem is, nobody seems to have any sort of link or tutorial that show how this is done

pelrun

There's the official manual for BBC BASIC (Z80) here: https://www.bbcbasic.co.uk/bbcbasic/mancpm/index.html

It's specifically for the CP/M version, but most of it will be directly applicable.

Also read http://basic.hopto.org/basic/manual/Amstrad%20NC100%20Advanced%20User%20Guide.pdf

That book has a lot of example programs with integrated assembler sections and a fairly detailed description of how to use the assembler itself and interface with the NC100 firmware.

Working with binaries is almost certainly more trouble than it's worth; it's a lot easier to store everything as basic programs and assemble on program start.

jimmyd

A lot of the information from the Advanced User Guide is also available here:
https://jnz.dk/nc100/

Baracus

Thanks to both; the BBC basic manual is the one I was using; it has few examples but not much more than that, so I tried to extrapolate info from it and failed to get the "skeleton" for actually running an application that embed ASM in it.

Will check the advanced user guide; and that link from Jimmyd is also very useful; lots of info compressed for easy digestion :)

asertus

Hi, sorry for asking in this old thread. I go a working NC100 but I know almost nothing about this computer. My question is, how can I send data/programs to the computer? I mean, is there a known "gotek", device, etc.., or usb->serial cable or similar to do this?

Thanks

jimmyd

A couple of years ago I wrote an article for a new Amstrad computer magazine about connectivity for the NC100.
Unfortunately it seems that the magazine has died as well as the URL where it could have been downloaded.

I have attached my article here, it may help you out :)

asertus

Thanks a lot.. I will read this evening..

Powered by SMFPacks Menu Editor Mod