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

Need help with an OS

Question

Okay, so here's my problem.

I am trying to make my own custom OS for OpenComputers. However, I am having issues with the GPU displaying on-screen.

I have code that should, as far as I can tell, do what I need it to, but doesn't.

How to reproduce:

Download the attached .lua files, and put them on a floppy disk. Place init.lua in the root directory (of the floppy), and boot.lua in sys/boot/ (so the files on the floppy should be /init.lua and /sys/boot/boot.lua). Boot from the floppy, and you will see what I mean.

If anyone can help me, or knows what I can change or look at, your help would be greatly appreciated :)

Before you ask, I have already looked at the Wiki entries on Component, GPU, Screen, Writing Custom OSes, and that one forum post about 'Custom OSes under OpenComputers' Lua architecture'.

 

I am probably a moderate to intermediate Lua programmer by now, and this code is the result of around an hour of work.

 

Thanks in advance!

boot.lua

init.lua

Link to post
Share on other sites

4 answers to this question

Recommended Posts

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.