Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2020, 07:21
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
If you wish to teach BIOS interrupts you still dont need sice. Yes modern Windows hides these though they are still there. Just write assembler, compile it and copy the machine code to sector 0 of a USB disk and MBR boot it though you have to load more sectors if you want more than 256 bytes. Can write this into the asm just look how any MBR asm works. Then you could load sector 1 and start running any asm.
Now you taught BIOS interrupts, master boot area, boot load process, real mode assembler, etc.

Of course you can also do it in a ISO booted VM even better.

Debugging requires an in circuit emulator in this context so instead just use lots of int21h calls to write messages.

The asm construction and writing raw sectors to the USB or ISO and the fake MBR are all real work but I'd love to see this idea on github just for fun and learning.
Reply With Quote
The Following User Says Thank You to chants For This Useful Post:
BlackWhite (06-09-2020)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 17:53.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )