Josip Retro BitsThis is part two of the "Viking Morse Code Keyer" video and in this video, we will finally write some assembly code :) We will set NMI interrupt with an external trigger source to detect Morse code signals and for that, we will use MIKRO ASSEMBLER Cartridge.
Morse Code Keyer and Commodore 64 | Part TwoJosip Retro Bits2024-04-10 | This is part two of the "Viking Morse Code Keyer" video and in this video, we will finally write some assembly code :) We will set NMI interrupt with an external trigger source to detect Morse code signals and for that, we will use MIKRO ASSEMBLER Cartridge.
#c64 #morse #morsecode #commodore #commodore64 #retrocomputing #basic #keyer #viking #ssk-1-k #iambic #interrupts #assembly #electronics #schematics #nmi #8bit #mikroassemblerFOR BASIC TO ONE-LINERS - Book ReviewJosip Retro Bits2024-10-04 | In this video, we look at an amazing book on One-Liner Programming in BASIC. The book contains over 170 tips and tricks for writing shorter and faster code. The book is designed to suit readers of all experience levels, enjoy!
#basic #programming #book #review #retrocomputing #one-liners #one-line #HolgerWeßling #tips #tricks #shortcode #fastcode #benchmarks #screenshots #graphics #poke #peek #wait #chr #commodore #c64 #atariLive Stream July - YouTube Retro RepairersJosip Retro Bits2024-07-29 | Another live stream with Retro YouTubers!
Join us for a discussion of all things retro computing related :)
Our guest tonight will be "Tim" from @TimsRetroCorner :)
Sunday, 28. July 2024
7:30pm GMT / 11:30am PDT / 2:30pm EDTAssembly Programming Using Commodore 64 Kernal RoutinesJosip Retro Bits2024-07-06 | In this episode, we use the Commodore 64 KERNAL routines and create some interesting effects on the screen with just a few lines of Assembly code. Even if you don't know how to program assembly, don't worry, part of the video is dedicated to explaining the basics of assembly programming.
#c64 #kernal #assembly #programming #retrocomputing #demo #visualeffects #assemblylanguage #commodore64 #routinesBASIC 60th Birthday | Commodore 64 | #basic60thJosip Retro Bits2024-04-22 | To celebrate BASIC 60th Birthday (1st May) I decided to show what I really enjoy programming in BASIC on Commodore 64. Full BASIC, little bit of algorithms and PETSCII Art, Enjoy :)
#c64 #basic60th #commodore #commodore64 #retrocomputing #basic #happybirthday #8bit #petscii #petsciiart #bitartMorse Code Keyer and Commodore 64 | Part ThreeJosip Retro Bits2024-04-14 | This is the third part of the "Viking Morse Code Keyer" video and in this video we will decode Morse code messages back to letters. I will show how I converted the Morse Code Chart into a lookup table that we will use in assembly code. And of course, we will use the MIKRO ASSEMBLER Cartridge :) Enjoy!
#c64 #morse #morsecode #commodore #commodore64 #retrocomputing #basic #keyer #viking #ssk-1-k #iambic #interrupts #assembly #electronics #schematics #nmi #8bit #mikroassemblerViking Iambic Keyer and Commodore 64 #c64 #retro #communicationmethod #retrocomputing #morsecodeJosip Retro Bits2024-04-11 | ...Morse Code Keyer and Commodore 64 | Part OneJosip Retro Bits2024-04-08 | This is the first part of the "Viking Morse Code Keyer" video and in this part, we will connect it to a Commodore 64 and try to capture the signals using BASIC language. We will prepare our circuit so that we can use external hardware interrupt and in the next video, we will capture Morse code signals using Assembly code and MIKRO ASSEMBLER Cartridge.
INDEX: ====== 0:00 - Intro 1:10 - Viking Iambic Keyer 6:36 - Connection to C64 10:08 - BASIC Code 17:58 - Schematic 23:21 - Schematic with Interrupt Line 28:17 - End of Part One
#c64 #morse #morsecode #commodore #commodore64 #retrocomputing #basic #keyer #viking #ssk-1-k #iambic #interrupts #assembly #electronics #schematicsLive Stream MARCH 31 - YouTube Retro RepairersJosip Retro Bits2024-04-01 | Another live stream with Retro YouTubers!
Join us for a discussion of all things retro computing related :)
It will be a great evening with great people!
#retrocomputing #commodore #atari #amiga #retrogamingTime Flies #analog #clock controlled by #esp8266 #electronicsJosip Retro Bits2024-03-17 | ...Awful commodore 64 music #theremin #c64 #instrument #sid #music #commodoreJosip Retro Bits2024-03-12 | ...Metal Pins Falling #metal #pinsJosip Retro Bits2024-03-05 | ...Slow Down Commodore 64 | Slomo DIY #electronics #commodore #retro #retrocomputing #c64 #diyJosip Retro Bits2024-02-24 | ...Commodore 64 Reset Circuit #keyboard #vintage #electronics #reset #retro #transistors #schematicsJosip Retro Bits2024-02-23 | ...C64 Keyboard Reset Mod #retro #keyboard #electronics #reset #norgate #transistors #schematicsJosip Retro Bits2024-02-23 | ...Commodore 64 Keyboard Reset Circuit v2.0Josip Retro Bits2024-02-22 | This is a follow-up to my video on the Keyboard Reset Circuit for the Commodore 64. This time I made a reset circuit much simpler in design and easier to build! The link for schematics and gerber files is down below. Enjoy :)
#commdore64 #c64 #retrocomputing #mods #reset #resetboard #keyboard #keyboardreset #npn #transistors #norgate #nor #circuit #schematics #pcb #electronics #retroelectronicsKeyboard Reset Circuit for Commodore 64 | Mods and RepairsJosip Retro Bits2024-02-19 | In this video you can see my Commodore 64 "Frankenstein"; board no. 250407 with VICII and SID chips from a shortboard. Also, I made a reset circuit that uses a key combination on the keyboard to reset the c64. Enjoy :) (Any suggestion to improve this little reset circuit is more than welcome)
#commdore64 #c64 #retrocomputing #mods #repair #repairing #reset #resetboard #250407 #vicii #sid #keyboard #keyboardresetOscar64, C compiler for Commodore 64Josip Retro Bits2024-02-12 | In this video we explore Oscar 64, a very powerful C compiler for Commodore 64. Floats, Pointers, Recursion, dedicated C64 libraries and a bunch of Examples and Demos, Oscar 64 has it all.
INDEX: ====== 0:00 - Intro 0:58 - VCCC 2023 and Diamond shape 4:07 - Diamond shape in C 8:47 - Compiling with Oscar64 9:53 - Compiling the same code with GCC 12:13 - Pointers vs Peek&Poke 22:15 - Recursion 30:06 - Oscar64 Examples and Demos 39:16 - The End
#christmas #x-mass demo #basicdemo #c64 #commodore #xmas #retrocomputing10 PRINT Spiral | C64 #retroprogramming #basic #10printJosip Retro Bits2023-12-10 | ...10 PRINT VERTICAL & DIAGONAL | C64Josip Retro Bits2023-12-09 | Find out how to create 10 PRINT maze filling the screen vertically column by column and then filling the screen with maze characters diagonally. This video was made after a series of competitions in the "BASIC programming language" group thanks to Mr Holger Weßling.
#commodore #c64 #10print #basic #retroprogramming #10printmaze #vertical #diagonal #poke #print #one-liner #oneliner #commodore64 #commodorebasicLive Stream #8 - Youtube Retro RepairersJosip Retro Bits2023-11-26 | On the 26th of November, We doing a live stream with Retro YouTubers.
Join us for a discussion of all things retro computing related :)
It will be a great evening with great people. One not to miss out on.
#pong #retrogaming #maker #diy #diyprojects #electronic #solderingINVADERS | 10 Liner GameJosip Retro Bits2023-11-14 | ...DONKEY.BAS on C64Josip Retro Bits2023-11-12 | ...GO RUN on Commodore 64Josip Retro Bits2023-11-11 | Screen replicator code: 0 a=781:b=1024:c=59923:d=999:g=29:fori=0tod:pOa,pE(b+i):sysc:?cH(g);:nE:gO #c64 #commodore #basic #retrocomputingOne Time Only in One-Liners | Commodore BASICJosip Retro Bits2023-11-10 | How to perform a task only once in one-liner BASIC code? Find out in this video :) Big thanks to Holger Weßling who started this discussion in "BASIC programming language" group on Facebook. Besides solutions from the video, there are other solutions as well!
#basic #retrocomputing #programming #c64 #commodore #onelinerOne-Liner Pattern Generator | ExplainedJosip Retro Bits2023-11-09 | An explanation of the one-line BASIC code that generates a large number of different patterns on the screen and a little more about how for loops work in Commodore BASIC.
A large number of Patterns in a Single line of Code (Demo): youtu.be/PbzTI9O4w6g
#basic #c64 #commodore #retrocomputing #patterns #programming #onelinerMoto Games on Color TV Multispiel 4014Josip Retro Bits2023-10-21 | Color TV Multispiel 4014 is an advanced Pong machine with 14 games. It contains two chips, AY-3-8765(AY-3-8760) for Moto games and AY-3-8610 for Pong games. #pong #console #gameconsole #retrogamingLarge number of Patterns in a Single line of Code | Commodore 64Josip Retro Bits2023-09-06 | This is just a short Demo of a one-liner BASIC code that generates different patterns by drifting through PETSCII characters.
CODES USED IN THE VIDEO: ======================= Algo 1: 0 for a=1-a to 1+a step rnd(a)+.1:print chr$(174+a);:next:goto Algo 2: 0 for a=1-a to 1+a step rnd(a)+.1:print chr$(190+a);:next:goto Algo 3: 0 for a=5-a to 5+a step rnd(a)+.1:print chr$(160+a);:next:goto Algo 4: 0 for a=5-a to 3+a step rnd(a)+.1:print chr$(160+a);:next:goto
CHECK OUT THESE CHANNELS: ========================== 8Bit Retro ReFix @8BitRetroReFix Captain Commodore @CaptainCommodore Retro4u @Retro4u 8bitsinthebasement @8bitsinthebasement
#c64 #basic #patterns #one-liner #commodore basic, #commodore64, #programming #petsci #retrocomputingUsing Arithmetic Instead of Logical Operators in Commodore BasicJosip Retro Bits2023-08-15 | In this video, I tested a couple of different solutions for joining two conditions in IF statements on a Commodore 64. The idea for this video came from a Facebook post to use arithmetic instead of logical operators in if statements. The goal was to compare those solutions and see which one is the fastest one.
METHODS: ============== 1 if a=0 and b=0 then 2 if a=0 then if b=0 then 3 if (a=0)*(b=0)=1 then 4 if a*a+b*b=0 then 5 if abs(a)+abs(b)=0 then
TEST CASES: ============== 1 A is equal to 0, B is equal to 0 2 A is not equal to 0, B is not equal to 0 3 A is equal to 0, B is not equal to 0 4 A is not equal to 0, B is equal to 0
TEST CODES: ============== 0 rem arithmetic check 10 s=ti:a=5:b=5 20 fori=1to200 30 if a*a+b*b=0 then c=c+1 40 next 50 df=ti-s 60 print df,c
0 rem abs sum check 10 s=ti:a=5:b=5 20 fori=1to200 30 if abs(a)+abs(b)=0 then c=c+1 40 next 50 df=ti-s 60 print df,c
0 rem equal to, operators 10 s=ti:a=5:b=5 20 fori=1to200 30 if (a=0)*(b=0)=1 then c=c+1 40 next 50 df=ti-s 60 print df,c
0 rem nested if's 10 s=ti:a=5:b=5 20 fori=1to200 30 if a=0 then if b=0 then c=c+1 40 next 50 df=ti-s 60 print df,c
0 rem classic if and 10 s=ti:a=5:b=5 20 fori=1to200 30 if a=0 and b=0 then c=c+1 40 next 50 df=ti-s 60 print df,c
#c64 #commodore #basic #programming #ifs #8bit #retrocomputing #arithmeticDONKEY.BAS for Commodore 64 | Game in BASICJosip Retro Bits2023-08-04 | DONKEY.BAS is a game written in 1981 and included with early versions of the IBM PC DOS operating system distributed with the original IBM PC, written by Microsoft co-founder Bill Gates and early employee Neil Konzen. This is my version for Commodore 64! Enjoy :)
#msbasic #c64 #game #commodore #commodore64 #ibmpc #donkey #basic #programming #billgates #microsoft #neilkonzenLive Stream #4 - Youtube Retro RepairersJosip Retro Bits2023-07-31 | On the 30th of July, We doing a live stream with Retro YouTubers.
Join us for a discussion of all things retro computing related :)
It will be a great night with great people. One not to miss out on.
#windows #games #windows95 #c64 #retrocomputing #retrogaming #w95 #commodore #8bit #windowsgames #solitaire #solitairegame #gaming #windowsgamingControlling 3D Printer with Commodore 64Josip Retro Bits2023-07-05 | Controlling 3D Printer with Commodore 64
@Retro4u this one is for You :)
#3dprinting #c64 #3dprinter #commodore #joystickBelow Zero with Commodore 64Josip Retro Bits2023-07-04 | We are measuring temperatures below zero with C64 using a DS18B20 sensor :)
#c64 #ds18b20 #8bit #commodore64 #temperature #sensor #assembly #retrocomputing #1-wire #programming #asm #sensors #numbersMeasure Temperature with Commodore 64Josip Retro Bits2023-07-04 | In this video, we connected DS18B20 digital temperature sensor to Commodore 64. Then we learned how the 1-wire protocol works and implemented the same in assembly. In addition, you will see how I dealt with floating point numbers in assembly. Enjoy :)
INDEX: ====== 0:00 - Intro 4:30 - How to connect DS18B20 to Commodore 64 9:50 - How 1-wire communication works 14:38 - Communicate with DS18B20, Assembly code 35:59 - Measure temperatures and experiments 40:21 - Let's go below zero :)
#c64 #ds18b20 #8bit #commodore64 #temperature #sensor #assembly #retrocomputing #1-wire #programming #asm #sensors #numbers #commodore #1wire #onewire #gpioCreating Mazes on Commodore 64 | With cool visual effectsJosip Retro Bits2023-06-30 | A whole bunch of Mazes written in BASIC and C programming language. We explore the "Recursive Backtracker" algorithm and the "Recursive Division" algorithm and their implementation on the Commodore 64. In addition, you can see some Maze Art with some cool visual effects. This video is inspired by the "Back to Basic" video and his BASIC code for creating mazes on the C64. ================ I ♥ Mazes! ================ ☕ If You like this video you can buy me a coffee: ko-fi.com/josipretrobits ☕
INDEX: ========= 0:00 - Intro 1:02 - Mazes Demo 2:44 - Info and Links to the source files 3:00 - Talking about Maze Algorithms 4:20 - Explaining Recursive Backtracker in PETSCII Editor 10:22 - How to make Recursive Backtracker look like a Maze 12:34 - Concept for tracking available directions 19:53 - Explaining Recursive Division in Petesci Editor 25:12 - Recursive Backtracker, implementation in Basic 36:08 - Recursive Backtracker in action 37:35 - Recursive Backtracker, Random direction Lookup Table (1) 44:19 - Recursive Backtracker, Random direction Lookup Table (2) 46:37 - Make spaces between paths to create a maze 50:01 - Final maze in BASIC, Recursive Backtracker 51:51 - Maze Art in BASIC, Snake 53:55 - Maze Art in C, Snake 55:21 - Maze Art (2) in C (path splitting) 57:42 - Adding a tail effect to Maze Art (2) 59:16 - Recursive Backtracker Maze in C 1:00:45 - Running Recursive Backtracker Maze in C 1:01:08 - Maze with custom PETSCII Characters in C 1:06:52 - Recursive Division in C, implementation 1:13:10 - Running Recursive Division in C 1:14:12 - Recursive Division in C, custom characters 1:15:20 - The END
#maze #algorithm #8bit #c64 #retrocomputer #basic #clanguage #commodore #programming #cprogramming #mazes #recursion #mazeart #art #retrocomputing #petsciiMaze Art on C64Josip Retro Bits2023-06-16 | Maze Art on Commodore 64 written in C programming language.
#maze #8bit #c64 #commodore64 #programming #art #bitart #cprogramming #demo #randomAssembly and Basic code together on Commodore 64 | Mikro AssemblerJosip Retro Bits2023-06-06 | Exploring Mikro Assembler for the Commodore 64 and discovering some hidden options that allow us to merge the assembly with the base code in the same source file. It is weird to see the assembly and basic code together in the same source file but it works really nicely and it does open some crazy possibilities :) Mikro Assembler was released as a cartridge by Supersoft in 1983 and written by Andrew J Trott.
Big Thanks to Steve from @8BitRetroReFix channel for shots and images of Mikro Assembler cartridge used in the video.
INDEX: ====== 0:00 - Intro 0:37 - History of Mikro Assembler 1:55 - Mikro Assembler User Interface 5:18 - 10Print Assembly Code 8:20 - Link multiple Assembly files 14:30 - Assembly and Basic together in the same source file 22:12 - Compile with autorun assembly code 28:10 - Conclusion (the End)
10 input "10print: (1)compile or (2)run"; d 20 on d goto 30,120 30 print "compiling 10print maze" 40 assemble 50 50 *=$1000 60 loop eor $d012 70 and #$01 80 adc #$cd 90 jsr $ffd2 100 jmp loop 110 end 120 sys4096 ---
2 fori=631to631+7:reada:pokei,a:next:poke198,8 5 assemble 10 10 *=$1000 20 loop eor $d012 30 and #$01 40 adc #$cd 50 jsr $ffd2 60 jmp loop 65 end 70 data 83,89,83,52,48,57,54,13
MIKRO ASSEMBLER ===============
Commands --------
ASSEMBLE - start a 3 pass assembly AUTO - auto line numbering for writing code (eg. AUTO 100,10) DELETE - delete blocks of code (eg. DELETE 100-250) DISASSEMBLE - disassemble a block of memory (eg. DISASSEMBLE $9000-$A000) FIND - find matching strings in certain lines (eg. FIND LDA,5000-) FORMAT - format code to make easier reading NUMBER - display a number in hex, binary, octal and decimal (eg. NUMBER $6000) TABLE - display a table of labels used TIM - enter machine code monitor
Pseudo-ops ----------
BYT - put 8 bit values in memory (eg. BYT $03,255,'R,$00) LNK - link m/c programs together (eg. LNK "PART TWO",8) OFF - terminate OUT command OUT - output code to printer with device (eg. OUT 4) [screen is 0] TXT - put ASCII in memory (eg. TXT "THIS IS A TEXT STRING") WOR - put 16 bit values in memory using hi/lo (eg. WOR 750, $2345) * - specify start address to compile from (eg. *=$033C)
Monitor commands ----------------
D - disassemble G - go execute H - hunt L - load M - memory display R - register display S - save T - transfer X - exit to Basic
#retrocomputer #c64 #assembler #8bit #commodore64 #programming #assebmly #basic #codeSomeone cracked my game and made it better | C programmingJosip Retro Bits2023-05-29 | Some time ago I made a little series of Pong games; Mini-Pong made in BASIC. The second is Tiny-Pong is a pong game that runs inside Sprite written in C language. And the last one was Micro-Pong, a game of Pong that runs inside the Petscii Character. In this video, I present a cracked version of Tiny-Pong with improved C code. Enjoy :)
#retrocomputer #cracked #games #8bit #c64 #commodore64 #programming #cprogrammingI made a Commodore 64 Case | 3D Printed parts | DIYJosip Retro Bits2023-05-10 | I made a DIY case for the Commodore 64 that is easy to assemble and disassemble. The case is intended for C64 shortboards, and it serves me the most during final tests and before the motherboard ends up in the original case.
#3dprinting #c64 #commodore #retrocomputer #8bit #enclosures #diy #diyprojects #commodore6410 PRINT program with no RND() | Commodore 64Josip Retro Bits2023-04-21 | We explore different ways to create 10 PRINT MAZE without the use of the Random function. Using XOR, Modulo and other bitwise operators we create some beautiful patterns and shapes on Commodore 64.
#retrocomputer #8bit #c64 #commodore64 #basic #programming #mazeLive Stream Announcement. Come and have a chat with us :)Josip Retro Bits2023-04-15 | YouTube Retro Repairers live Stream. Come and have a chat with us :)
#retrocomputer #retrogaming #commodore64 #live #repairCommodore 64 DIY Power SwitchJosip Retro Bits2023-04-12 | Just some fun time with relays and transistor latching circuit :)