hdd

Sprinter Computer http://sprinter.nedopc.org

Moderator: Shaos

mabby
Writer
Posts: 10
Joined: 24 Apr 2005 08:52

hdd

Post by mabby »

Does anyone know hard disk linitation - i am now up & running with an old fujitsu 1 gig drive - whats the biggest the bios supports ? - also what isa devices are supported - is there any other resourse for sprinter on the net - hardware / tech docs ??

Thanks for all the help in getting me going - i now have the basis for a good system - my sgcart needs some attention - i am only able to view in mono - when i enable rgb - the display shows a red hue - i must have some wires mixed - whats the pin config on the board ?
User avatar
Shaos
Admin
Posts: 23989
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

Unfortunatly only standard ISA modem is supported as ISA device. And only in Spectrum mode by one terminal program in TRD format.
Я тут за главного - если что шлите мыло на me собака shaos точка net
User avatar
CHRV
God
Posts: 1101
Joined: 29 Dec 2003 01:00
Location: Москва

Re: hdd

Post by CHRV »

mabby wrote:Does anyone know hard disk linitation - i am now up & running with an old fujitsu 1 gig drive - whats the biggest the bios supports ? - also what isa devices are supported - is there any other resourse for sprinter on the net - hardware / tech docs ??
No, you must to try different setting on hdd in BIOS! For example ? my hard views only if second channel set to "----".

You can use any ISA-8 device, but you must write low level support. Now ISA-8 modems supported only!

Description ISA-8 programming on Sprinter:

Code: Select all

Summary
This article describe ISA-8 interaction. 
More information
If you want to interaction with ISA devices, you have to make following steps:
1) send 10h value to port 1FFDh(system port);
2) send control byte to port 0E2h(third memory window port);
control byte:
D7...should be 1
D6...should be 1
D5...should be 0
D4...should be 1
D3...should be 0
D2...specify number of ISA slot
D1...specify access mode (0 - ISA memory, 1 - ISA ports)
D0...should be 0
The read/write signals are forming from read/write signals memory range 0C000h-0FFFFh.
And the address lines A13...A0 has taken from processor data-BUS. The other ISA-signals such as RESET, AEN, A19...A14 can be set in port 9FBDh. And default value is 00h.
port 9FBDh:
D7...RESET
D6...AEN
D5...A19
D4...A18
D3...A17
D2...A16
D1...A15
D0...A14

ISA_DIR      EQU 9FBDh
SC_PORT      EQU 1FFDh
PAGE3        EQU 0E2h

SAVE_PAGE    DB 0           ;variable for previous status of third memory port

RESET_ISA:                  ; reset ISA device
        LD C, ISA_DIR
        LD A,0C0h
        OUT (C),A
	CALL Pause_10ms
        LD A,0
        OUT (C),A
        RET

Pause_10ms:
        LD HL,10000
Loop:
        DEC HL
        LD A,H
        XOR L
        JR NZ,Loop
        RET

OPEN_ISA_PORTS:             ; open access to ISA
        LD BC,SC_PORT
        LD A,10h
        OUT (C),A
        IN A,(PAGE3)        ; read value from memory port
        LD (SAVE_PAGE),A    ; save previous status of memory port
        LD A,0D2h           ; control byte for (first (upper) ISA slot)
        OUT (PAGE3), A      ; opening ISA port address space
        LD C,ISA_DIR
        LD A,0              ; high ISA addresses RESET and AEN signals.
        OUT (C),A
        RET

CLOSE_ISA_PORTS:            ; close access to ISA
        LD A,(SAVE_PAGE)
        OUT (PAGE3),A       ; restore value of memory port
        LD BC,SC_PORT
        LD A,0
        OUT (C),A           ;
        RET

WRITE_ISA_PORT:
        LD HL,ADRESS_PORT+0C000h     ; ISA port address + 0C000h offset 3
memory page
        LD A,DATA_OUT                ; data for writing
        LD (HL),A                    ; write data to port which pointered HL
        RET

READ_ISA_PORT:
        LD HL, ADRESS_PORT+0C000h    ; ISA port address + 0C000h offset 3
memory page
        LD A,(HL)                    ; read data from port which pointered HL
        RET
When you work with ISA, the access to third memory page are disabled. If you want to address ISA-memory more than 3FFFh, you should specify high bits in port 9FBDh.