View Single Post
  #10  
Old 06-09-2020, 07:21
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 737
Rept. Given: 37
Rept. Rcvd 48 Times in 30 Posts
Thanks Given: 671
Thanks Rcvd at 1,064 Times in 482 Posts
chants Reputation: 48
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)