Forum Home
Press F1
 
Thread ID: 53225 2005-01-11 02:27:00 creating different dates in different partitions bsssst (1725) Press F1
Post ID Timestamp Content User
312931 2005-01-13 02:18:00 Billy: the virtual environment might "emulate the hardware BIOS" . The major problem with emulations is that they are not the real thing . There's always a few bits which are too hard (to do, or to understand :groan: ) or are just impossible .

The virtual environment comes up not knowing the time or date . It's just a programme . It would ask its host OS for date and time information . That would be its reference time/date . If its client OSs want different dates and times, that's relatively easy to do . It's just a table, it can look at and update when a client queries its "BIOS" or makes a change in it .

When an OS has its date changed and tells its BIOS so, the VM will change the emulated hardware clock to suit . But when the client OS is shut down, I suspect its VM BIOS system and its emulated clock will "die" too .

It's logical that the VM will clean up its tables and memory usage when a client OS is shutdown . It's likely that time and date offsets (in the emulated hardware clock) for that client will disappear .

So I strongly suspect that the fiddled date will only last the time of that OS session . The client OSs aren't identifiable as having funny dates .

Timezones are a part of the standard OS settings, so they would be honoured (I hope :) ) by the VM when an OS is fired up . Dates would need to be done with a batch script or something (or manually) . . . just the way an OS works when it's not being emulated .

You do want the emulation to behave just the same as the real thing, don't you?

Of course, I could be wrong . :cool:

In an original IBM PC or XT, or an early PDP11 or most other mini- and main-frames, the OSs were written to maintain a software clock/calendar, after they had been told by the operator what the time and date was . If the operator got it wrong, the computer didn't know the difference . In a multi user system someone usually noticed, and told the operator . Sooner or later . That could be minutes or hours . Or weeks . There might not be too many file attributes and records to be corrected .

If time was important you could buy a plugin card with a battery backed clock, and run a programme to set the software clock . (One I worked with didn't have a year register, so I wrote a programme which ran at boot time which changed its programmed in year the first time it ran in January . I also handled leap years in that programme because the card had a link to select leap years . You didn't unplug Q-bus cards unless you had to, even once every four years . :D)

Brain imploded yet?
Graham L (2)
312932 2005-01-13 03:17:00 Brain imploded yet?

Sploof :xmouth:

I guessed as much .

I assume that a batchfile could set the desired year every time the VM was booted though, so that would solve the problem of requiring the year to be 1999 or whatever year might be preferred . Personally I always use a year in which the day of the week and the dates line up with the present day .

Cheers

Billy 8-{)
Billy T (70)
312933 2005-01-13 04:16:00 Time is wonderful stuff. I looked at the lots for tomorrow's auction, and as I was leaving I saw a sundial among the garden stuff outside. I had a sudden suspicion, and turned it to get a sensible time reading. I then looked at the way the sun moves, and decided that the dial runs backwards. :D

A lot of the houses built in New Zealand in the early days faced south. "To get the sun".

It's a nice bronze sundial, but it was meant to live in the northern hemisphere.
Graham L (2)
312934 2005-01-17 06:46:00 Billy,

As Graham sujjested, and we feared the Emulator/VPC Gets its date from the sys clock, or main bios clock on rebooting.

As opposed to holding its altered date.

http://bochs.sourceforge.net/

Could be interesting as not needing the $100-00 US That Micro$cam want for VPC.

I will be testing it later and I/WE will be looking for date controll script assistance.

Yours would be quiet simple as only needing to rest year to pre 1999 with choice of year having same day date configureation.

VPC is 19 mb trial down load and the vpc itsek dosent see to loose any speed over the Host O/S, as some of the older Emulators did.

Point of interest/Import.

The VPC Bios Emulator did NOT Emulate the/my on board raid configuration????

This sujjests there may also be problems with SATA controllers.
bsssst (1725)
312935 2005-02-03 22:09:00 Sorry for bringing this one up again but...

I was reading about the boot.ini file as I wanted to make some mods to a computer I was fixing and I noticed the "/YEAR=" switch which may do what you guys want, see here (www.winguides.com).
Rob99 (151)
312936 2005-02-05 15:00:00 Rob,

It is good to bring this up again, it is not dead .

Billy wishes/needs to do this, I wish to do this at the moment I am experementing with Bochs it does not seem to like my p4 or I cant drive it, one or the other .

I do need help with a script to place in the boot sequence to change date and year at boot, for win xp on fat 32 .

I would like to do it through bochs as opposed to wvm as boch is FREE .

Edit

That link will solve billys problem nicely .

It is very pertinent .

I need also to change the date .

Probably controlled from the same area, I just need to find out or be shown how .

After I solve the bochs issues I shall pay more attention .

At the moment I'M setting up my dvd immiage libary in jabod and looking for a dvd equivelent of the wmp function that creates a cd juke box . so i can create a dvd jukebox
bsssst (1725)
1 2 3