nfg.forums

NFG Forums => SIG X68000 => Topic started by: pmack on July 19, 2011, 07:05:04 AM

Title: Programming resources
Post by: pmack on July 19, 2011, 07:05:04 AM
Hello all,

I am looking for any manual or resources to get me started with X-Basic. Also, i am looking for X-C (xdf image?) and any resources like manuals and such.

Thanks
Title: Re: Programming resources
Post by: emerald danjon on July 23, 2011, 11:52:43 AM
Quote from: pmack on July 19, 2011, 07:05:04 AM
Hello all,

I am looking for any manual or resources to get me started with X-Basic. Also, i am looking for X-C (xdf image?) and any resources like manuals and such.

Thanks
Hello!,i see on ebay this"   
X68000 Computer Master Book Retro Sharp Code X basic",but 80,00 USD  :o i think is a little spensive...,regards.
Title: Re: Programming resources
Post by: pmack on August 04, 2011, 06:14:44 AM
Yeah, I was really hoping for any free online resource... is it possible that no one here knows of at least one simple x-basic manual?
Title: Re: Programming resources
Post by: lydux on August 05, 2011, 09:49:02 AM
Hi,

The 3 floppy images for XC are freely available here :
http://www.retropc.net/x68000/software/sharp/xc21/index.htm (http://www.retropc.net/x68000/software/sharp/xc21/index.htm)

I've just give a try to XBasic. It seems to be mostly a wrapper to some C functions provided by XC. So, this is just a slightly different syntax (btw, there is a Basic to C converter in XC called BC.X).

An advice I could give you is to get into C instead. You will find more resources, as the XC LIBC (library that provide common functions like printf, scanf, fread, etc...) is similar to those nowadays and C syntax stay the same, unlike XBasic which is really specific to Human68k.

But if you really want to go with XBasic, here are some hints :

As I can see, the most closed syntax to XBasic I know may be the very old QBasic from microsoft. You will have more luck in finding documentation on it.

Take a look to the third disk of XC, there is a sample directory where you could find a file called DEF.BAS. It involved some crtc, sprite register and mouse functionnality.
Run it using the command "BASIC.X DEF.BAS" or edit it using "ED.X DEF.BAS".
Try to cut & paste routines, modify/understand them. This a good way to practice.

Also, all available C to XBasic functions can be show in the BC directory on disk 2 by editing *.DEF files. Unfortunatly without parameters or descriptions informations...

You are on your own ! :)

Good luck with X68K dev !
Title: Re: Programming resources
Post by: pmack on August 06, 2011, 11:21:26 PM
Thanks Lydux this was very helpful