Search found 11 matches

by hackz0id
Fri Jun 17, 2005 5:37 am
Forum: General Topics
Topic: Do you ever/always/never finish programs?
Replies: 35
Views: 16967

>If you have layouted all the rules, parser, lexical analysis and so on, I >don't know if assembly code is many times more complex than a higher >level language. It takes more time to develop it surely, but there is no >overhead from the compiler's own bad compiler optimisations. Even if I know that...
by hackz0id
Thu Jun 16, 2005 5:07 am
Forum: General Topics
Topic: Do you ever/always/never finish programs?
Replies: 35
Views: 16967

?Asm

Writing a compiler in assembler sounds difficult. Apart from the first compiler one would think that compilers should be written in compilers? Sure Slang already exists, but extending a program this big, written in assembler could be a pain in the ass. How about bootstrapping Slang in itself? :-) we...
by hackz0id
Wed Jun 15, 2005 10:05 am
Forum: General Topics
Topic: Do you ever/always/never finish programs?
Replies: 35
Views: 16967

Is the source for slang avaliable?

Is the sourcecode avaliable? I may be blind but I didn't see it at the mainpage.

What is it written in? ( cc65? )
by hackz0id
Wed Jun 15, 2005 9:49 am
Forum: General Topics
Topic: Do you ever/always/never finish programs?
Replies: 35
Views: 16967

No it doesn't seem to generate clear assemblycode, sorry

Sorry, I ment i read the disassebled code for the examples on the site.

While it's possible to hand-optimize a smaller project when disasembled, I figure it would be quite difficult to quickly get a grasp of how the code relates to the source if the project grows large.
by hackz0id
Wed Jun 15, 2005 7:37 am
Forum: Programming
Topic: Basic Speedup Tip
Replies: 59
Views: 18412

internal basic dataformat

>So the link pointer is a two byte LSB MSB... So definately line length will >not affect goto or gosub speed. True. The only thing that matters is how many lines there are between the first line in the basic program and the line for your "GOTO" target. I remember from my CBM Basic days whe...
by hackz0id
Wed Jun 15, 2005 7:11 am
Forum: General Topics
Topic: Do you ever/always/never finish programs?
Replies: 35
Views: 16967

slang

Just looked quickly at the slang page, and just tought "wow, I've been thinking about this". Looked at the examples and the languague reference and the output (assembler-code) and it looked quite nice. I will return to this site and read some more soon. My thoughts about compilers so far h...
by hackz0id
Wed Jun 15, 2005 6:14 am
Forum: General Topics
Topic: Do you ever/always/never finish programs?
Replies: 35
Views: 16967

Schlowski: Compiler for 6502

I'm so glad I'm not the only one thinking about compilers for 6502. I've been reading about compilers / compiler generators / lexers / parsers etc. for quite a while now and I've been doing a lot of "homework" on that subject for quite a while. I've written quite a cool lexer/parser in Fre...
by hackz0id
Wed Jun 15, 2005 4:53 am
Forum: Emulation and Cross Development
Topic: Software we use for transfer
Replies: 52
Views: 93821

C2N232

I use the C2N232 for all VIC work. Almost everything i do is crossassembled or compiled (65CM) on the PC, but i use C2N232 to test run on a real VIC20 while working (instead of VICE) It also works great when flashing my PETRAM because the transferrate is high ( 38400 if i recall right ) so loading 1...
by hackz0id
Wed Jun 15, 2005 4:41 am
Forum: General Topics
Topic: Data recovery from old cbm floppies ?
Replies: 6
Views: 2473

Hi quality discs

I've got an CBM disk-collection from some dude when I bought all his old Commodore stuff in the late 90ies. Guess his parents was rich becoz all his discs was Maxell Gold with a lifetime guarantee. When i started converting all my floppies to .d64-files these diskettes ALL WORKED and they had not be...
by hackz0id
Wed Jun 15, 2005 3:05 am
Forum: Hardware and Tech
Topic: PETRAM + VASM = true?
Replies: 0
Views: 2148

PETRAM + VASM = true?

Hi everybody! Does anybody more than me own a PETRAM expansion for the VIC20? I'm asking because I've been thinking about rewriting my fullscreen assembler VASM for PETRAM. As PETRAM puts flashable rom @ $a000-ffff I hope to make an CART+SYSTEM image of it + KERNEL ROM and stripping away most of the...
by hackz0id
Wed Jun 15, 2005 2:35 am
Forum: Programming
Topic: Basic Speedup Tip
Replies: 59
Views: 18412

carlsson: for and gosub

>Ok, I probably was wrong, but I have a strong feeling FOR-NEXT can do >stupid things with the stack, in particular in combination with GOSUB. You're absolutely right about that. The FOR keyword uses the stack to point out the start of the loop for the NEXT keyword. GOSUB uses the stack for return p...