It is currently Thu Mar 30, 2017 5:36 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Family BASIC Lessons
PostPosted: Sat Mar 18, 2017 2:57 am 
Offline

Joined: Thu Feb 18, 2016 3:20 am
Posts: 32
Hi there. I'm looking for video tutorials for this program. Is there anyone who can help me with this?


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Sat Mar 18, 2017 4:12 am 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 514
Location: Sweden
I haven't seen any video tutorials, but the manual does a pretty good job in teaching how to use it from page 16.
The manual is fully translated by me and another person. I've also translated the most important parts of the V3 manual.

http://www.famicomworld.com/forum/index ... pic=8876.0 Family BASIC manual
The most important part of the manual (not translated by me) is page 16 to 114, and has been compiled to a PDF. The rest can be found in the text file in the attachment, but unfortunately it hasn't been inserted yet.
The translated manual is from the V2 version. If you have V1, some things like the T+RESET trick will not work (it displays a RAM test instead of quick booting into BASIC mode).


http://www.famicomworld.com/forum/index ... ic=10276.0 Family BASIC V3 manual
This also is only a text file in the attachment, and it's not yet complete. All the new command explanations are translated though.


Attachments:
File comment: Family BASIC V3 manual (incomplete)
fambasv3_t.txt [41.06 KiB]
Downloaded 8 times
File comment: Family BASIC manual up to page 15 (and page 69) (complete)
fabaman-t_v1.0.txt [43.32 KiB]
Downloaded 8 times
Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Sat Mar 18, 2017 4:43 am 
Offline

Joined: Thu Feb 18, 2016 3:20 am
Posts: 32
This is not enough. Lessons involve explanation, but I have the manual only "hello world" understood.

_________________
See my hacks on Romhacking.net


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Sat Mar 18, 2017 5:41 am 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 514
Location: Sweden
A "Hello World" isn't explained in the manual, but it would just be:
Code:
10 CLS
20 PRINT "HELLO WORLD!"


What is it that you don't understand? Have you been able to enter the first program in the manual that displays a Mario sprite?


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Sat Mar 18, 2017 3:21 pm 
Offline

Joined: Thu Feb 18, 2016 3:20 am
Posts: 32
Pokun wrote:
A "Hello World" isn't explained in the manual, but it would just be:
Code:
10 CLS
20 PRINT "HELLO WORLD!"


What is it that you don't understand? Have you been able to enter the first program in the manual that displays a Mario sprite?

I know this
10 CLS - CLear Screen
20 LOCATE 4, 10 - position of text on x & y
30 PRINT "HELLO, WORLD!" - print the text
RUN - run program.
I also know how to display Mario sprite, but it's not enough.

_________________
See my hacks on Romhacking.net


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Sun Mar 19, 2017 2:58 am 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 514
Location: Sweden
OK so you got the basics. The manual explains how to do more advanced stuff, as well as explains in detail how every command works. Read it and give it some time to sink in. It might not explain exactly how to make a game though. You might want to look at the example games.

Also you might find something interesting here:
Famicom World Family BASIC Super Thread


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Tue Mar 21, 2017 3:00 pm 
Offline

Joined: Thu Feb 18, 2016 3:20 am
Posts: 32
Pokun wrote:
OK so you got the basics. The manual explains how to do more advanced stuff, as well as explains in detail how every command works. Read it and give it some time to sink in. It might not explain exactly how to make a game though. You might want to look at the example games.

Also you might find something interesting here:
Famicom World Family BASIC Super Thread

Half of these links is broken. :(
Besides, I have some questions.
1) If I can compile my projects into ROM only with VirtuaNES - how I have to make this sign ":"? He displays on other emulators, but not on VirtuaNES. But only this sign gives an optimized code.
2) How can I copy and paste code to emulator? I tried, but no banana. :(

_________________
See my hacks on Romhacking.net


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Wed Mar 22, 2017 5:29 am 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 514
Location: Sweden
All links works for me except FAMILY BASIC ROOM, but I've saved the programs from that site (working link is further down in that thread). Famicom World seems to had some problems with their server lately though. Try the links again later.

1) Not sure who "he" is, or what code you are referring to? The colon ":" character is used for having multiple statements on the same line (mentioned on page 53 in the manual).

2) Nestopia uses F12 for this. I think VirtuaNES also supports pasting but I'm not sure.


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Wed Mar 22, 2017 9:30 am 
Offline

Joined: Thu Feb 18, 2016 3:20 am
Posts: 32
Pokun wrote:
All links works for me except FAMILY BASIC ROOM, but I've saved the programs from that site (working link is further down in that thread). Famicom World seems to had some problems with their server lately though. Try the links again later.

1) Not sure who "he" is, or what code you are referring to? The colon ":" character is used for having multiple statements on the same line (mentioned on page 53 in the manual).

2) Nestopia uses F12 for this. I think VirtuaNES also supports pasting but I'm not sure.

I'm not sure that you tested Family BASIC somewhere else, in addition to Nestopia.

_________________
See my hacks on Romhacking.net


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Wed Mar 22, 2017 3:54 pm 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 514
Location: Sweden
I have the real cartridge and mostly use that, but I also often use Nestopia for quick testing because of the easy F12 pasting.


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Wed Mar 22, 2017 3:59 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 5441
Location: Seattle
Tangenting a bit, does Family BASIC let you jump to native 6502 code?


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Wed Mar 22, 2017 4:36 pm 
Online

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 18008
Location: NE Indiana, USA (NTSC)
Applesoft BASIC on the Apple II has the CALL statement for running a native subroutine. Apparently it's in Family BASIC as well, just not mentioned in some revisions of the manual.


Top
 Profile  
 
 Post subject: Re: Family BASIC Lessons
PostPosted: Thu Mar 23, 2017 5:54 am 
Offline

Joined: Tue May 28, 2013 5:49 am
Posts: 514
Location: Sweden
Yes you just POKE your 6502 subroutine (written in machine code, not assembly) somewhere in the WRAM and use CLEAR on the address before it (this sets the upper limit for what WRAM memory the BASIC code can use). CALL is basically a JSR so the subroutine must end with an RTS instruction.

The CALL command works in all versions of HS-HuBASIC but for some reason it's missing from the V2 manual scans that Sebastien used for his scanlation. He said that his personal copy (also V2) did include it though. I scanned and translated the CALL part of page 69 from my manual (which is also V2 but has some changes and seems older than the scanlation), but I never scanned page 50 (index) and 110 (appendix) so the PDF is missing the CALL command on those pages. Not a big deal if you know about it but it could be confusing for people that are trying to look it up I guess.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group