Author Topic: Replacing Disk-on-chip on a PC104 board  (Read 608 times)

0 Members and 1 Guest are viewing this topic.

Offline popcalentTopic starter

  • Newbie
  • Posts: 2
  • Country: us
Replacing Disk-on-chip on a PC104 board
« on: October 13, 2024, 05:45:40 pm »
Hi, all. I have a 386 based PC104 board that came with an 8MB Disk-on-chip (DOC) as unit C: with MS-DOS 6.22. It works great. I recently bought a 64MB DOC to upgrade the system. According to the manual, the PC104 supports DOCs up to 128MB. I replaced the DOC and the PC104 doesn't see it. I tried formating it from MS-DOS using "format c: /s", and it said "Invalid drive specification". I imagine the new DOC needs some firmware to tell it it should work as a MSDOS drive, but I can't find any information on the internet on how to do this. Can someone help, please?

The 8MB DOC: https://ibb.co/X2d2Jjm
The 64MB DOC on the PC104: https://ibb.co/vz9fTvL
Output of the format command: https://ibb.co/K5yyXVL
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 6364
  • Country: es
Re: Replacing Disk-on-chip on a PC104 board
« Reply #1 on: October 13, 2024, 06:51:00 pm »
It seems you need custom tools.
Check if these exist in your system:
Quote
DFORMAT.EXE to prepare
DUPDATE.EXE to write a new bootimage (.EXB file)
DOCPMAP.EXE to read/write images
DINFO.EXE to show information
DPROTECT.EXE to make it read-only
UNMOUNT.EXE to „eject“ a DOC from system (maybe useful for handhelds?)
DDEFRAG.EXE obvious what this does

https://www.os2museum.com/wp/diskonchip/
« Last Edit: December 10, 2024, 12:54:25 am by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline popcalentTopic starter

  • Newbie
  • Posts: 2
  • Country: us
Re: Replacing Disk-on-chip on a PC104 board
« Reply #2 on: October 13, 2024, 09:47:14 pm »
Thanks. This looks promising. I used DINFO.EXE and it finds the DOC at physical address 0xC8000, and it prints some information about it (including the correct size of 64MB). Unfortunately, DFORMAT.EXE is not working and it returns a "DOC not found" message.

According to DINFO, the DOC is at physical address 0xC8000, but all examples I see of DFORMAT, they use address D000. For example: DFORMAT /WIN:D000, which is not an address the same size I'm seeing. Am I missing something, if physical address is 0xC8000, I should do "DFORMAT /WIN:C8000", correct?

Edit: Apparently, C8000 means C800. The correct command is DFORMAT /WIN:C800 /S:file.EXB.
« Last Edit: October 14, 2024, 07:22:19 pm by popcalent »
 

Offline fzabkar

  • Super Contributor
  • ***
  • Posts: 2798
  • Country: au
Re: Replacing Disk-on-chip on a PC104 board
« Reply #3 on: December 09, 2024, 10:56:15 pm »
Edit: Apparently, C8000 means C800. The correct command is DFORMAT /WIN:C800 /S:file.EXB.
0xC8000 is the address, 0xC800 is the segment.

    0xC8000 = 0xC800:0

https://en.wikipedia.org/wiki/X86_memory_segmentation
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5256
  • Country: nl
Re: Replacing Disk-on-chip on a PC104 board
« Reply #4 on: December 10, 2024, 11:32:03 am »
Segment C800 is (was) the standard address for a disk controller card in the old days, anyone remember G=C800:5?  ;)
Since the address selector is outside the DOC the 8MB one should also present itself at C800, did you verify that?
I guess D000 is the segment for an additional drive.
Keyboard error: Press F1 to continue.
 

Offline coromonadalix

  • Super Contributor
  • ***
  • Posts: 6931
  • Country: ca
Re: Replacing Disk-on-chip on a PC104 board
« Reply #5 on: December 10, 2024, 05:40:38 pm »
Segment C800 is (was) the standard address for a disk controller card in the old days, anyone remember G=C800:5?  ;)
Since the address selector is outside the DOC the 8MB one should also present itself at C800, did you verify that?
I guess D000 is the segment for an additional drive.

yeah i do remember this

MFM  RLL ... scsi  drives with their associated cards with all the partition management in them   ....  good ol days   
A dual slot drive who consume lots of amps when starting rotation ... ahhhhh  loll
 

Offline fzabkar

  • Super Contributor
  • ***
  • Posts: 2798
  • Country: au
Re: Replacing Disk-on-chip on a PC104 board
« Reply #6 on: December 11, 2024, 09:03:37 pm »
Try this.

Create a bootable medium (floppy diskette?) and add MSDOS debug.exe to the root.

To dump system RAM/ROM and save it to a file ...

Code: [Select]
debug
-n a:\c800.bin
-rcx
CX 0000
:8000
-w c800:0
Writing 08000 bytes
-q

"n" specifies the target file name.

"rcx" specifies the number of bytes to save.

"-w c000:0" will save the graphics adapter ROM.

"-w F000:0" will save the BIOS (use rbx = 1, rcx = 0).

"rbx" specifies the number of 64KB segments to save.

« Last Edit: December 11, 2024, 09:12:42 pm by fzabkar »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf