Old programming on New Mac ?

Joined
May 19, 2009
Messages
8,428
Reaction score
295
Points
83
Location
Waiting for a mate . . .
Your Mac's Specs
21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
Can anyone tell me if it can be done and what app i would need to run this code, considering if its even possible Cheers :)
Written in BASIC
I am NOT a programmer but i found a old book and it bought back memories from my Commodore 64 days .... I think lol

Code:
10 PRINT "ALIENS SQUARE ALONG"
20 INPUT A
30 PRINT "ALIENS SQUARE UP"
40 INPUT B
50 CLS
60 PRINT "COMMANDO'S SQUARE ALONG"
70 INPUT C
80 PRINT "COMMANDO'S SQUARE UP"
90 INPUT D
100 CLS
110 LET X=SQR((A-C)*(A-C)+(B-D)*(B-D))
120 PRINT "YOU ARE NOW"
130 PRINT X;"SPACE UNITS APART""
140 IF X<1.5 THEN PRINT "ALIEN FOUND"
150 IF X<1.5 THEN STOP
155 PRINT "WHAT ARE THERE NEW POSITIONS"
160 GOTO 10
170 END

Anything would help... Thanks
 
Joined
Jun 2, 2008
Messages
1,502
Reaction score
35
Points
48
Location
Louisville
Your Mac's Specs
MacBook 2.1GHz Core 2 Duo | 1GB RAM | OS X 10.6.3 | 250GB External HD | 8GB iPod Touch 1st Gen 3.1.3
lol!! BASIC! There was a single program I found out on the interwebs, but I forgot the name of it. . . let me search it again. Used to do BASIC programming last semester, now I'm up into C++

Fun. . .

So all I could find was Chipmunk Basic (free).
 
Joined
Sep 23, 2006
Messages
893
Reaction score
20
Points
18
Location
Las Vegas, NV USA
Your Mac's Specs
iMac, and Macbook Pro
That looks exactly like the basic I learned on my Radio Shack Model 100. That must have been back in 1983. It had an entire 8 kb of memory, and I paid over $1,000 for it. I still have it, and it still works!
 
Joined
Jun 2, 2008
Messages
1,502
Reaction score
35
Points
48
Location
Louisville
Your Mac's Specs
MacBook 2.1GHz Core 2 Duo | 1GB RAM | OS X 10.6.3 | 250GB External HD | 8GB iPod Touch 1st Gen 3.1.3
Just did a read-through of the program. What is it supposed to do?

By the way, a classmate and I made a game in BASIC code, I could get the code, and send it to you so you can play it if you use Chipmunk Basic. It's pretty fun :)

P.S. I also know of a website that has a BUNCH of BASIC games. Maybe it's the same as your book?
 
OP
TattooedMac
Joined
May 19, 2009
Messages
8,428
Reaction score
295
Points
83
Location
Waiting for a mate . . .
Your Mac's Specs
21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
20100107-qswpuf3rk5sued9iufcybrpyrf.jpg
20100107-gu8ab2cq5uk28p331gupw5jite.jpg


Mate i will have a look at the LINK you gave me. Excellent Yea has been a long time since a have touch any of this.
That game is the game you can see in the pic ^^
Would be good of ya to send that code will be great ..... Will look at Chipmunk ....
Ill PM my email

Cheers
 
Joined
Jun 2, 2008
Messages
1,502
Reaction score
35
Points
48
Location
Louisville
Your Mac's Specs
MacBook 2.1GHz Core 2 Duo | 1GB RAM | OS X 10.6.3 | 250GB External HD | 8GB iPod Touch 1st Gen 3.1.3
Sounds great! We're supposed to be getting a good amount of snow tomorrow, and there is the possibility of school being closed, so I may not be able to get the code right away. The same classmate I made the game with has the link to the website, I'll get it from him.

No, it wasn't the same book. But! there could be similar or identical games. I just know that there are A LOT ;D
 
OP
TattooedMac
Joined
May 19, 2009
Messages
8,428
Reaction score
295
Points
83
Location
Waiting for a mate . . .
Your Mac's Specs
21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
That must have been back in 1983. It had an entire 8 kb of memory, and I paid over $1,000 for it. I still have it, and it still works!

But do you still use it ;D

@ cunhool Yep cool mate.. No hurry here got some intensive reading with this gem of a book Haha
I reckon there would be a few out there....

Enjoy the snow !!!!!
 

dtravis7


Retired Staff
Joined
Jan 4, 2005
Messages
30,133
Reaction score
703
Points
113
Location
Modesto, Ca.
Your Mac's Specs
MacMini M-1 MacOS Monterey, iMac 2010 27"Quad I7 , MBPLate2011, iPad Pro10.5", iPhoneSE
Wow, that brings back memories. I typed basic code sometimes for hours to get programs running back in my Commodore 64 and later Atari 8-Bit days. A close friend and I (mostly him) wrote a XTGold, Norton Commander type file manager for the Atari 8-Bit and Sparta Dos. It works great to this day.
 
Joined
Jun 2, 2008
Messages
1,502
Reaction score
35
Points
48
Location
Louisville
Your Mac's Specs
MacBook 2.1GHz Core 2 Duo | 1GB RAM | OS X 10.6.3 | 250GB External HD | 8GB iPod Touch 1st Gen 3.1.3
But do you still use it ;D

@ cunhool Yep cool mate.. No hurry here got some intensive reading with this gem of a book Haha
I reckon there would be a few out there....

Enjoy the snow !!!!!

Sent you a PM (finally got the code)

Tested it out, it seems that it wasn't our final version, because it's a bit choppy on changing levels and ending, but it is still fully playable.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top