Re: Jam Assembler

2012-02-12 Thread david brant

On 12 Feb 2012, at 23:01, Stefan Drissen wrote:

> Hi David,
> 
> I had a quick peek at the latest version and noticed that the jar is the
> same as the old one (july 2010). Opened up my source file and the first
> thing I wanted to do was find where I had left off... grrr no CTRL+F (as
> mentioned earlier). So I thought I'd have another look at Eclipse for fun,
> starting at
> http://wiki.eclipse.org/The_Official_Eclipse_FAQs#Implementing_Support_for_Y
> our_Own_Language
> 
> I could use someone else's compiler (http://pasmo.speccy.org for example) or
> Andrew's py80 (of which the only reference I can find is on a Czech site
> referring to a SAM Revival article) but I seem to already have used lots of
> nice JAM features in my source requiring more tinkering to that.
> 
> Any chance of a command line version JAM compiler?
> 
> Cheers!
> 
> 
> Stefan

Yes Stefan it is the same as the one I sent you, just with the extra bit for 
the SAM Coupe end. It has find tab in the project view but no replace.

I have started work on a new version which has find and replace window. I have 
designed the window for a find/replace but not much else.

Command line version should be possible.
 
> 
> 
> 
> -Original Message-
> From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On
> Behalf Of david brant
> Sent: maandag 6 februari 2012 20:15
> To: sam-users@nvg.ntnu.no
> Subject: Re: Jam Assembler
> 
> 
> On 6 Feb 2012, at 08:57, Andrew Gillen wrote:
> 
>> david brant  writes:
>> 
>>> 
>>> Hi All,
>>> 
>>> I've uploaded a new version of Jam Assembler to my web site. It's not 
>>> the
>> version I was hoping to upload but it
>>> is an improvement on the last.
>>> 
>>> Has easier object loader on SAM Coupe side hope people like it. I've 
>>> also
>> updated the read me file so please
>>> read it.
>>> 
>>> Any problems please e-mail me I've updated the e-mail link on the read
> me.
>>> 
>>> If you already have Jam Ass you can download it then just copy the 
>>> JAR file
>> and the object.mgt file over if you
>>> like. I think these are the only files that have changed.
>>> 
>>> All the best
>>> 
>>> David
>>> 
>> 
>> Hi David
>> 
>> I gave the new JAM a go this weekend. It built some of my old space 
>> invaders source without any modification and the loader seems to work 
>> fine for me. I have yet to read the Read Me but that is usually the 
>> last resort, right? :)
>> 
>> Cheers
>> 
>> Andrew
>> 
>> 
>> 
> NO! It's not just a PC version of comet. There are differences to comet,
> extra features and commands like Macros and Classes.
> 
> Come on. I didn't write the readme for my health. It's worth a look. I would
> look at entering source onwards for a start.
>> 
> 
> 



RE: Jam Assembler

2012-02-12 Thread Stefan Drissen
Thanks - searching for pyz80 instead of py80 (which did return a hit at
http://sam.speccy.cz/revivalmag.html) helps :-) 

-Original Message-
From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On
Behalf Of Andrew Collier
Sent: maandag 13 februari 2012 00:13
To: sam-users@nvg.ntnu.no
Subject: Re: Jam Assembler


On 12 Feb 2012, at 23:01, Stefan Drissen wrote:

> Andrew's py80 (of which the only reference I can find is on a Czech 
> site referring to a SAM Revival article)

http://www.intensity.org.uk/samcoupe/pyz80.html

Andrew




Re: Jam Assembler

2012-02-12 Thread Andrew Collier

On 12 Feb 2012, at 23:01, Stefan Drissen wrote:

> Andrew's py80 (of which the only reference I can find is on a Czech site
> referring to a SAM Revival article)

http://www.intensity.org.uk/samcoupe/pyz80.html

Andrew



RE: Jam Assembler

2012-02-12 Thread Stefan Drissen
Hi David,

I had a quick peek at the latest version and noticed that the jar is the
same as the old one (july 2010). Opened up my source file and the first
thing I wanted to do was find where I had left off... grrr no CTRL+F (as
mentioned earlier). So I thought I'd have another look at Eclipse for fun,
starting at
http://wiki.eclipse.org/The_Official_Eclipse_FAQs#Implementing_Support_for_Y
our_Own_Language

I could use someone else's compiler (http://pasmo.speccy.org for example) or
Andrew's py80 (of which the only reference I can find is on a Czech site
referring to a SAM Revival article) but I seem to already have used lots of
nice JAM features in my source requiring more tinkering to that.

