This is really nice! I would have never thought Gmod Lua would go this far!
This is really nice! I would have never thought Gmod Lua would go this far!
wow, props to garry for exposing so many commands and implementing lua so well that someone like technicolour can actually implement an emulator in source
Worked several ours straight trying to weed out bugs of the CPU Core, got a few but it's soul destroying work. A few more Demos and commercial games are showing life, the most significant is that CPU Instruction test Roms are running to completion, allowing me to use these to test further.
Tomorrow I'm hoping to weed out the last of the CPU Core bugs and implement the final LCD interrupts. Once these are done there shouldn't be anything stopping me from adding full GPU support, cart support and input support and we will finally see games being played.
Is this capable of loading existing games? Or do they have to be converted or remade?
This is cool.
Other than having to rename the extension to .txt it plays existing games without issue. (Or at least, will once comparability is up)
So this is done with basic Lua?
Well I wouldn't call it it basic Lua, but yeah, yeah it is.![]()
Fucking reddit.
Holy shit, again with the 1000+ guests
Must I say again how the guest pile doesn't stop from getting higher?
https://twitter.com/#!/mikkohypponen...59112231661569
Mikko from F-Secure has taken an interest
Here's the source of the guests: http://www.reddit.com/r/technology/c...rrys_mod_made/
Haha, whoa! This is great.
Holy shit. Nine times LMAO thread's user count...
hi mom
This is amazing. I can imagine running gameboy camera and scaring the living shit out of people.
Damn it.
how about putting this on a git or svn repo so we can follow your changes
At the current state that would probably cause more headaches, there's literally no proper games working.
Jesus, soon we will play gmod inside of gmod!
Wow this looks amazing.
Sweet![]()
This is too amazing.
Nvm.
This is very impressive. Great work!
I seriously think this got the same amount of views in two days that big official epic release threads get in months :o
I can't explain how epic this probably will be, though.
My word, that is impressive.
You beat the fucking oblivion thread on referral count.
Lets hope this comes out with either a svn link an alpha release or beta release before Christmas
this is going to be good
the CPU core is now almost fully debugged. I managed to find a bug which had been causing the Test Roms to not run at all and fixing this allowed me to run the test roms correctly, since then I've now fixed almost all bugs (A couple of minor ones remain but I'm confident I can fix them). I'm expecting to get Tetris in-game by the end of the day.
It took me 3 f'n days of going through the CPU step by step to find what was causing that bug.
And I've rewritten most of the entity, so it's much neater now. Still have to do the key syncing, though, so that other people can see what you see.
Oh and it's going to be limited to one emulator at a time per server, since A) we only have one RT - can't be arsed to make more, and B) emulating is pretty damn demanding, so having more would rape your FPS.
We are going to attempt having multiple emulators, but only one rendering at a time, to see if that's viable, before I limit it to one per server, though.
Scrap that last question. Are you reading directly from binary (hex w/e)? If so how do you get it into usable info in lua. I can't seem to even pull a single bit of info from a file of this type, just random characters.
This post makes me sad
Ok, figured it out. Thank you Lua wiki.
local f = assert(file.Read("gold.txt")) --local data = f:read("*all") for i = 0, math.Round(string.len(f)/16) do local data = string.sub(f, i*16 + 1, (i+1)*16) for b in string.gmatch(data, ".") do Msg(string.format("%02X ", string.byte(b)).. " ") end Msg(" "..string.gsub(data, "%c", ".").."\n") end
Edited:
Wow these are slow operations. Then again I am trying to read a 2,000,000 byte file.
EDIT: Added better function which prints a better display of the hex.
for N = 0, 0x7FFF do
self.ROM[N] = string.byte(string.sub(self.ROMstring,N+1,N+1))
end
That reads the bytes from a string and stores them in an array.
found a flash gameboy emulator
http://sandbox.photonstorm.com/gameboy/index.html
nah don't be sad. You're making a more high-def version then they are implementing. I think they're porting Red and Blue. Your work looks more 3D, plus you have the option to change some annoying shit in the game that nintendo added (whatever may that be).
Actually, we're only at gameboy now, not gameboy color. That'll be a while yet.
EDIT: Nevermind, apparently those work on the regular gameboy too (yay)
Our aims are to get all the classics working up, First Tetris then Zelda and the Pokemon games.