Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Ocawesome101

OS Questions

Question

I have made a second attempt at writing an OS, and it actually boots... but it refuses to recognize /apis/io.lua as existing - when I loadfile it, it just says '/sys/boot.lua:46: Attempt to call a nil value'.

Also, I can't get it to display anything on the screen (I'm using OCEmu by gamax92, so maybe that's my problem).

I have attached the entire filesystem as of now. (And before you ask, yes I know that /apis/graphics.lua is missing.)

Filesystem:

/init.lua

/sys/boot.lua

/apis/io.lua

/apis/gpu.lua (unused)

/apis/filesystem.lua

init.lua boot.lua filesystem.lua io.lua os.lua gpu.lua

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi Ocawesome101
the problem seems to be on line 36 of io.lua
you're missing a "then" at the end of the line

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Zap said:

Hi Ocawesome101
the problem seems to be on line 36 of io.lua
you're missing a "then" at the end of the line

Thank you! I guess I need to do better checking lol. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.