hikalium / liumos

A toy operating system which supports NVDIMM natively.
MIT License
270 stars 24 forks source link

Add a browser app. #37

Closed d0iasm closed 3 years ago

d0iasm commented 4 years ago

This toy browser app converts HTML to markdown. The following tags are supported (html/body/h1-h6/ul/li).

$ ./browser.bin <h1>hoge</h1>
# hoge
d0iasm commented 4 years ago

The OS doesn't support command-line arguments yet, so the app doesn't work now.

Screen Shot 2020-09-06 at 16 15 57
hikalium commented 4 years ago

Thanks for the update! I updated loader to pass the args, but x86_64 psABI requires to pass the args via stack but the calling convention uses register to pass the args, so we need some entry script for getting args properly. I made a sample program for that so please use the entry.S in your program and then your program can read the args! (I'll let you know more detailed info offline this weekend.)

d0iasm commented 3 years ago

The browser app is already under app/ directory, so this PR is not valid anymore.