diff options
author | Benji Dial <Benji3.141@gmail.com> | 2020-08-11 11:33:21 -0400 |
---|---|---|
committer | Benji Dial <Benji3.141@gmail.com> | 2020-08-11 11:33:21 -0400 |
commit | 63167f223e1f54910f6b80e698390ee60aec79ee (patch) | |
tree | 41844f646bdcb5c9ba241bb5867c5e4f51737d52 /doc/ints.txt | |
parent | 77d7a284c02bc6b1b3a3a92ad5d957172cee9b81 (diff) | |
download | portland-os-63167f223e1f54910f6b80e698390ee60aec79ee.tar.gz |
lots of progress
currently, BAR fields of IDE drives are all returning zero, and the ATA read function isn't working. i'm not sure why.
i'm going to work on VESA next, and come back to the IDE driver later
Diffstat (limited to 'doc/ints.txt')
-rw-r--r-- | doc/ints.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/ints.txt b/doc/ints.txt new file mode 100644 index 0000000..1da08fd --- /dev/null +++ b/doc/ints.txt @@ -0,0 +1,30 @@ +int 0x30 - exit task +int 0x31 - yield to scheduler +int 0x33 - extend data section by eax bytes + actual amount extended returned in eax + +int 0x32 - system call +system call number in eax +args in ebx, ecx, edx, esi, edi +result in eax + + function | eax | eax out | ebx | ecx | edx | esi | edi +---------------|-----|-----------|---------------|--------|--------|-----|----- + vga_blank | 0x0 | | | | | | + vga_set_color | 0x1 | | color | | | | + vga_printch | 0x2 | | char | | | | + vga_printsz | 0x3 | | sz string | | | | + vga_printsn | 0x4 | | non-sz string | length | | | + | | | | | | | + fs_open | 0x5 | handle | path | | | | + fs_open_root | 0x6 | handle | | | | | + fs_new | 0x7 | handle | path | | | | + fs_close | 0x8 | | handle | | | | + fs_delete | 0x9 | | path | | | | + fs_exists | 0xa | does | path | | | | + fs_seek | 0xb | seeked by | handle | by | | | + fs_tell | 0xc | position | handle | | | | + fs_read | 0xd | read | handle | max | buffer | | + fs_write | 0xe | written | handle | max | buffer | | + | | | | | | | + plef_run | 0xf | handle | image path | | | |
\ No newline at end of file |