Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Flimsoft ! (Registered 2013-06-18) You are not logged in 
CSDb User Forums


Forums > C64 Coding > Kick Assembler Thread 2
2009-07-21 19:20
Slammer

Registered: Feb 2004
Posts: 295
Kick Assembler Thread 2

The previous thread took a little long to load, so this is a new fresh one..
 
... 414 posts hidden. Click here to view all posts....
 
2012-08-08 11:44
Ruk

Registered: Jan 2012
Posts: 11
@Cruzer

It was merely a proof of concept. But yes, it will break easily. AND:ing 'val' with $3F keeps you in range I suppose =)
2012-08-08 13:26
Slammer

Registered: Feb 2004
Posts: 295
TWW: Im working on a new setup for the manual. Clickable table of contents and clickable list of directives are part of it.

Overkill?, Perhaps so. But Word have been bugging me for some time now, and integrating pdf+html generation in the builder will make new releases easier in the long run.
2012-08-09 05:52
TWW

Registered: Jul 2009
Posts: 283
@ Ruk: Thanx for pointing me in the right direction. I can do hi and lobytes from $00 to $40 8-D.

I'm not sure how I would succeed with and'ing to rid the two MSBs though. Is there a way to build the complete tabel somehow instead of manually typing it?

@ Cruiser: Yeah, and how to fricking fill in the rest of the "special and inverted characters".

@ Slammer: Nice! Looking forward to it. It's a good manual.


So I then have a refined question;

Is there a way to go from a byte (00-ff) to the corresponding petscii character without using a lookup table within the script language (probably not but can't hurt to ask)?

ex:
.print char(0) = "@"
.print char(3) = "C"

etc.
2012-08-09 14:03
Cruzer

Registered: Dec 2001
Posts: 732
@TWW: Yeah, that's what I was thinking from the start. :)
@Slammer: KickAss IS overkill, that's what makes it awesome :)
2012-09-30 09:05
Conrad
Account closed

Registered: Nov 2006
Posts: 604
Found another possible bug(?)...

I'm using KickAss (version V3.25) on a linux system (SlackoPuppy)... via the commandline:
"java -jar /mnt/sda3/CBM/TOOLS/KickAssembler/KickAss.jar -maxaddr -1 -aom -binfile -o /mnt/sda3/OC_SERVER/CBM/test.crt %f"
("OC_SERVER" is a mounted directory to a shared network drive of my Windwos PC, where WinVice is installed.)

The source I compile should output a large crt (EasyFlash format) which is roughly 129K... but when compiling the output binary through this shared network drive, it outputs around 69K (i.e. loss of file data).

Compiling the binary locally and then copying that file across to the network drive works fine.

I don't know if this is a Linux-Windows issue or not. When mounting the network drive, I use "nounix" and "noserverino" as parameters.
2012-09-30 15:43
Slammer

Registered: Feb 2004
Posts: 295
>The source I compile should output a large crt (EasyFlash format) which is roughly 129K... but when compiling the output binary through this shared network drive, it outputs around 69K (i.e. loss of file data).

I assume you get no error messages. Since it outputs 69k it seams like you have set the maxAddr correctly.

1. Is the output cut when you compile it normally (no network drive, no binary)?
2. Is the output cut when you compile it as a binary?
3. Is the output cut when you compile it as a binary on the networkdrive?
(Also check if the code reallly should be 69k)

If 1 or 2 fails, i'll need some failing code to see whats wrong.


2012-10-01 02:55
Martin Piper

Registered: Nov 2007
Posts: 303
Network paths can operate slightly differently to local devices.
This problem can be caused by an unflushed fseek.
Before each fseek do a fflush. A flush before a fclose can also help.
2012-10-01 09:54
Conrad
Account closed

Registered: Nov 2006
Posts: 604
@Slammer
Quote:
1. Is the output cut when you compile it normally (no network drive, no binary)?
2. Is the output cut when you compile it as a binary?
No, in both of these cases it outputs the full size fine. No errors etc.

Quote:
3. Is the output cut when you compile it as a binary on the networkdrive?
Yes, I'm executing KickAss from my laptop (linux OS), but the output path is via a network, where this problem occurs. The source code can be stored on either the network side or local side, but there is no difference. There's nothing wrong with my source code on its own.


@Martin: Yes I agree. I remember having this problem with network drives at where I work... having to using some flushing C functions as you mentioned. Maybe the java functions have the same issue? The JRE libraries on Linux might have issues too, but I don't know.
2012-10-01 12:12
Slammer

Registered: Feb 2004
Posts: 295
Try this one, http://www.theweb.dk/KickAssConrad.jar
2012-10-01 19:03
Conrad
Account closed

Registered: Nov 2006
Posts: 604
Quote: Try this one, http://www.theweb.dk/KickAssConrad.jar

Thanks Slammer, that one works perfect! :)
Previous - 1 | ... | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | ... | 44 - 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
JSL
prowler/nectarine ^ ..
Mermaid
Yazoo/Censor/Arsenic
Perff/No Name
Knoeki/DSS^TRSi
Fierman/Phantasy
e5frog
Mixer/Origo Dreamline
MacGyver/Bliss
shine/delysid
radiantx/Panda Design
Achim/RGCD
DeeKay/Crest
Guests online: 29
Top Demos
1 Coma Light 13  (9.7)
2 Edge of Disgrace  (9.7)
3 Deus Ex Machina  (9.3)
4 Andropolis  (9.3)
5 +H2K  (9.2)
6 Artphosis  (9.2)
7 Desert Dream  (9.1)
8 2011 - A Press Space..  (9.1)
9 Soiled Legacy  (9.1)
10 Wonderland XI  (9.1)
Top onefile Demos
1 Daah, those acid pil..  (9.6)
2 One-Der  (9.2)
3 Dawnfall  (9.1)
4 Te-Te-Te-TechTech It..  (9.0)
5 Safe VSP  (9.0)
6 Exotic Excitement  (8.9)
7 Ächzzeit  (8.9)
8 Isterreport  (8.9)
9 Pimp My Commodore  (8.9)
10 Cubase64  (8.9)
Top Groups
1 Booze Design  (9.4)
2 Crest  (9.4)
3 Oxyron  (9.4)
4 Maniacs of Noise  (9.2)
5 Eagle Soft Incorpora..  (9.2)
Top Cover Designers
1 Junkie  (9.9)
2 Electric  (9.9)
3 Duce  (9.8)
4 The Elegance  (9.4)
5 Cuc  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2013
Page generated in: 0.225 sec.