Saturday, July 31, 2004
VMX is aliiiiiiive
My assembler and vmx are slowlying being tested.
This will be the basis of my operating system.
Not bad considering all my base code is in England. This new assembler + vm was written over a period of 4 days. Guess this supplants what I have in england. Also got pages and pages of notes in freehand to transcribe onto the computer.
Compiles test.vsm
sgeorge@wolfpack ~/source/vmx$ vmxasm/vmxasm test.vsm test.vmx
VMXASM Jul 31 2004 20:20:12
Pass 1, building code and label offsets
mov r00,0x00000000 0A 00 00 00 00 00 00 00
call 0x00000000 08 00 00 00 00 00 00 00
xor r00,r00 10 00 00 00
xor r01,r01 10 00 01 01
system 0D 00 00 00
push r01 05 00 01 00
push r02 05 00 02 00
mov r02,r00 09 00 02 00
xor r00,r00 10 00 00 00
mov r01, 1 0A 00 01 00 00 00 00 01
system 0D 00 00 00
pop r02 06 00 02 00
pop r01 06 00 01 00
pop r15 06 00 0F 00
db 4C,6F,6F,6B,69,6E,67,20,61,74,20,79,6F,75,20
66,72,6F,6D,20,74,68,65,20,56,4D,58,21,0D,00
Pass 2 :: Building correct label offsets
Linking [MyString] at 0x00000044 to 0x00000004
Linking [PrintString] at 0x0000001C to 0x0000000C
done!
Create Image
Relocation 0x00000004
Now runs test.vmx in the VM
sgeorge@wolfpack ~/source/vmx$ vmx/vmx test.vmx
main.c Startup : main.c Jul 31 2004 20:17:28
cpu.c VMInitialising.
mem.c Freeing All VM memory pages
mem.c Initialising memory pages
mem.c Allocating 16 x 16kb pages
mem.c Allocated 16 x 16kb pages
cpu.c Setting Dummy system handler
cpu.c Setting VM System Call pointer 0x004010F0
cpu.c Issuing VMReset
cpu.c Setting VM System Call pointer 0x004020B0
main.c Loading File test.vmx at 0x00000000
main.c VMX executable v1.1
main.c Loading 00000062 at 0x00000000
main.c Doing relocations
main.c Relocating 0x00000004
Looking at you from the VMX!
sys.quit
cpu.c VMShutdown
mem.c Freeing All VM memory pages
main.c Shutdown
Filed Under : Development •
Comments are closed Commented on by (4) people. Read those Comments Here
Linked To by (0) blogs. Get a Trackbacks link here