Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #98711 : C64 Studio
2011-03-19 10:26
Endurion

Registered: Mar 2007
Posts: 72
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

2011-03-19 10:54
Skate

Registered: Jul 2003
Posts: 490
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.
2011-03-19 12:56
Endurion

Registered: Mar 2007
Posts: 72
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.
2011-03-19 14:32
iAN CooG

Registered: May 2002
Posts: 3128
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.
2011-03-19 15:17
Richard

Registered: Dec 2001
Posts: 619
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.
2011-03-19 19:52
Endurion

Registered: Mar 2007
Posts: 72
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.
2011-09-13 04:06
Berry

Registered: Apr 2006
Posts: 13
Is there a manual on how and what to install exactly?
--

Berry/HK
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
zabutom
cba
csabanw
Sentinel/Excess/TREX
saimo/RETREAM
psych
Zoid
Isildur/Samar
Twoflower/ΤRIΛD
New Design/Excess
t0m3000/ibex-crew
Skate/Plush
apprentix
Guests online: 293
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.04 sec.