FOZZER_BASIC language program

If it doesn't fit .. It fits here .. - -

Re: FOZZER_BASIC language program

Postby Zaphod » Sat Dec 15, 2012 1:48 pm

My first encounter with Basic was "sinclair basic" on my ZX spectrum.
Try a search for sinclair basic in Wikapeadia. There are several links to other basic's.

Zaphod. ;)
What doesn't kill you makes you stronger. But why take the risk?
Windows 10
Intel i7 950 3.06Ghz (8mb Cache)
MSI X58 Pro-E MoBo
MSI GeForce GTX 1050ti oc
Corsair MXS
User avatar
Zaphod
Captain
Captain
 
Posts: 850
Joined: Mon Oct 13, 2003 4:05 pm
Location: U.K.

Re: FOZZER_BASIC language program

Postby ozzy72 » Sat Dec 15, 2012 3:00 pm

Fozzer and myself both cut our teeth on Sinclair Basic on the Spectrum. Classic machine 8-)
Image
There are two types of aeroplane, Spitfires and everything else that wishes it was a Spitfire!
User avatar
ozzy72
Administrator
Administrator
 
Posts: 33284
Joined: Fri May 24, 2002 4:45 am
Location: Madsville

Re: FOZZER_BASIC language program

Postby Zaphod » Sat Dec 15, 2012 3:47 pm

I seem to remember spending about a day to get a miniature Star ship Enterprise to go from one side of the monitor to the other.
Oh, but the sence of achievement!
Halcion days.

Zaphod ;)
Last edited by Zaphod on Sat Dec 15, 2012 3:49 pm, edited 1 time in total.
What doesn't kill you makes you stronger. But why take the risk?
Windows 10
Intel i7 950 3.06Ghz (8mb Cache)
MSI X58 Pro-E MoBo
MSI GeForce GTX 1050ti oc
Corsair MXS
User avatar
Zaphod
Captain
Captain
 
Posts: 850
Joined: Mon Oct 13, 2003 4:05 pm
Location: U.K.

Re: FOZZER_BASIC language program

Postby Fozzer » Sat Dec 15, 2012 3:51 pm

I have mountains of manuals dealing with programming Sinclair BASIC, and also programming the Zilog Z80 Central processor in Machine Code!
http://en.wikipedia.org/wiki/ZX_Spectrum
Like Ozzy, I have spent many years since the first Sinclair ZX80 home computer in 1980, through the various Sinclair models culminating in the magnificent Spectrum Plus and the Spectrum 128.
Also programming manuals for the Commodore C64 and Amstrad CPC 464.
The following Commodore Amiga 500 and 1200 were 16-bit machines, with long addresses, so more difficult to program in Machine Code.
I still have all those old computers, together with mountains of various hardware and software for them.

The "shame?" is, they re now superseded by various Emulators, of which, my favourite is the "Spectaculator" for Spectrum 48/128k machines...>>> http://www.spectaculator.com/
..all the spectrum games available for free...!

It is fully programmable in BASIC and Machine Code, just as the original...and even capable of hacking "Multiface
Last edited by Fozzer on Sat Dec 15, 2012 3:56 pm, edited 1 time in total.
Win 8.1 64-bit. DX11. Advent Tower. Intel i7-3770 3.9 GHz 8-core. 8 GB System RAM. AMD Radeon HD 7700 1GB RAM. DVD ROM. 2 Terra Byte SATA Hard Drive. Philips 17" LCD Monitor. Saitek Cyborg X Fly-5 Joystick. ...and a Briggs and Stratton Petrol Lawn Mower.
User avatar
Fozzer
Colonel
Colonel
 
Posts: 27361
Joined: Thu Jan 31, 2002 3:11 pm
Location: Hereford. England. EGBS.

Re: FOZZER_BASIC language program

Postby Zaphod » Sat Dec 15, 2012 3:55 pm

