Results 1 to 12 of 12

Thread: How can I copy a BASIC program?

  1. #1
    Join Date
    Jul 2011
    Location
    North West, UK
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default How can I copy a BASIC program?

    How can I copy a BASIC program from a text file to run on a spectrum emulator for the NDS? Do I need to convert to .z80 format or is it not that simple (or, indeed possible)?

    Thanks

  2. #2
    Zorlon's Avatar
    Zorlon is offline Older than you think
    Still loves Retro gaming
    Still loves new consoles
    Part time games modder
    Just here to help out when I can
    Join Date
    Jun 2002
    Location
    UK Newcastle
    Posts
    22,205
    Thanks
    177
    Thanked 2,181 Times in 1,328 Posts
    Blog Entries
    5
    EP Points
    12125

    Default

    type it up on a PC ZX emu, then save it to a tape in the emu

    there may be tools for doing this via a text file online but never heard of one

    EDIT:

    Google zmakebas

    zmakebas converts text files containing Sinclair Spectrum Basic programs into tokenised Basic saved in .TAP format, ready to run on an emulator or the real thing. It also optionally provides labels as an alternative to line numbers.

    if the DS version of the speccy doesn't support TAP just run the thing in a PC speccy emu and save a sna (snapshot of it loaded)
    Last edited by Zorlon; 5th-July-2011 at 22:39.

    Mod projects - XBOX
    Phantasy Star Online Episodes 1 & 2 - online quests in offline mode packs [COMPLETE]
    [Quest Packs Collection]
    GTA San Andreas - Hot Coffee [COMPLETE]
    [Mod ready] & [Full ISO ready]
    GTA San Andreas - Real Car Names extra content mod [WIP] [Back burner, just won't have the time ]
    Please can all ESR users post your results here to help with the project and others wanting to use ESR

  3. #3
    Join Date
    Jul 2011
    Location
    North West, UK
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi. Thanks. I was hoping for something a little simpler. I have found some old BASIC programs and just thought that I would be able to transfer them straight to an emulator (via Copy & Paste) and for it to run.

  4. #4
    Zorlon's Avatar
    Zorlon is offline Older than you think
    Still loves Retro gaming
    Still loves new consoles
    Part time games modder
    Just here to help out when I can
    Join Date
    Jun 2002
    Location
    UK Newcastle
    Posts
    22,205
    Thanks
    177
    Thanked 2,181 Times in 1,328 Posts
    Blog Entries
    5
    EP Points
    12125

    Default

    Hope you didn't miss my big EDIT

    EDIT:

    It's hard to find a dos compiled version so I will link you to a location to nab it from, most working links are either not compiled or Linux

    ftp://cyberia.dnsalias.com/pub/filebase/gfd/dev/tool/
    Last edited by Zorlon; 5th-July-2011 at 22:50.

    Mod projects - XBOX
    Phantasy Star Online Episodes 1 & 2 - online quests in offline mode packs [COMPLETE]
    [Quest Packs Collection]
    GTA San Andreas - Hot Coffee [COMPLETE]
    [Mod ready] & [Full ISO ready]
    GTA San Andreas - Real Car Names extra content mod [WIP] [Back burner, just won't have the time ]
    Please can all ESR users post your results here to help with the project and others wanting to use ESR

  5. #5
    Join Date
    Jul 2011
    Location
    North West, UK
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Dude! Thanks very much. Only problem is - I'm lost when trying to use it!! lol I can't seem to see any instructions on usage.

  6. #6
    Zorlon's Avatar
    Zorlon is offline Older than you think
    Still loves Retro gaming
    Still loves new consoles
    Part time games modder
    Just here to help out when I can
    Join Date
    Jun 2002
    Location
    UK Newcastle
    Posts
    22,205
    Thanks
    177
    Thanked 2,181 Times in 1,328 Posts
    Blog Entries
    5
    EP Points
    12125

    Default

    open up a dos prompt/command prompt then type "CD "the path to the prog"" then type zmakebas

    if that alone does not give you a help display try adding a space then ? or h then try -h -? or /h /?

    though it may not have a built in help, not used the prog myself

    I think from the readme though

    zmakebas text.txt

    should output a text.tap

    hint:- for dos based apps it's best to have file names short with no spaces 8.3 e.g 12345678.txt

    I would test for you but it won't work with a 64bit OS

    Dosbox would work but I don't have that at the moment

    EDIT tested in dosbos... doesn't seem to do anything

    Just found http://www.zxmodules.de/

    EDIT
    forget the above I will do testing and get back to you...

    Found something that works and I tested it aswell just to make sure

    USE bas2tap25-win.zip extract it, then just drag n drop your txt files onto bas2tap.exe, it will output a tap file, tested it with a very small text file containing
    10 PRINT "TEST"
    20 GO TO 10
    and this worked fine (LMAO at my programming skills)

    After you could create a sna via a PC ZX emu

    P.S. what zx basic progs have you found??
    Last edited by Zorlon; 6th-July-2011 at 10:41.

    Mod projects - XBOX
    Phantasy Star Online Episodes 1 & 2 - online quests in offline mode packs [COMPLETE]
    [Quest Packs Collection]
    GTA San Andreas - Hot Coffee [COMPLETE]
    [Mod ready] & [Full ISO ready]
    GTA San Andreas - Real Car Names extra content mod [WIP] [Back burner, just won't have the time ]
    Please can all ESR users post your results here to help with the project and others wanting to use ESR

  7. #7
    Join Date
    Jul 2011
    Location
    North West, UK
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi Zorlon - Firstly, thanks very much for the effort you are putting into helping me - much appreciated. secondly, I tried the bastap25 and it seemed to successfully output a TAP file, but it won't/can't/I don't quite know how to/ open it in Spectaculator to check it.

    The BASIC programs I've found are here http://www.1000bit.it/support/manual...appendix_D.htm

    I just wanted to test them out on the NDS emulator and try to remember how to program in BASIC - it's been 30 years since I last dabbled in program writing (I managed a small game written in machine code back in the day), but since then I haven't done any "grass roots" computing!! Just wanted to show my son what it was all about (ALAS! He doesn't really care, so it's become more about me!)

  8. #8
    Zorlon's Avatar
    Zorlon is offline Older than you think
    Still loves Retro gaming
    Still loves new consoles
    Part time games modder
    Just here to help out when I can
    Join Date
    Jun 2002
    Location
    UK Newcastle
    Posts
    22,205
    Thanks
    177
    Thanked 2,181 Times in 1,328 Posts
    Blog Entries
    5
    EP Points
    12125

    Default

    choose basic 128 or 48 open the virtual keyboard then hit J the ctrl held and PP that should give you Load "" then hit enter

    this should give you a loading screen, start the tape hower you do that in that emu

    once loaded
    R then enter to run it

    Something like "the quill" or another adventure game creator (gac or something I think was the other one Graphic Adventure Creator) might be more fun to start with, also available for the good old speccy, I even had Pascal and C+ for spectrum but they are not as fun
    Last edited by Zorlon; 6th-July-2011 at 20:23.

    Mod projects - XBOX
    Phantasy Star Online Episodes 1 & 2 - online quests in offline mode packs [COMPLETE]
    [Quest Packs Collection]
    GTA San Andreas - Hot Coffee [COMPLETE]
    [Mod ready] & [Full ISO ready]
    GTA San Andreas - Real Car Names extra content mod [WIP] [Back burner, just won't have the time ]
    Please can all ESR users post your results here to help with the project and others wanting to use ESR

  9. The Following User Says Thank You to Zorlon For This Useful Post:


  10. #9
    Join Date
    Jul 2011
    Location
    North West, UK
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Okay - got them working. Took a bit of memory searching but there were errors in the programs. All is well. many thanks Z.

  11. #10
    Join Date
    Mar 2009
    Location
    In a windowless van.
    Posts
    10,330
    Thanks
    98
    Thanked 705 Times in 331 Posts
    Blog Entries
    1
    EP Points
    1450

    Default

    Hey Zorlon, why didn't you just go over to his house and help?

    Also, is BASIC what runs on the Commodore 64?

  12. #11
    Zorlon's Avatar
    Zorlon is offline Older than you think
    Still loves Retro gaming
    Still loves new consoles
    Part time games modder
    Just here to help out when I can
    Join Date
    Jun 2002
    Location
    UK Newcastle
    Posts
    22,205
    Thanks
    177
    Thanked 2,181 Times in 1,328 Posts
    Blog Entries
    5
    EP Points
    12125

    Default

    Yeah C64 used basic as did most the 8 bit comps back in the day

    My MSX, Acorn Electron (cheaper BBC Micro) and Amstrad CPC did plus a ton more

    Only problem is some of the basic was slightly different between machines
    Last edited by Zorlon; 7th-July-2011 at 08:19.

    Mod projects - XBOX
    Phantasy Star Online Episodes 1 & 2 - online quests in offline mode packs [COMPLETE]
    [Quest Packs Collection]
    GTA San Andreas - Hot Coffee [COMPLETE]
    [Mod ready] & [Full ISO ready]
    GTA San Andreas - Real Car Names extra content mod [WIP] [Back burner, just won't have the time ]
    Please can all ESR users post your results here to help with the project and others wanting to use ESR

  13. #12
    Join Date
    Jan 2007
    Posts
    1,156
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Jazzmarazz View Post
    Hey Zorlon, why didn't you just go over to his house and help?

    Also, is BASIC what runs on the Commodore 64?
    BASIC isn't native to a CPU. A BASIC compiler converts the BASIC program into assembly, which is then assembled (converted to machine code) which the CPU runs. BASIC just offers an alternative to programming in assembly but games would have being programmed in assembly. The C64 had a slightly modified version of the 6502 processor, which is what the NES had.

Similar Threads

  1. check out my games and apps
    By thx4allthefish in forum Coders and Webmasters Corner
    Replies: 57
    Last Post: 1st-November-2005, 00:18
  2. software help
    By gonefishing in forum Computer Corner
    Replies: 30
    Last Post: 4th-August-2002, 12:43

Posting Permissions

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

We are the oldest retro gaming forum on the internet. The goal of our community is the complete preservation of all retro video games. Started in 2001 as EmuParadise Forums, our community has grown over the past 18 years into one of the biggest gaming platforms on the internet.

Social