Not much, But I am proud of it. Finally got FAT12 support (working on sub-directories now)
Sub-Directories isn't tough, they're like files, except an extra bit is set to tell you it's a directory, provided you are not going for write support (which blew my sanity off), but it was fun.
And while I'm posting here, not sure if I should post to "When your OS goes crazy?", 'cause it's a problem with my userspace. A "Hello World" program is 1083 bytes.
Also, I fixed a bug with my FAT driver which did not permit 8.3 file names but 7.1.3 files, (A file name can't be 7(+)-bytes, which was a bad experience), I still have to find the cause for not supporting 2-byte or 1-byte extensions.
A Hello World on my OS is
just:
Code: Select all
include '../znu/libasm/applib.s'
;; Include STDAPI Interface
include '../znu/libasm/stdapi/interface.s'
_start:
;; Declare mystr
mystr string "Hello World"
;; Display it.
call mystr.display
;; Damn Integer
myint int32_t 3000
call myint.display
call stdapi_exit
My `cat` command has a problem though, it quits as soon as it finds a null character (0x00). GFX.ZNX probably had a NULL char.
Here's testing out my primitive graphics stuff: (Line Drawing, Blocks, Switching to proper graphics mode)
Yes. I'm not klange, you don't see awesome Window compositors with rollin' windows here and there, with HQ wallpaper, and some cool terminals.