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 > C64 Coding > Relaunch64 #3 Beta1 released!
2013-01-06 13:23
The Gothicman
Account closed

Registered: Aug 2011
Posts: 40
Relaunch64 #3 Beta1 released!

Relaunch64 #3 Beta1 released!

Now as JAR-file.
Looks promising to me :)

http://www.popelganda.de/
 
... 49 posts hidden. Click here to view all posts....
 
2014-04-26 16:36
soci

Registered: Sep 2003
Posts: 473
Quoting Testicle
I think I found a solution for
---
- Opening a file using the dialog and compiling it works, but if I open from the command line and want to compile it then I get:
Caused by: java.lang.NullPointerException
at de.relaunch64.popelganda.Relaunch64View.compileFile(Relaunch64View.java:1301)
at de.relaunch64.popelganda.Relaunch64View.runFile(Relaunch64View.java:1175)
---


Sounds good.

Quoting Testicle

According to executing Vice: Did it work in previous beta-versions? Than I probably know how to fix this.


No, not at all ;( At least in the latest version the compiling worked and VICE could be executed as a "fake" compiler. Because it was complaining about "no console" I think it would work if the same logging would be done for VICE as for the compiler.
2014-04-26 17:25
Testicle
Account closed

Registered: Sep 2002
Posts: 131
There should be both error and standard output stream logging for both compiling (assembler) and running (emulator). I guess it has to do with the ProcessBuilder, i.e. the process itself...
2014-04-26 17:51
soci

Registered: Sep 2003
Posts: 473
I straced this:

execve("/usr/bin/java", ["java", "-jar", "Relaunch64.jar"], [/* 37 vars */]) = 0
[pid 5196] execve("/usr/local/bin/64tass", ["/usr/local/bin/64tass", "-C", "-a", "-i", "/tmp/a.asm", "-o", "/tmp/a.prg"], [/* 37 vars */] <unfinished ...>
[pid 5198] execve("/usr/local/bin/open", ["open", "/usr/local/bin/x64", "/tmp/a.prg"], [/* 37 vars */]) = -1 ENOENT (No such file or directory)
[pid 5198] execve("/usr/bin/open", ["open", "/usr/local/bin/x64", "/tmp/a.prg"], [/* 37 vars */]) = -1 ENOENT (No such file or directory)
[pid 5198] execve("/bin/open", ["open", "/usr/local/bin/x64", "/tmp/a.prg"], [/* 37 vars */] <unfinished ...>

For some reason it tries to use "/bin/open". That's only working on a console, and that's why I get the "Couldn't get a file descriptor referring to the console" message.

The assembler execution is done directly without using "/bin/open". So there must be some difference between the two invocations.
2014-04-26 17:58
Testicle
Account closed

Registered: Sep 2002
Posts: 131
Yes, I already removed the "open" from the process call. I originally included it, because on OS X you get an access denied error when running Vice without "open". So I thought using "open" would work for Unix in general. But Mac Users can use user scripts if Vice does not start.

On Linux, I now get following when I run this user script (note this only works for beta 12, not released yet).

My script:
java -jar /home/daniel/Schreibtisch/KickAss/KickAss.jar SOURCEFILE
x64 OUTFILE


The log from Vice:
getting symbol guess_format failed!
*** VICE Version 2.3 ***
OS compiled for: Linux
GUI compiled for: GTK+
CPU compiled for: 80386
Compiler used: GCC-4.7.1
Current OS: not yet implemented
Current CPU: Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom

Welcome to x64, the free portable C64 Emulator.

Current VICE team members:
D. Lem, A. Matthies, M. Pottendorfer, S. Trikaliotis, M. van den Heuvel,
C. Vogelgsang, F. Gennari, D. Kahlin, A. Lankila, Groepaz, I. Korb,
E. Smith, O. Seibert.

This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.

XRandR: XRandR reports current display: 1440x900@60
C64MEM: Error - Couldn't load kernal ROM `kernal'.
Error - Machine initialization failed.

Exiting...


hm... where is vice located? I can't find it after installing it from apt-get. :-/ I would like to see whether it works when I run and compile from the general settings.
2014-04-26 18:02
soci

Registered: Sep 2003
Posts: 473
Use the "which" command to print where VICE is:

$ which x64
/usr/local/bin/x64

Don't forget to copy the ROMs to "/usr/lib/vice/*/". These are usually left out due to licensing or redistribution issues.
2014-04-26 18:27
Testicle
Account closed

Registered: Sep 2002
Posts: 131
Thanks! The missing ROMs might be the reason for the error message... I guess I finish the "goto error" from compiler log this weekend and release beta 12 then... There won't be much beta releases from now on I think, feature list for first final release is almost implemented.
2014-04-26 18:28
soci

Registered: Sep 2003
Posts: 473
Quoting Testicle
Yes, I already removed the "open" from the process call. I originally included it, because on OS X you get an access denied error when running Vice without "open". So I thought using "open" would work for Unix in general. But Mac Users can use user scripts if Vice does not start.


You could try "/bin/sh","-c",... instead of "open",....
2014-04-26 20:05
chatGPZ

Registered: Dec 2001
Posts: 11114
Quote:
CPU compiled for: 80386

wat
2014-04-27 05:06
Testicle
Account closed

Registered: Sep 2002
Posts: 131
Quote: Quote:
CPU compiled for: 80386

wat


Not my fault, you are responsible for the log-stream of your applications. ;-)
2014-04-28 11:57
Testicle
Account closed

Registered: Sep 2002
Posts: 131
Beta 12 released:
https://sourceforge.net/projects/relaunch64/files/Beta-Releases/

New functions, beside some bug fixes
- "jump to error line" is included (if compiling gave errors...)
- Preferences for fonts
- Preferences for tabs
- Insert basic start
- Change layout of dividers in main window (layout of logs/quick-run-options...)

Cruncher/packer can be used via user script, but are not implemented as general setting (thus the "crunch output file with"-menu does not work yet).

Best wishes
Daniel
Previous - 1 | 2 | 3 | 4 | 5 | 6 - Next
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
Mibri/ATL^MSL^PRX
encore
Frostbyte/Artline De..
Higgie/Kraze/Onslaught
Guests online: 93
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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