Hello all, new to the forum. ;D
I just discovered the world of Family Basic (on an emulator, not hardware). i have a tiny bit of knowledge of basic on c64, so i wanted to try it.
I know as far as the c64 goes, there are sites that catalog "type-in" listings/scans, and even sometimes provide disk images or tape images for use on hardware(if you have the ability to transfer the images to a disk/tape) or emulator.
I was wondering if anyone knows of any site or resource that may have .tp (nestopia), .tpr (jnes) , .vtp (virtuanes) format tape images, or just listings period for Family Basic?
P.S.: Hello World! -
0 gosub1: gosub 10:end
1 cls:beep
5 print"hello world":return
10 play"cder1bo1cde":goto 1
8)
Any chance of getting a Family Basic section for the board, mods?
I've only seen one site with two game programs on it: http://page.freett.com/familybasic/familybasic_download.html (http://page.freett.com/familybasic/familybasic_download.html)
There's some code out there for a program that pokes audio registers and plays music from Space Harrier. I typed up the source a while ago (search for it on the forums).
Quote from: ramidavis on April 30, 2012, 01:05:13 pm
Any chance of getting a Family Basic section for the board, mods?
Nope. Not nearly enough demand for its own board.
The OP asked for this in a PM, but I figured I'd share it with everybody. I had posted a wav file of a program in another Family Basic thread, but didn't post any source code for it. It's a short program that I copied out of a book called ファミリーベーシックで遊ぼう! (Let's Play with Family Basic!, I think). The program lets you control a spaceship using the d-pad and fire a bullet using the A button.
WAV file: http://ximwix.net/storage/wrap.wav (http://ximwix.net/storage/wrap.wav)
Source code: http://i.imgur.com/tNqT2.jpg?1 (http://i.imgur.com/tNqT2.jpg?1)
Quote from: UglyJoe on May 03, 2012, 06:02:19 pm
a book called ファミリーベーシックで遊ぼう! (Let's Play with Family Basic!, I think).
...WOW.. is there any chance of scanning the whole book? :) I know, somebody would have to translate it after anyway, but maybe at least post other source codes, if there are others...
Not that i know how to translate japanese or anything, but i second that.
Any chance of sharing that little book of yours? Please?
And by the way, that game is pretty neat! Thanks for it! :gamer:
No matter, how good translation is, original always better ::) Congratulations, by the way
(http://i48.tinypic.com/dhetzc.jpg)
(http://img109.imageshack.us/img109/9162/happylz.jpg)
Quote from: jpx72 on May 03, 2012, 10:09:35 pm
...WOW.. is there any chance of scanning the whole book? :)
90 pages and a slow scanner :-[
Maybe.
There are some programs in the family basic manual too
Quote from: UglyJoe on May 04, 2012, 04:57:37 am
Maybe.
I'll try to scan a few pages per day. At the very least, the Internet needs to see these derpy Mario illustrations.
http://imgur.com/a/CBnOi (http://imgur.com/a/CBnOi)
I'll host the whole thing as a zip file on FW once I'm done.
Ulgy joe, simple words alone can not do justice, so i present to you, this program, as thanks:
Spoiler
10 cls:print"t"
11 locate 1,0:print"h":locate 2,0
12 print"a":locate 3,0:print"n":locate 4,0:print"k":locate 6,0:print"y"locate 7,0:print"o":locate 8,0:print"u":locate 9,0:print "1":locate 10,0:print"!":locate 10,0:print" ":locate 9,0:print" ":locate 8,0:print" ":locate7,0:print" ":locate 6,0
13print" ":locate 5,0:print" ":locate 4,0:print" ":locate 3,0:print" ":locate 2,0:print" "locate 1,0:print" ":locate 0,0:print" ":locate0,0:print"t":print"doumo arigatou gozaimasu."goto 11
the attached thanks.txt has an error.
line 11 should be 11 locate 1,0:print"h":locate 2,0
I have corrected this in the code above.
DONE - thanks-new.txt is corrected .txt file.I am really, terribly sorry.. somehow, both .txt files i uploaded had errors.:-[
this is the proper code:
10 cls:print"t"
11 locate 1,0:print"h":locate 2,0
12 print"a":locate 3,0:print"n":locate 4,0:print"k":locate 6,0:print"y":locate 7,0:print"o":locate 8,0:print"u":locate 9,0:print "!":locate 10,0:print"!":locate 10,0:print" ":locate 9,0:print" ":locate 8,0:print" ":locate7,0:print" ":locate 6,0
13print" ":locate 5,0:print" ":locate 4,0:print" ":locate 3,0:print" ":locate 2,0:print" ":locate 1,0:print" ":locate 0,0:print" ":locate0,0:print"t":print"doumo arigatou gozaimasu.":goto 11
Please download the file "thank-you.txt" , the other two are errors! :'(
Fire up your emulator and type this in, or if it supports cut and paste, copy from the above code box.
Or, try it on your real hardware.
You're welcome ;D
Also, pro-tip: don't hard-code when you can do it modularly:
(http://i.imgur.com/WlLoi.png)
Quote from: UglyJoe on May 05, 2012, 11:42:31 am
I'll try to scan a few pages per day.
It's really appreciated UglyJoe, thank you!
I looked at the Nestopia .tp file format today. It turns out they're just a headerless unsigned 8-bit PCM wave file with a 32000 Hz sampling rate. You can do an "Import Raw Data" in Audacity (settings here (http://i.imgur.com/cHQGg.png)) and save it as a wav file. Hook up an audio cable from your PC to the FB keyboard and you can load it up on the real hardware. Conversion works in the other direction, too.
Quote from: UglyJoe on May 06, 2012, 02:23:06 pm
I looked at the Nestopia .tp file format today. It turns out they're just a headerless unsigned 8-bit PCM wave file with a 32000 Hz sampling rate. You can do an "Import Raw Data" in Audacity (settings here (http://i.imgur.com/cHQGg.png)) and save it as a wav file. Hook up an audio cable from your PC to the FB keyboard and you can load it up on the real hardware. Conversion works in the other direction, too.
That is insanely cool. I'm going to have to give this a shot. It would be fun to throw a lot of them on my iPod to make it easy.
Okay, I finished scanning the book today. You can browse it here: http://imgur.com/a/CBnOi (http://imgur.com/a/CBnOi) or you can download the whole thing in a zip file here: http://famicomworld.com/wp-content/uploads/Lets_Play_with_Family_Basic.zip (http://famicomworld.com/wp-content/uploads/Lets_Play_with_Family_Basic.zip)
Wow, thanks a lot! That does it, i have got to learn to read Japanese. Anyone could point me to some sort of (free) crash course in Japanese? (more interested in being able to read it then i would be in trying to speak it.)
Thanks UglyJoe! I have been watching your Imgur album growing ;D and now it's finished! Books like this are rare, I am happy that I have it now, and that the Famicom community can download it here!
Hey Joe, do you know what the tapes are on the back of the book?
I'm assuming the book came with a cassette containing the programs and/or the background graphics arrangements. I do not have the cassette.
Is that what you were referring to?
Yes, I have the tapes and book on the way. Anyway I can dump the tape once it arrives? As you've scanned the book (wow...) it makes sense.
Quote from: L___E___T on May 14, 2012, 07:37:18 am
Anyway I can dump the tape once it arrives?
Would be nice of you ;D You'd have to capture it to some lossless format, though (FLAC or something), otherwise the data on the tapes might be rendered unreadable. We can host it on FW if you're interested.
Defo interested. They were super cheap but I've not seen them before so seemingly uncommon.
Given how much value people place on 'alternate' demo and beta versions of games I figured I should pick them up.
Not sure how I'd capture, but if I can't do it I'll send them over to you or whoever best suitable.
I've been wanting to contribute to the site for a good amount of time now with something.
Quote from: L___E___T on May 14, 2012, 07:51:12 am
I've been wanting to contribute to the site for a good amount of time now with something.
That'll be quite Something! Really looking forward to that!
Quote from: UglyJoe on May 06, 2012, 02:23:06 pm
I looked at the Nestopia .tp file format today. It turns out they're just a headerless unsigned 8-bit PCM wave file with a 32000 Hz sampling rate. You can do an "Import Raw Data" in Audacity (settings here (http://i.imgur.com/cHQGg.png)) and save it as a wav file. Hook up an audio cable from your PC to the FB keyboard and you can load it up on the real hardware. Conversion works in the other direction, too.
So, you mean using Audacity, i can take a .wav recording of a famicom tape (such as the wrap.wav file you sent me earlier [space ship moving around and shooting]), and save it as a .tp?
I have opened the wrap.wav file with Audacity, and told it to export [from file > export]. It gives me a save dialog box, and choose to name it test.tp . Before clicking save, i clicked the 'options...' box in the corner, and set the options as header: RAW (header-less) , encoding: Unsigned 8-bit PCM , then clicked ok, and clicked save.
It gives me a warning: "you are about to save a LIBSNDFILE file with the name "test.tp"
Normally these files end in ".raw" , and some programs will not open files with nonstandard extensions.
Are you sure you want to save the file under this name?" , and i click yes. It brings up the Edit Metadata box, i leave everything blank, and click ok.
The file test.tp is then written, and when i attempt to load from this .tp image, it simply runs to the end of the tape with out loading anything.
Could you please explain how to convert from .wav to .tp?
Quote from: ramidavis on May 14, 2012, 08:51:02 pm
Could you please explain how to convert from .wav to .tp?
In Audacity:
- Open the wav file.
- Project Rate (Hz) [bottom of window]: 32000
- File -> Export
- Save as type: Other uncompressed files
- Options button:
- Header: RAW (header-less)
- Encoding: Unsigned 8 bit PCM
- Pick your filename and click OK through any other dialogs.
In Nestopia:
- Before loading ROM, goto Machine -> External -> Tape Recorder -> File
- Uncheck "Use image file naming"
- Browse to your new tp file and hit OK
- Load up FB rom (wrap.wav requires FB v2.1a -- will get jibberish in FB 3.0)
- Get to the basic prompt and type LOAD and press enter
- Go to Machine -> External -> Tape Recorder -> Play
- Wait...
- Type LIST or RUN
That works!
I totally missed the project rate Hz setting at the bottom of the window!
FYI, the Virtuanes vtp format appears to be the same as the Nestopia tp format.
Quote from: L___E___T on May 14, 2012, 07:51:12 am
Defo interested. They were super cheap but I've not seen them before so seemingly uncommon.
Given how much value people place on 'alternate' demo and beta versions of games I figured I should pick them up.
Not sure how I'd capture, but if I can't do it I'll send them over to you or whoever best suitable.
I've been wanting to contribute to the site for a good amount of time now with something.
I just wanted to say thank you in advance for doing this.
I hope they get to you safely.
They arrived, but I don't know how to scan them...
Quote from: L___E___T on June 23, 2012, 08:57:34 am
They arrived, but I don't know how to scan them...
You mean the tapes? You basically just hook up a tape player to your PC by running a 3.5mm M to M audio cable (http://www.monoprice.com/products/product.asp?c_id=102&cp_id=10218&cs_id=1021802&p_id=644&seq=1&format=2) from the headphone jack of your tape player to the line-in (or mic) port on your PC. After it's hooked up, hit record in your favorite audio program and then hit play on your tape player. There are guides online (http://www.nsftools.com/misc/TapeToCD.htm) to help you through the process (although I would avoid any "clean-up" steps).
I, I don't have a tape player :(
Neither do I ;D
I'm sure I could locate an inexpensive one rather easily. Maybe they weren't quite as ubiquitous in England?
I have been busy with real life as of late. I decided i would check in on this, now that it has been quite a while.
Still no sign of getting those tapes online, huh?
Oh well, back to real life again.