Can some of the z180 guys help me out what I dis wrong?
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/d4540419-a6d6-467f-9bec-f32bbec1466d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<scrumpel7r1_2.pdf>
Hi NickWhy did you choose to use 4 128k RAM chips, and not go with a 512k chip (AS6C4008)?It would reduce the number of chips and complexity of the design.Karl
On 16 Jan 2019, at 09:51, Nick Brok <nick...@gmail.com> wrote:
After some thinking I found a design failure in my own design. After solving that my test program runs!When the ROM comes enabled, it disabled RAMS0 and so also the ROM! So I used the second CE from the 128KB RAM in stead of switching of the whole decoder.I uploaded the new schematics.Greetings,Nick
Op dinsdag 15 januari 2019 11:07:49 UTC+1 schreef Nick Brok:Hello,It is not really about an rc2014, but I' ve some problems getting a z180 cpu up and running.z180test,pdf is thw schematic and the program is cylonrom.asm.Can some of the z180 guys help me out what I dis wrong?Greetings,Nick--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+unsubscribe@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/d4540419-a6d6-467f-9bec-f32bbec1466d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<scrumpel7r1_2.pdf>
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/800dcc62-b79d-45b2-a31d-2e01ccea86bd%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/ab4076a0-c4ed-4479-864c-92cd59751ae9%40googlegroups.com.
<Schermafbeelding 2019-01-23 om 10.00.51.png>
On 23 Jan 2019, at 10:04, Nick Brok <nick...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/ab4076a0-c4ed-4479-864c-92cd59751ae9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Schermafbeelding 2019-01-23 om 10.00.51.png>
As you can see in my schematics I use a clock of 8 MHz but the z180 seems to be slower then a Z80A on 4 MHz!I did only setup the Z80 I/O compatibility in the OMCR register. 040h.Is there something I've missed?
* Turn off Refresh (if not needed) in register 36h* Reduce the WaitCycle times in register 32H. Memory wait cycles should be set to 3 after reset and 4 for I/O
I looked into the source-code of romwbw but it looks a bit complicated for me. (reading code made by others is always difficult) So I want to know some assembly-code examples for bankswitching in the Z180.
> I have also another question: Did some of you guys run Fuzix successfully on a Z180 processor? I want some info how to start.... The info I find on the net is a little bit to much.... CP/M runs very good on my Z180.
Fuzix currently runs on the N8VEM mark IV and the P112. It shouldn't
be too hard to port to any other platform as Will Sowerbutts who wrote
the Z180 support made the core Z180 code very generic and fairly
complete (serial, SD card etc). so you should only need to write the
code for board specific stuff and a suitable bootloader.
Alan
The difference is best case timing vs worst case timing. If you use a part with access time calculated by the Zilog formula, the design will work with EVERY Z180 and EPROM that meet spec over the voltage and temperature range in the datasheet. However, most parts can operate at higher frequencies or shorter access times at 5V and 25 C. I suspect this is the case with your design.
ld a,080h ;Clock divide off, xtal * 2
out0 (ccr),a
out0 (cmr),a
ld a,040h ;1 Wait state for memory
out0 (dcntl),a ;1 Wait state for I/O
xor a
out0 (rcr),a ;Switch off refresh cycles
ld a,080h ;Clock divide off, xtal * 2
out0 (ccr),a
out0 (cmr),a
ld a,040h ;1 Wait state for memory
out0 (dcntl),a ;1 Wait state for I/O
Hi Folks,
After some experiments with the Z8S180 I found the following correct timing initialization.
This is only necessary when refresh cycles are switched off as xmodem gives many errors then.
When refresh kept switched on a waitstate is not necessary.
Setting for high speed (8 MHz input clock) CPU at 16 MHz:xor a
out0 (rcr),a ;Switch off refresh cycles
ld a,080h ;Clock divide off, xtal * 2
out0 (ccr),a
out0 (cmr),a
ld a,040h ;1 Wait state for memory
out0 (dcntl),a ;1 Wait state for I/OWith these settings 55ns memory works fine and 170 ns 82c55 port also.
I tried to measure the stuff and what the clock management does:
So, CMR=80h also doubles the external PHI signal ...
xor a
out0 (rcr),a ;Switch off refresh cycles
ld a,080h ;Clock divide off, xtal * 2
out0 (ccr),a
out0 (cmr),a
ld a,010h ;0 Wait state for memory
out0 (dcntl),a ;2 Wait states for I/O
Hello,I have now a good working design of my zx180 board. It has the following specifications:2 Serial ports (Internal) with external fixed baudrate at 9600 Baud.1 Parallel port 82c55 8 Mhz that can be used for 8 bit IDE interface.512 KB RAM.32 KB ROM with two selectable banks of 16 KB that can be switched off. RAM writes are possible while the ROM is active.3 Software SPI ports.The CPU is fed with 8MHz clock so the max programmable speed is 16MHz. I use the Zs180.Now I am looking for someone who can help me to run the z80 UNIX version on this computer.