Author Topic: Bugs running MCS BASIC-52 on 8052  (Read 11377 times)

0 Members and 1 Guest are viewing this topic.

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8549
  • Country: us
    • SiliconValleyGarage
Re: Bugs running MCS BASIC-52 on 8052
« Reply #25 on: August 13, 2020, 06:11:51 pm »
you have not seen what this thing can do until you instantiate the oregano designs 8051 core, a ram and a rom in an Altera FPGa and clock it at 400 MHz ....
That is one speedy basic machine !
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline JohnnyQuest1111

  • Newbie
  • Posts: 3
  • Country: us
Re: Bugs running MCS BASIC-52 on 8052
« Reply #26 on: August 14, 2020, 07:48:30 am »
All that crazy speed for MCS-BASIC and the slowest link is the serial port ... if the program prints output ... or the human operator ... if the program is *WAITING* for user input.  :)

I can appreciate the fun of the project.

At 400MHz, what applications could this blazing fast MCS-BASIC support?

Peace and blessings,
JQ
 

Offline 0db

  • Frequent Contributor
  • **
  • Posts: 336
  • Country: zm
Re: Bugs running MCS BASIC-52 on 8052
« Reply #27 on: August 14, 2020, 08:02:48 am »
Altera FPGa and clock it at 400 MHz ....

400Mhz? on which fpga?
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 5066
  • Country: nz
Re: Bugs running MCS BASIC-52 on 8052
« Reply #28 on: August 14, 2020, 08:22:48 am »
This thread is very interesting. A few days ago I ordered a handful of 65C02 chips (and 65C22 VIA), some 32Kx8 SRAMs, some 32Kx8 EEPROMs (and a programmer) and a bunch of latches, inverters, 2 input NAND and NOR gates, 8 input NAND gates. Planning to play around with all this stuff on a breadboard.

No reason not to play with the same stuff with 8051 or other old CPUs also. I already had plans to try the SRAM on the ATMega2560 eternal bus (the 8 bit latch chip is needed for this, to demultiplex the data bus and LSBs of the address)

A cool thing about the 65C02 is it's fully static, so can be run at 0 Hz and stopped or single stepped by hand. Does that apply to 8051 also? I think the Microchip ones are? And also Z180 but not Z80?
 

Offline retrolefty

  • Super Contributor
  • ***
  • Posts: 1648
  • Country: us
  • measurement changes behavior
Re: Bugs running MCS BASIC-52 on 8052
« Reply #29 on: August 14, 2020, 09:20:50 am »
And also Z180 but not Z80?

 Z-80 was always fully static and also had support for auto refresh of the DRAM of the day.
 

Online brucehoult

  • Super Contributor
  • ***
  • Posts: 5066
  • Country: nz
Re: Bugs running MCS BASIC-52 on 8052
« Reply #30 on: August 14, 2020, 10:12:11 am »
And also Z180 but not Z80?

 Z-80 was always fully static and also had support for auto refresh of the DRAM of the day.

I don't believe the NMOS ones were.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8549
  • Country: us
    • SiliconValleyGarage
Re: Bugs running MCS BASIC-52 on 8052
« Reply #31 on: August 15, 2020, 06:31:26 pm »
All that crazy speed for MCS-BASIC and the slowest link is the serial port ... if the program prints output ... or the human operator ... if the program is *WAITING* for user input.  :)

I can appreciate the fun of the project.

At 400MHz, what applications could this blazing fast MCS-BASIC support?

Peace and blessings,
JQ
i stripped the uart and converted that into a ftdi245 port. it was speedy ...
The oregano core is one of those 'turbo' cores. Most instructions process in a single clocktick. It is free. You can get the verilog. I ran it on a Cyclone 5 i believe. PLL was set to 420MHz. it's been a while. i mapped the ram and rom in the FPGA so nothing external was needed. the rest were simply GPIO pins.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline JohnnyQuest1111

  • Newbie
  • Posts: 3
  • Country: us
Re: Bugs running MCS BASIC-52 on 8052
« Reply #32 on: August 18, 2020, 10:12:45 am »
Quote
i stripped the uart and converted that into a ftdi245 port. it was speedy ...
The oregano core is one of those 'turbo' cores. Most instructions process in a single clocktick. It is free. You can get the verilog. I ran it on a Cyclone 5 i believe. PLL was set to 420MHz. it's been a while. i mapped the ram and rom in the FPGA so nothing external was needed. the rest were simply GPIO pins.

Beautiful!

I used to be an FAE for XILINX. Was taught all about the parts and how they work, tools and all. But I never had the time to do anything like that on my own.

Peace and blessings,
JQ
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf