Search found 1302 matches

by Artcfox
Wed Sep 30, 2015 6:59 am
Forum: Uzebox Emulator
Topic: Record a 60fps movie (with sound) using Uzem
Replies: 37
Views: 37665

Re: Record a 60fps movie (with sound) using Uzem

I now have it so the audio and video are just a tiny bit off from each other 25 minutes into a recording. :) I think I can live with that, so I submitted a pull request. The diff is also below, in case anyone else is curious how I'm accounting for the drift. I left the raw calculations in there, sin...
by Artcfox
Tue Sep 29, 2015 8:00 am
Forum: Uzebox Emulator
Topic: Record a 60fps movie (with sound) using Uzem
Replies: 37
Views: 37665

Re: Record a 60fps movie (with sound) using Uzem

I'm trying to figure out why even with that fix to account for the fractional part of the 15734 Hz sample rate, the audio still gets out of sync with the video for long running videos. It just dawned on me that the video is not exactly 60 FPS, it's 59.94 FPS. For the video: 90000 frames @ 60.00 fps ...
by Artcfox
Tue Sep 29, 2015 4:09 am
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 66237

Re: Uzem ported to SDL2

What if you rename that hex file to all lowercase?

Edit: With the Windows version, I tried one with all lowercase, and all uppercase, and they both work.
by Artcfox
Tue Sep 29, 2015 4:01 am
Forum: Uzebox Emulator
Topic: Missing first scanline on the uzem140 branch
Replies: 10
Views: 18257

Re: Missing first scanline on the uzem140 branch

Okay. I fully expect that you may have to make changes to my patch to make it cycle perfect. I just can't agree that it was cycle perfect when it often drops an entire scanline. ;) Having update_hardware call trigger_interrupt, which may recurse back into update_hardware looks like it would be trick...
by Artcfox
Tue Sep 29, 2015 3:46 am
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 66237

Re: Uzem ported to SDL2

I just realized that my wife has a computer that runs Windows! :lol: So, I tried the build that you posted, and it runs great on Windows 7. 100% full speed emulation, even when I ran it in the "windowed" mode and then maximized the window to cover the entire 1080p display minus the title b...
by Artcfox
Tue Sep 29, 2015 3:34 am
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 66237

Re: Uzem ported to SDL2

I did not test it under Windows, and I find that very surprising! :( The first thing I'd try is removing the SDL_RENDERER_PRESENTVSYNC flag from the call to CreateWindow. With that flag, when you tell the renderer to "present," it will wait for your monitor's vsync to avoid tearing. Which ...
by Artcfox
Tue Sep 29, 2015 3:15 am
Forum: Uzebox Emulator
Topic: Missing first scanline on the uzem140 branch
Replies: 10
Views: 18257

Missing first scanline on the uzem140 branch

When running the uzem140 branch of the emulator, it sometimes misses the first scanline, and the entire frame jumps up a pixel and then jumps back down again. This also causes input captures using Uzem from the master branch to de-synchronize when playing them back on the uzem140 branch and vice-ver...
by Artcfox
Mon Sep 28, 2015 1:08 am
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 66237

Re: Uzem ported to SDL2

Okay, I submitted the pull request.
by Artcfox
Mon Sep 28, 2015 12:39 am
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 66237

Re: Uzem ported to SDL2

Great work Thanks! I had started fiddling with it a while ago, but I always use pushed it for later. Is it possible to send a pull request on github instead of a patch? I'd like to review the changes before and I'm used to the pull process. thanks! Sure, I'll give that a shot. I've never done that ...
by Artcfox
Sun Sep 27, 2015 9:52 pm
Forum: Uzebox Emulator
Topic: Uzem ported to SDL2
Replies: 56
Views: 66237

Re: Uzem ported to SDL2

I just finished porting the Joystick code over to SDL2, so this should be a completely functional port now! :D I updated the patch file and instructions in my earlier post. If anyone on this forum is familiar with using the NDK in Android, SDL2 now has official Android support. It's not entirely unr...