NS-HUBASIC: Printing/using charactors from chart b directly in a program listing

Started by ramidavis, May 07, 2012, 01:22:15 pm

Previous topic - Next topic

ramidavis

In the manual for family basic/NS-HUBASIC (v2)on pg. 109 is a chart that lists the hex codes for the graphics from the chart on page 113. (chart b)
In the program listing for game 0 (the heart game) they use the ball shape directly in the listing.
I have tried to make similar lines of code, but can not figure out how to print those graphics directly.

[i am not talking about entering katakana mode, then depressing the graph key and typing the numbers, -, = keys.
for what ever reason, those are the only characters on chart b you can directly type]
i can, however code such as 10 ?chr$(213)    - wich returns a character, but that is not what i see them doing in the game 0.

the exact line, is game 0, line 300 (v3):

300 locate x,y:print"[BALL]"; :next
:return

where [BALL] is literally the ball from chart b on page 113
a couple of nestopia screen shots for you are attached.

There is 104 of these characters; no way that each key on the key board is mapped to one of these.
How do you print these directly as they have done in game 0?

{for family basic v3 manual, the chart b is on page 131, and the hex code table for it is on page 135. you can also use the numbers like 213 in chr$(#) instead of the hex like chr$(&h06)}

UglyJoe

Ah yeah, I remember that one.  I don't know of any way of directly typing it in, but you can use this method:


gibbons

Quote from: UglyJoe on May 07, 2012, 04:37:42 pm
Ah yeah, I remember that one.  I don't know of any way of directly typing it in, but you can use this method:




thanks for posting this, During this time, here's what I'm looking for, and I found it here. Thank you  :D