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 Help
2009-01-26 18:53
FillmoreC
Account closed

Registered: Dec 2008
Posts: 7
Relaunch64 Help

Can anyone explain how to make the compile window stay open. If I have an error in my code, I don't know what line it is because the compile windows closes to fast.

I'm using 64tass with it.

2009-01-26 20:32
Marauder/GSS
Account closed

Registered: Jul 2006
Posts: 224
have you already read that thread about similar problem, maybe it helps?! (c;
2009-01-26 22:51
Testa
Account closed

Registered: Oct 2004
Posts: 197
well... i am no pc expert.. but use a dosbox to compile your stuff when you have errors.. with kickass it works.....
succes...
2009-01-27 00:10
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
i dont get it

compile window never closes
not when i use ACME

check your config in relaunch
2009-01-30 19:03
FillmoreC
Account closed

Registered: Dec 2008
Posts: 7
@ Marauder: Yes I have and someone mentioned having the same problem. I looks like someone gave a solution, but it didn't work. So I still have the same problem.

@ Testa: That what I do when I'm not using Relaunch64. BUT someone introduced me to relaunch64 which is suppose to compile your source right from the relaunch64 text editor. It does this, but if you have an error, the dosbox opens and closes before you can see the error.

If I was to switch to compiling in a dosbox when I have an error, it would (almost) defeat my purpose of using reluanch64. Altough your idea, to date, is the best one I've seen and I might considering doing it if there is no other way around it.

@ Rambones. I don't use achme (how is that btw.) I'm using 64tass now. How do you keep your dosbox open with achme. I think in the other thread it mentions something like -v as an option. I don't think 64tass (or tass, the compiler I started with) have this option.


2009-01-30 21:19
Marauder/GSS
Account closed

Registered: Jul 2006
Posts: 224
the only way I got it working with 64Tass is:

create a batch-file, f.e. 64tass.bat with following:

@echo off
64tass.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 2>c64error.txt
if %errorlevel% == 1 echo errors occured!>>c64error.txt

and then select the batch-file in the compiler settings for compiler instead of the 64tass.exe and use following parameters:

INPUT -o OUTPUT

the batch-file can use up to 9 parameters, in case you need some more parameters for 64tass.

I had 64tass.exe in same directory as the .bat, both were in the relaunch-directory!!

You could also try in another directory, and if you encounter problems you may need full qualified paths... Not sure if the 64error.txt must be created in same dir as relaunch. I haven't tested this.

I couldn't redirect all output from 64Tass, as it seems relaunch scans for the word 'error' which is also in the output when 64tass compiles fine (error messages: 0 or similar), and so the emulator would never start because it shows the error-window.
That's why I've redirected only the errors and write the text "errors occured" into the c64error.txt file when there are any.

give it a try, maybe it helps?!
2009-01-31 02:09
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Quote: @ Marauder: Yes I have and someone mentioned having the same problem. I looks like someone gave a solution, but it didn't work. So I still have the same problem.

@ Testa: That what I do when I'm not using Relaunch64. BUT someone introduced me to relaunch64 which is suppose to compile your source right from the relaunch64 text editor. It does this, but if you have an error, the dosbox opens and closes before you can see the error.

If I was to switch to compiling in a dosbox when I have an error, it would (almost) defeat my purpose of using reluanch64. Altough your idea, to date, is the best one I've seen and I might considering doing it if there is no other way around it.

@ Rambones. I don't use achme (how is that btw.) I'm using 64tass now. How do you keep your dosbox open with achme. I think in the other thread it mentions something like -v as an option. I don't think 64tass (or tass, the compiler I started with) have this option.




Relaunch assembles, a dos window appears, then closes, and if error, the error log window pops up, so you can click the errors and go to that line.

The assembler is set up and called like this:
ACME
no parameters at all..

I noticed at jeffs place, that his dos window does not close, so he has to close it before it loads the prg into vice.

This does not happen here, it just loads immediately.

So all i can say is, update your windows XP!
2009-01-31 02:10
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
to Marauder:

ACME is like turbo assembler, and has macros and defination stuff.

64tass is a bit weird to use IMO.
2009-01-31 02:12
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Oh 1 more post:

so what happens is that the assembler is called from dos, and the output it makes, ends up in the error log, if there are any errors.

Thats how its supposed to work anyway.

The error log is a window inside relaunch.
2009-01-31 10:23
Marauder/GSS
Account closed

Registered: Jul 2006
Posts: 224
Quote: to Marauder:

ACME is like turbo assembler, and has macros and defination stuff.

64tass is a bit weird to use IMO.


Rambones, I'm software developer juggling bits & bytes every day at work, so I know what ACME, 64tass, Kickass etc. is! (c; btw, I use ACME for some stuff...

The problem here I have (and I guess Knoeki and FillmoreC) is that the Relaunch calls the compiler in DOS-box, but the output of the DOS-box doesn't get properly redirected to the c64error.txt file, where Relaunch reads the lines from and shows them in it's own error-log window then. So if it doesn't find that file, only DOS-box for compiling shows quickly up and closes immediatly and *no* error-log window appear.

Using the batch-files I've posted in the threads about Relaunch and 64tass/ACME it works fine for me. The error-Log window appears only when there are errors, if not emulator starts directly with the compiled program.
I guess it has to do with different output channels on the console, like STDOUT and STDERR... I don't know, Relaunch is a bit strange sometimes and no, my XP is working fine... (c;
2009-01-31 11:13
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
i think the problem is that acme writes the error log in one dir, and relaunch reads it from another..

Set relaunch to "run from this dir",
and put acme in a subfolder in /relaunch/

i have
/relaunch/
/relaunch/acme
/relaunch/source

this works
 
... 3 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - 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
rexbeng
Dave/SIDNIFY
Mythus/Delysid
Zoolon/Fairlight
Da Snake
A3/AFL
kbs/Pht/Lxt
Guests online: 127
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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