flat assembler
Message board for the users of flat assembler.
Index
> DOS > A gift: Some Protect Mode Demo Programs for Dos |
Author |
|
pelaillo 25 Aug 2003, 06:48
Thanks Kevin_Zheng, I'll give a look.
|
|||
25 Aug 2003, 06:48 |
|
Kevin_Zheng 09 Sep 2003, 09:23
Dear All:
The attached files are some demo program on the Protect Mode. I have added some new demo program and maybe help you for studing Protect Mode. The files list is belowing: Code: ;FileName :T10-3.ASM ;Function :None Privilege Switching in the TASK on Protect Mode ;FileName :T10-4.ASM ;Function :Demo call gates facilitate controlled transfers of program ; :control between different privilege levels. ;FileName :T10-5.ASM ;Function :Demo Task Switching and different Privilege Level Swiching ; :in the Task. ;FileName :T10-6.ASM ;Function :Demo Interrupt & Trap Handles on Protect Mode ;FileName :T10-7.ASM ;Function :Simulation Interrupt & Trap Handles on Protect Mode Last edited by Kevin_Zheng on 15 Sep 2003, 10:40; edited 1 time in total |
|||
09 Sep 2003, 09:23 |
|
Kevin_Zheng 15 Sep 2003, 09:49
Dear All:
I have added two progarams on the package. It is belowing: :FileName :T10-8.ASM :Function :Demo Privileged Instructions :FileName :T10-9.ASM :Function :Demo I/O Protection and I/O Sensitivity Instructions In the future, I will adding some demo programs for page protection, V86 and PAE&PSE36 mode. I think that it maybe helpping you. And others, I hope that fasm supported belowing function: Code: ;The Trap Gates from 0 to 0CH repeat 12-0+1 DW ErrBegin DW ErrCode_Sel DB 0 DB AT386TGAT DW 0 end repeat ;The Trap Gate 0DH (#GP--General Protection Fault) Int0D Gate 0,GPTSS_Sel,0,ATTASKGAT,0 Because struct define doesn't support anonymous define, so I must use DB syntax on the repeat instruction. I understand why doesn't support it, because the struct define used the macro syntax, so the complier will not juge the anonymous struct and macro. So I recommend using "<>" on the struct define. It will solution the above question. It's used on masm/TASM for same as purpose. Last edited by Kevin_Zheng on 28 Sep 2003, 15:03; edited 1 time in total |
|||
15 Sep 2003, 09:49 |
|
Tommy 16 Sep 2003, 18:10
This is great! Thanks a lot!!!
Keep up the good work! |
|||
16 Sep 2003, 18:10 |
|
Kevin_Zheng 28 Sep 2003, 15:02
Dear All:
I have added one progaram on the package. It is belowing: :FileName :T10-10.ASM :Function :Demo 4K Bytes Pages Manager on Protect Mode In the future, I will adding some demo programs for 4M&2M page protection, V86 and PAE&PSE36 mode. I think that it maybe helpping you. Last edited by Kevin_Zheng on 16 Oct 2003, 15:20; edited 1 time in total |
|||
28 Sep 2003, 15:02 |
|
Kevin_Zheng 16 Oct 2003, 15:18
Dear All:
Sorry, I found a bug on the t10-11.asm and I have fixed it. The newest t10-11.exe extended stronly robust on V86 mode. I have test almost of DOS program erunning OK on V86 mode. Please used the newest package. I have added one progaram on the package. It is belowing: Code: FileName :T10-11.ASM Function :Demo Interrupt and Exception Handling in Virtual-8086 Mode Notice : On the first the T10-11.exe must execute on the pure DOS eviroment.The maching state will changing V86 Mode, then executing [color=red]intff.com[/color] for return real mode. In the future, I will adding some demo programs for 4M&2M page protection, VME and PAE&PSE36 mode. I think that it maybe helpping you. Last edited by Kevin_Zheng on 19 Oct 2003, 16:11; edited 1 time in total |
|||
16 Oct 2003, 15:18 |
|
Kevin_Zheng 19 Oct 2003, 16:10
Dear All:
I have added one progaram on the package. It is belowing: Code: FileName :T10-12.ASM Function :Demo Interrupt and Exception Handling in VME V86 Mode Notice : On the first the T10-12.exe must execute on the pure DOS eviroment.The maching state will changing V86 Mode, then executing intff.com for return real mode. In the future, I will adding some demo programs for 4M&2M page protection and PAE&PSE36 mode. I think that it maybe helpping you. Last edited by Kevin_Zheng on 23 Oct 2003, 10:39; edited 1 time in total |
|||
19 Oct 2003, 16:10 |
|
Kevin_Zheng 23 Oct 2003, 10:36
Dear All:
The newest package supported more compatibilty for old PC about protect mode. Please using it.
|
|||||||||||
23 Oct 2003, 10:36 |
|
Vortex 25 Oct 2003, 09:04
Thanks Kevin_Zheng for the examples.
_________________ Code it... That's all... |
|||
25 Oct 2003, 09:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.