Welcome, Guest. Please login or register.


Author Topic: 6Mhz and more... (Read 74884 times)

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #150 on: 2017.December.30. 20:33:01 »
I will not do more this year ;)
The checklist:
Clock segment
* divider mod 2 done
* divider mod 3 done
* divider mod 4 done
* divider mod 5 done
* divider mod 12 done
* clock mux 8/1 done
* clock selector with phase synchronizer done
* control circuit
* display
* management firmware
* address decoder done

RTC segment
* battery backup (clock settings & ROM pages config)
* double buffer for local access
* address decoder done

ROM segment
* address decoder with configurable memory pages done

RAM segment
* address decoder done

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #151 on: 2017.December.30. 23:34:33 »
LS1, is a buzzer?

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #152 on: 2017.December.31. 07:58:30 »
Buzzer or speaker. I have not decided yet.

Offline Tutus

  • EP lover
  • *
  • Posts: 679
  • Country: hu
    • Enterprise 128
Re: 6Mhz and more...
« Reply #153 on: 2017.December.31. 16:14:32 »
I've fallen in love :) (EP Dream Turbo Card)

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #154 on: 2018.January.04. 09:08:14 »
The wiki page has been started.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #155 on: 2018.January.04. 10:07:04 »
Great!

Of course it will have a Spanish translation.

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #156 on: 2018.January.04. 10:28:11 »
Do not rush. For now, there will be frequent changes.
I set up a page to remember what is already ready and what else to do.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14709
  • Country: hu
    • http://enterprise.iko.hu/
Re: 6Mhz and more...
« Reply #157 on: 2018.January.04. 12:54:43 »
How the software control will work?
There is a registers (at RTC bytes area) where can read the current speed settings? And can set new speed?
Other RTC bytes still present, can be used for other setting storage?

For example: when using HD disks the 4MHz Z80 too slow. At the old system need to use machine at turbo speed when loading from HD disks. And if the game runs to fast then switch back to 4MHz.

What I'm dreaming about the new system: the EXDOS can read the current system speed, can set turbo if needed, then can restore the original speed after the disk operation finished.
Some RTC bytes will used for store floppy drive settings.

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #158 on: 2018.January.04. 13:12:09 »
RTC with NVRAM will be shared between EP and the card microcontroller.
Each write from EP to RTC will be cause a set the flag RTC_DATA_CHG for microcontroller.
The uC then issues a RTC access request (RTC_REQUEST) and waits until the EP finishes access to the RTC.
When RTC is available, the uC takes over and blocks access for the time of reading new data.
After completing the reading, it releases access and resets the flag.
I do not know how it will works in reality. I expect some conflicts in access. We'll see.

I'm also wondering about the flag for EP that it has signal new data to read.
At now I do not have an idea how to do it easiest.
Maybe some fake read-only register for polling ?

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14709
  • Country: hu
    • http://enterprise.iko.hu/
Re: 6Mhz and more...
« Reply #159 on: 2018.January.04. 13:30:02 »
One more thing: possible add something for detect the card? For example reading ID string from one register, or etc...

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #160 on: 2018.January.04. 13:38:37 »
Certainly, the identification of the presence of the card will be useful.
I'll think about that.

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #161 on: 2018.January.04. 14:14:27 »
The RTC register selection port (I/O 0x7E) is write-only.
I can use it to read the ID and status of the card.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14709
  • Country: hu
    • http://enterprise.iko.hu/
Re: 6Mhz and more...
« Reply #162 on: 2018.January.04. 14:34:50 »
Good idea!

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #163 on: 2018.January.04. 18:06:57 »
A tangle of connections :smt119
I have reached the limit of available CPLD resources (93% of Xillinx XC95144XL-TQ100).
I think everything is fitted.
I forgot something ?

PS. Did anyone mention that Entermice is complicated ? :lol:

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: 6Mhz and more...
« Reply #164 on: 2018.January.05. 21:19:48 »
The original RTC card for EP uses the Motorola interface mode.
In the DTC (Dream Turbo Card) I used a processor with Intel architecture.
Thanks to the use of several tricks, I managed to connect to RTC in Motorola mode, at the same time speeding up communication 2-3 times.
The address and data are transferred using one MOVX instruction (two cycles of the processor) :ds_icon_cheesygrin:

I have already used practically all available CPLD resources:
Macrocells Used 130/144  (91%)
Pterms Used 453/720  (63%)
Registers Used 96/144  (67%)
Pins Used 80/81  (99%)
Function Block Inputs Used 258/432  (60%)