Any chance of a command line version JAM compiler?

Cheers!


Stefan



-Original Message-
From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On
Behalf Of david brant
Sent: maandag 6 februari 2012 20:15
To: sam-users@nvg.ntnu.no
Subject: Re: Jam Assembler


On 6 Feb 2012, at 08:57, Andrew Gillen wrote:

> david brant  writes:
> 
>> 
>> Hi All,
>> 
>> I've uploaded a new version of Jam Assembler to my web site. It's not 
>> the
> version I was hoping to upload but it
>> is an improvement on the last.
>> 
>> Has easier object loader on SAM Coupe side hope people like it. I've 
>> also
> updated the read me file so please
>> read it.
>> 
>> Any problems please e-mail me I've updated the e-mail link on the read
me.
>> 
>> If you already have Jam Ass you can download it then just copy the 
>> JAR file
> and the object.mgt file over if you
>> like. I think these are the only files that have changed.
>> 
>> All the best
>> 
>> David
>> 
> 
> Hi David
> 
> I gave the new JAM a go this weekend. It built some of my old space 
> invaders source without any modification and the loader seems to work 
> fine for me. I have yet to read the Read Me but that is usually the 
> last resort, right? :)
> 
> Cheers
> 
> Andrew
> 
> 
> 
NO! It's not just a PC version of comet. There are differences to comet,
extra features and commands like Macros and Classes.

Come on. I didn't write the readme for my health. It's worth a look. I would
look at entering source onwards for a start.
> 




Re: Jam Assembler

2012-02-06 Thread david brant

On 6 Feb 2012, at 08:57, Andrew Gillen wrote:

> david brant  writes:
> 
>> 
>> Hi All,
>> 
>> I've uploaded a new version of Jam Assembler to my web site. It's not the
> version I was hoping to upload but it
>> is an improvement on the last.
>> 
>> Has easier object loader on SAM Coupe side hope people like it. I've also
> updated the read me file so please
>> read it.
>> 
>> Any problems please e-mail me I've updated the e-mail link on the read me.
>> 
>> If you already have Jam Ass you can download it then just copy the JAR file
> and the object.mgt file over if you
>> like. I think these are the only files that have changed.
>> 
>> All the best
>> 
>> David
>> 
> 
> Hi David
> 
> I gave the new JAM a go this weekend. It built some of my old space invaders
> source without any modification and the loader seems to work fine for me. I 
> have
> yet to read the Read Me but that is usually the last resort, right? :)
> 
> Cheers
> 
> Andrew
> 
> 
> 
NO! It's not just a PC version of comet. There are differences to comet, extra 
features and commands like Macros and Classes.

Come on. I didn't write the readme for my health. It's worth a look. I would 
look at entering source onwards for a start.
> 



Re: Jam Assembler

2012-02-06 Thread Andrew Gillen
david brant  writes:

> 
> Hi All,
> 
> I've uploaded a new version of Jam Assembler to my web site. It's not the
version I was hoping to upload but it
> is an improvement on the last.
> 
> Has easier object loader on SAM Coupe side hope people like it. I've also
updated the read me file so please
> read it.
> 
> Any problems please e-mail me I've updated the e-mail link on the read me.
> 
> If you already have Jam Ass you can download it then just copy the JAR file
and the object.mgt file over if you
> like. I think these are the only files that have changed.
> 
> All the best
> 
> David
> 

Hi David

I gave the new JAM a go this weekend. It built some of my old space invaders
source without any modification and the loader seems to work fine for me. I have
yet to read the Read Me but that is usually the last resort, right? :)

Cheers

Andrew






Re: JAM Assembler 1.13 problems?

2012-02-01 Thread david brant
Hi all

As people seem to think you can only have your code run at address &8000(32768) 
here how the loader works (I hope people can understand it!). Questions I have 
had have mainly about the loader

How the loader works

When using the default saving of Object file, Jam Assembler only saves what it 
needs to i.e. does not save big DEFS space or space the DUMP command has made. 
This is so you can have code and MDATA's in many different pages stored on one 
file and not super big file.

The format is:

Header

Address of code (2 bytes)   
Length in byte (2 bytes) 
Page of code (1 byte (0-31))

Code

the code data of the above length

After the code there will be another header then code etc. etc. until the end 
of the file.

Sam's loader

On the SAM Coupe's side when the disk image is booted auto file runs from line 
10 (not line 1). the loader program is loaded at 32527 and uses the rest of 
that page so you can't use 32527-32767 for your own code or extra basic code. 
It only loads the file as it needs it so loads the header first then the data 
and puts it in the right pages. So the object file on the disk says it starts 
at 32768 but it's never loaded there.

After it booted you can run the basic which just calls 32768 or just type CALL 
??

I will upload a new version soon which will include an input call address 
statement on the SAM side of things.

Hope this helps people. If not just ask!!!

All the best

David

P.S. The name has come from  merging SAM and Java (well sort of!)

On 1 Feb 2012, at 09:05, Andrew Gillen wrote:

> Hi David,
> 
> I have used JAM and found it to be an excellent environment. Much of the 
> original code I wrote for Dave was developed  using it but I found the 
> default build to address $8000 a limitation, so I ended up with a 
> context/pasmo setup  where I could do what I wanted and build to any address.
> 
> Cheers
> Andrew
> 
> 
> 
> On 1 Feb 2012, at 07:59, david brant  wrote:
> 
>> People do use it then, not had much in the way of feedback.
>> 
>> Jam Assembler does not doing anything special with the font or anything like 
>> that. It would be using Windows API for fonts and messages etc. i.e. 
>> anything standard windows stuff. 
>> 
>> Jam Assembler not been tested on anything newer than XP though. 
>> 
>> What version of Java is your computer using? Have you tried re loading Jam 
>> Assembler? I have a newer version on my computer which sorts out some 
>> project view issues and does method inheritance I'll upload it tonight with 
>> a bit of luck.
>> 
>> Otherwise can you send me a screen shot please.
>> 
>> On 1 Feb 2012, at 01:19, Balor Price wrote:
>> 
>>> 
>>> 
>>> So, hmmm... while I'm fired up...  
>>> 
>>> Anyone having problems with the GUI in Jam Assembler?  It's been a while 
>>> since I tinkered, but now I'm getting gobbledygook instead of English in 
>>> the dropdown menus and dialogue boxes... At a guess I'd say the font 
>>> lookups had gone askew, it's a JAR file that's executed so it's not relying 
>>> on Windows API calls or anything.  David?
>>> 
>>> Howard
>> 



Re: JAM Assembler 1.13 problems?

2012-02-01 Thread warren
Andrew/Balor/thomas those links and info are great! Thanks very much!  
(Finding a place with all the fred stuff is great... I've got a lot of  
them, but they're all hidden in a box somewhere lol!) Think I've got  
an 'original' copy of the tech manual that I got from FRED back in the  
old days, but handy to have the PDF too!


In a few months when I have some free time, I'm planning to get back  
into my SAM game project. :-) So keep an eye out!!



Quoting Andrew Gillen :


The Fred stuff is a goldmine.

Http://Sam.speccy.cz/coding.HTML has the series I think you are  
referring to. I used some code for the define key routine in my game  
from that series.


Personally, my basis for z80 learning was from the speccy. William  
Tangs Spectrum Machine Language for the Absolute Beginner helped  
massively to  get the basic concepts, then jon cauldwell's excellent  
tutorial helped with game flow and stuff like scoring.


I wrote a smAll, simple space invaders clone on speccy before moving  
on to the sam where I did a conversion of it as my first project  
(which was to be included as a hidden extra in Dave, buy I forgot to  
put it in).


Couple that lot with the tech manual and lurking on the World of  
Spectrum development forum sponging information and it all came  
together... Slowly!




Cheers
Andrew



On 1 Feb 2012, at 11:02, Thomas Harte  wrote:

I was too young to appreciate it at the time but I think Fred had a  
great series on assembly and the Sam that flowed into the sort of  
topics specifically of interest to game writers. Has anyone  
converted those to a modern document format?


Other than that I can tell you that z80 questions tend to get  
answered very quickly and in a good amount of detail on  
StackOverflow though one appears only once every other month or so,  
so it's not much of a learning resource.


On 1 Feb 2012, at 10:39, war...@wdlee.co.uk wrote:

On a related but slightly different note... Sometime in the near  
future, I want to get back into a fairly major SAM gaming project  
I was working on. I'm going to give JAM a go (Just quickly tested  
it on my machine running Windows 7, and seemks to work fine!). :-)  
I made the mistake of working in GamesMaster again when I started  
it last year, but I hit a bit of an annoying brick wall with it  
(Yes, I know... but it worked so well for my first few games! :-D  
) Unfortunately those limitations AREN'T because of the  
limitations of the SAM, so I don't want to compromise the game  
from what it could do, simply because of GamesMaster.


So my plan is to re-program it in Assembly. And my question is...  
(I think I may have asked this before, but for the life of me I  
can't remember, so sorry if I have!) what's the best resource for  
learning it?? ;-)


Dave, I love what you've done with "Dave Invaders" :-D What did  
you read for learning how to program it?


Quoting Balor Price :

Ah.  I am a moron.  Updated from Java 6 update 21 to update 30  
and the problem went away.


Must say, though, I would never have expected that to have been a  
problem, especially because your binaries are all JAR files  
instead of JAD midlets.  Okay I'm confused again now!


Howard


On 01-Feb-12 07:59, david brant wrote:

People do use it then, not had much in the way of feedback.

Jam Assembler does not doing anything special with the font or  
anything like that. It would be using Windows API for fonts and  
messages etc. i.e. anything standard windows stuff.


Jam Assembler not been tested on anything newer than XP though.

What version of Java is your computer using? Have you tried re  
loading Jam Assembler? I have a newer version on my computer  
which sorts out some project view issues and does method  
inheritance I'll upload it tonight with a bit of luck.


Otherwise can you send me a screen shot please.

On 1 Feb 2012, at 01:19, Balor Price wrote:



So, hmmm... while I'm fired up...

Anyone having problems with the GUI in Jam Assembler?  It's  
been a while since I tinkered, but now I'm getting gobbledygook  
instead of English in the dropdown menus and dialogue boxes...  
At a guess I'd say the font lookups had gone askew, it's a JAR  
file that's executed so it's not relying on Windows API calls  
or anything.  David?


Howard
















Re: JAM Assembler 1.13 problems?

2012-02-01 Thread Andrew Gillen
The Fred stuff is a goldmine. 

Http://Sam.speccy.cz/coding.HTML has the series I think you are referring to. I 
used some code for the define key routine in my game from that series.

Personally, my basis for z80 learning was from the speccy. William Tangs 
Spectrum Machine Language for the Absolute Beginner helped massively to  get 
the basic concepts, then jon cauldwell's excellent tutorial helped with game 
flow and stuff like scoring. 

I wrote a smAll, simple space invaders clone on speccy before moving on to the 
sam where I did a conversion of it as my first project (which was to be 
included as a hidden extra in Dave, buy I forgot to put it in).

Couple that lot with the tech manual and lurking on the World of Spectrum 
development forum sponging information and it all came together... Slowly!



Cheers 
Andrew



On 1 Feb 2012, at 11:02, Thomas Harte  wrote:

> I was too young to appreciate it at the time but I think Fred had a great 
> series on assembly and the Sam that flowed into the sort of topics 
> specifically of interest to game writers. Has anyone converted those to a 
> modern document format?
> 
> Other than that I can tell you that z80 questions tend to get answered very 
> quickly and in a good amount of detail on StackOverflow though one appears 
> only once every other month or so, so it's not much of a learning resource.
> 
> On 1 Feb 2012, at 10:39, war...@wdlee.co.uk wrote:
> 
>> On a related but slightly different note... Sometime in the near future, I 
>> want to get back into a fairly major SAM gaming project I was working on. 
>> I'm going to give JAM a go (Just quickly tested it on my machine running 
>> Windows 7, and seemks to work fine!). :-) I made the mistake of working in 
>> GamesMaster again when I started it last year, but I hit a bit of an 
>> annoying brick wall with it (Yes, I know... but it worked so well for my 
>> first few games! :-D ) Unfortunately those limitations AREN'T because of the 
>> limitations of the SAM, so I don't want to compromise the game from what it 
>> could do, simply because of GamesMaster.
>> 
>> So my plan is to re-program it in Assembly. And my question is... (I think I 
>> may have asked this before, but for the life of me I can't remember, so 
>> sorry if I have!) what's the best resource for learning it?? ;-)
>> 
>> Dave, I love what you've done with "Dave Invaders" :-D What did you read for 
>> learning how to program it?
>> 
>> Quoting Balor Price :
>> 
>>> Ah.  I am a moron.  Updated from Java 6 update 21 to update 30 and the 
>>> problem went away.
>>> 
>>> Must say, though, I would never have expected that to have been a problem, 
>>> especially because your binaries are all JAR files instead of JAD midlets.  
>>> Okay I'm confused again now!
>>> 
>>> Howard
>>> 
>>> 
>>> On 01-Feb-12 07:59, david brant wrote:
 People do use it then, not had much in the way of feedback.
 
 Jam Assembler does not doing anything special with the font or anything 
 like that. It would be using Windows API for fonts and messages etc. i.e. 
 anything standard windows stuff.
 
 Jam Assembler not been tested on anything newer than XP though.
 
 What version of Java is your computer using? Have you tried re loading Jam 
 Assembler? I have a newer version on my computer which sorts out some 
 project view issues and does method inheritance I'll upload it tonight 
 with a bit of luck.
 
 Otherwise can you send me a screen shot please.
 
 On 1 Feb 2012, at 01:19, Balor Price wrote:
 
> 
> So, hmmm... while I'm fired up...
> 
> Anyone having problems with the GUI in Jam Assembler?  It's been a while 
> since I tinkered, but now I'm getting gobbledygook instead of English in 
> the dropdown menus and dialogue boxes... At a guess I'd say the font 
> lookups had gone askew, it's a JAR file that's executed so it's not 
> relying on Windows API calls or anything.  David?
> 
> Howard
 
>>> 
>> 
>> 
>> 


Re: JAM Assembler 1.13 problems?

2012-02-01 Thread Balor Price

On 01-Feb-12 10:39, war...@wdlee.co.uk wrote:
On a related but slightly different note... Sometime in the near 
future, I want to get back into a fairly major SAM gaming project I 
was working on. I'm going to give JAM a go (Just quickly tested it on 
my machine running Windows 7, and seemks to work fine!). :-) I made 
the mistake of working in GamesMaster again when I started it last 
year, but I hit a bit of an annoying brick wall with it (Yes, I 
know... but it worked so well for my first few games! :-D ) 
Unfortunately those limitations AREN'T because of the limitations of 
the SAM, so I don't want to compromise the game from what it could do, 
simply because of GamesMaster.


So my plan is to re-program it in Assembly. And my question is... (I 
think I may have asked this before, but for the life of me I can't 
remember, so sorry if I have!) what's the best resource for learning 
it?? ;-)


Dave, I love what you've done with "Dave Invaders" :-D What did you 
read for learning how to program it?


Quoting Balor Price :

Ah.  I am a moron.  Updated from Java 6 update 21 to update 30 and 
the problem went away.


Must say, though, I would never have expected that to have been a 
problem, especially because your binaries are all JAR files instead 
of JAD midlets.  Okay I'm confused again now!


Howard


On 01-Feb-12 07:59, david brant wrote:

People do use it then, not had much in the way of feedback.

Jam Assembler does not doing anything special with the font or 
anything like that. It would be using Windows API for fonts and 
messages etc. i.e. anything standard windows stuff.


Jam Assembler not been tested on anything newer than XP though.

What version of Java is your computer using? Have you tried re 
loading Jam Assembler? I have a newer version on my computer which 
sorts out some project view issues and does method inheritance I'll 
upload it tonight with a bit of luck.


Otherwise can you send me a screen shot please.

On 1 Feb 2012, at 01:19, Balor Price wrote:



So, hmmm... while I'm fired up...

Anyone having problems with the GUI in Jam Assembler?  It's been a 
while since I tinkered, but now I'm getting gobbledygook instead of 
English in the dropdown menus and dialogue boxes... At a guess I'd 
say the font lookups had gone askew, it's a JAR file that's 
executed so it's not relying on Windows API calls or anything.  David?


Howard










(Sorry for thread-based top-posting again, back to the bottom in my 
defence top-posting is the standard at work)


>what's the best resource for learning [assembler]?? ;-)

Personal experience?  For reference, you'll need:

*The Technical Manual 
/http://www.google.co.uk/search?q=SAM+coupe+technical+manual&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a/

*Rodney Zaks' Programming the Z80www.z80.info/zip/zaks_book.pdf
*At least one other person to talk to, bounce ideas off, and experiment 
with.


Ideally, you'll be wanting a bound version of these three items, because 
you'll be referencing them an awful lot!


-Howard


Re: JAM Assembler 1.13 problems?

2012-02-01 Thread Thomas Harte
I was too young to appreciate it at the time but I think Fred had a great 
series on assembly and the Sam that flowed into the sort of topics specifically 
of interest to game writers. Has anyone converted those to a modern document 
format?

Other than that I can tell you that z80 questions tend to get answered very 
quickly and in a good amount of detail on StackOverflow though one appears only 
once every other month or so, so it's not much of a learning resource.

On 1 Feb 2012, at 10:39, war...@wdlee.co.uk wrote:

> On a related but slightly different note... Sometime in the near future, I 
> want to get back into a fairly major SAM gaming project I was working on. I'm 
> going to give JAM a go (Just quickly tested it on my machine running Windows 
> 7, and seemks to work fine!). :-) I made the mistake of working in 
> GamesMaster again when I started it last year, but I hit a bit of an annoying 
> brick wall with it (Yes, I know... but it worked so well for my first few 
> games! :-D ) Unfortunately those limitations AREN'T because of the 
> limitations of the SAM, so I don't want to compromise the game from what it 
> could do, simply because of GamesMaster.
> 
> So my plan is to re-program it in Assembly. And my question is... (I think I 
> may have asked this before, but for the life of me I can't remember, so sorry 
> if I have!) what's the best resource for learning it?? ;-)
> 
> Dave, I love what you've done with "Dave Invaders" :-D What did you read for 
> learning how to program it?
> 
> Quoting Balor Price :
> 
>> Ah.  I am a moron.  Updated from Java 6 update 21 to update 30 and the 
>> problem went away.
>> 
>> Must say, though, I would never have expected that to have been a problem, 
>> especially because your binaries are all JAR files instead of JAD midlets.  
>> Okay I'm confused again now!
>> 
>> Howard
>> 
>> 
>> On 01-Feb-12 07:59, david brant wrote:
>>> People do use it then, not had much in the way of feedback.
>>> 
>>> Jam Assembler does not doing anything special with the font or anything 
>>> like that. It would be using Windows API for fonts and messages etc. i.e. 
>>> anything standard windows stuff.
>>> 
>>> Jam Assembler not been tested on anything newer than XP though.
>>> 
>>> What version of Java is your computer using? Have you tried re loading Jam 
>>> Assembler? I have a newer version on my computer which sorts out some 
>>> project view issues and does method inheritance I'll upload it tonight with 
>>> a bit of luck.
>>> 
>>> Otherwise can you send me a screen shot please.
>>> 
>>> On 1 Feb 2012, at 01:19, Balor Price wrote:
>>> 
 
 So, hmmm... while I'm fired up...
 
 Anyone having problems with the GUI in Jam Assembler?  It's been a while 
 since I tinkered, but now I'm getting gobbledygook instead of English in 
 the dropdown menus and dialogue boxes... At a guess I'd say the font 
 lookups had gone askew, it's a JAR file that's executed so it's not 
 relying on Windows API calls or anything.  David?
 
 Howard
>>> 
>> 
> 
> 
> 


Re: JAM Assembler 1.13 problems?

2012-02-01 Thread warren
On a related but slightly different note... Sometime in the near  
future, I want to get back into a fairly major SAM gaming project I  
was working on. I'm going to give JAM a go (Just quickly tested it on  
my machine running Windows 7, and seemks to work fine!). :-) I made  
the mistake of working in GamesMaster again when I started it last  
year, but I hit a bit of an annoying brick wall with it (Yes, I  
know... but it worked so well for my first few games! :-D )  
Unfortunately those limitations AREN'T because of the limitations of  
the SAM, so I don't want to compromise the game from what it could do,  
simply because of GamesMaster.


So my plan is to re-program it in Assembly. And my question is... (I  
think I may have asked this before, but for the life of me I can't  
remember, so sorry if I have!) what's the best resource for learning  
it?? ;-)


Dave, I love what you've done with "Dave Invaders" :-D What did you  
read for learning how to program it?


Quoting Balor Price :

Ah.  I am a moron.  Updated from Java 6 update 21 to update 30 and  
the problem went away.


Must say, though, I would never have expected that to have been a  
problem, especially because your binaries are all JAR files instead  
of JAD midlets.  Okay I'm confused again now!


Howard


On 01-Feb-12 07:59, david brant wrote:

People do use it then, not had much in the way of feedback.

Jam Assembler does not doing anything special with the font or  
anything like that. It would be using Windows API for fonts and  
messages etc. i.e. anything standard windows stuff.


Jam Assembler not been tested on anything newer than XP though.

What version of Java is your computer using? Have you tried re  
loading Jam Assembler? I have a newer version on my computer which  
sorts out some project view issues and does method inheritance I'll  
upload it tonight with a bit of luck.


Otherwise can you send me a screen shot please.

On 1 Feb 2012, at 01:19, Balor Price wrote:



So, hmmm... while I'm fired up...

Anyone having problems with the GUI in Jam Assembler?  It's been a  
while since I tinkered, but now I'm getting gobbledygook instead  
of English in the dropdown menus and dialogue boxes... At a guess  
I'd say the font lookups had gone askew, it's a JAR file that's  
executed so it's not relying on Windows API calls or anything.   
David?


Howard










Re: JAM Assembler 1.13 problems?

2012-02-01 Thread Balor Price
Ah.  I am a moron.  Updated from Java 6 update 21 to update 30 and the 
problem went away.