[quote]I have mountains of manuals dealing with programming Sinclair BASIC, and also programming the Zilog Z80 Central processor in Machine Code!
Like Ozzy, I have spent many years since the first Sinclair Z80 home computer in 1980, through the various Sinclair models culminating in the magnificent Spectrum Plus and the Spectrum 128.
Also programming manuals for the Commodore C64 and Amstrad CPC 464.
The following Commodore Amiga 500 and 1200 were 16-bit machines, with long addresses, so more difficult to program in Machine Code.
I still have all those old computers, together with mountains of various hardware and software for them.

The "shame?" is, they re now superseded by various Emulators, of which, my favourite is the "Spectaculator" for Spectrum 48/128k machines...>>> http://www.spectaculator.com/
..all the spectrum games available for free...!

It is fully programmable in BASIC and Machine Code, just as the original...and even capable of hacking "Multiface
Last edited by Zaphod on Sun Dec 16, 2012 8:45 am, edited 1 time in total.
What doesn't kill you makes you stronger. But why take the risk?
Windows 10
Intel i7 950 3.06Ghz (8mb Cache)
MSI X58 Pro-E MoBo
MSI GeForce GTX 1050ti oc
Corsair MXS
User avatar
Zaphod
Captain
Captain
 
Posts: 850
Joined: Mon Oct 13, 2003 4:05 pm
Location: U.K.

Re: FOZZER_BASIC language program

Postby Fozzer » Sat Dec 15, 2012 3:59 pm

Bedroom Programmers, Zeph, one and all!.... ;)...!

Happy days... :D...!

Paul...1: GOTO BED... ;D...!

I have many fond memories of groups of us busy programming our 8-bit Spectrum and Commodore computers in our bedrooms in the early 1980's!
Last edited by Fozzer on Sat Dec 15, 2012 4:02 pm, edited 1 time in total.
Win 8.1 64-bit. DX11. Advent Tower. Intel i7-3770 3.9 GHz 8-core. 8 GB System RAM. AMD Radeon HD 7700 1GB RAM. DVD ROM. 2 Terra Byte SATA Hard Drive. Philips 17" LCD Monitor. Saitek Cyborg X Fly-5 Joystick. ...and a Briggs and Stratton Petrol Lawn Mower.
User avatar
Fozzer
Colonel
Colonel
 
Posts: 27361
Joined: Thu Jan 31, 2002 3:11 pm
Location: Hereford. England. EGBS.

Re: FOZZER_BASIC language program

Postby Zaphod » Sat Dec 15, 2012 4:01 pm

Bedroom Programmers, Zeph, one and all!.... ;)...!

Happy days... :D...!

Paul...1: GOTO BED... ;D...!


Paul...2: GOTO PUB...

Zaph..
What doesn't kill you makes you stronger. But why take the risk?
Windows 10
Intel i7 950 3.06Ghz (8mb Cache)
MSI X58 Pro-E MoBo
MSI GeForce GTX 1050ti oc
Corsair MXS
User avatar
Zaphod
Captain
Captain
 
Posts: 850
Joined: Mon Oct 13, 2003 4:05 pm
Location: U.K.

Re: FOZZER_BASIC language program

Postby Fozzer » Sat Dec 15, 2012 4:06 pm

Bedroom Programmers, Zeph, one and all!.... ;)...!

Happy days... :D...!

Paul...1: GOTO BED... ;D...!


Paul...2: GOTO PUB...

Zaph..


30: LET glass = full
40: IF glass = empty THEN GOTO bar: GET refill
50: RETURN

Paul....this could go on forever... ;D...!
Last edited by Fozzer on Sun Dec 16, 2012 3:30 am, edited 1 time in total.
Win 8.1 64-bit. DX11. Advent Tower. Intel i7-3770 3.9 GHz 8-core. 8 GB System RAM. AMD Radeon HD 7700 1GB RAM. DVD ROM. 2 Terra Byte SATA Hard Drive. Philips 17" LCD Monitor. Saitek Cyborg X Fly-5 Joystick. ...and a Briggs and Stratton Petrol Lawn Mower.
User avatar
Fozzer
Colonel
Colonel
 
