D
Deleted-236924
Guest
Would it not be possible to have the emulator "render" the unscaled image, but without actually displaying it?
Like have it loaded in memory somewhere?
Like have it loaded in memory somewhere?
Not really, not with this graphics engine. GameYob doesn't even render the graphics itself, it just turns gameboy sprites into ds sprites, gameboy tiles into ds tiles, etc. Then I rely on the graphics hardware to do the rest. I think that's why I have an edge on speed. So this is the only way I know of to scale the image - grab a snapshot after the ds has rendered it, then scale that snapshot to display on the other screen. Luckily I've just found out that the other screen can be disabled entirely, while still being used for this effect.Would it not be possible to have the emulator "render" the unscaled image, but without actually displaying it?
Like have it loaded in memory somewhere?
I never noticed... thanks for catching that one.thanks, can i just add... when switching games to one that doesn't have a codelist, it uses the previous one.
Just tried the newest master branch build from the OP link, and found that argv doesnt seem to be working. no crash, just a full white top screen.
Reverted to an earlier version, and the direct booting works.
It creates an input lag of exactly one frame more than it was. I haven't even noticed it.That's a unusual way of doing the screen scale... hope it works well
Wouldn't it create some input lag? ..and depending on how render intensive the game is, wouldn't it be more noticeable?
By the way, the speed you do improvements is crazy ...congrats by the amazing job you have done!
Well that's what happens when I change something I can't test... I neglected to call the gameboy init routine when arg loading. Should be working now.Just tried the newest master branch build from the OP link, and found that argv doesnt seem to be working. no crash, just a full white top screen.
Reverted to an earlier version, and the direct booting works.
where did you download the gbc bios bin?the latest revision of the emulator acts like gbc_bios.bin doesn't even exsit. :/
where did you download the gbc bios bin?
[...] A large amount of copying needs to be done, which I was able to offload to arm7, since vram banks C and D are accessible from there.
The reason the copying is necessary is because the sub engine can only use one of the 128k vram banks, bank C. I can't switch it out... the bank which is taking the snapshot needs to be allocated to the LCD memory area. The best I could do, without copying, was to have it displaying at 30 fps, with every other frame being black. No good. So the snapshot is captured to bank D, and every vblank, the contents of D are copied to C. I don't need to copy all of it, just 256x144x2 bytes (or possibly 160x144x2 noncontinuous bytes), but that's still a lot.Copying? Then you might be doing something wrong. Actually the captured image can be stored in vram and you can directly show the VRAM contents in "framebuffer" mode. I've never did that capture-show thing myself, so there is surely some reading I still have to do, but I've seen games rendering 3D/2D to both screens at the same time (at 30fps), using the main engine and the capture unit (at 60fps) thus generating one image per screen each frame...
edit: oh, wait, you want to scale the captured image... mmm :\ ... so maybe you can use the 2D sub engine turning the framebuffer vram bank into a bitmap BG... no copying needed anyway (you have to switch two vram banks each frame, though...)
You'll need some kind of rumble hardware of course - an ez-flash 3in1, a rumble pak, or Warioware Twisted will work.how do i use Rumble Pak with GameYob?
Do i must to use a vibrate card?
My plans are to make a config file which can set per-game custom borders, and to make super gameboy borders dumpable to take advantage of this flexibility.I don't know if this is workable but I thought it be cool if you could use any SGB border with any game. I was thinking if the borders could be extracted and you could brows the boarder you want this would be one way to tackle this.
Is it only gbc files has SGB border? Has gb files?I don't know if this is workable but I thought it be cool if you could use any SGB border with any game. I was thinking if the borders could be extracted and you could brows the boarder you want this would be one way to tackle this.
Both can have them, here's a list of GB and GBC games that use SGB enhancements.Is it only gbc files has SGB border? Has gb files?