| |
Endurion
Registered: Mar 2007 Posts: 73 |
Release id #98711 : C64 Studio
C64 Studio is a assembly development environment which is dependent on Vice (you need to have it installed).
You can write assembly based on the ACME syntax (although most macros haven't been implemented yet).
The program is Windows based, with .NET 2.0. Due to two hacks it might not work with Mono, but I have no test environment.
You need to have a Vice version installed (I tested with WinVICE 2.3 on Windows 7). It should run without problems on older Windows' as well.
The big feature of this tool:
Debug step through your assembly. The Studio connects to Vice's remote monitor and lets you run through your code. You can watch variables (very rudimentary right now) and jump to symbols.
There are a few problems with deactivated True Drive emulation; jumping over a jsr with a kernal call inside might not come back. If you're in debug mode you can however break into current code easily. Or "run debug to" directly.
Since I had to parse the code mostly for symbol lookup I've replaced the external ACME call with an internal assembler. It seems to work correct for my litte project for now.
For now only the ACME macros !binary, !source, !to, !byte, !word and !text are supported.
Known bugs:
-When beginning to debug you have to do an additional step, after that it works fine though.
-The !text macro doesn't map anything to PETSCII, so for now it directly sets the ASCII byte values
|
|
| |
Skate
Registered: Jul 2003 Posts: 494 |
Looks very nice and useful. Congratulations. But I got an error on the tools setup form. When I tried to select a path for vice, I got the following error.
Here is the error details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Filter string you provided is not valid. The filter string must contain a description of the filter, followed by the vertical bar (|) and the filter pattern. The strings for different filtering options must also be separated by the vertical bar. Example: "Text files (*.txt)|*.txt|All files (*.*)|*.*"
at System.Windows.Forms.FileDialog.set_Filter(String value)
at C64Studio.FormWizard.btnBrowseVice_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
C64Studio
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Emir/Desktop/C64Studio_09b/C64Studio_Beta/ C64Studio.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e 089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy stem.Drawing.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 2.3.1.24483
Win32 Version: 2.3.1.0
CodeBase: file:///C:/Documents%20and%20Settings/Emir/Desktop/C64Studio_09b/C64Studio_Beta/ WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
ScintillaNet
Assembly Version: 2.2.3581.19319
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Emir/Desktop/C64Studio_09b/C64Studio_Beta/ ScintillaNet.DLL
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a /System.Deployment.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
I think you didn't enter OpenFileDialog's filter section correctly or somehow a regional settings parameter affects it. Unfortunately, writing vice path manually doesn't enable the ok button, either. Please fix this issue. |
| |
Endurion
Registered: Mar 2007 Posts: 73 |
Yay me. That's what happens when I do last minute changes without testing. All file filters were wrong after a cleanup.
It's fixed in upload 0.9c. Is it allowed to remove the broken 0.9b version download? I've seen some quarrels about that before. |
| |
iAN CooG
Registered: May 2002 Posts: 3187 |
New version, new entry. Next time test everything carefully before rushing a release. =)
Make sure to leave a comment on the old one linking to the new working version. |
| |
Richard
Registered: Dec 2001 Posts: 621 |
I'm still finding this program useless as I'm still getting this error in the latest version. I have written a test routine for compiling in ACME cross assembler, but the assembler cannot execute, due to the same error which has been commented in the forum. Therefore, I am using the Eclipse software with a 6502 plugin. |
| |
Endurion
Registered: Mar 2007 Posts: 73 |
Damnit. I think I'll wait a few tries before uploading a new entry. Just found your bug. It crashes if no !to target is given. |
| |
Berry
Registered: Apr 2006 Posts: 13 |
Is there a manual on how and what to install exactly?
--
Berry/HK |