Bad Apple!! But On My Own 16-bit CPU
Ғылым және технология
I ported the Bad Apple animation and music to the Astro-8, my custom CPU architecture. This shows off some of the upgrades like the sound card, expanded memory, and resolution increase.
Thank you to everyone who has brought a lot of attention to my latest videos, it really is appreciated. Due to school, I will have a slowed upload schedule for a while, but hopefully, I'll make up for it in quality. I know a lot of you are excited for the build of the Astro-8 system, but right now that project is far in the future and I don't have a clue when I'll be done with it, since it is a long process and I have barely begun.
Support:
● Patreon: / astrosam
● Ko-fi: ko-fi.com/astrosam
● Monero: 4AAjyAHKnYwCsgJp16v1YeeDPA1Z51QKUfCMWsiCDxkNBFCtbUfDHD7K5sZDrFH2pnGsDAH989XwXdudcoC4iqtVC9QLk8r
--------------------------------------------------
Related Links:
● Streaming Channel: / @astrosamstreams
● Itch.io: astrosam.itch.io/
● Github: github.com/sam-astro
● Discord Server: / discord
--------------------------------------------------
Music:
Bad Apple!! · Alstomeria Records · nomico
--------------------------------------------------
Chapters:
0:00 Code Overview
0:15 Song
--------------------------------------------------
This video is not sponsored.
#programming
#coding
#retro
Пікірлер: 138
Thank you to everyone who has brought a lot of attention to my latest videos, it really is appreciated. Due to school, I will have a slowed upload schedule for a while, but hopefully, I'll make up for it in quality. I know a lot of you are excited for the build of the Astro-8 system, but right now that project is far in the future and I don't have a clue when I'll be done with it, since it is a long process and I have barely begun. I will still be posting other various projects though! 😄
@thexdude
Жыл бұрын
Making an operating system?? This guy is God of computing.
@tejaswithme3713
Жыл бұрын
Wth!!! You r in sChOoL 😮
@Timmie_Tudor
Жыл бұрын
One thing: if the computer you just made becomes very advanced and complex, you wouldn't be able to build it on breadboards, because breadboards have a lot of limitations, and from what I've seen on Wikipedia, they are only for prototyping. I'm saying this for the time when you will start building the Astro-8 computer. But it's okay, take your time.
@AstroSamDev
Жыл бұрын
@@Timmie_Tudor I never planned to build it on breadboards. I'm currently working on designing a circuit to be printed on PCBs, and I'll use logic chips and things to implement it.
@Timmie_Tudor
Жыл бұрын
@@AstroSamDev Oh, okay, sorry for misunderstanding.
I mean, it's an extremely impressive feat to actually play animation and music on a completely custom system, but damn, am I happy that we have a much greater music resolution than 16-bit.
@catgirlQueer
Жыл бұрын
this is not 16-bit audio this is an audio system for a 16 bit system if you want a better idea of what 16 bit systems could pull off then Bad apple on the SNES and Amiga are more the type of thing you should look for
The video is very accurate, but the audio is something out of a nightmare. Nice job though.
@franchioping5047
Жыл бұрын
my guess is he only had 1 channel and tried to make it sound like multiple, so the melody notes became really short
@DinoNuggies4665
Жыл бұрын
@@franchioping5047 The melody is an a different key than the makeshift percussion, which should be a noise channel instead
@doodleplayer4014
Жыл бұрын
The notes sound slightly out of tune so that might be it
@rtyyyyb
Жыл бұрын
@Kryllyx what u doing here xd
@boogiehasfun
Жыл бұрын
@@franchioping5047it was automatically done
This man is the next intel.
@xddd-.-.
Жыл бұрын
AstroSam Core a1-1 starting at $299 or since it's the first CPU, AstroSam 160016 (i4004)
Bad Apple can be made on anything at this point
@Hider_2232
Жыл бұрын
True, but what's next, a grain of dirt?
@sebastiandalton3981
Жыл бұрын
@@Hider_2232 well if you think about it, Chips are just silica grains of sand that have been cleaned and turned into silicon.
@gamelaine
Жыл бұрын
well, since youre only displayingstuff, all you really need is a array of LED's capable of even just on and off, like, you dont even need color, all you need is a array o regular leds and a way to sendelectrical signals to them, in a controlled way to allow the LED's to individually switch on/off
@cleanestskate
11 ай бұрын
ibm might make bad apple on atoms too!
@insertusername576
10 ай бұрын
if it has a transistor in it it can play bad apple and doom
amazing. Did you write the music by hand, or did you write it using some kind of conversion program?
@AstroSamDev
Жыл бұрын
It was a conversion program which converted the letter notes into something the Astro-8 can play, but the tracker program it is playing in does allow you to edit it. I may make a better version in the future, when I manually add and move notes to get s better result.
Its clear after a minute
Bruh, this is next level dedication.
I’m taking comp architecture rn in school and these videos are so cool as i as wanna get into emu dev
Cracked at Astro8 my guy
Oh god this is so cool rlly… I wouldn’t be able to do that. That’s professional!
up next: compression algorithm for videos and sounds.
@PersephoneP
Жыл бұрын
you forgot to add "on mo own 16 bit cpu"
Very cool, quite the feat! I'm working on something similar and was wondering how you stored the frame data for this. A rough calculation says that 64x64 one-bit pixels at 15fps for ~210 seconds should take up ~13Mbit, or ~806k 16 bit words, but according to the documentation the Astro-8 only has two 64k word banks. Am I missing something in the architecture or compression, or are there undocumented changes specifically for playing video like this?
@AstroSamDev
11 ай бұрын
I think when I made this it was actually segmented into a few parts (less impressive, I know). But with the current development version, it is actually possible to feed in external data through the expansion ports. I was even able to use this to implement a simple webcam.
Couldn't even give a damn about the actual song, but damn all this stuff yall do with it impressive.
The music is so beautiful on 16 bits system i think it’s so good. don’t know why people said that’s bad
@gearsgamer7115
Ай бұрын
Its out of tune and sync
The audio will be played in my nightmares 💀
I LOVE ASTRO 8 COMPUTER
the notes just need to be tuned to the proper frequencies
Is the title a typo or did you make it 16 bit? Either way, impressive result.
@zekinler
Жыл бұрын
Yes, his 16-bit computer is called the Astro-8.
@AstroSamDev
Жыл бұрын
Deal with it 😌
@anon_y_mousse
Жыл бұрын
@@AstroSamDev Kind of sounds like an admission. :)
But will it run DOOM? jk this is very impressive altough I wouldn't be suprised if you could pull that off at your skill level a few years down the line
@arbuzow
Жыл бұрын
Im sorry to tell yiu but probably not
@AstroSamDev
Жыл бұрын
Actually I plan to eventually make a 3d renderer: it is actually capable of that, and it could run more of a wolfenstein style game, even if at a lower framerate
@pacman10182
Жыл бұрын
@@AstroSamDev there were a fare few full 3d games on many of the 8 bit micros back in the day. 6 on the freescape engine alone
@goldenera777
Жыл бұрын
@@arbuzow actually yes*
We have fallen from grace
Well I don't know why some didn't like music, but I can clearly see the effort put into this...
absolute fire, that computer will win the eurovision one day
The music is fricking hilarious. 😂
he can create a computer hardware company
This is CRAZY
This is cool, but can the Astro-8 run DOOM?
The song with 16 bit is so funny
Almost 100k ~50k away from the the top 0.3%
Would be interested in an explanation of how the sound expansion is working/receives data. Looks/sounds like you are half way between an Acorn Electron and a BBC Micro in that you have no volume envelope but have 4 channels.
fly high
Very good
It sounds weird, did you divide the octaves by 12? or did you approximate? just use the fundamental frequencies of notes chart it has everything already written. If you take the frequency range of an octave and just divide it by 12 all the notes will be out of tune except the octave one. Otherwise I can't understand why the notes are so out of tune
How did you write all of the pixle data?
m a s t e r p i e c e
Nice
Being the worst apple makes it the best bad apple.
this is the hardware trailor for Astro-8!!!!!!!!!!!
I’ve been racking my brain on how binary math or Boolean algebra might have a solution for defining and designing a Tensor. Personally I think designing a series of logic gates to create a tensor would be a fascinating demonstration of how we use math to design this from scratch. It’s not a pet project of my own 😂 but I’m going to be querying the internet for clues or solutions nonetheless. It feels stupid that nvidia seems to be the only one with a working tensor architecture at this time.
you should make a rythm game with the astro-8
Cool!
Now can you run Doom in Astro-8?
Man it sounds like me with just a 4 button music instrument😂
Wow sir!!
the video sound sometimes really wrong but i think i won't be able to to even that so GG :D
Nice job keep it going waiting to see doom runing here 💸💸💸💸
ok but can you run DOOM on it?
of course
Sorta surprised you didn't try for anti-aliasing given you have 16bit colour on that thing.
Noice !
incredible
Junferno?
i'm thinking about making bad apple on my own programming language now lol
I now know what pixelated music sounds like!🤣🤣🤣 Seriously, Though. I respect your ability as I couldn't make a calculator as things stand😂😂😂😂🤣🤣🤣🤣🤣
really cool
Oh it's a really bad apple)
Music is horrifying
Can it run doom though?
Bad Windows next amiright
aw you missed the potential to use the original bad apple as music of reference instead
I think astro created the next "hello world" but for computer video design
Wow
Astro-8 FPGA when?
When ru u gonna build the actual cpu
When will you actually build the computer?
Dude i cant even recognise the song 💀
But can it run doom?
@Garfield_Minecraft
Жыл бұрын
100% i think he just not gonna do it now
@squidtito8501
Жыл бұрын
@@Garfield_Minecraft grrrr roof roof roof!
Wow.Whats going to be your next “big” project?
How does the sound hardware work? Surely there's a way of getting more accurate pitches. Depending on how difficult/easy it is to use, I'd like to give it a go to see how difficult it is to make songs. Is it using subharmonics? (take the highest clock frequency, then divide it by integers until you have a pitch you can hear), or have you written a function to generate a wave with a specific frequency?
As you do
yeah but can it run doom
This shit is wildly out of tune but at least it renders pretty well
Dude WTF how
Z-- when?
The music is very VERY flat and off beat! XD
but, can it run doom 🤔
hmph... Impressive, but if you really want to prove your worth, then i challenge you to run doom.
I didn't hear Bad Apple!! till 0:50
Cool shit
yo, use logisim holycross, its like 10p times faster
I still dont know what bad apple is.
@Theprobutnot
Жыл бұрын
pretty kuch now its a testing ground but before just a short song animation
@Mikewee777
9 күн бұрын
Reference to a obscure shooter video game involving anime styled #TouHou characters .
First
@AstroSamDev
Жыл бұрын
Indeed you were
@icicles0
Жыл бұрын
@@AstroSamDev So true its 2
I love the fact that no one talks about this video in 4k is the same than in 144p
@joaomrtins
11 ай бұрын
It's not, KZread compression algorithm apparently fuck this up. So sad
Make shrek
Why do you get the pixel data into memory by translating it into a massive list of assembly instructions rather than just copy the frames into the image/'cartridge' beforehand?
@Bread1987
Жыл бұрын
that's not possible lmao
I beg of you, please make channels
Thats 8 Bit
Lol what is this audio hahahaha
Sounds sad
Minecraft plis
Too bad, you can do better
It sounds horrible
Nice
Wow