zeromus
0372969f13
change lua to use lua coroutines for multiple scripts instead of .net threads
2012-03-23 18:24:29 +00:00
adelikat
2e5ec4fdcb
Fix bugs in input config regarding atari controllers, fix auto-fire controllers for atari (both controllers)
2012-03-23 02:15:58 +00:00
adelikat
715d46ed1d
Hook up atari controller 2 to input config dialog.
2012-03-23 00:39:21 +00:00
adelikat
684252a816
Fix mainform context menu logic from the screenshot to clipboard addition
2012-03-23 00:06:20 +00:00
zeromus
fa25305d67
atari-add player 2 controls?
2012-03-22 06:33:28 +00:00
rolanmen1
dcaf724dae
Fixed A Bug When Saving A Session That Prevented Them To Be Loaded Correctly.
2012-03-21 12:51:52 +00:00
zeromus
d8c0e3b27e
make GetExeDirectoryAbsolute more robust (handle # in paths)
2012-03-21 06:38:19 +00:00
adelikat
365f60988e
Hook up Atari to the controller config dialog (interim only)
2012-03-21 02:44:01 +00:00
andres.delikat
bb7e320f92
Lua Console - when opening a duplicate lua script, don't turn script on if the disable lua script on load option is checked
2012-03-20 21:44:34 +00:00
rolanmen1
652fea7392
If User Opens A Script That Is Currently On The Session, It Will Toggle It On.
...
If User Deletes The Script From The Session, It Will Stop.
Script Counter Now Updates On More Circumstances.
2012-03-20 15:31:06 +00:00
brandman211
22feb43b78
joypad_set works.
2012-03-19 19:10:30 +00:00
andres.delikat
da634a45f1
Lua Console - autoload session
2012-03-19 16:49:47 +00:00
andres.delikat
33383b533b
Lua Console - option to disable scripts on load
2012-03-19 16:19:31 +00:00
andres.delikat
adda412369
Lua Console - track changes on Move Up / Down
2012-03-19 15:33:38 +00:00
andres.delikat
40b057a474
Lua Console - drag & drop .txt files
2012-03-19 15:26:05 +00:00
andres.delikat
9f6420b2bc
Lua Console - Open Script - add a *.txt option in the openfile dialog
2012-03-19 15:23:08 +00:00
brandman211
78d8effcfc
Made joypad_get independent of mnemonics. Here's the Lua script I used to test:
...
while true do
joypad.set("Up", true)
local buttons = joypad.get()
local result = {}
for index, value in pairs(buttons) do
table.insert(result, index .. ": " .. tostring(value))
end
gui.text(0, 36, table.concat(result, "\n"))
emu.frameadvance()
end
For some bizarre reason, after a while, the ordering of the buttons goes from stable to chaotic, making it impossible to read the buttons pressed. adelikat says not to worry about this because order is meaningless in Lua. Still, this is very curious...
TODO: Set using a ClickyVirtualPadController and Global.StickyXORAdapter.SetSticky(Controller + " Up", false)...whatever that means.
2012-03-19 14:52:23 +00:00
brandman211
a4a8dec005
Lua glue for zeromus.
2012-03-19 03:39:56 +00:00
adelikat
0bdce38dc4
Add atari to path config dialog (interim builds only)
2012-03-19 02:12:43 +00:00
adelikat
c92f1b556c
Lua - implement movie.filename(), movie.getreadonly(), movie.setreadonly()
2012-03-18 19:52:28 +00:00
adelikat
e695263eba
Lua - implement movie.isloaded() and movie.length()
2012-03-18 19:33:38 +00:00
adelikat
951721bb39
remove joypad.set and add joypad.get, as set was not built and get was
2012-03-18 19:14:50 +00:00
adelikat
44daaa0841
Lua - Implement savestate.save
2012-03-18 18:24:24 +00:00
adelikat
c3cb5e0b72
Update version number, note that the previosu commit, r1983 marks the start of version 1.0.3
2012-03-18 17:22:21 +00:00
zeromus
42f16e95ac
dont use so much cpu while paused and whatnot
2012-03-18 17:11:59 +00:00
zeromus
efd5bcaa21
context menu screenshot -> clipboard
2012-03-18 04:08:05 +00:00
adelikat
ada3c55311
lock down PCE BG Viewer to interim
2012-03-18 00:30:36 +00:00
adelikat
6072d2d8de
Open ROM dialog - better organization of interim vs release
2012-03-18 00:05:35 +00:00
zeromus
f7d0852741
build luainterface differently. fix lua poop?
2012-03-18 00:05:06 +00:00
adelikat
e404dea408
lock down gameboy and atari to interim build only
2012-03-18 00:00:47 +00:00
zeromus
d0354fd1fe
fix lua poop
2012-03-17 23:40:30 +00:00
adelikat
338f4230f1
Lua Console - logic for hiding/disabling menu items
2012-03-17 23:16:11 +00:00
adelikat
300f68e8b7
Lua Console - implementing changes tracking and asking to save changes
2012-03-17 22:23:52 +00:00
adelikat
97f32bde91
Lua Console - implement recent session
2012-03-17 21:59:56 +00:00
adelikat
44ba1c2594
Lua Console - implement Save Session and Save Session As
2012-03-17 21:31:48 +00:00
adelikat
c3aeda2d54
Lua Console - clear output window on New Session
2012-03-17 12:19:30 +00:00
adelikat
1380cccd7a
Lua Console - output window - context menu with a clear option
2012-03-17 12:14:59 +00:00
adelikat
dac438ec02
Lua Console - Better dialog for lua functions list, stop and start sound on calling list
2012-03-17 02:18:09 +00:00
andres.delikat
871e6df12f
PCE BG Viewer - GUI overhaul
2012-03-16 15:29:05 +00:00
andres.delikat
c55e863b15
TASEdit - fix frame advance button
2012-03-16 15:27:45 +00:00
zeromus
219df85492
multiclient-sync nes's bogus soundOn hack at the moment when a nes core is launched, to avoid situation where we can't enjoy the bogus and likely buggy speedhack unless we fiddle with the sound options to refresh them
2012-03-15 19:16:43 +00:00
brandman211
45430c8ca7
ImportMCM now supports NES movies.
...
-No info on the control bytes, so I'm not dealing with them right now.
-It seems like there's an extra byte for at the beginning of input for NES that doesn't exist for PCE.
--I think it might be the "1 byte for power-on and reset" that the docs refer to, though I'm not sure why this would exist for NES and not PCE...because NES supports control commands and PCE doesn't?
--Perhaps this will become more apparent if I write the importers for SMS, GG, GB, and GBA. I'll need access to a Linux machine to do these, though.
2012-03-15 04:22:37 +00:00
brandman211
172115dcca
Reformatted ImportMCM. Now to add the additional consoles.
2012-03-15 02:23:01 +00:00
zeromus
3c267db54c
add reset button to atari 2600 and add .a26 to multiclient filetypes list
2012-03-14 21:35:07 +00:00
brandman211
e71763ba81
Added file types to the Import Movies dialog.
2012-03-14 20:46:59 +00:00
brandman211
4c47676c02
-Added warning messages for:
...
--FDS commands in ImportFMV.
--Bad ROM checksums in ImportText. TaoTao: There's nothing wrong with using warningMsg; it just is limited to showing the first warning message that occurs.
-ImportNMV
--Nintendulator's Four Score recording is seemingly broken.
TODO: ImportMCM clean-up / expansion, Intellivision research.
2012-03-14 20:08:00 +00:00
Rolanmen1
a8df8116e6
Toggling Lua Scripts By Double Clicking Now Works
2012-03-13 22:39:07 +00:00
Rolanmen1
ff21856389
Toogling Scripts From The Toogle Button And Menu Option Works, Double Clicking Doesn't
2012-03-13 22:08:17 +00:00
Rolanmen1
21fbe4f16e
Unwanted Exception When Turning Off All Scripts Fixed
2012-03-13 21:36:20 +00:00
Rolanmen1
4a3544a5a7
Random Crashes When Using Lua Scripts Fixed
2012-03-13 21:21:21 +00:00
Rolanmen1
04c8e8d7a3
Skip Lag Frame When Frame Advancing Has Been Implemented
2012-03-13 21:19:36 +00:00
adelikat
e0e95ee8ea
PCE BG Viewer - implemented auto-load and save window position options
2012-03-13 02:41:10 +00:00
brandman211
f53088c7be
-Used masks to simplify ImportFMV.
...
-Finished ImportVMV:
--I'm not sure what the following comment means: "For the other control bytes, if a key from 1P to 4P (whichever one) is entirely ON, the following 4 bytes becomes the controller data." I'm going to assume this is a bad translation that is the equivalent of my 4 controllers = 4 bytes comment.
--Nesmock has a block of code that seems to handle, or at least account for, commands (Lines 207 - 239 of virtuanes.hh). I don't do anything about this, but it doesn't seem like Nesmock does much of anything about it either. I'll ignore this for now.
TODO: ImportNMV, clean up ImportMCM, and perhaps support other platforms for .MCM, although everyone thinks it's a waste...I like writing importers! I'm afraid of writing cores!
2012-03-13 02:37:59 +00:00
adelikat
863f3fc4e5
fix an error in chr rom size for a CNROM game
2012-03-13 02:10:18 +00:00
andres.delikat
f863bc41ed
PCE GB Viewer - start a menu strip
2012-03-12 22:05:53 +00:00
brandman211
8938290e36
-Fixed FourScore handling for .FCM.
...
-Made it so that .tas is appended to the file path instead of changing the extension to it.
-Added default emu/MovieOrigin comments to the importers that don't have explicit ones.
-ImportVMV header / added blank frames
-Moved the MnemonicsGenerator declarations outside of the loops.
TODO: Finish ImportVMV (I don't think the provided documentation explains how the input works...) and figure out if my re-record count is off by one or if TASVideos.org is.
2012-03-12 20:35:10 +00:00
taotao54321
287c5c61f8
PCE BG Viewer:
...
Added a dropdown box to select VDC1/VDC2.
Now it is automatically updated in 3fps. (this is just a makeshift. PCE core should provide callbacks)
2012-03-12 06:27:34 +00:00
taotao54321
b10b7632e8
Forgot to add files. very sorry
2012-03-12 05:26:48 +00:00
taotao54321
54f89fca9f
Added PCE BG Viewer (interim)
2012-03-12 05:19:59 +00:00
peter
e310e90d9f
Conditionally compile Windows code, make Throttle class portable, and add dummy input/audio implementations for non-Windows
...
This is (almost, bar some local resource hacks) enough to start the
emulator on Linux/Mono, load a ROM and watch the demo (input and
audio don't work yet).
2012-03-12 04:44:34 +00:00
peter
1d111ce0ff
Use Path.Combine where appropriate
2012-03-12 04:44:26 +00:00
peter
ccc9fdf672
Case sensitivity fixes
2012-03-12 04:44:19 +00:00
peter
0776d48b81
Add subwcrev.sh build script for non-Windows platforms
2012-03-12 04:44:10 +00:00
adelikat
22f0b358aa
Make lua files run again
2012-03-12 01:57:38 +00:00
beirich
ca47082737
fix some PCE savestate desyncs
2012-03-12 00:14:44 +00:00
adelikat
79d8f3d920
Fix display of Loadstate hotkeys in loadstate menu
2012-03-11 20:56:15 +00:00
taotao54321
41b1d3c82a
Lua: now setrenderplanes() works also with SMS.
2012-03-11 17:25:25 +00:00
taotao54321
bcbe16c49c
Moved SMS-related settings to "SMS" menu from "Emulation" menu
2012-03-11 17:19:15 +00:00
taotao54321
a595e367db
Added SMS specific menu: Graphics Settings
...
PCE Graphics Settings dialog bugfix
2012-03-11 17:08:25 +00:00
taotao54321
3dcd94ea3d
Moved PCE-related settings to "PCE" menu from "Emulation" menu
2012-03-11 16:30:55 +00:00
taotao54321
2f9a5212bc
Added BG/OBJ display settings for SMS (not accessible yet)
2012-03-11 16:15:20 +00:00
adelikat
62f80406c4
Clean up the PCE Graphics config dialog
2012-03-11 15:41:51 +00:00
taotao54321
2b79ae88b3
Added a comment
2012-03-11 15:18:24 +00:00
taotao54321
9d72bf0c7c
Added PCE specific menu: Graphics Settings
2012-03-11 15:12:48 +00:00
brandman211
05f73ab436
Made it so that the Reset flag gets reset (Hehe) every frame, regardless of whether a warning message has been hit already or not. This fixes the ImportFM2 and ImportFCM functions that were broken in the last commit. Thanks TaoTao!
2012-03-11 13:27:11 +00:00
taotao54321
f117e4fce8
ImportMCM() bugfix
2012-03-11 13:21:16 +00:00
brandman211
79944b2d26
-Applied micro500's flag ANDing syntax to all of my functions...I concede that this is a much simpler way to do this.
...
-Fixed ImportFMV's movie title; before, I mistook it for the game name.
-Made "comment" and "SyncHack" constants.
-Moved the "ControllerDefinition"s outside of all of the loops.
-ImportGMV:
--Emulation Version => Movie Version.
--Added the PAL header.
--Made it so that the 6-button error is a warning; considering that the code already properly handles the controller properly and all that needs to be done is have Bizhawk actually support that kind of input, I don't feel there's a reason to go so far as to kill the conversion in this case.
--Reformatting.
---Notably, I added a player loop to simplify the frame data.
--It seems that 1937M uses a 6-button recording and 1731M has 2-player input...bizarre. Anyway, this means that ImportGMV should be good now.
TODO: ImportVMV, ImportNMV, ImportMCM, ImportSMV, Atari core? :)
2012-03-11 12:24:56 +00:00
taotao54321
575c44f470
Now setrenderplanes() works also for SuperGrafx.
2012-03-11 09:51:23 +00:00
taotao54321
f25ddb2fce
Lua: now setrenderplanes() takes variable arguments
2012-03-11 09:16:09 +00:00
taotao54321
05321d19bc
NES Graphics Settings bugfix
2012-03-11 07:02:10 +00:00
taotao54321
30b0dc6780
PCE: added settings to show/hide BG/OBJ for TurboGrafx (not for SuperGrafx)
...
Now setrenderplanes() works for TurboGrafx (not for SuperGrafx)
2012-03-11 06:50:46 +00:00
taotao54321
beb0b5a74d
Lua: added setrenderplanes(). For now, it works only for NES.
2012-03-11 05:47:38 +00:00
taotao54321
3dffd0b9b6
cosmetics (added trailing commas to make it easy to add new lua functions)
2012-03-11 05:13:12 +00:00
adelikat
86da2c6b5e
About box - add contributers
2012-03-11 01:22:02 +00:00
adelikat
76f1faf122
Lua - add gui.alert() which draws messages in the alert font
2012-03-11 00:54:24 +00:00
adelikat
635ae613a4
Ram Watch - when drawing watches on screen, use alert font for frozen addresses
2012-03-11 00:50:06 +00:00
taotao54321
3687b8d803
NES Debugger: fixed disassembler to print addresses correctly
2012-03-10 19:42:20 +00:00
taotao54321
bd5f1b3135
NES Debugger: implemented poor disassembler
2012-03-10 17:54:58 +00:00
adelikat
8ae543bb14
Lua implementation - code cleanup
2012-03-10 16:14:19 +00:00
adelikat
40698b119c
Add an atari controller image for controller config dialog
2012-03-10 14:10:50 +00:00
adelikat
49c751e4c4
variation of a game added to gamedb.txt
2012-03-10 13:55:36 +00:00
adelikat
efd4c5cbab
Make...a certain game...work
2012-03-10 13:30:39 +00:00
taotao54321
a69ec16c03
Lua: Implemented writebyte() and fixed readbyte()
2012-03-10 03:58:42 +00:00
taotao54321
66f034b96f
Modified gui.text(): convert arguments to int directly
2012-03-10 03:31:07 +00:00
taotao54321
5283b29d54
Lua: Implemented new memory access functions. It can specify datasize and endianness.
...
Lua: Modified print() to emit a newline.
Lua: Fixed console_clear() not to take any argument.
2012-03-10 03:07:05 +00:00
adelikat
7e38f4a940
Hex Editor - move Add to Ram Watch to Ctrl+W instead of A! A is a hex value that should be able to be typed in
2012-03-10 02:31:34 +00:00
zeromus
65282a366e
fix versions stuff
2012-03-10 00:21:40 +00:00
adelikat
5195453229
Update versioning stuff and about box, and set interim flag back (I seem to keep checking that in on accident). This marks the beginning of 1.0.2.
2012-03-09 23:33:56 +00:00
taotao54321
7613d51ea2
Bugfix for log console.
...
Console type should not be changed by user when console is shown.
2012-03-09 21:36:55 +00:00
taotao54321
b207c81fea
Removed unused LogWindow::ShowConsole()
2012-03-09 21:22:52 +00:00