Additional Notes On Sprites + Binary To Decimal Converter - Commodore 64 Users Guide Ep 14

Channel:
Subscribers:
111
Published on ● Video Link: https://www.youtube.com/watch?v=eH5UZdjMd_Y



Category:
Guide
Duration: 8:13
109 views
4


Additional Notes On Sprites - Commodore 64 Users Guide Ep 14
Plus a type in Binary To Decimal Converter program
5 REM BINARY TO DECIMAL CONVERTER
10 INPUT "ENTER 8-BIT BINARY NUMBER :":A$
12 IF LEN (A$) :: 8 THEN PRINT "8 BITS PLEASE...":
GOTO 10
15 TL = 0 : C = 0
20 FOR X = 8 to 1 STEP -1 : C = C + 1
30 TL = TL + VAL(MID$(A$,C,1))*2f(X-1)
40 NEXT X
50 PRINT A$;" BINARY ";" = ";TL;" DECIMAL"
60 GOTO 10

f in line 30 is supposed to be the 'to the power of' symbol....looks like arrow pointing up.


If you have some old hardware/software you wish to donate to help expand the channel, please contact me via email to confirm it is something I can use.
soulkandy@gmail.com #retro #commodore #c64 #commodore64 #retrocomputing







Tags:
commodore
c64
commodore 64
retro
games
coding
programming
computer
tech
basic
assembly
learning
user guide
commodore international
program
command
6510
6502
assembler
datasette
cassette
cassette tape
dice roll
random numbers
(RND)
RND
advanced
color
colour
graphics
learn
Diagnostics
Sequence
1988
software
tool
tools
programs
Poke
peeks and pokes
animation
sprite
sptites
data
balloons
balloon
additional notes
binary converter
decimal converter