Posts: 27361
Joined: Thu Jan 31, 2002 3:11 pm
Location: Hereford. England. EGBS.

Re: FOZZER_BASIC language program

Postby Fozzer » Sun Dec 16, 2012 3:48 am

The one thing that I adore about Sinclair BASIC, is its ability to easily program complex mathematical calculations with a few key presses!
Sinclair BASIC contains all the mathematical parameters built in to its language, and a program can be quickly typed in to produce the result.
10 LET a=2
20 LET b=10
30 PRINT a*b

20

Much better than a pocket calculator, as the whole sequence of calculations remains on the screen, to be examined, and modified if required....rather like a blackboard and chalk!

Very complex mathematical calculations (Sin, Cos, Pi, Tan, etc) can be programmed in the same way, on the Spectrum keyboard, and the result printed out on the screen.

The sort of programming language which I miss the ability to use on modern Windows-based PC's... :'(...!

The 1980's was the magic decade for enthusiastic home computer programming...Millions of us!.... [smiley=thumbsup.gif]...!

Paul... ;)...!

10 GET tea
20 GOTO chair

... ;D...!
Last edited by Fozzer on Sun Dec 16, 2012 6:15 am, edited 1 time in total.
Win 8.1 64-bit. DX11. Advent Tower. Intel i7-3770 3.9 GHz 8-core. 8 GB System RAM. AMD Radeon HD 7700 1GB RAM. DVD ROM. 2 Terra Byte SATA Hard Drive. Philips 17" LCD Monitor. Saitek Cyborg X Fly-5 Joystick. ...and a Briggs and Stratton Petrol Lawn Mower.
User avatar
Fozzer
Colonel
Colonel
 
Posts: 27361
Joined: Thu Jan 31, 2002 3:11 pm
Location: Hereford. England. EGBS.

Re: FOZZER_BASIC language program

Postby aussiewannabe » Sun Dec 16, 2012 10:29 am

10 GET tea
20 GOTO chair



http://www.aivosto.com/visustin/help/pseudocode.html

If you are hungry Then eat

If you want tea Then
HP Media Center Photosmart m7260n | 3.0GHz Intel Pentium D 830 | 2 GB RAM | 320 GB HD | Sapphire X1950 GT 512MB | Silencer 610 Watt PSU

[center][img]
http://www.simviation.com/yabbuploads/aussie_sig1.jpg
User avatar
aussiewannabe
Major
Major
 
Posts: 2527
Joined: Thu May 17, 2007 11:33 am

Re: FOZZER_BASIC language program

Postby Fozzer » Sun Dec 16, 2012 10:49 am

......^^^^^^....... ;D... ;D...!

Simple logic... ;D...!

Paul...IF tired GOTO bed.... ;D...!

http://en.wikipedia.org/wiki/Sinclair_BASIC

If you are familiar with Sinclair/Timex BASIC this free "Fuse" Spectrum Emulator will do the job!...>> http://sourceforge.net/projects/fuse-em ... ror=freefr

http://fuse-emulator.sourceforge.net/#Download
...works a treat!
Last edited by Fozzer on Sun Dec 16, 2012 11:23 am, edited 1 time in total.
Win 8.1 64-bit. DX11. Advent Tower. Intel i7-3770 3.9 GHz 8-core. 8 GB System RAM. AMD Radeon HD 7700 1GB RAM. DVD ROM. 2 Terra Byte SATA Hard Drive. Philips 17" LCD Monitor. Saitek Cyborg X Fly-5 Joystick. ...and a Briggs and Stratton Petrol Lawn Mower.
User avatar
Fozzer
Colonel
Colonel
 
Posts: 27361
Joined: Thu Jan 31, 2002 3:11 pm
Location: Hereford. England. EGBS.

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 395 guests