logo elektroda
logo elektroda
X
logo elektroda

Computer with 8051 z VGA by piotr_go

piotr_go 11478 28
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Computer with 8051 z VGA by piotr_go

    Recently, while browsing the archive with my old projects, I found a project that for ~ 20 years did not get a decent plate. It was designed, but I didn't really feel like it or had the skills (2 layers) to make it. As the project was quite interesting, I decided to dig it out.
    It is a computer project based on the 8051 microcontroller. Originally there were several versions: with RS232, with text LCD, with remote control, with AT keyboard, and with WAV, MIDI, MP3 ... ADC playback modules for playing with audio. Programs could be loaded from disk or via RS232. There was a HEX editor. Everything written in assembler (that I also wanted ... :) ).
    There was nothing to modify the original files (Protel hehe), so I designed the tiles in a different software.

    The presented version of the computer has:
    - CPU AT89LP51
    - 128KB of ram
    - 82C55 IO
    - ATA controller
    - 8bit DAC
    - 80x40 text terminal with PS / 2 keyboard

    16V8 serves as an address decoder:
    Program memory 0x0000 ... 0xFFFF = 0x00000 ... 0x0FFFF SRAM
    Data memory 0x0000 ... 0x007F = 82C55
    Data memory 0x0080 ... 0x00FF = ATA
    Data memory 0x0100 ... 0x03FF = free
    Data memory 0x0400 ... 0x7FFF = 0x10400 ... 0x17FFF SRAM
    Data memory 0x8000 ... 0xFFFF = switchable (P3.4 / P3.5) 4 * 32KB SRAM banks






    Computer with 8051 z VGA by piotr_go Computer with 8051 z VGA by piotr_go Computer with 8051 z VGA by piotr_go

    8051:
    Computer with 8051 z VGA by piotr_go

    ATA:
    Computer with 8051 z VGA by piotr_go

    One of the older versions:
    Computer with 8051 z VGA by piotr_go
    Computer with 8051 z VGA by piotr_go
    Attachments:

    Cool? Ranking DIY
    About Author
    piotr_go
    DIY electronics designer
    Offline 
    piotr_go wrote 2835 posts with rating 3187, helped 91 times. Been with us since 2003 year.
  • ADVERTISEMENT
  • #2 18268092
    ArturAVS
    Moderator
    Video controller on what did you do?
  • ADVERTISEMENT
  • #3 18268127
    piotr_go
    DIY electronics designer
    Chinese scalak, I will insert the project when the boards come (I designed a small module). For now, it is on the universal one.
    I also have a color version on the Parallax Propeller, but I found that the mono version is enough for the C51.
  • #4 18268273
    andrzejlisek
    Level 31  
    Is 128 kB RAM just 2 switch banks or something? ZTCW, 8051/8052 can address 64 kB of memory? Unless there is a fixed part (for example 32KB) and a variable part, i.e. 32KB fragments overlaid in the remaining space, then you can theoretically have arbitrarily large memory, but the program must be adapted to it.
  • #5 18268313
    piotr_go
    DIY electronics designer
    andrzejlisek wrote:
    8051/8052 can address 64 KB of memory

    It can address 64KB of ram (xdata) and 64KB of the program, 128KB in total.
    The program may be in external memory.
  • #6 18268701
    trol.six
    Level 31  
    piotr_go wrote:
    - 8bit DAC
    - 80x40 text terminal with PS / 2 keyboard

    And where is this DAC? At the exit of U10? Is the terminal a hardware or maybe a software stuck somewhere in the memory? Do you connect VGA via IO?

    I also have plans to do something similar, because I have most of the systems, and in fact, apart from the computer, I do not know what makes sense to use them. However, until now, I still haven't found the time :)
  • #7 18268719
    piotr_go
    DIY electronics designer
    trol.six wrote:
    And where is this DAC? At the exit of U10?

    It was supposed to be there as I remember. Now connected to P1 port.
    The DAC is the PCB on a cable (picked out of covox), from the time of the original. You can see it in the old photo.

    trol.six wrote:
    Is the terminal a hardware or maybe a software stuck somewhere in the memory? Do you connect VGA via IO?

    Terminal after uarta. Details in a separate DIY in about 2 weeks.
  • #8 18270651
    Xaveri
    Level 17  
    piotr_go wrote:
    Chinese scalak, I will insert the project when the boards come (I designed a small module) ...


    I have long dreamed of an old 14 "monitor as a large format display - I am looking forward to the info.
  • ADVERTISEMENT
  • #9 18272737
    mack12
    Level 11  
    There are examples with the generation of a VGA image, but although the effects presented in the films are satisfactory, each of the two solutions "cloned" by me was tiring for the eyes (something was shaking, something flashed, the lines were jagged)
    I'm also curious what the deal is. SPI driver with VGA output ... would be great
  • #10 18272804
    piotr_go
    DIY electronics designer
    mack12 wrote:
    There are examples with the generation of a VGA image, but although the effects presented in the films are satisfactory, each of the two solutions "cloned" by me was tiring for the eyes (something was shaking, something flashed, the lines were jagged)

    I know, crap dma / spi. It does not buffer the extra byte, and a delayed loading of the registry produces these effects.
  • #11 18273123
    pan_kotek
    Level 20  
    Would you be able to read 8051 sata drives?
  • #12 18273140
    piotr_go
    DIY electronics designer
    pan_kotek wrote:
    Would you be able to read 8051 sata drives?

    ATA / SATA adapter:
    Computer with 8051 z VGA by piotr_go
  • #13 18273145
    ArturAVS
    Moderator
    On such an adapter, the SATA-> PATA conversion will not be a speed daemon, but the 8051 is also not one of such "daemons".
  • #14 18276211
    LechU
    Level 14  
    Will it be possible to count on a complete set of information (* .pcb, * .hex, * .pld etc. ;) ) about boards with CPU and ATA?
  • #15 18276379
    piotr_go
    DIY electronics designer
    You'll have to wait. I ordered a new pcb for the ATA, "mirror image", so that it would fit the sandwich with the rest.
    When I test if it's OK, I'll put gerberas + JED. I do not plan to share the sources yet.
  • #16 18276514
    LechU
    Level 14  
    I think just such a thing is enough

    By the way - this project could be presented / shared / propagated on an interesting website with computer designs from the "last century" ;)

    PS And if my colleague would have any "bare" tiles, maybe we would try to "somehow" get along ...
  • #17 18277188
    piotr_go
    DIY electronics designer
    LechU wrote:
    PS And if my colleague would have any "bare" tiles, maybe we would try to "somehow" get along ...

    There should be some left. Report back to PW in 2 weeks.

    ================== update ==================
    I added gerberas at the beginning of the topic.
  • #18 18313098
    nici
    Moderator Chiptuning
    An impressive amount of work, but what was it for? Any more sense?
  • #19 18313378
    piotr_go
    DIY electronics designer
    nici wrote:
    what was it created for? Any more sense?

    I wanted to remember how THT is soldered. :)
    This is not the last project in the "What for?" Series.
    There is Z80 / Z180 / 8086/8088/68000/68008/68010 waiting in the queue ... I don't know what to choose yet.
    Maybe an x86 watch? :D
  • #20 18313534
    nici
    Moderator Chiptuning
    Moderated By tmf:

    I have removed the part relating to unnecessary discussion.


    piotr_go wrote:
    I wanted to remember how THT is soldered.
    This is not the last project in the "What for?" Series.
    There is Z80 / Z180 / 8086/8088/68000/68008/68010 waiting in the queue ... I don't know what to choose yet.
    Maybe an x86 watch?
    Congratulations and admire :)
  • #21 18315395
    MuNiO
    Level 26  
    nici wrote:
    An impressive amount of work, but what was it for? Any more sense?


    Due to such posts, it is unwilling to build anything and show it to the world ... :(
  • #22 18315565
    nici
    Moderator Chiptuning
    MuNiO wrote:
    Due to such posts, it is unwilling to build anything and show it to the world ...


    I'm sorry, so don't build and show. Your life, your choise.
  • #23 18318088
    xangel
    Level 19  
    Very nice project - congratulations on graduation after such a long time :)
    If you have a set of tiles for the final "sandwich" version, let me know.
  • #24 18318939
    piotr_go
    DIY electronics designer
    I have 3 sets of plates. If anyone wants to, let him contact PW.
  • ADVERTISEMENT
  • #25 21433623
    aberkeveld
    Level 1  
    Hi Piotr,

    I'm sorry, I know it's been many years, but I'm curious how you did the VGA connection. Will you share the code? Thanks in advance.
  • #27 21435044
    OPservator
    Level 39  
    Sorry, but I have to ask - Will it run on this DOOM? :D .
  • #28 21435064
    piotr_go
    DIY electronics designer
    In a playable way? No.
    People do all sorts of weird things. Below 0.01 FPS would probably set some magician off.
  • #29 21435076
    OPservator
    Level 39  
    After seeing doom in excel I can really expect anything from them :D

Topic summary

The discussion revolves around a computer project based on the 8051 microcontroller, featuring various modules such as RS232, text LCD, and audio playback capabilities. The current version includes an AT89LP51 CPU, 128KB of RAM, 82C55 I/O, an ATA controller, an 8-bit DAC, and a PS/2 keyboard connected to an 80x40 text terminal. Participants inquire about the video controller, memory addressing, and DAC connections, while the author shares insights on the design process, including the use of a SATA to ATA adapter. There is interest in obtaining PCB files and further details about the project, with plans for future developments involving other microcontrollers like Z80 and 8086.
Summary generated by the language model.
ADVERTISEMENT