17:54 no matter what i do, l cannot see what you are typing at screen bottom. Using Google's KZread app to view. Went fullscreen. Tried changing orientation. No use.
@JosipRetroBits3 күн бұрын
Sorry about that. I will send you here full code today.
@JosipRetroBits3 күн бұрын
I was explaining how "on goto" was used as "if then else" In case (g<28) is true; the result will be -1, so then we have "on - (-1) goto 2" which gives "on 1 goto 2". So it will jump to line 2. Once we reach 28, (g<28) is false = 0, then we have "on -0 goto 2"; we will not jump on line 2, but the rest of that line will be executed. ?"time our":end (game over) in short, it's a kind of replacement for if then else: on (condition) {then}: {else}
@RaymondDay27 күн бұрын
Thank you it worked. But should change it a little when you type in the device number press enter and it show just ?? should show something like Enter new SD2IEC number. But I know it says enter current and new but hard to know to do it with a comma between the numbers. Any way were did you get the SD2IEC you have plug in the back of your C=64? I looked for photos for the SD2IEC and did not see any like the board you have. That's a very good way to have it. Plug in the drive port and cassette power port at the same time. Thank you.
@JosipRetroBits24 күн бұрын
Nice to see this little tip still helps someone :). Maybe it's slightly different firmware, but if it works that is awesome :) This SD2IEC model is modified so that I can use it on C64, plus/4 and C16l. (It's still available to buy on ebay) Cheers!
@marko.p.radojcicАй бұрын
I have this demo. Love it. Thank you. Still have working C64 and C128 with home built SD2IEC
@JosipRetroBits3 күн бұрын
Thank You and sorry for my late feedback :)
@MegaFoneboneАй бұрын
This is awesome, from a proof of concept standpoint anyway! 😂😂😂 Is there a way to do it with smaller pitch increments than semitones, or would it cause too much lag? Can I make a request for a future project? How about a C-64/SID vocoder?
@JosipRetroBits3 күн бұрын
Thank You. Yes it can be faster, I used BASIC but in C or assembly it can be done much more better :) Vocoder, wow, I'm not expert in that field but maybe something rudimental maybe :) Sorry for my late feedback!
Can you please compile and share this file to run faster? I tried and had no success using basic compiler by Data Becker. it gives me error everytime.
@JosipRetroBits2 ай бұрын
I will not work using the BASIC compiler, It will fail because of those POKE commands. I will make a version that can be compiled and then I will ping you :) Cheers!
@JosipRetroBits2 ай бұрын
Here You go Sir: github.com/josipk/Commodore64/blob/main/Petscii_Art/basic60th_blitz_compiler.d64 Modified code is on the disk. I used a Blitz compiler but u can use any other BASIC compiler. Enjoy :)
@Retro4u2 ай бұрын
60 years wow who would have thought it. Loved the patterns and the music went so well with it :) great video keep up the good work 😊
@JosipRetroBits2 ай бұрын
Yap, older than me :) Thank You very much! Cheers!
@JohnMDiLiberto2 ай бұрын
Very neat, Josip! I can strongly recommend a 38-minute KZread documentary on the creation of BASIC at Dartmouth University, New Hampshire, USA. I viewed the doc two or three years ago . . . it's titled ""Birth of BASIC" and may be found on the "Dartmouth" KZread channel.
@JosipRetroBits2 ай бұрын
Yap, I saw the "Birth of BASIC"; and the whole story is just awesome :) Maybe I should do a documentary-style video. Thank You for watching :) Cheers!
@indiocolifa2 ай бұрын
Love it. How about feeding the programs through BASIC compilers ? Thanks
@JosipRetroBits2 ай бұрын
Thank You. Well Yes, but those POKE commands would not work correctly, that part of the code should be changed, but Yes in that case it would be faster :) Cheers!
@RudysRetroIntel2 ай бұрын
Already 60 years!! Thanks for a very cool video!!
@JosipRetroBits2 ай бұрын
Yes, 60 years and still rocking!!! :) Thank You Rudy :)
@seongjep2 ай бұрын
Awesome! Love it!
@JosipRetroBits2 ай бұрын
Thank you! Cheers!
@CaptainCommodore2 ай бұрын
Very nice explanation
@JosipRetroBits2 ай бұрын
Thank You :) Cheers!
@LechPolska20232 ай бұрын
Po polsku
@JosipRetroBits2 ай бұрын
Yes :)
@Commodoreretro-programming2 ай бұрын
Nice job. Thanks for sharing your knowledge!
@JosipRetroBits2 ай бұрын
Thank You. There is a ver.2 with a simpler design :) Cheers!
@akkudakkupl2 ай бұрын
You could do the table as a binary tree. Lets say dot means 0 and dash means 1. Then you need a table of 32 elements (because the tree has a depth of 5). You would construct the pointer by left shifting your dot and dash representations. So lets say you receive morse code for 8 (because numbers are coded by 5 symbols) - - - . . => 11100 => go to table element 28. When you get illegal code you could print an error, wait for a pause in received code (start of next character) and decode next character.
@JosipRetroBits2 ай бұрын
Yes, I should have done this using a binary tree, it would be more professional and maybe even easier to implement in the code but... :) Maybe I will rewrite the code. Thanks :) ...and Thank You for watching! Cheers!
@RudysRetroIntel2 ай бұрын
Wow! Excellent progress!! Very cool, and thanks for sharing
@JosipRetroBits2 ай бұрын
Thank You Rudy :) Well I could implement the whole Morse code table but this is just demo so... Cheers!
@CaptainCommodore2 ай бұрын
Great video, very thorough explanation too, am intrigued to see how your gonna decode into words
@JosipRetroBits2 ай бұрын
Thank You very much :) Yap, part three is out! Cheers!
@daibonehead2 ай бұрын
Hi. I have a Speedlink Competition Pro Extra but for some reason I can't seem to get BMC64 to recognise it. Has anyone else managed to get it working?
@JosipRetroBits2 ай бұрын
It should be possible to setup USB joystick; have You tried on a regular PC with VICE? (sorry for my late replay)
@8BitRetroReFix2 ай бұрын
Awesome work, mate ... --- .. - .. lol 😆
@JosipRetroBits2 ай бұрын
Thanks 😁 Cheers!
@akkudakkupl2 ай бұрын
Cool!
@JosipRetroBits2 ай бұрын
Thank You for watching :) Cheers!
@RudysRetroIntel2 ай бұрын
Amazing work, and I'm looking forward to your next video! Thanks for sharing
@JosipRetroBits2 ай бұрын
Thank you Rudy :) Cheers!
@CaptainCommodore2 ай бұрын
Great video, loving the old school transistors ,looking forward to some assembly
@JosipRetroBits2 ай бұрын
You and me both :) Thank You for watching :) Cheers!
@CyberhugTechnologies2 ай бұрын
This is awesome Josip, great thinking for a video like this also, very well explained! Many thanks! I had a similar idea, decades ago for a circuit built around the joystick port instead - but never finished the project! This is far more advanced! Cheers!
@JosipRetroBits2 ай бұрын
Thank You very much :) Joystick, yes for sure it can be done. Cheers!
@RudysRetroIntel2 ай бұрын
Excellent and well presented! Thanks for sharing
@JosipRetroBits2 ай бұрын
Glad you liked it :) Cheers!
@JohnMDiLiberto2 ай бұрын
Very cool, Josip! 73 de AB3ZI
@JosipRetroBits2 ай бұрын
Thank You for watching :) Part two and three are also out :) Cheers!
@Red_Dead_Director2 ай бұрын
very cool I saw this right away - this video's gonna have a over a million views next I check- I guess I'm staying up another half hour yet tonight
@JosipRetroBits2 ай бұрын
Thank You, so far a bit under the million but still hoping :) Cheers!
@leonardovallone2 ай бұрын
Great video! @osolabs
@JosipRetroBits2 ай бұрын
Thank You :) Cheers!
@Kellerberger1282 ай бұрын
Würde mich Interessieren, wie du das gemacht hast. Kommt dazu noch ein Video heraus?
@JosipRetroBits2 ай бұрын
I didn't plan to do a video but maybe I should. I connected C64 to the printer serial port and used G code commands for moving axes. Cheers!
@iballa23 ай бұрын
Jeez gloop
@JosipRetroBits2 ай бұрын
Thank You for watching :) Cheers!
@ConclusiveLion6633 ай бұрын
Thats worse than real hardware.
@JosipRetroBits2 ай бұрын
It's better :) ha ha
@ArneChristianRosenfeldt3 ай бұрын
The 6502 has this exception philosophy when it needs to carry over to the high byte. The GitHub about Oscar says that C needs to support datatypes > char . But often in my code I have small numbers. I cannot guarantee it, though. Or I have a loop and the high byte stays fixed most of the time. So usually you write an outer loop for the high byte. Pointers are either immediates or stored in the zero page. Both times: 16 bit. I argue about speed, not code density. Floats for example should stay in interpreted code.
@JosipRetroBits3 ай бұрын
Yes, Oscar64 is a 16bit based C language; latter in assembly it gets converted to 8bit. 8bit char, or 8bit int, or byte is the same or it should be. For execution speed; it's a ok for convenience of easy coding :) Thank You for watching :) Cheers!
@cubeflinger3 ай бұрын
As messy as this was I learnt a bit about the PSU. I decided to free up slack in the ac mains cable itself and source from there as ut enters the case as I could not be bothered working into the resin.
@JosipRetroBits3 ай бұрын
Nice, as long we eliminate the original 5V DC converter, everything else is way better :) Cheers!
@saganandroid41753 ай бұрын
That is a crime against theremins.
@JosipRetroBits3 ай бұрын
I know, but I had to do this anyway 😁
@Supermatic_is_in_trash3 ай бұрын
Can you do windows 1.0
@Tarizam3 ай бұрын
Nice❤
@JosipRetroBits3 ай бұрын
Thanks 😊
@mr.anonymoose28103 ай бұрын
Idk why but this reminds me of rain
@JosipRetroBits3 ай бұрын
A bit, Yes :)
@iLoveYoutubePoopAndMemes3 ай бұрын
Nice
@JosipRetroBits3 ай бұрын
Thanks :)
@8bitHamburger3 ай бұрын
Lets compile better games now :)
@JosipRetroBits3 ай бұрын
Games get better and better every year, for sure :) Cheers!
@TEZZMADETHIS4 ай бұрын
Interesting stuff, Loved my c64, keep up the good work of keeping it alive bud! 🙂👍 Subbed and liked.
@JosipRetroBits4 ай бұрын
Thank You very much :) I will do my best :) Cheers!
@rafaelmmartinez91704 ай бұрын
Nice video. Question, taking the reset to low, basically is making a short? That is a doubt I have. Reset line is always at 5v, so linking it to gnd makes a short right and produce the reset. Is this safe?
@JosipRetroBits4 ай бұрын
Yes it is; that is how reset button works :) Reset line is not a power line, it's a signal line. It can be high or low. I do have a new version of this little circuit kzread.info/dash/bejne/fGymj5ebeJucoKQ.html Thank You for watching :) Cheers!
@rafaelmmartinez91704 ай бұрын
@@JosipRetroBits oh ok, I'm making a switch with arduno and I had that doubt. Not sure if was safe to reset that way. Thank you!
@JosipRetroBits4 ай бұрын
@@rafaelmmartinez9170 Any time :)
@blackterminal4 ай бұрын
I think better to use a dc to dc converter and not destroy so much.
@JosipRetroBits4 ай бұрын
Yap, I destroyed this enclosure too much, I know. But still think that AC to DC is better because the original transformer runs much cooler with the load on the 9V coil. But any solution other than the original commodore is ok :)
@blackterminal4 ай бұрын
@@JosipRetroBits I am going to open one of these and fit a modern dc to dc converter and swap the output cable for one that fits a Commodore +4 I have. I do not often have a supply on long enough for it to get hot.
@JosipRetroBits4 ай бұрын
Sure :) Oh, the square one for +4; nice.
@blackterminal4 ай бұрын
@JosipRetroBits I carefully opened the black wedged shaped one. I disconnected the 7805 regulator (which was actually working fine but I didn't like it being in expoxy) and wired in a buck convertor to the raw 12v dc and setup a 4.95v output. I was not sure if that would be enough for the plus 4 but touch wood it seems ok with that. Better lower voltage as it means less heat. The convertor gets hotter than I'd like but the fact is the Plus 4 mostly just stays in its box as I don't have time for all my computers. At least it has a safer power supply now. The original was a 110v epoxy brick.
@JosipRetroBits4 ай бұрын
@@blackterminal Very nice. I would still go with 5.0V on DC-DC converter, there are some voltage drops inside the +4 (on the motherboard). Some ICs will not work if voltage is too low. But nice work :)
@CaptainCommodore4 ай бұрын
Superb old school logic , very nice explanation
@JosipRetroBits4 ай бұрын
Thank You Lee :) Cheers!
@stajpi4 ай бұрын
malo pitanje - imam c64, kad ga ukljucim, bude samo plavi ekran. da li je do napajanja ili do maticne ploce? sto prvo gledati?
@JosipRetroBits4 ай бұрын
Plavi commodore ekran bez teksta? Ili je plavi ekran pd tv-a?
@stajpi4 ай бұрын
@@JosipRetroBits samo plavi ekran, bez teksta... Znas ono kad ga upalis, plavi ekran i onda se za sekund pojavi tekst... Na tom plavom ekranu je zapeo
@JosipRetroBits4 ай бұрын
Ok. Moguce jedan od ROM chipova. Ili Basic ili Kernel. A mozda i character rom
@JosipRetroBits4 ай бұрын
C64 longboard ili shortboard?
@zzmaj4 ай бұрын
Very nice, but what happens when you play games with Joystick 1 and you need to go diagonally down right ?
@RudysRetroIntel4 ай бұрын
Excellent work and upgrade to the design! Thanks for sharing
@JosipRetroBits4 ай бұрын
Thank You Rudy. I'm very happy with the design. I need to manufacture a proper PCB to make it sexy :) Cheers!
@RudysRetroIntel4 ай бұрын
@JosipRetroBits Great idea, and if you need any help with that, let me know.
Пікірлер
17:54 no matter what i do, l cannot see what you are typing at screen bottom. Using Google's KZread app to view. Went fullscreen. Tried changing orientation. No use.
Sorry about that. I will send you here full code today.
I was explaining how "on goto" was used as "if then else" In case (g<28) is true; the result will be -1, so then we have "on - (-1) goto 2" which gives "on 1 goto 2". So it will jump to line 2. Once we reach 28, (g<28) is false = 0, then we have "on -0 goto 2"; we will not jump on line 2, but the rest of that line will be executed. ?"time our":end (game over) in short, it's a kind of replacement for if then else: on (condition) {then}: {else}
Thank you it worked. But should change it a little when you type in the device number press enter and it show just ?? should show something like Enter new SD2IEC number. But I know it says enter current and new but hard to know to do it with a comma between the numbers. Any way were did you get the SD2IEC you have plug in the back of your C=64? I looked for photos for the SD2IEC and did not see any like the board you have. That's a very good way to have it. Plug in the drive port and cassette power port at the same time. Thank you.
Nice to see this little tip still helps someone :). Maybe it's slightly different firmware, but if it works that is awesome :) This SD2IEC model is modified so that I can use it on C64, plus/4 and C16l. (It's still available to buy on ebay) Cheers!
I have this demo. Love it. Thank you. Still have working C64 and C128 with home built SD2IEC
Thank You and sorry for my late feedback :)
This is awesome, from a proof of concept standpoint anyway! 😂😂😂 Is there a way to do it with smaller pitch increments than semitones, or would it cause too much lag? Can I make a request for a future project? How about a C-64/SID vocoder?
Thank You. Yes it can be faster, I used BASIC but in C or assembly it can be done much more better :) Vocoder, wow, I'm not expert in that field but maybe something rudimental maybe :) Sorry for my late feedback!
kzread.info/dash/bejne/iY5_zc6Dd5C7kbw.htmlsi=eKGN-c-iEQ3B5L_e
Hi all
Can you please compile and share this file to run faster? I tried and had no success using basic compiler by Data Becker. it gives me error everytime.
I will not work using the BASIC compiler, It will fail because of those POKE commands. I will make a version that can be compiled and then I will ping you :) Cheers!
Here You go Sir: github.com/josipk/Commodore64/blob/main/Petscii_Art/basic60th_blitz_compiler.d64 Modified code is on the disk. I used a Blitz compiler but u can use any other BASIC compiler. Enjoy :)
60 years wow who would have thought it. Loved the patterns and the music went so well with it :) great video keep up the good work 😊
Yap, older than me :) Thank You very much! Cheers!
Very neat, Josip! I can strongly recommend a 38-minute KZread documentary on the creation of BASIC at Dartmouth University, New Hampshire, USA. I viewed the doc two or three years ago . . . it's titled ""Birth of BASIC" and may be found on the "Dartmouth" KZread channel.
Yap, I saw the "Birth of BASIC"; and the whole story is just awesome :) Maybe I should do a documentary-style video. Thank You for watching :) Cheers!
Love it. How about feeding the programs through BASIC compilers ? Thanks
Thank You. Well Yes, but those POKE commands would not work correctly, that part of the code should be changed, but Yes in that case it would be faster :) Cheers!
Already 60 years!! Thanks for a very cool video!!
Yes, 60 years and still rocking!!! :) Thank You Rudy :)
Awesome! Love it!
Thank you! Cheers!
Very nice explanation
Thank You :) Cheers!
Po polsku
Yes :)
Nice job. Thanks for sharing your knowledge!
Thank You. There is a ver.2 with a simpler design :) Cheers!
You could do the table as a binary tree. Lets say dot means 0 and dash means 1. Then you need a table of 32 elements (because the tree has a depth of 5). You would construct the pointer by left shifting your dot and dash representations. So lets say you receive morse code for 8 (because numbers are coded by 5 symbols) - - - . . => 11100 => go to table element 28. When you get illegal code you could print an error, wait for a pause in received code (start of next character) and decode next character.
Yes, I should have done this using a binary tree, it would be more professional and maybe even easier to implement in the code but... :) Maybe I will rewrite the code. Thanks :) ...and Thank You for watching! Cheers!
Wow! Excellent progress!! Very cool, and thanks for sharing
Thank You Rudy :) Well I could implement the whole Morse code table but this is just demo so... Cheers!
Great video, very thorough explanation too, am intrigued to see how your gonna decode into words
Thank You very much :) Yap, part three is out! Cheers!
Hi. I have a Speedlink Competition Pro Extra but for some reason I can't seem to get BMC64 to recognise it. Has anyone else managed to get it working?
It should be possible to setup USB joystick; have You tried on a regular PC with VICE? (sorry for my late replay)
Awesome work, mate ... --- .. - .. lol 😆
Thanks 😁 Cheers!
Cool!
Thank You for watching :) Cheers!
Amazing work, and I'm looking forward to your next video! Thanks for sharing
Thank you Rudy :) Cheers!
Great video, loving the old school transistors ,looking forward to some assembly
You and me both :) Thank You for watching :) Cheers!
This is awesome Josip, great thinking for a video like this also, very well explained! Many thanks! I had a similar idea, decades ago for a circuit built around the joystick port instead - but never finished the project! This is far more advanced! Cheers!
Thank You very much :) Joystick, yes for sure it can be done. Cheers!
Excellent and well presented! Thanks for sharing
Glad you liked it :) Cheers!
Very cool, Josip! 73 de AB3ZI
Thank You for watching :) Part two and three are also out :) Cheers!
very cool I saw this right away - this video's gonna have a over a million views next I check- I guess I'm staying up another half hour yet tonight
Thank You, so far a bit under the million but still hoping :) Cheers!
Great video! @osolabs
Thank You :) Cheers!
Würde mich Interessieren, wie du das gemacht hast. Kommt dazu noch ein Video heraus?
I didn't plan to do a video but maybe I should. I connected C64 to the printer serial port and used G code commands for moving axes. Cheers!
Jeez gloop
Thank You for watching :) Cheers!
Thats worse than real hardware.
It's better :) ha ha
The 6502 has this exception philosophy when it needs to carry over to the high byte. The GitHub about Oscar says that C needs to support datatypes > char . But often in my code I have small numbers. I cannot guarantee it, though. Or I have a loop and the high byte stays fixed most of the time. So usually you write an outer loop for the high byte. Pointers are either immediates or stored in the zero page. Both times: 16 bit. I argue about speed, not code density. Floats for example should stay in interpreted code.
Yes, Oscar64 is a 16bit based C language; latter in assembly it gets converted to 8bit. 8bit char, or 8bit int, or byte is the same or it should be. For execution speed; it's a ok for convenience of easy coding :) Thank You for watching :) Cheers!
As messy as this was I learnt a bit about the PSU. I decided to free up slack in the ac mains cable itself and source from there as ut enters the case as I could not be bothered working into the resin.
Nice, as long we eliminate the original 5V DC converter, everything else is way better :) Cheers!
That is a crime against theremins.
I know, but I had to do this anyway 😁
Can you do windows 1.0
Nice❤
Thanks 😊
Idk why but this reminds me of rain
A bit, Yes :)
Nice
Thanks :)
Lets compile better games now :)
Games get better and better every year, for sure :) Cheers!
Interesting stuff, Loved my c64, keep up the good work of keeping it alive bud! 🙂👍 Subbed and liked.
Thank You very much :) I will do my best :) Cheers!
Nice video. Question, taking the reset to low, basically is making a short? That is a doubt I have. Reset line is always at 5v, so linking it to gnd makes a short right and produce the reset. Is this safe?
Yes it is; that is how reset button works :) Reset line is not a power line, it's a signal line. It can be high or low. I do have a new version of this little circuit kzread.info/dash/bejne/fGymj5ebeJucoKQ.html Thank You for watching :) Cheers!
@@JosipRetroBits oh ok, I'm making a switch with arduno and I had that doubt. Not sure if was safe to reset that way. Thank you!
@@rafaelmmartinez9170 Any time :)
I think better to use a dc to dc converter and not destroy so much.
Yap, I destroyed this enclosure too much, I know. But still think that AC to DC is better because the original transformer runs much cooler with the load on the 9V coil. But any solution other than the original commodore is ok :)
@@JosipRetroBits I am going to open one of these and fit a modern dc to dc converter and swap the output cable for one that fits a Commodore +4 I have. I do not often have a supply on long enough for it to get hot.
Sure :) Oh, the square one for +4; nice.
@JosipRetroBits I carefully opened the black wedged shaped one. I disconnected the 7805 regulator (which was actually working fine but I didn't like it being in expoxy) and wired in a buck convertor to the raw 12v dc and setup a 4.95v output. I was not sure if that would be enough for the plus 4 but touch wood it seems ok with that. Better lower voltage as it means less heat. The convertor gets hotter than I'd like but the fact is the Plus 4 mostly just stays in its box as I don't have time for all my computers. At least it has a safer power supply now. The original was a 110v epoxy brick.
@@blackterminal Very nice. I would still go with 5.0V on DC-DC converter, there are some voltage drops inside the +4 (on the motherboard). Some ICs will not work if voltage is too low. But nice work :)
Superb old school logic , very nice explanation
Thank You Lee :) Cheers!
malo pitanje - imam c64, kad ga ukljucim, bude samo plavi ekran. da li je do napajanja ili do maticne ploce? sto prvo gledati?
Plavi commodore ekran bez teksta? Ili je plavi ekran pd tv-a?
@@JosipRetroBits samo plavi ekran, bez teksta... Znas ono kad ga upalis, plavi ekran i onda se za sekund pojavi tekst... Na tom plavom ekranu je zapeo
Ok. Moguce jedan od ROM chipova. Ili Basic ili Kernel. A mozda i character rom
C64 longboard ili shortboard?
Very nice, but what happens when you play games with Joystick 1 and you need to go diagonally down right ?
Excellent work and upgrade to the design! Thanks for sharing
Thank You Rudy. I'm very happy with the design. I need to manufacture a proper PCB to make it sexy :) Cheers!
@JosipRetroBits Great idea, and if you need any help with that, let me know.
I will :) Thank You@@RudysRetroIntel