RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » N8 (4314) RomWBW 3.0.1 and PPIDE
N8 (4314) RomWBW 3.0.1 and PPIDE [message #8264] Sun, 31 January 2021 02:45 Go to next message
andrii_kutepov is currently offline  andrii_kutepov
Messages: 29
Registered: November 2015
Junior Member
Hi,

Can't make PPIDE work on N8 (4314).

I add to my config file

PPIDEENABLE .SET TRUE ; PPIDE: ENABLE PARALLEL PORT IDE DISK DRIVER (PPIDE.ASM)
PPIDE0A8BIT .SET TRUE ; PPIDE 0A (MASTER): 8 BIT XFER
PPIDE0B8BIT .SET TRUE ; PPIDE 0B (SLAVE): 8 BIT XFER
PPIDE0BASE .SET $80 ; PPIDE 1: PPI REGISTERS BASE ADR

I'm use some previous tested CF's with CF-IDE adapter, different tested ppi 8255. Double check all signal and pcb track.
also added wait states on IO and memory.
Without a result. The card is not determined at the start. Sometimes with different errors.
The question arose when I didn't find a file .\Doc\Testing Notes.txt
mention of the testing of the ppide. there's only this:

N8-2312 (X)
-------
- Test ASCI driver
- Test SD driver (CSIO mode)
- Test FD driver
- Test FDU app
- Test TMS driver (video & kbd)

Please say should PPIDE work on N8 with this BIOS ?

Thanks
Andrii

[Updated on: Sun, 31 January 2021 02:45]

Report message to a moderator

Re: N8 (4314) RomWBW 3.0.1 and PPIDE [message #8272 is a reply to message #8264] Mon, 01 February 2021 00:37 Go to previous messageGo to next message
b1ackmai1er is currently offline  b1ackmai1er
Messages: 396
Registered: November 2017
Senior Member
Hi Andrii,

I dont have an N8 but your config changes look good to me. PPIDE on N8 should work, basically identical to SBC-V2

Have you removed Jumpers JP8 and JP7?

Have you checked power requirements for CF-IDE adaper i.e. on N8 K2 jumper and any jumpering on CF-IDE board itself.

What error messages are you getting?
Do you have the Front panel IDE LED hooked up? Is there any activity on it.

Have you checked orientation of pin 1 of cf-ide card versus pin 1 on N8? If so get up turn around 3 times anticlockwise, then 2 times clockwise, then sit down, chant for 30 seconds then check again.

You could try writing a simple BASIC program to test the 8255 i.e. flash the IDE led, toggle some lines https://www.geeksforgeeks.org/programmable-peripheral-interf ace-8255/

Best of luck Phil.

Re: N8 (4314) RomWBW 3.0.1 and PPIDE [message #8279 is a reply to message #8272] Mon, 01 February 2021 12:32 Go to previous messageGo to next message
andrii_kutepov is currently offline  andrii_kutepov
Messages: 29
Registered: November 2015
Junior Member
Hi Phil,

Thank you for you answer.
Of course i checked 1pin adapter. and jumper K2 for power (pin20). This adaper with this CF perfect worked in Z180 Mark IV. i8255 also tested to other hardware. JP7 and JP8 no seted.
Error most often - NO MEDIA. sometimes - DRQ TIMEOUT or READY TIMEOUT.
I think maybe there's a problem with the BIOS I've compiled. Maybe Wayne could have commented.

BR
Andrii
Re: N8 (4314) RomWBW 3.0.1 and PPIDE [message #8295 is a reply to message #8279] Fri, 05 February 2021 23:50 Go to previous message
andrii_kutepov is currently offline  andrii_kutepov
Messages: 29
Registered: November 2015
Junior Member
I brainstormed. And rang all the tracks around the PPI and IDE connector.
I found output a PPI panel with cold solder. This is the pin of 12 - PC5.
My stupid mistake cost me many hours of tests. I'm sorry to bother you.
Now everything works perfectly.

RomWBW HBIOS v3.1.1-pre.40, 2021-02-06

N8 Z8S180-N @ 18.432MHz IO=0x40
0 MEM W/S, 2 I/O W/S, INT MODE 2, MMU=N8
512KB ROM, 1024KB RAM

AY: IO=0x9C
ASCI0: IO=0x40 ASCI W/BRG MODE=38400,8,N,1
ASCI1: IO=0x41 ASCI W/BRG MODE=38400,8,N,1
DSRTC: MODE=STD IO=0x88 Sat 2021-02-06 09:50:31 CHARGE=ON
TMS: IO=0x98
PPK: IO=0x84
MD: UNITS=2 ROMDISK=384KB RAMDISK=768KB
FD: IO=0x8C UNITS=2
PPIDE: IO=0x80
PPIDE0: LBA BLOCKS=0x003D8000 SIZE=1968MB
PPIDE1: NO MEDIA
SD: MODE=CSIO OPR=0x88 CNTR=0x4A TRDR=0x4B DEVICES=1
SD0: SDSC NAME=SU128 BLOCKS=0x0003C100 SIZE=120MB

*** Activating CRT Console ***


Thank you all very much for your help.

Good luck.
Andrii
Previous Topic: Ended up with some extra 74F133N ICs for the KISS-68030
Next Topic: RC2014 Z80 /WR and /RD mutually exclusive?


Current Time: Mon Mar 24 21:42:22 PDT 2025

Total time taken to generate the page: 0.03941 seconds