Results 1 to 10 of 10
  1. #1

    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,441
    Specs:
    21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
    Old programming on New Mac ?
    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
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  2. #2

    cuhnool's Avatar
    Member Since
    Jun 02, 2008
    Location
    Louisville
    Posts
    1,502
    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).

  3. #3

    VegasGeorge's Avatar
    Member Since
    Sep 23, 2006
    Location
    Las Vegas, NV USA
    Posts
    893
    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!

  4. #4

    cuhnool's Avatar
    Member Since
    Jun 02, 2008
    Location
    Louisville
    Posts
    1,502
    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?

  5. #5

    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,441
    Specs:
    21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3


    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
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  6. #6

    cuhnool's Avatar
    Member Since
    Jun 02, 2008
    Location
    Louisville
    Posts
    1,502
    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

  7. #7

    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,441
    Specs:
    21" iMac 2.9Ghz 16GB RAM - 10.11.3, iPhone6s & iPad Air 2 - iOS 9.2.1, ATV 4Th Gen tvOS, ATV3
    Quote Originally Posted by VegasGeorge View Post
    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

    @ 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 !!!!!
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  8. #8

    dtravis7's Avatar
    Member Since
    Jan 04, 2005
    Location
    Modesto, Ca.
    Posts
    29,054
    Specs:
    iMac 2010 27" QuadI7 OS10.12, iMac 2008 OSX10.11, MBP Late2011OS10.12 , iPad Air, iPhone 3GS
    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.

  9. #9


    Member Since
    Aug 04, 2007
    Posts
    267

  10. #10

    cuhnool's Avatar
    Member Since
    Jun 02, 2008
    Location
    Louisville
    Posts
    1,502
    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
    Quote Originally Posted by TattooedMac View Post
    But do you still use it

    @ 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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Programming C++ on Mac...?
    By Mike120 in forum Switcher Hangout
    Replies: 11
    Last Post: 06-15-2009, 06:44 PM
  2. Mac Programming
    By frewegooh in forum Switcher Hangout
    Replies: 20
    Last Post: 05-01-2007, 03:32 PM
  3. Programming on Mac
    By Chris3d in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 03-27-2007, 08:21 AM
  4. C++ programming on a Mac
    By DrQuincy in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 01-26-2007, 01:17 PM
  5. programming in mac
    By Skarss in forum Web Design and Hosting
    Replies: 1
    Last Post: 06-16-2005, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •