CPCWiki forum

General Category => Programming => Topic started by: geebus on 12:32, 20 December 20

Title: Using protext and maxam 1.5 beginner
Post by: geebus on 12:32, 20 December 20
hi all, I'm looking at doing some coding on one of my amstrads using maxam 1.5 and protext. like people done back in the 80's/90's.
I've done a little asm using JavaCPC on a PC and had success, however learning to use protext and maxam is giving me nothing really.
I've had a go at firing it a little code using the programming mode on protext then using |assemble. I get no errors but when I list the memory of where I've done the Org there's nothing there.
Looking through the manuals I can't see what i'm doing wrong.
Is there anyone else who is a little more experienced with this setup who could tell me where i'm going wrong with the basics?
I'd be forever grateful.
Title: Re: Using protext and maxam 1.5 beginner
Post by: freemac on 13:15, 20 December 20
My first test with MAXAM was :
http://norecess.cpcscene.net/using-interrupts.html

My test :
http://www.cpcwiki.eu/index.php?title=FPGAmstrad#GA:_alignment_of_HSYNC_Interrupt
Title: Re: Using protext and maxam 1.5 beginner
Post by: geebus on 15:49, 20 December 20
Some interesting stuff there that i'll have a look over at some point.
Any idea why when i use |assemble my code isn't at the address point I was expecting it to be?

I'm using org &4000 at the start of my code, then use maxam to look at memory location 4000 - 4050. all 0's
Title: Re: Using protext and maxam 1.5 beginner
Post by: Richard_Lloyd on 21:59, 20 December 20
Hi. Difficult to help without more details.


I assume you are using ROM versions. The MAXAM 1.5/Protext combination allows you to assemble from within Protext and that's how I always do it. I tend to write the code to a file though.

With the file open in Protext and HIMEM set, use ASM to assemble the file. Are you following the instructions in the MAXAM 1.5 manual? I've attached them just in case.


Good luck, Richard.
Title: Re: Using protext and maxam 1.5 beginner
Post by: GUNHED on 22:57, 20 December 20
Use Maxam 1.15 alone or show your code. That could help.
Title: Re: Using protext and maxam 1.5 beginner
Post by: AMSDOS on 23:05, 20 December 20
I think it's |asm not |assemble to assemble the listing while in Protext.
Title: Re: Using protext and maxam 1.5 beginner
Post by: geebus on 00:43, 21 December 20
Quote from: Richard_Lloyd on 21:59, 20 December 20
Hi. Difficult to help without more details.

I assume you are using ROM versions. The MAXAM 1.5/Protext combination allows you to assemble from within Protext and that's how I always do it. I tend to write the code to a file though.

Hi, yeah I'm using the ROM versions. I was using the |assemble command from within protext. It was looking like it was assembling everything and showing if there were errors etc. But when i went into maxam (with |m) and listed what was in the ram at the address I had used for the org, there was nothing there.
Quote from: AMSDOS on 23:05, 20 December 20I think it's |asm not |assemble to assemble the listing while in Protext.
You are the winner! Thank you.. how did i manage to miss something so basic as that. I couldn't see the woods for the trees I think.
Great! now i'll be able to drive myself mad by writing code, forgetting to save it then running it on said machine I just coded it on. THEN loosing all my work when it crashes.
Powered by SMFPacks Menu Editor Mod