New OS Dev Enviroment

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Cjmovie

New OS Dev Enviroment

Post 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?
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:New OS Dev Enviroment

Post 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
-- Stu --
Cjmovie

Re:New OS Dev Enviroment

Post by Cjmovie »

Cool :). Try it out Tmmrw.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:New OS Dev Enviroment

Post 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. ;-)
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
Cjmovie

Re:New OS Dev Enviroment

Post by Cjmovie »

Actually, I had made backups. The problem is that I had hadn't backed up the backups :D. I accidentally trashed the CD's.....



Now a MUCH more serious problem -- Partcopy doesn't work in x64! What to do?
Ushma

Re:New OS Dev Enviroment

Post 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.
0Scoder
Member
Member
Posts: 53
Joined: Sat Nov 11, 2006 8:02 am

Re:New OS Dev Enviroment

Post 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...)
AR

Re:New OS Dev Enviroment

Post 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.
Cjmovie

Re:New OS Dev Enviroment

Post 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?
Ushma

Re:New OS Dev Enviroment

Post 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.
Cjmovie

Re:New OS Dev Enviroment

Post 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.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:New OS Dev Enviroment

Post 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.
Every good solution is obvious once you've found it.
Cjmovie

Re:New OS Dev Enviroment

Post 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.
Post Reply