implemented following commands:
Code: Select all
i - this inf screen
d - display memory dump
x - power off or reset
e - edit memory
m - move memory
c - call (code execution at a given address)
r - read from drive
w - write on drive
working in 32-bit protected mode with 4Gb memory limit.
image kernel.bin (core, loader, and shell) - ~5 Kb
possibility of booting from floppy, CD-ROM, hdd - options defined in boot.asm
drive i/o - through ebios int 13/4X with jump to real mode
Sucessfully tested on Cel1700/VIA VT8233A and VMWare Workstation ACE 6.0.2
But on Ath64 3800+/GA-K8NMF-9 nForce4 (not under vm) at executing x, r, w commands system hangs, if anyone knows why - please write.
in attached efer.zip - full source code and boot image for floppy, in \rdw subdir - program for writing on drive or image (also with source)