flat assembler
Message board for the users of flat assembler.

Index > Heap > 8 GB limitation

Author
Thread Post new topic Reply to topic
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Hi, anyone knows where can I find some MBR driver to allow HDD larger than 8 GB? The computer is too old to be flashed with a new BIOS but I tried booting a Windows XP and it successfully recognized 20 GB of capacity while the installed Windows 95 don't. All I can find is the MBR driver to break the 512 MB limit but I can't find the same for the 8 GB limit.

Thanks in advance

LocoDelAssembly

PS: Of course the BIOS also recognizes the HDD as a 8 GB HDD so this driver must be able to reidentify the device in order to get the correct capacity.
Post 15 Mar 2006, 20:24
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Well I found MaxBlast 4 from Maxtor. I can't test it now because I haven't got the computer but this programs seems to be destructive, the guide only tells how to install an empty HDD so this program will install something to break the 8GB barrier but it will create new partitions destructing the original 8 GB partition with an already installed Windows 95 plus all the data that must be preserved. If someone know a program which break the 8GB barrier WITHOUT any data loss please tell me

Regards,
LocoDelAssembly

PS: Yes, the HDD is a Maxtor so this program will work but it apparently will do things that I don't like...
Post 16 Mar 2006, 00:21
View user's profile Send private message Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
what motherboard do you have, what bios?

im sure you have to patch your bios, this is the best solution.
You can simply patch it, don't have to get an updated bios.

if you like utils, there

http://www.google.co.hu/search?q=eide+bios++download+dos&hl=hu&lr=&start=10&sa=N
http://www.deinmeister.de/e_over8mb.htm

you have to limit the boot partitions to the lower 8GB then they will boot.
Post 16 Mar 2006, 05:33
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
The partition with Windows 95 boots already but it can detect that the disk has 20 GB of capacity like the Windows XP booteable CD does.

I will try your links, thanks!!
Post 16 Mar 2006, 15:13
View user's profile Send private message Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
You are welcome,

btw
i had similar problem with my bios, but with 32gb bug, 64gb bug,
i tried to find bios for my board (procomp, biz 1A) but no success, tried 2 official bios es, but none worked well.
As a Last Chance i read out the bios, patched it, then flashed it back.
i flashed it 5 times, and now it is working (tested with 40gb, 80gb, 120gb hdds).
Post 16 Mar 2006, 18:00
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
The computer I'm trying to get work has a TXPro III motherboard (I don't know the brand). Unfortunatelly I can't flash the BIOS so I must provide some Int 13h hook instead. My problem is that I can't never find good docs about ATA programming, I downloaded the docs at www.t13.org but those docs are not oriented to IBM/PC.

I will tell you any progress I can have.

Regards,
HernĂ¡n
Post 16 Mar 2006, 19:43
View user's profile Send private message Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
locodelassembly wrote:
Hi, anyone knows where can I find some MBR driver to allow HDD larger than 8 GB?.


here is a sample with the ide driver for lba48 (2^57bytes ) discs.
you can also download my OS and install its MBR on your hard disk.
i have also the code for lba28.
the docs are here: http://www.t13.org/#Standards
be ready for many days of reading.


Code:

diskread: ;si->lba48 address  di->512 bytes destination bufer
  pusha
  call wait_for_hd
  add dx,2  
  out al,dx
  inc ax
  out al,dx
  mov cx,3
l1: 
  inc dx
 mov al,[si+3]
 out al,dx
 lodsb 
 out al,dx
 loop l1
 add dx,2 
 mov al,24h 
 out dx,al
 call wait_for_hd
 mov cx,256 
 rep insw
 popa 
l2: ret
wait_for_hd:
   or cx,-1
l3: mov dx,1f7h+7  ;first hd port is  1f0h
   in al,dx
   sub dx,7
  and al,81h
   jz l2 
  jns disk_error
  loop l3

disk_error: int 18h

    

this is a translation from octasm sources,it can be some sintax error.
Post 20 Mar 2006, 14:21
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Thanks Octavio, I will check it.

Regards
Post 20 Mar 2006, 14:34
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.