Must say, though, I would never have expected that to have been a 
problem, especially because your binaries are all JAR files instead of 
JAD midlets.  Okay I'm confused again now!


Howard


On 01-Feb-12 07:59, david brant wrote:

People do use it then, not had much in the way of feedback.

Jam Assembler does not doing anything special with the font or anything like 
that. It would be using Windows API for fonts and messages etc. i.e. anything 
standard windows stuff.

Jam Assembler not been tested on anything newer than XP though.

What version of Java is your computer using? Have you tried re loading Jam 
Assembler? I have a newer version on my computer which sorts out some project 
view issues and does method inheritance I'll upload it tonight with a bit of 
luck.

Otherwise can you send me a screen shot please.

On 1 Feb 2012, at 01:19, Balor Price wrote:



So, hmmm... while I'm fired up...

Anyone having problems with the GUI in Jam Assembler?  It's been a while since 
I tinkered, but now I'm getting gobbledygook instead of English in the dropdown 
menus and dialogue boxes... At a guess I'd say the font lookups had gone askew, 
it's a JAR file that's executed so it's not relying on Windows API calls or 
anything.  David?

Howard




Re: JAM Assembler 1.13 problems?

2012-02-01 Thread david

Quoting Balor Price :


Ah, well the feedback is probably my fault then as it's the only
cross-assembler I've been using for SAM stuff.  I tried PASMO and
AS8080 but so far haven't really streamlined my compile-test-debug
phases, so it was a natural choice.  I'll send you the details
off-list... :)
Howard


I've never seen JAM myself (will avoid strawberry related puns!) but  
will certainly have a look at this too when I have time!


Re: JAM Assembler 1.13 problems?

2012-02-01 Thread Balor Price
Ah, well the feedback is probably my fault then as it's the only 
cross-assembler I've been using for SAM stuff.  I tried PASMO and AS8080 
but so far haven't really streamlined my compile-test-debug phases, so 
it was a natural choice.  I'll send you the details off-list... :)

Howard

On 01-Feb-12 07:59, david brant wrote:

People do use it then, not had much in the way of feedback.

Jam Assembler does not doing anything special with the font or anything like 
that. It would be using Windows API for fonts and messages etc. i.e. anything 
standard windows stuff.

Jam Assembler not been tested on anything newer than XP though.

What version of Java is your computer using? Have you tried re loading Jam 
Assembler? I have a newer version on my computer which sorts out some project 
view issues and does method inheritance I'll upload it tonight with a bit of 
luck.

Otherwise can you send me a screen shot please.

On 1 Feb 2012, at 01:19, Balor Price wrote:



So, hmmm... while I'm fired up...

Anyone having problems with the GUI in Jam Assembler?  It's been a while since 
I tinkered, but now I'm getting gobbledygook instead of English in the dropdown 
menus and dialogue boxes... At a guess I'd say the font lookups had gone askew, 
it's a JAR file that's executed so it's not relying on Windows API calls or 
anything.  David?

Howard




Re: JAM Assembler 1.13 problems?

2012-02-01 Thread Andrew Gillen
Hi David,

I have used JAM and found it to be an excellent environment. Much of the 
original code I wrote for Dave was developed  using it but I found the default 
build to address $8000 a limitation, so I ended up with a context/pasmo setup  
where I could do what I wanted and build to any address.

Cheers
Andrew



On 1 Feb 2012, at 07:59, david brant  wrote:

> People do use it then, not had much in the way of feedback.
> 
> Jam Assembler does not doing anything special with the font or anything like 
> that. It would be using Windows API for fonts and messages etc. i.e. anything 
> standard windows stuff. 
> 
> Jam Assembler not been tested on anything newer than XP though. 
> 
> What version of Java is your computer using? Have you tried re loading Jam 
> Assembler? I have a newer version on my computer which sorts out some project 
> view issues and does method inheritance I'll upload it tonight with a bit of 
> luck.
> 
> Otherwise can you send me a screen shot please.
> 
> On 1 Feb 2012, at 01:19, Balor Price wrote:
> 
>> 
>> 
>> So, hmmm... while I'm fired up...  
>> 
>> Anyone having problems with the GUI in Jam Assembler?  It's been a while 
>> since I tinkered, but now I'm getting gobbledygook instead of English in the 
>> dropdown menus and dialogue boxes... At a guess I'd say the font lookups had 
>> gone askew, it's a JAR file that's executed so it's not relying on Windows 
>> API calls or anything.  David?
>> 
>> Howard
> 


Re: JAM Assembler 1.13 problems?

2012-02-01 Thread david brant
People do use it then, not had much in the way of feedback.

