This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
FuuuAInfiniteLoop(F.A.I.L)'s profile picture

Making a (real) OS that runs with Lua!

Started by FuuuAInfiniteLoop(F.A.I.L), 18 June 2013 - 06:36 PM
FuuuAInfiniteLoop(F.A.I.L) #1
Posted 18 June 2013 - 08:36 PM
Progress: Waiting for dan200 permission on some computercraft apis, dealing with compiling error, thinking a name

Hi! Im making a os for rel computers with lua, c, c++ and asm.

It will have the computercraft APIs(maybe) and it is Open-Source

Github link: https://github.com/urielsalis/OS/

Errors(for now):


bootmain.cpp
lua.h(165) : error C2061: syntax error : identifier 'va_list'
.\\bits/c++config.h(149) : error C2501: 'namespace' : missing decl-specifiers
.\\bits/c++config.h(149) : error C2239: unexpected token 'identifier' following declaration of 'namespace'
.\\bits/c++config.h(149) : error C2061: syntax error : identifier 'std'
.\\bits/c++config.h(587) : fatal error C1017: invalid integer constant expression
How to compile:
Spoilerexecute build.bat
use a hex editor(i use HxD) to edit the .com file created
put "00" until you reach 1FE
write "55 AA"
save
now you have a 512 Bytes file, if not check what you done wrong
use a iso creator and use that .com file as bootloader
optional(?): Put all the files in the bootloader folder in the iso
Test it! and you are done
Engineer #2
Posted 19 June 2013 - 02:14 AM
Why the (..) did you PM dan200 to ask permission for an API? Of course he gives you permission, without his API's CC wouldnt make sense!

Oh, and good luck on the C C++ interpreter, it is hard and painfull to make. Also, it is quite undo-able since not everything can be done with Lua what C++ can.

EDIT: you want to make a 'real' OS that actually runs on my desktop? Goodluck with that…
Mackan90096 #3
Posted 19 June 2013 - 02:31 AM
You are better lff making some kind of linux distro or modifing some open-source os like MikeOS
FuuuAInfiniteLoop(F.A.I.L) #4
Posted 19 June 2013 - 09:33 AM
Why the (..) did you PM dan200 to ask permission for an API? Of course he gives you permission, without his API's CC wouldnt make sense!

Oh, and good luck on the C C++ interpreter, it is hard and painfull to make. Also, it is quite undo-able since not everything can be done with Lua what C++ can.

EDIT: you want to make a 'real' OS that actually runs on my desktop? Goodluck with that…
If I
You are better lff making some kind of linux distro or modifing some open-source os like MikeOS
(or somebody) solve the error, i will publish it, cause the main part work
Engineer #5
Posted 19 June 2013 - 12:13 PM
If I

Well that doesnt make any sense
diegodan1893 #6
Posted 19 June 2013 - 04:29 PM

Read the text below Mackan's quote.

Is this going to be CraftOS for real computers?
Engineer #7
Posted 19 June 2013 - 04:42 PM
Well thats odd for making sentences…
FuuuAInfiniteLoop(F.A.I.L) #8
Posted 19 June 2013 - 08:13 PM
Well thats odd for making sentences…
I talk spanish not english
Mackan90096 #9
Posted 20 June 2013 - 04:03 AM
If you talk spanish..

¿Cómo estan?
Engineer #10
Posted 20 June 2013 - 04:07 AM
Well thats odd for making sentences…
I talk spanish not english
Dutch is my native language… So that is bot really an excuse to me. Whatever
FuuuAInfiniteLoop(F.A.I.L) #11
Posted 20 June 2013 - 10:05 AM
If you talk spanish..

¿Cómo estan?
Acabas de preguntar como estan lo que que seria para muchas personas…

You have asked "how are you? but in prural
jesusthekiller #12
Posted 22 June 2013 - 03:29 PM
Can't wait for it :P/>
Mackan90096 #13
Posted 23 June 2013 - 03:00 AM
If you talk spanish..

¿Cómo estan?
Acabas de preguntar como estan lo que que seria para muchas personas…

You have asked "how are you? but in prural

Oh. I'm learning Spanish in school. So I only speak a little bit of Spanish. Or in Spanish;

Me hablo un poco Español.
H4X0RZ #14
Posted 23 June 2013 - 04:13 AM
^
You are a lucky person. You are learning Spanish in school.

< Not realy lucky person.
Because I'm learning Latin in school!
"Hercules ambulatus est"
diegodan1893 #15
Posted 23 June 2013 - 10:33 AM
Me hablo un poco Español.

Almost. It's "Yo hablo un poco español" (or "Hablo un poco español" since in Spanish you don't need to say the subject). "Me" means "me" in the phrase "they said that to me", not "I". Also, in Spanish languages ​​are not written with the first letter capitalized.
H4X0RZ #16
Posted 23 June 2013 - 01:07 PM
If I start the build.bat I don't get a .com file… What's wrong?
Exerro #17
Posted 23 June 2013 - 02:00 PM
FuuuAInfiniteLoop has been banned from the forums temporarily and has asked me to say the following via skype:

It can't be compiled because the kernel has errors and it doesn't create an obj file so the .com file isn't created, the errors are in the OP
jesusthekiller #18
Posted 23 June 2013 - 03:08 PM
Hip hip hurray, he got banned :D/>