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

  • @AstroSamDev
    @AstroSamDev Жыл бұрын

    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

    @thexdude

    Жыл бұрын

    Making an operating system?? This guy is God of computing.

  • @tejaswithme3713

    @tejaswithme3713

    Жыл бұрын

    Wth!!! You r in sChOoL 😮

  • @Timmie_Tudor

    @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

    @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

    @Timmie_Tudor

    Жыл бұрын

    @@AstroSamDev Oh, okay, sorry for misunderstanding.

  • @pikasol3641
    @pikasol3641 Жыл бұрын

    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

    @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

  • @KryllyxOfficial
    @KryllyxOfficial Жыл бұрын

    The video is very accurate, but the audio is something out of a nightmare. Nice job though.

  • @franchioping5047

    @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

    @DinoNuggies4665

    Жыл бұрын

    @@franchioping5047 The melody is an a different key than the makeshift percussion, which should be a noise channel instead

  • @doodleplayer4014

    @doodleplayer4014

    Жыл бұрын

    The notes sound slightly out of tune so that might be it

  • @rtyyyyb

    @rtyyyyb

    Жыл бұрын

    @Kryllyx what u doing here xd

  • @boogiehasfun

    @boogiehasfun

    Жыл бұрын

    @@franchioping5047it was automatically done

  • @icicles0
    @icicles0 Жыл бұрын

    This man is the next intel.

  • @xddd-.-.

    @xddd-.-.

    Жыл бұрын

    AstroSam Core a1-1 starting at $299 or since it's the first CPU, AstroSam 160016 (i4004)

  • @znotchill
    @znotchill Жыл бұрын

    Bad Apple can be made on anything at this point

  • @Hider_2232

    @Hider_2232

    Жыл бұрын

    True, but what's next, a grain of dirt?

  • @sebastiandalton3981

    @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

    @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

    @cleanestskate

    11 ай бұрын

    ibm might make bad apple on atoms too!

  • @insertusername576

    @insertusername576

    10 ай бұрын

    if it has a transistor in it it can play bad apple and doom

  • @jadenh_gamedev
    @jadenh_gamedev Жыл бұрын

    amazing. Did you write the music by hand, or did you write it using some kind of conversion program?

  • @AstroSamDev

    @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.

  • @GRAVKEN
    @GRAVKEN Жыл бұрын

    Its clear after a minute

  • @freezinfire
    @freezinfire Жыл бұрын

    Bruh, this is next level dedication.

  • @miserygriefing
    @miserygriefing Жыл бұрын

    I’m taking comp architecture rn in school and these videos are so cool as i as wanna get into emu dev

  • @ianyourgod
    @ianyourgod Жыл бұрын

    Cracked at Astro8 my guy

  • @I.Am.A.Toaster
    @I.Am.A.Toaster Жыл бұрын

    Oh god this is so cool rlly… I wouldn’t be able to do that. That’s professional!

  • @loloolk8402
    @loloolk8402 Жыл бұрын

    up next: compression algorithm for videos and sounds.

  • @PersephoneP

    @PersephoneP

    Жыл бұрын

    you forgot to add "on mo own 16 bit cpu"

  • @mitsync
    @mitsync11 ай бұрын

    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

    @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.

  • @quintonmaxfield5757
    @quintonmaxfield5757 Жыл бұрын

    Couldn't even give a damn about the actual song, but damn all this stuff yall do with it impressive.

  • @Garfield_Minecraft
    @Garfield_Minecraft Жыл бұрын

    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

    @gearsgamer7115

    Ай бұрын

    Its out of tune and sync

  • @Rkdbt
    @Rkdbt4 күн бұрын

    The audio will be played in my nightmares 💀

  • @Dorbellprod
    @Dorbellprod Жыл бұрын

    I LOVE ASTRO 8 COMPUTER

  • @sashakoshka
    @sashakoshka Жыл бұрын

    the notes just need to be tuned to the proper frequencies

  • @anon_y_mousse
    @anon_y_mousse Жыл бұрын

    Is the title a typo or did you make it 16 bit? Either way, impressive result.

  • @zekinler

    @zekinler

    Жыл бұрын

    Yes, his 16-bit computer is called the Astro-8.

  • @AstroSamDev

    @AstroSamDev

    Жыл бұрын

    Deal with it 😌

  • @anon_y_mousse

    @anon_y_mousse

    Жыл бұрын

    @@AstroSamDev Kind of sounds like an admission. :)

  • @aliciavivi2147
    @aliciavivi2147 Жыл бұрын

    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

    @arbuzow

    Жыл бұрын

    Im sorry to tell yiu but probably not

  • @AstroSamDev

    @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

    @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

    @goldenera777

    Жыл бұрын

    @@arbuzow actually yes*

  • @deltactarchives1328
    @deltactarchives1328 Жыл бұрын

    We have fallen from grace

  • @tejaswithme3713
    @tejaswithme3713 Жыл бұрын

    Well I don't know why some didn't like music, but I can clearly see the effort put into this...

  • @megalogamingzx954
    @megalogamingzx95410 ай бұрын

    absolute fire, that computer will win the eurovision one day

  • @mirabilis
    @mirabilis10 ай бұрын

    The music is fricking hilarious. 😂

  • @compugine9384
    @compugine9384 Жыл бұрын

    he can create a computer hardware company

  • @evryon1810
    @evryon1810 Жыл бұрын

    This is CRAZY

  • @decanameyt
    @decanameyt Жыл бұрын

    This is cool, but can the Astro-8 run DOOM?

  • @ilikegetting
    @ilikegetting11 ай бұрын

    The song with 16 bit is so funny

  • @TETNTM
    @TETNTM Жыл бұрын

    Almost 100k ~50k away from the the top 0.3%

  • @WistrelChianti
    @WistrelChianti Жыл бұрын

    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.

  • @daleafboi_8315
    @daleafboi_831511 ай бұрын

    fly high

  • @TruceDoesStuff
    @TruceDoesStuff Жыл бұрын

    Very good

  • @CRXCX
    @CRXCX2 ай бұрын

    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

  • @nameless4637
    @nameless4637 Жыл бұрын

    How did you write all of the pixle data?

  • @mix_i69
    @mix_i69 Жыл бұрын

    m a s t e r p i e c e

  • @Vexxel256
    @Vexxel256 Жыл бұрын

    Nice

  • @zorochii
    @zorochii11 ай бұрын

    Being the worst apple makes it the best bad apple.

  • @SocksNGames
    @SocksNGames Жыл бұрын

    this is the hardware trailor for Astro-8!!!!!!!!!!!

  • @Kaleidoveritas
    @Kaleidoveritas3 ай бұрын

    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.

  • @FeeAnomalous
    @FeeAnomalous Жыл бұрын

    you should make a rythm game with the astro-8

  • @CalionYT
    @CalionYT Жыл бұрын

    Cool!

  • @rafaelcaro7402
    @rafaelcaro7402 Жыл бұрын

    Now can you run Doom in Astro-8?

  • @delleron1106
    @delleron11067 ай бұрын

    Man it sounds like me with just a 4 button music instrument😂

  • @khanbasharat
    @khanbasharat Жыл бұрын

    Wow sir!!

  • @dnox428
    @dnox428 Жыл бұрын

    the video sound sometimes really wrong but i think i won't be able to to even that so GG :D

  • @rcorreia23
    @rcorreia23 Жыл бұрын

    Nice job keep it going waiting to see doom runing here 💸💸💸💸

  • @yellowway360
    @yellowway360 Жыл бұрын

    ok but can you run DOOM on it?

  • @GabeLily
    @GabeLily Жыл бұрын

    of course

  • @WistrelChianti
    @WistrelChianti Жыл бұрын

    Sorta surprised you didn't try for anti-aliasing given you have 16bit colour on that thing.

  • @cibri_
    @cibri_ Жыл бұрын

    Noice !

  • @realperson26
    @realperson26 Жыл бұрын

    incredible

  • @hoftley
    @hoftley Жыл бұрын

    Junferno?

  • @rchat42
    @rchat4211 ай бұрын

    i'm thinking about making bad apple on my own programming language now lol

  • @a.j.outlaster1222
    @a.j.outlaster1222 Жыл бұрын

    I now know what pixelated music sounds like!🤣🤣🤣 Seriously, Though. I respect your ability as I couldn't make a calculator as things stand😂😂😂😂🤣🤣🤣🤣🤣

  • @scchizosu
    @scchizosu Жыл бұрын

    really cool

  • @yariktimtim5708
    @yariktimtim5708Ай бұрын

    Oh it's a really bad apple)

  • @rotteegher39
    @rotteegher39 Жыл бұрын

    Music is horrifying

  • @okayjs
    @okayjs Жыл бұрын

    Can it run doom though?

  • @BlidDev
    @BlidDev Жыл бұрын

    Bad Windows next amiright

  • @Kyee124
    @Kyee124 Жыл бұрын

    aw you missed the potential to use the original bad apple as music of reference instead

  • @Magikarp_With_Dragonrage
    @Magikarp_With_Dragonrage Жыл бұрын

    I think astro created the next "hello world" but for computer video design

  • @j1_dev
    @j1_dev Жыл бұрын

    Wow

  • @lombeelo8780
    @lombeelo878011 ай бұрын

    Astro-8 FPGA when?

  • @Someone-bs1zf
    @Someone-bs1zf Жыл бұрын

    When ru u gonna build the actual cpu

  • @JackCat101
    @JackCat101 Жыл бұрын

    When will you actually build the computer?

  • @VoidGravitational
    @VoidGravitational11 ай бұрын

    Dude i cant even recognise the song 💀

  • @squidtito8501
    @squidtito8501 Жыл бұрын

    But can it run doom?

  • @Garfield_Minecraft

    @Garfield_Minecraft

    Жыл бұрын

    100% i think he just not gonna do it now

  • @squidtito8501

    @squidtito8501

    Жыл бұрын

    @@Garfield_Minecraft grrrr roof roof roof!

  • @NotHumanPerson
    @NotHumanPerson Жыл бұрын

    Wow.Whats going to be your next “big” project?

  • @AlbySilly
    @AlbySilly Жыл бұрын

    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?

  • @spicetea4060
    @spicetea4060 Жыл бұрын

    As you do

  • @uexedus
    @uexedus11 ай бұрын

    yeah but can it run doom

  • @RXVENVS
    @RXVENVS Жыл бұрын

    This shit is wildly out of tune but at least it renders pretty well

  • @Real_Life_is_all
    @Real_Life_is_all Жыл бұрын

    Dude WTF how

  • @snek6467
    @snek64674 ай бұрын

    Z-- when?

  • @oglothenerd
    @oglothenerd Жыл бұрын

    The music is very VERY flat and off beat! XD

  • @cubic10
    @cubic1011 ай бұрын

    but, can it run doom 🤔

  • @gamelaine
    @gamelaine Жыл бұрын

    hmph... Impressive, but if you really want to prove your worth, then i challenge you to run doom.

  • @qwerty_qwerty
    @qwerty_qwerty Жыл бұрын

    I didn't hear Bad Apple!! till 0:50

  • @georgiarnaudov9942
    @georgiarnaudov9942 Жыл бұрын

    Cool shit

  • @aqqalularsen3322
    @aqqalularsen3322 Жыл бұрын

    yo, use logisim holycross, its like 10p times faster

  • @IamPyu-v
    @IamPyu-v Жыл бұрын

    I still dont know what bad apple is.

  • @Theprobutnot

    @Theprobutnot

    Жыл бұрын

    pretty kuch now its a testing ground but before just a short song animation

  • @Mikewee777

    @Mikewee777

    9 күн бұрын

    Reference to a obscure shooter video game involving anime styled #TouHou characters .

  • @learnercoder
    @learnercoder Жыл бұрын

    First

  • @AstroSamDev

    @AstroSamDev

    Жыл бұрын

    Indeed you were

  • @icicles0

    @icicles0

    Жыл бұрын

    @@AstroSamDev So true its 2

  • @philippeb9944
    @philippeb9944 Жыл бұрын

    I love the fact that no one talks about this video in 4k is the same than in 144p

  • @joaomrtins

    @joaomrtins

    11 ай бұрын

    It's not, KZread compression algorithm apparently fuck this up. So sad

  • @gavintransformer5
    @gavintransformer54 ай бұрын

    Make shrek

  • @iosefka7774
    @iosefka7774 Жыл бұрын

    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

    @Bread1987

    Жыл бұрын

    that's not possible lmao

  • @vk8a8
    @vk8a88 ай бұрын

    I beg of you, please make channels

  • @commander4741
    @commander47415 ай бұрын

    Thats 8 Bit

  • @cvabds
    @cvabds Жыл бұрын

    Lol what is this audio hahahaha

  • @b16d0n
    @b16d0n Жыл бұрын

    Sounds sad

  • @MrLall_oficial
    @MrLall_oficial9 ай бұрын

    Minecraft plis

  • @snailcat69
    @snailcat69 Жыл бұрын

    Too bad, you can do better

  • @midnightrush4791
    @midnightrush4791 Жыл бұрын

    It sounds horrible

  • @SHD69
    @SHD69 Жыл бұрын

    Nice

  • @mrdgamesrl
    @mrdgamesrl Жыл бұрын

    Wow

Келесі