Commodore 128 Alive!

Commodore 128 => 128 programmers => Assembly => Topic started by: MIRKOSOFT on August 22, 2009, 05:36 AM

Title: Porblems with integration DIR routine
Post by: MIRKOSOFT on August 22, 2009, 05:36 AM
Hi!

I have problem which is 'think crazy...
I have routine to print directory of diskette to screen. Individually works fine.
But when I integrate it to main program, works not.
Also the main program has problems with printing on screen in 80col mode, individually no problem.
I attached main.asm, if anybody can look at this (in e.g. notepad) and help me to find where can be st. wrong done, I'm going crazy... really don't know where's problem.

Thanks for help.

Miro
Title: Re: Porblems with integration DIR routine
Post by: Alex on August 25, 2009, 05:04 AM
Just took a quick peek into the source and I have one question: why are you aligning text data with pc macro? Why not allow assembler / linker to lay it correctly in memory for you?
Title: Re: Porblems with integration DIR routine
Post by: MIRKOSOFT on August 25, 2009, 05:23 AM
Hi!

Thanks. The code is now rewrited, pc-macro is easier to use, and only HELP text I located at $1aa8 which ends at $1bff (before BASIC area). This is 'cause when I compile code - I'll be sure that I'm not over address $1bff. If you want to help - or - cooperarate, I can send to you current code (when you cooperates on this code - this small BASIC extension - your name will be there given too...).
I feel that advanced help will be needed...
So, if you want, write to my mail.

Thanks.

Miro
EhPortal 1.34 © 2025, WebDev