flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
louislu 21 Aug 2009, 02:22
When you S3 resume, BIOS will far jmp OS wackup vector of FACS table in ACPI spec. I think you can't inform DOS like that!
|
|||
![]() |
|
louislu 21 Aug 2009, 02:25
the main issue is how to let DOS can wait or jmp to next step when you resume from S3. Maybe you could do DOS TSR to do that!
|
|||
![]() |
|
fonolite 01 Jun 2010, 02:51
to louislu,
Another question about this. I wrote physical address of Exit_PGM into waking vector of FACS. (Big Real Mode) (Initial value of waking vector of FACS = 00000000h) But, the screen is blank, too and no wakeup. I also wrote any garbage value into waking vector of FACS, and nothing happens, either. Q1) When the system enters s3 sleep mode, in where cpu registers like cr0 is saved? Q2) What bios code will do for restoring procedure from sleeping states? Q3) What should I prepare for this wakeup? Too many questions about ACPI? ![]() |
|||
![]() |
|
louislu 05 Jul 2010, 05:31
1. All of CPU registers will be save and restore
2. bios will do devices (chipset, I/O, CPU MTRR, devices) register restoring. 3. bios may not recall VGA ROM again, because VGA driver will do that. maybe the bios setup has a S3 VGA ROM item can select. I am bios engineer, I can do DOS STR, but I modify bios better that modify DOS STR application. |
|||
![]() |
|
Tyler 05 Jul 2010, 05:43
louislu wrote:
Really?! Dude, that's cool. |
|||
![]() |
|
louislu 05 Jul 2010, 05:46
OK explain about BIOS how to jump to this vector
Example waking vector of FACS = 0000f3345h bios will jump to f334h:0005h address. so you need to know your "Enable S3 mode" address and transfer it. be careful the key point about the address must add 8. and you code has to add a lot of NOP behind "Enable S3 mode". don't use loop, just nop... |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.