Page 1 of 1
New OS Dev Enviroment
Posted: Thu Sep 08, 2005 5:44 pm
by Cjmovie
Well, it seems windows hates 32-bit DJGPP
. That is, Windows x64.
So what to do? FYI, I lost my WHOLE OS by accident when I formatted the wrong HD with NTFS. Oh well. Has happened at least ten times already.......
So? Has anyone an idea? Does MySys play well with windows x64 pro? I've used it to compile Torque before, but that's it.
Do they have 64-bit binaries avaliable?
Re:New OS Dev Enviroment
Posted: Thu Sep 08, 2005 7:10 pm
by df
did you try cygwin? djgpp uses nt's old dpmi which i dont think is present anymore in win64...
cygwin should work just fine tho. and msys too i would think
Re:New OS Dev Enviroment
Posted: Thu Sep 08, 2005 8:19 pm
by Cjmovie
Cool
. Try it out Tmmrw.
Re:New OS Dev Enviroment
Posted: Thu Sep 08, 2005 11:14 pm
by distantvoices
and do yourself a treat and make backups of your work, so in case of accident or hardware malfunction you don't lose every bit of your work.
Re:New OS Dev Enviroment
Posted: Fri Sep 09, 2005 9:17 pm
by Cjmovie
Actually, I had made backups. The problem is that I had hadn't backed up the backups
. I accidentally trashed the CD's.....
Now a MUCH more serious problem -- Partcopy doesn't work in x64! What to do?
Re:New OS Dev Enviroment
Posted: Fri Sep 09, 2005 9:22 pm
by Ushma
Cjmovie wrote:
Now a MUCH more serious problem -- Partcopy doesn't work in x64! What to do?
Get a windows port of dd.
Re:New OS Dev Enviroment
Posted: Sat Sep 10, 2005 8:47 am
by 0Scoder
You might try the dos 'debug' program. Just type that at the command prompt and see waht happens. I think there are manuals somewhere for using this to copy stuff to a floppy disk (if that's what you want that is...)
Re:New OS Dev Enviroment
Posted: Sat Sep 10, 2005 9:08 am
by AR
OScoder wrote:
You might try the dos 'debug' program. Just type that at the command prompt and see waht happens. I think there are manuals somewhere for using this to copy stuff to a floppy disk (if that's what you want that is...)
Debug is a DOS App, not supported in WinXP x64 either.
Re:New OS Dev Enviroment
Posted: Sat Sep 10, 2005 3:07 pm
by Cjmovie
Nope, DD is a 16-bit (It seems) application. Anyone a link to a 32-bit version (possibly 64-bit?).
Or maybe just a tutorial on some std c functions to make a simple tool myself?
Re:New OS Dev Enviroment
Posted: Sat Sep 10, 2005 4:13 pm
by Ushma
Cjmovie wrote:
Nope, DD is a 16-bit (It seems) application. Anyone a link to a 32-bit version (possibly 64-bit?).
Or maybe just a tutorial on some std c functions to make a simple tool myself?
http://unxutils.sourceforge.net/ is supposed to have a 32-bit dd.
Re:New OS Dev Enviroment
Posted: Sat Sep 10, 2005 5:27 pm
by Cjmovie
Cool...Although just as I was reading this I was downloading a 32-bit rawwrite program....
I'll check that out though, as this one can only write flat floppy images, not skip sectors and write one etc.
Also, I ended up writing my own hex viewer for the command line, couldn't find one simple enough. I also added a "--cmp" option to compare one file to another, helped me fix my FAT12 BPB in my bootloader...had a byte instead of a word for NumHiddenSectors. Then it worked fine.
Re:New OS Dev Enviroment
Posted: Mon Sep 12, 2005 3:21 am
by Solar
Cjmovie wrote:
Or maybe just a tutorial on some std c functions to make a simple tool myself?
Standard C offers no functions that circumvent the file system.
Re:New OS Dev Enviroment
Posted: Mon Sep 12, 2005 7:39 pm
by Cjmovie
That sucks
.
Oh well, Std c helps out in almost everything else, plus letting us mess at the sector level could let us do damage.