Jam Assembler does not doing anything special with the font or anything like 
that. It would be using Windows API for fonts and messages etc. i.e. anything 
standard windows stuff. 

Jam Assembler not been tested on anything newer than XP though. 

What version of Java is your computer using? Have you tried re loading Jam 
Assembler? I have a newer version on my computer which sorts out some project 
view issues and does method inheritance I'll upload it tonight with a bit of 
luck.

Otherwise can you send me a screen shot please.

On 1 Feb 2012, at 01:19, Balor Price wrote:

> 
> 
> So, hmmm... while I'm fired up...  
> 
> Anyone having problems with the GUI in Jam Assembler?  It's been a while 
> since I tinkered, but now I'm getting gobbledygook instead of English in the 
> dropdown menus and dialogue boxes... At a guess I'd say the font lookups had 
> gone askew, it's a JAR file that's executed so it's not relying on Windows 
> API calls or anything.  David?
> 
> Howard



Re: JAM Assembler - creating object file

2010-07-18 Thread david brant
Your not the only one had this problem. It's there so you can have multiple 
dump commands with just one object file.
 
On 18 Jul 2010, at 15:23, Stefan Drissen wrote:

> Never mind, the first bytes are used by the loadfile.o routine to load the 
> object code to the correct address in the correct page... 
> 
> On Sun, Jul 18, 2010 at 4:17 PM, Stefan Drissen  
> wrote:
> Maybe I'm just daft, but I don't get it... so I've created the massively 
> complex m/c routine:
> 
>   DUMP 1,0
>   ORG 32768
>   LD A,6
>   OUT (254),A
>   RET
> 
> I then assemble this (F11) and then run SimCoupe (F9). 
> 
> 1. starting SimCoupe starts it without the object.mgt disk being opened.
> 2. so open it manually and boot1
> 
> The object binary is 15 bytes - it should only be 5 bytes based on the source 
> above.
> Viewing the contents of the binary shows that it contains some leading and 
> trailing rubbish:
> 
> 32768: 0
> 32769: 0
> 32770: 5
> 32771: 0
> 32772: 1
> 32773: 62 <- here's LD A,
> 32774: 6
> ...
> 32777: 201
> 32778: 0
> 32779: 0
> 
> What's going on?
> 
> Regards,
> 
> Stefan
> 
> (using Windows Vista x64 just in case it matters).
> 



Re: JAM Assembler - creating object file

2010-07-18 Thread Stefan Drissen
Never mind, the first bytes are used by the loadfile.o routine to load the
object code to the correct address in the correct page...

On Sun, Jul 18, 2010 at 4:17 PM, Stefan Drissen wrote:

> Maybe I'm just daft, but I don't get it... so I've created the massively
> complex m/c routine:
>
> DUMP 1,0
> ORG 32768
>  LD A,6
> OUT (254),A
> RET
>
> I then assemble this (F11) and then run SimCoupe (F9).
>
> 1. starting SimCoupe starts it without the object.mgt disk being opened.
> 2. so open it manually and boot1
>
> The object binary is 15 bytes - it should only be 5 bytes based on the
> source above.
> Viewing the contents of the binary shows that it contains some leading and
> trailing rubbish:
>
> 32768: 0
> 32769: 0
> 32770: 5
> 32771: 0
> 32772: 1
> 32773: 62 <- here's LD A,
> 32774: 6
> ...
> 32777: 201
> 32778: 0
> 32779: 0
>
> What's going on?
>
> Regards,
>
> Stefan
>
> (using Windows Vista x64 just in case it matters).
>


Re: JAM Assembler - issue with RET M

2010-07-18 Thread Stefan Drissen
Great! I think all the M conditions are handled incorrectly, JP M was also
converted to JP .HELP

Best regards,

Stefan

On Sun, Jul 18, 2010 at 1:38 PM, david brant  wrote:

> Hi Stefan,
>
> I thought I tested all the opcodes in the convertion, I will look into it

Re: JAM Assembler - issue with RET M

2010-07-18 Thread david brant
Hi Stefan,

I thought I tested all the opcodes in the convertion, I will look into it. Good 
point about find/replace I see what I can do.

All the best

David

On 17 Jul 2010, at 23:41, Stefan Drissen wrote:

> After previous post I thought I'd happily find / replace all implicit ADD A 
> opcodes... but there is no find / replace... :-( Twenty assemble attempts 
> later I run into the following strange conversion:
> 
> RET M from a Comet source is converted to:
> 
>  RET ·HELP 
> 
> Best regards,
> 
> Stefan