Homebrew 6809 Computer + Terminalscope: Monitor, Disassembler

  Рет қаралды 62,767

Matt Sarnoff

Matt Sarnoff

14 жыл бұрын

Sorry it's been a few months! The 6809 computer is now soldered onto a protoboard. It's got 512K of RAM and a 16550 UART for serial communications at 38400 baud and higher.
Also demonstrated for the first time on video is the Terminalscope, as seen on Hack A Day and elsewhere. (More info on that: msarnoff.org/projects/terminal...)
I'm in the process of writing a monitor. Currently it can examine and write to memory, disassemble from memory, execute code, display/modify registers, and continue execution after an interrupt. It can also self-program its own EEPROM via serial connection to a PC. All this in under 4K!
Eventually I'll post schematics and assembler source code. I've set up a page at msarnoff.org/projects/6809 to document the project.

Пікірлер: 101
@The8BitGuy
@The8BitGuy 13 жыл бұрын
Wow, that disassembly code looks almost identical to 6502 code. I had no idea the 6809 was so similar.
@esra_erimez
@esra_erimez 2 жыл бұрын
Wow, this is truly impressive. Even 12 years later
@SampsonGizmo
@SampsonGizmo 11 жыл бұрын
There is so much work involved in this, really nice job!
@Deckardsvr
@Deckardsvr 13 жыл бұрын
Very impressive Matt ! i wish a had a teacher like you back in the days ...
@Harrzack
@Harrzack 10 жыл бұрын
Great to see this super chip being used! In the 80's I had a Color Computer (based on 6809), and in the unused 1.5k of the BasicROM, wrote an file manager that emulated that used in OS9. The CoCo could access 4 floppies - D0 to D3 (I think). I used that reference so that D4 thru D7 would be hard disks. Using a published dis-assembly of the RS BASIC ROM, I could load the ROM to RAM, and then whenever there were references to disk, if the drive # was greater than 3 - I'd jump up to my disk driver and write the data in OS9 file system format. Each HD was an OS9 directory. Then when you booted to OS9 - you could access the data. It was very cool - but never really got used... Some fellow was selling HD's for the CoCo, and used it - think we called it "WinBasic" - as hard drives where still called "winchester" drives (after the IBM 3030 I think). In some 40 years of software work, that was my most enjoyable project! The 6809 was a beautiful design - and I understand it COULD have been the basis of the IBM PC, but Motorola was "too busy" with their automotive market, and declined become involved... and so the world was hamstrung with the crap Intel architecture... But that is a story for another day. GREAT PROJECT Matt!! =Alan R.
@mkarcz12
@mkarcz12 11 жыл бұрын
Each time I return to watch your videos about ULTIM809, I am truly amazed. You Sir are a damn genius. Pure geekeness in its best form :-) no offense. I meant it as a complement. You inspired me to start my own homebrew computer project about a year ago. It is a lot of fun. Thanks!
@172pilot
@172pilot 11 жыл бұрын
Makes me miss my old TRS-80 COCO.. That is an awesome video.. Great project - Keep it up.
@darrenclift6704
@darrenclift6704 3 жыл бұрын
i miss my coco3 myself.
@firewolf34
@firewolf34 11 жыл бұрын
You sir, are my hero! I've always wanted to do something like this.
@chair5432
@chair5432 13 жыл бұрын
He just started typing in machine code..Respect
@2OQP
@2OQP 12 жыл бұрын
He seems to be young AND writing in machine code. That is what is impressive. Old guys like me do that in our sleep and we are a disappearing breed.
@daveycrockett64
@daveycrockett64 3 жыл бұрын
Very good work. I feel comments should ideally be in machine code.
@antonnym214
@antonnym214 7 жыл бұрын
well done! you know your machine code. I did z-80 back in the day.
@gathgealaich2552
@gathgealaich2552 10 жыл бұрын
That's why you program in Forth on 8-bit machines. :-) In fact, 6809 is almost a dream chip for Forth.
@tjseagrove
@tjseagrove 14 жыл бұрын
Very nice work and enjoyed the video very much.
@74hc595
@74hc595 14 жыл бұрын
@kennytheamazing Yes, I've written all the OS code myself (it's not much, but I guess you could call it an OS) in assembly language. It's fun!
@Kaos116
@Kaos116 13 жыл бұрын
Great work! I have always wanted to do something like this.
@hypercoffeedude
@hypercoffeedude 10 жыл бұрын
I wouldn't consider him a god, but some minds just don't work in the same way. To some people, this stuff, even though it might come easy to me,would be inconceivable by others. It takes a lot of time to fully understand each and every piece that go into building a proper computer.
@_cytosine
@_cytosine 6 жыл бұрын
I am not sure why this is in the "Measure Theory" playlist, but I like it nevertheless!
@slapkickinmule
@slapkickinmule 11 жыл бұрын
Reminds me of the days you had to do that with most of the systems, especially the pdp systems and altair 8080 systems
@Math0Pla
@Math0Pla 11 жыл бұрын
Really impressive !
@bakupcpu
@bakupcpu 12 жыл бұрын
You lost me half way from your programming but this is a very nice project you have there and continue on it! Cheer
@hateWinVista
@hateWinVista 13 жыл бұрын
Reminded me of Matrix... I got an idea,you can add an RS232 port and controlling chips on it,connect to your PC,fire up terminal simulating program,and you can write programs easier!
@dermihai
@dermihai 13 жыл бұрын
i cannot understand too much but this is fascinating!
@JamerTheProgrammer
@JamerTheProgrammer 13 жыл бұрын
This is.... just amazing.
@DanielMosey
@DanielMosey 12 жыл бұрын
@perplexedmoth yes, but he already wrote the code last video for another project, so was just reusing it for this video.
@voodooowner
@voodooowner 14 жыл бұрын
yes i have to agree. good job!
@tango2olo
@tango2olo 12 жыл бұрын
Mindblowing!!
@fabian999ification
@fabian999ification 4 жыл бұрын
Very impressive! How long did it take to create the monitor program?
@michaelbarry8005
@michaelbarry8005 6 жыл бұрын
I knew exactly what the test program was going to print before you executed it, from simple inspection of the hex data! How nerdy is that?
@Esperantanaso
@Esperantanaso 14 жыл бұрын
Great job!
@MaxArcher755
@MaxArcher755 14 жыл бұрын
Simply awesome.
@rskityaev
@rskityaev 3 жыл бұрын
Dude, can use your monitor footage for video production? That looks super cool, like that assembly listing on terminator heads-up display.
@BlakeOBrien1
@BlakeOBrien1 13 жыл бұрын
wow this is like the prototype macintosh. it had a 6809 processor (until Bill convinced Burrell to use the 68000 chip) and for some reason it just reminds me of that
@kennytheamazing
@kennytheamazing 14 жыл бұрын
Wow. Amazing. Did you write the OS code as well ?
@maxtheboard1
@maxtheboard1 11 жыл бұрын
very nice loved it
@jyrgenruut
@jyrgenruut 10 жыл бұрын
This is very cool.
@Moushindeimasu
@Moushindeimasu 13 жыл бұрын
Wow! Where did you learn to do all this? I'm 13 and getting into computers but this is just awesome!
@74hc595
@74hc595 13 жыл бұрын
@ddjazz For some reason KZfaq isn't letting me post the link, but there is a picture of the underside on my Flickr account (same username) from a few months ago. Of course, there are quite a few more chips on there now. I'll post a current picture of the underside sometime soon.
@Microblitz
@Microblitz 10 жыл бұрын
6809BE good grief I haven't used that machine code since I wrote games for the Tandy CoCo and Dragon 32! Great CPU though A B +D index registers and full 16 bit index registers. It was my favourite CPU. Definitely Programmer friendly.
@mebossyounothing
@mebossyounothing 9 жыл бұрын
You where definitelly working for Robco
@CarnageExecutioner
@CarnageExecutioner 7 жыл бұрын
Fallout
@jamiedraper1985
@jamiedraper1985 14 жыл бұрын
Man , thats amazing weldone!
@mebossyounothing
@mebossyounothing 10 жыл бұрын
This men was working for the RobCo Industries :D
@Pietrabentivi
@Pietrabentivi 9 жыл бұрын
its so cool!
@QsoftStudios
@QsoftStudios 12 жыл бұрын
Thats just epic! it looks like a terminal from Fallout 3.
@jasonsweet228
@jasonsweet228 12 жыл бұрын
Super awesome. I'm curious to know how to bank switch between sram? I'm more of a software programmer, and don't know where to go to learn about hardware design. Where would you suggest someone go to learn from a-z on building?
@mikeymcmikeface5599
@mikeymcmikeface5599 4 жыл бұрын
Very cool.
@Kajidimeh92
@Kajidimeh92 13 жыл бұрын
how do you determine the Hex addresses for everything?...I'm wanting to make something similare to this but I need to obviously look things up. Is there any sources you would recommend to help me get started on such a project?
@hypercoffeedude
@hypercoffeedude 10 жыл бұрын
Nice Fallout ref :D
@whitepaperkat67
@whitepaperkat67 9 жыл бұрын
i always wanted to build my own retro pc
@mikeymcmikeface5599
@mikeymcmikeface5599 4 жыл бұрын
This is not a "pc".
@batvanio
@batvanio 12 жыл бұрын
I love it. :)
@jimman10000
@jimman10000 11 жыл бұрын
i would love to learn how to do that.
@X-OR_
@X-OR_ 10 жыл бұрын
2 Questions and a comment. Why did you use a 4 Mhz oscillator and use dividers to drop down the clock to 1 Mhz, Did you need to derive other frequencies?. Your Terminal Character set looks like the Apple II Character set ,Is it ? I think your project is great, Thanks for the video.
@FlyMario2
@FlyMario2 11 жыл бұрын
Where in the world did find that lovely Protoboard?
@typedef_
@typedef_ 11 жыл бұрын
Hey, please explain why you loaded the stack pointer with 12 00.
@perplexedmoth
@perplexedmoth 12 жыл бұрын
@74ch595 you're looking from paper while writing the hello world code towards the end of the video, right? :P
@jakubfrei3757
@jakubfrei3757 7 жыл бұрын
its beuatiful :3
@wel97459
@wel97459 14 жыл бұрын
every nice, and every cool!!!
@pin127
@pin127 11 жыл бұрын
nice
@ccronn
@ccronn 13 жыл бұрын
As an EE all I can say is WOW. So few people understand that the youtube video they are watching is millions of instructions just like the one you executed being performed billions of times every second. My first computer was an 8086. I worked with the Z80. It is truly knowledge upon knowledge. You have shown us the root and core of an intel i7 quad core processor. The symphony between hardware and software, between core and microcode. Hats off to ya sir, charles at gerbing dot com
@Appo47
@Appo47 11 жыл бұрын
I second the quesion below
@Szederp
@Szederp 12 жыл бұрын
Can I ask you how and where you learned all that?
@joangonzalvez9865
@joangonzalvez9865 11 жыл бұрын
This is fucking impressive
@wegi9621
@wegi9621 7 жыл бұрын
Great !
@fabian999ification
@fabian999ification 10 жыл бұрын
Does this have a 16-bit ALU?
@6Knightn
@6Knightn 11 жыл бұрын
how do you learn to make these sorts of things
@morgannoiticie2015
@morgannoiticie2015 10 жыл бұрын
Where do you learn all this knolage??? where do you learn assembly? where did you learn to build such a cool thing???
@100Transistors
@100Transistors 6 жыл бұрын
Google
@graffie
@graffie 12 жыл бұрын
Ubernerdy! Restecpa!
@Funtasmia
@Funtasmia 12 жыл бұрын
Wow :O
@meercreate
@meercreate 12 жыл бұрын
Can You email me The Schematic and parts list and tell me how to write the os?
@BH4x0r
@BH4x0r 11 жыл бұрын
Impressive shit
@DrClawizdead
@DrClawizdead 12 жыл бұрын
What kind of frame rates you getting on Skyrim?
@jmm1233
@jmm1233 13 жыл бұрын
Add a sid chip
@bocatablanco
@bocatablanco 12 жыл бұрын
@74hc595 Coud you give us a schematic?
@klick2destruct
@klick2destruct 12 жыл бұрын
still better graphics than minecraft :D
@forpublicuseonly
@forpublicuseonly 12 жыл бұрын
Really cool. I find the monitors sort of funny though. They should make modern versions. THE COMMAND PROMPT IS MAKING A COME BACK. Excepts it's not :(
@LegoLoverFilms
@LegoLoverFilms 12 жыл бұрын
@coldlogic1 I dunno, can you? xD
@brettgordon7644
@brettgordon7644 8 жыл бұрын
hmm... 6809? 512k? Uart? sounds like a another platform ready for Fuzix.
@coldlogic1
@coldlogic1 12 жыл бұрын
can i program it?
@spacefieldtime
@spacefieldtime 11 жыл бұрын
Joshua, is that you???
@dinetsandrew
@dinetsandrew 11 жыл бұрын
CPU, BUS, Memory it is boring I allways intresting in video system... this is funnest part of PC
@EvilMmM
@EvilMmM 12 жыл бұрын
@lucamasira 4gb ram is so 2009 LOL :P 16gb FTW
@PetrusMD987
@PetrusMD987 12 жыл бұрын
and I thought that writing "Hello World" in 8086 assembly was difficult...
@EveryDaysAHolleyDay
@EveryDaysAHolleyDay 11 жыл бұрын
I know this video is old but..... MACHINE CODE.... fuck me sideways dude. You sir are epic.
@wow1022
@wow1022 12 жыл бұрын
computer engineering major?
@TheKriskooooooo7
@TheKriskooooooo7 13 жыл бұрын
schematic diagram? схема? Σχημα?
@QsoftStudios
@QsoftStudios 12 жыл бұрын
looks like a terminal from fallout 3 O_O
@gathgealaich2552
@gathgealaich2552 10 жыл бұрын
Why romanticize anything? Even today it's an obvious fact that 6809 was one of the neatest designs around in its time.
@garrettvannorden7723
@garrettvannorden7723 8 жыл бұрын
MAKE IT TAKE FLOPPYS
@moistpope
@moistpope 11 жыл бұрын
It is. Would you like to play a game? _
@zungaloca
@zungaloca 12 жыл бұрын
Run menuetos
@mistere123456789
@mistere123456789 12 жыл бұрын
Christ... with the amount of time you'll spend writing machine code, why not just write your own compiler? Besides that good fucking job!
@willrandship
@willrandship 10 жыл бұрын
That's not the hard part. Clearly you've never coded in assembly, at least for anything significant. (inline asm in C/C++ does not count, although I doubt you've even done that much) In assembly, even the most trivial operations take several instructions, and operate in a fairly complex manner. For example, an If statement (w/call) If (x < y) MOV [x in RAM],a MOV [y in RAM],b SUB a,b CMP a BCS [label next] CALL [if code] abc: CALL [else code] B [end] end: [continue other code] Syntax may vary.
@grouchypus
@grouchypus 12 жыл бұрын
you are fucking... WRITING... MACHINE CODE!!! are... you god? :drools rainbow
@meercreate
@meercreate 12 жыл бұрын
Can It Run Crysis? LOL
@AxelPLasg
@AxelPLasg 11 жыл бұрын
Or You could have used like... microcontroller :)
@ocayaro
@ocayaro 12 жыл бұрын
Old news
Homebrew Z80 Computer from 1977 !! - 8BitBites
11:16
Tech Time Traveller
Рет қаралды 16 М.
The 6809 processor - an overview and a simple circuit
10:30
- The Radar Room -
Рет қаралды 2,1 М.
ОДИН ДЕНЬ ИЗ ДЕТСТВА❤️ #shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 59 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Amethyst: 8-Bit Home Computer, Powered By An AVR Microcontroller
15:19
How Machine Language Works
19:48
The 8-Bit Guy
Рет қаралды 941 М.
Retrobrew Computers - KISS-68030 homebrew computer with Linux
15:44
Will Sowerbutts
Рет қаралды 69 М.
Rare 70's Computer Find - Will It Work??? SWTPC 6809
15:23
LOOK MUM NO COMPUTER
Рет қаралды 69 М.
1958 FACOM 128B Japanese Relay Computer, still working!
24:05
CuriousMarc
Рет қаралды 1,4 МЛН
WheatSystem: A Homebrew Operating System
10:36
Esperantanaso
Рет қаралды 4,7 М.
I Bought Something Very Silly
20:55
Action Retro
Рет қаралды 206 М.
My Dream Computer is Finally on Sale!
18:27
The 8-Bit Guy
Рет қаралды 562 М.
Why build an entire computer on breadboards?
28:43
Ben Eater
Рет қаралды 3,1 МЛН
Flashing LEDs - Z80 Style
23:07
Julian Ilett
Рет қаралды 92 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,6 МЛН
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,4 МЛН
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 1,7 МЛН