Running CC on Linux?
#1
Posted 24 February 2014 - 06:35 AM
I got an old computer by my grandfather. I thought: "Let's install Linux!"
Now I'm asking if it's possible to "emulate" a CC computer on linux... Then I would have a real CC computer
Is that possible?
#2
Posted 24 February 2014 - 06:40 AM
#3
Posted 24 February 2014 - 07:32 AM
Thib0704, on 24 February 2014 - 06:40 AM, said:
For now my first problem is that I can't find a CD to write a debian iso on D: then, the hardest part would be to port some cc libs to modify the screen.
But the good thing about it is: more colors and SMALLER pixels
#4
Posted 24 February 2014 - 07:55 AM
Would you make it compatible with the 720/1080p
or just like a normal CC computer but scaled up?
EDIT: Btw if you have a USB stick, install debian on it, and then boot
Edited by Thib0704, 24 February 2014 - 07:59 AM.
#5
Posted 24 February 2014 - 08:03 AM
I can send you a pic of it if you want
#6
Posted 24 February 2014 - 08:13 AM
#8
Posted 24 February 2014 - 12:25 PM
Adding it to a small linux based OS (ex puppy)
Then building the OS with the emulator to run on startup.
And then VOILA.
#9
Posted 24 February 2014 - 12:28 PM
As for computercraft running bare metal. ELua. Again, just wrapper API's needed.
#10
Posted 24 February 2014 - 12:33 PM
#11
Posted 24 February 2014 - 12:38 PM
6677, on 24 February 2014 - 12:28 PM, said:
As for computercraft running bare metal. ELua. Again, just wrapper API's needed.
Yeah but we want to run it in fullscreen...
#12
Posted 24 February 2014 - 12:40 PM
You're not gonna get any where decent speed if you go with a JVM, LWJGL, Original CC, and a wrapper to bring it all together. Considering the speed of that processor is 66MHz.
I personally have a 66MHz machine from my father, Mesa (which i think would be needed for lwjgl) is slow.
It's definetly possible though. I tried to do this (but lazyness got to me) and one of the ideas was to just setup a 80x25 terminal, center the virtual CC terminal in the center of it.
Reprogram the console VGA fonts to look more like CC.
Change the palette of the text console to have CC colors.
Btw, slight important to what your options are, which linux distro did you put on that machine?
Offtopic:
Edited by gamax92, 24 February 2014 - 01:08 PM.
#13
Posted 24 February 2014 - 02:11 PM
Thib0704, on 24 February 2014 - 12:38 PM, said:
6677, on 24 February 2014 - 12:28 PM, said:
As for computercraft running bare metal. ELua. Again, just wrapper API's needed.
Yeah but we want to run it in fullscreen...
gamax92, on 24 February 2014 - 12:40 PM, said:
You're not gonna get any where decent speed if you go with a JVM, LWJGL, Original CC, and a wrapper to bring it all together. Considering the speed of that processor is 66MHz.
I personally have a 66MHz machine from my father, Mesa (which i think would be needed for lwjgl) is slow.
It's definetly possible though. I tried to do this (but lazyness got to me) and one of the ideas was to just setup a 80x25 terminal, center the virtual CC terminal in the center of it.
Reprogram the console VGA fonts to look more like CC.
Change the palette of the text console to have CC colors.
Btw, slight important to what your options are, which linux distro did you put on that machine?
Offtopic:
But it possibly wouldnt be 100% compatible with computercraft.
#14
Posted 25 February 2014 - 09:07 AM
gamax92, on 24 February 2014 - 12:40 PM, said:
You're not gonna get any where decent speed if you go with a JVM, LWJGL, Original CC, and a wrapper to bring it all together. Considering the speed of that processor is 66MHz.
I personally have a 66MHz machine from my father, Mesa (which i think would be needed for lwjgl) is slow.
It's definetly possible though. I tried to do this (but lazyness got to me) and one of the ideas was to just setup a 80x25 terminal, center the virtual CC terminal in the center of it.
Reprogram the console VGA fonts to look more like CC.
Change the palette of the text console to have CC colors.
Btw, slight important to what your options are, which linux distro did you put on that machine?
Offtopic:
#15
Posted 25 February 2014 - 09:10 AM
Edited by gamax92, 25 February 2014 - 09:14 AM.
#16
Posted 25 February 2014 - 10:44 AM
gamax92, on 25 February 2014 - 09:10 AM, said:
BTW, first I will test in a VM before I "kill" my real computer
EDIT:
BTW, is there a way to draw stuff with the standard lua5.1 program you can find in linux?
2nd EDIT:
Just found out that debian is a bastard... can't get lua running there... Now switching to puppy
3rd EDIT:
Tested Puppy, I don't like it either... Anyone knows a good lightweight linux distro?
Edited by Freack100, 25 February 2014 - 11:39 AM.
#17
Posted 25 February 2014 - 11:55 AM
Ideally, you'd want to reprogram one of the colors to be different. could change bright-blue to be pink, then just use bright-blue in its place.
There's also the Graphical Buffer idea, you could use one of the Lua Graphical libraries and this would allow you to specify the exact colors you want and even have a good font. This would be slower than just using a text console, but not sure how much slower.
#18
Posted 25 February 2014 - 12:12 PM
gamax92, on 25 February 2014 - 11:55 AM, said:
Ideally, you'd want to reprogram one of the colors to be different. could change bright-blue to be pink, then just use bright-blue in its place.
There's also the Graphical Buffer idea, you could use one of the Lua Graphical libraries and this would allow you to specify the exact colors you want and even have a good font. This would be slower than just using a text console, but not sure how much slower.
But how do I run lua on my machine? I "downloaded" lua5.1 and watched some "tutorials" where they said that I just have to download lua5.1 and do "lua <filepath>" to run the file as lua script. I'm feeling mad right now D:
#19
Posted 25 February 2014 - 12:15 PM
#20
Posted 25 February 2014 - 12:40 PM
Again, Freack100, do you actually have linux on that machine? From the previous posts it seems like you don't. I'm sorry if I'm treating you like you're an idiot, but you do need an OS to run lua (Except ELua, but lets not get into that)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users