Welcome, Guest. Please login or register.


Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - peterhiner

Pages: [1] 2
1
Weboldalak / Re: EP128.hu
« on: 2011.February.28. 14:34:45 »
Egy javaslat: A Books menüpontban az angol nyelvû könyvek alá oda lehetne tenni a német, holland és spanyol nyelvûeket is, hátha az odatévedõ külföldiek használni tudják. (Itt mellékeltem egy htm fájlt, amiben csoportosítva vannak az idegen nyelvû könyvek.) Egyébként a magyar részhez is fel lehetne ezeket tenni, a holland és spanyol gépkönyv úgy emlékszem, eddig csak Gafz oldalán volt fent.

Megint más: a belépõoldalra Laci javaslatára írtam egy rövidke angol szöveget. Tartalomra jó lesz?
Enterprise is a home computer from the 80's years. C64 and Spectrum are well known but Enterprise isn't. It has a Z80 processor as well as Spectrum and has extraordinary capabilities. Most programs were written by keen unprofessionals and there are a large number of Spectrum conversions as both computers have the same CPU. C64 owners also can find a lot of familiar programs here.

Enterprise was made in the UK. It spreaded in some European countries, such as France, Spain, Germany. The most pieces got maybe into Hungary. Hungarian developers wrote a lot of programs and created hardware extensions. Some pieces got into the ex-Soviet countries and even into Egypt. So, you will find here programs mostly of English and Hungarian origin. Have fun!

Files can be downloaded from the page in RAR format.  They can be unpacked by WinRar (www.rarlab.com) or file-manager utilities.


Here is my suggested version of the above:-

The Enterprise is a home computer from the 80's. The C64 and Spectrum are well known but the Enterprise isn't. It has a Z80 processor like the Spectrum and has extraordinary capabilities. Most of the programs were written by keen amateurs and there are a large number of Spectrum conversions, as both computers have the same CPU. C64 owners will also find a lot of familiar programs here.

The Enterprise was made in the UK, and it spread to some other European countries, such as France, Spain and Germany. Perhaps the largest number of machines were to be found in Hungary. Hungarian developers wrote a lot of programs and created hardware extensions. Some machines reached ex-Soviet countries and even Egypt. So, here you will find programs mostly of English and Hungarian origin. Have fun!

Files can be downloaded from this page in RAR format.  They can be unpacked by WinRar (www.rarlab.com) or file-manager utilities.

2
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.December.24. 14:07:51 »
Here is a new version of ZIPSRC.  I hope I have been successful in uploading it.  I can't see my attachment in the preview, so maybe it didn't work.  I will find out when I post this reply.

Anyway this new folder (ZIPSRC2) replaces all items in the previous one, because I have made several changes.

The main change is that I realised that ZIPSRC has enough space to contain full assembly language statements instead of many lines of machine code (only translated into db statements).  This extra space is available because ZIPSRC does not need to keep a list of labels for Basic lines.  So now the source file produced by ZIPSRC will be much easier to read.

I want to take this opportunity to congratulate all those who played a part in creating the EP Emulator.  I have just started using it and I find it fantastic.  Well done to everyone!

Also this is a good moment to wish you all Happy Christmas.  Here in England we have a white Christmas - lots of snow - too much really because we do not have enough facilities to deal with it properly.  I expect that you have snow in Hungary as well but probably you are more used to it.

3
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.November.05. 08:32:44 »
As I remember I tried to compile the program more times under EXOS 2.3 (hun) and the same bug appeared.

In that case I can only assume that a bug in EXOS 2.3 somehow caused a wrong byte to appear in the output file - actually this wrong byte is the lower half of an address, pointing to a string that is to be printed (displayed) on screen.  Because of this error the wrong characters are displayed on screen - partly a recognisable message and partly rubbish, which is exactly the result we have found.  Anyway you get the right results when you use the latest version of EXOS, so that is OK.  The only reason for investigating this error was to find out if there was an incorrect interaction between Zzzip and EXOS, and I am satisfied that there is no such problem in this case.

I will leave the subject of Exception Handling for another time.

4
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.November.04. 23:35:01 »
Well, I have investigated the two compiled versions of the Basic program.  First of all I compared them (using my COMP program) and found that they are almost exactly the same.  There is just one byte that is different between them and I believe that in the case of the version compiled using EXOS 23 (Hungarian)  the byte is simply an error.  I can not see any reason why EXOS would have any effect on the byte value written by ZZZip at this particular point and therefore I think it just one of those unexplained glitches.  In fact I think if you compiled the program again (under the same conditions) it would come out correctly this next time.

Also I looked at how calls are made to ROM routines (the question asked by Zozo).  Actually there are three questions that need to be answered. 

The first question is "How does Zzzip access EXOS routines while it is compiling a Basic program?" and the answer is that Zzzip always uses RST 30H.  The functions used by Zzzip are:
1   Open channel
2   Create channel
3   Close channel
5   Read character
6   Read block
8   Write block
9   Channel read status
11  Special function  (Zzzip only uses VIDEO  -  Display page)
24  Allocate segment
25  Free segment
26  Scan System Segments  (I think this is just used to exit to BASIC but I would need to check more carefully to be sure)
28  Explain Error Code

The second question is how compiled programs access EXOS routines.  I feel certain that the only method used is RST 30H.  However I am not sure which EXOS functions are used by compiled programs, and it is not very easy to find out.  Unfortunately I did not keep good records of the code used in compiled programs and the only way I can see this code is to disassemble a compiled program.  Then of course one example program will not contain all the Basic functions, so I will not know that all possible EXOS functions have been covered  -  unless of course I write a special Basic program that is nonsense but does contain all possible types of Basic statement.

The third question is how compiled programs access the Basic ROM.  I do not know the answer exactly and some of the code in compiled programs is so complex that I can not easily understand it.  However I seem to remember that for some functions the compiled program presents a standard Basic statement (or part of a statement) to the Basic ROM, to be interpreted and processed.  This is a question that I would need to investigate further.

I remember that one of the most difficult areas was Exception Handling  -  this is not surprising because it is only required when something has gone wrong! I noticed that in the Basic program written by Szipucsu there are several Handler routines and I would be interested to know whether these routines work correctly in a compiled program. 

5
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.November.03. 19:57:23 »
Some difficult questions about Zzzip and EXOS, but one easy question about English, which I will answer first.

We can use the word "mirror" to mean "reflect", although for a list of commands, such as in your program, we would simply say "mirror" rather than "mirroring".  However I think we would nornally use a different word.  I often edit photos with Adobe Photoshop, and that program has a number of rotate commands, two of which are Flip Vertical and Flip Horizontal.  (Not very good English really, as Vertical and Horizontal are adjectives  -  after a verb it would be better to use the adverbs Vertically and Horizontally).  Anyway these commands are identical to the functions in your program.  Because it is not so obvious in your program that the commands are meant to rotate the image, I would suggest that you use the commands "Flip Image Vertically" and "Flip Image Horizontally".

I will have to do some more work to try and answer the difficult questions.

6
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.October.29. 09:32:49 »
I can not think of any reason why the compiled program would be different BUT you must always remember that for some Basic functions the compiled program makes calls to subroutines in the Basic ROM.  When you are running a compiled program, you are running software in both the compiled program and the Basic ROM.  Therefore any differences in the the Basic ROM could become differences in the total software that you are running.  Also, when the compiled program or the Basic ROM makes calls to EXOS subroutines, then differences in EXOS may become differences in the total software.

It seems that most of the time there are no problems.  I find this quite amazing, when I think how many different versions of Basic ROM and EXOS people are now using (and also how many hardware configurations).  Zzzip was designed before any of these versions of software and hardware existed, and it was never properly tested in these different situations.  So of course sometimes there may be an obscure problem.

I wonder what particular event has caused you to ask this question.  Did you have a problem?

7
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.July.05. 22:49:29 »

Hello szipucsu

I have just seen your question about the possibility of 'unzzzipping' a 'zzzipped' program.  The simple answer is "No".  You just have to disassemble the program into Assembly Language, make your changes and then assemble it again.  I suppose I would have some advantage, because I might recognise some of the code used for Basic commands, but it would be a very difficult task without help from the original author of the Basic program.

Peter

8
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.May.05. 19:10:38 »

Well, I tried to compile Pacman and got the same result as other people (Too many labels), so I suppose that I must have edited the Basic program to reduce the number of lines before I compiled it all those years ago.   Unfortunately I do not seem to have kept a copy of the edited version, but I do not think it really matters - nobody needs to compile it any more.

By the way, while looking through my old discs, I found some more versions of Tetris (in my previous post I said I could compile TET454 without problem).  Anyway I found versions up to TET477 and I am not sure if that is the very latest version  -  this is the problem with going back to very old projects !  By the way, I could compile TET477 as well.

9
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.May.05. 17:41:11 »
Hello Everybody (including Andrew)

I am back from holiday and am back online, after a further delay due to my mother-in-law's 100th birthday (we had to organise all the celebrations and we had relatives coming from all over the world).

I have done a bit of work to answer a couple of questions that were asked before my holiday.  First of all I have found the difference between versions 1.1 and 1.2  of Zzzip.  Searching through some old discs I found a letter to Tim Box, in which I said that I had fixed a small bug.  Also on an old disc I found a little test program called TSQ.BAS (to Test Square Roots), which contained a simple loop
   100   FOR I = 16 TO 96 STEP 5
   110   PRINT INT( SQR (I) )
   120   NEXT

Both versions of Zzzip compiled this program without apparent problem, but the TSQ.ZIP output from version 1.1 produced rubbish and crashed, while TSQ.ZIP compiled by version 1.2 ran perfectly.  Now I remember that in fixing another problem I had made a careless mistake and created a problem with the SQR function - which has probably never been used in a compiled program, and therefore has probably never caused any trouble.  So I think that this little puzzle has been solved.

Secondly I remember that someone said they could not compile Tetris.  Well my computer (original Enterprise 128) compiles Tetris without any problem (I am compiling the Basic program version TET454).  I also recall that someone had a problem compiling PACMAN  -  I will try that and let you know the result.  I expect that the answer to this sort of problem will be that you have all made changes to your RAM or ROM, which causes problems for Zzzip.

I will be happy to try and answer any other questions that anyone wants to ask.

Lastly I will reply to Andrew's post  - great to hear from you again after all these years.  I have retired and (though I remember you as a young lad) I suppose you are getting on in years as well.  To answer your question about the source code for Zzzip, I sent it to Zozo and I am happy to make it freely available.  If you send me an e-mail (to peter_hiner wriggler hotmail.com) I will reply with a copy of the source code.  I lost touch with Tim Box and don't know what happened to him.  I know some people say he disappeared with a load of cash but I find that hard to believe - I always found him completely trustworthy and in any case I don't think that there was ever enough cash around to make anyone disappear !

Peter



10
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.March.12. 22:38:35 »
I wish to thank members of the Forum for your kind messages.  I have received a great welcome and I wish I had found your site before now.

I am delighted to find people who still love the Enterprise and, when I come back from holiday (April), I look forward to making contact again.

Peter

11
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.March.09. 20:21:23 »
I look forward to trying these Basic games speeded up by Zzzip - but as I explained before, I do not have time at the moment because I have to prepare for my holiday.  When I get back at the beginning of April, I will set up my Enterprise and try out some of the software on this site.

I assume that I can simply download software to my PC and then use the PC to write files on a floppy disk.  It worked the other way round (when I e-mailed some files to Zozo) so I suppose this should be OK.

12
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.March.09. 17:45:56 »
Well, I don't really know what the problem is.

First of all I should say that I think all the Basic versions that come with Zipped versions must be my programs.

Secondly, I believe that I compiled these Basic programs to produce the Zipped versions.

So what is different?  Well maybe you are right, that all your hardware additions and improvements are causing Zzzip to have problems. 

As far as I can remember, the error message "Too many Labels" means that the Assembly Language file (created during passes 1 and 2) is using too much memory for labels (at this moment I can not remember exactly what the limit is or even why there has to be a limit).  Most of the labels are used for Basic line numbers, so reducing the number of lines would obviously help.  I don't have my Enterprise set up and working at the moment (and I really should not spend time playing with it when I have to get ready for my holiday).  But in April I will try compiling these programs on my computer and see if I get any problems.

I am also puzzled by the comment from szipucsu that Tetris does not work.  It works on my machine without any problems.  However the next post from Zozo might explain this.  As far as I can remember, compiled programs will only work if there is a Basic ROM cartridge present  -  and of course in the days when Zzzip was written, there was only one Basic ROM - the English one.  If that is correct, it would not be surprising that they did not always work when a different Basic ROM cartridge was present - in fact it would be surprising if they ever worked.  I guess that the full explanation might be that the compiled program only uses the Basic ROM for certain functions, and therefore it would work sometimes but not in all cases.  For example I am beginning to remember that Single Dimension Arrays were given special treatment by Zzzip, so that they would run faster  -  this meant that Zzzip created completely independent code in the compiled program to handle these arrays.  However arrays with more than one dimension were handled by calling the appropriate subroutine in the Basic ROM  -  so they were not speeded up as much, but the benefit was that I avoided a large increase in the size of the compiled program.   I expect there were some other functions that were treated in the same way.

13
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.March.09. 14:50:51 »
All these games are mine :  Pacman, Orbs, Galaxians and Tetris.  That is to say,  I wrote some Basic programs suitable for the Enterprise and then compiled them with Zzzip.  Of course I did not invent the original games.

When you say that you tried to compile Pacman with Zzzip but got an error message "Too many labels", then I do not expect that you were trying to compile my Basic program but another one.  I do not think that the number of Labels was increased in Zzzip V1.2 (but of course I could always be wrong).  The reason why I think that you were compiling a different version is because I did not usually distribute the Basic versions of my games as they were far too slow (in English we say that "It's like watching paint dry").



14
Hall of Fame / Re: Zzzip Integer Compiler
« on: 2010.March.09. 08:32:50 »
Hi everyone!

I do not remember any V2.0 of Zzzip but I have sent V1.2 to Zozo. 

Of course he has permission to upload it and also some other software that I have sent him.  I am pleased that there is still some interest in Zzzip but worried that you have been using an earlier version for so long.  I wonder what bug there was in the earlier version - there must have been some reason why I produced V1.2.  If anyone found a bug, please let me know.

I found (and sent to Zozo) a program called ZIPX, which I think might have been a version that included Basic Extension commands.  I am sure someone will try this out and tell me what my program does!

I remember that I started to produce a version of Zzzip that handled sprites but I don't think it was ever finished.  Eventually I will try to find this and send it to you, but not until April.  I explained to Zozo that I am going on holiday to Brazil to visit my daughter.

By the way, I sent a long e-mail to Zozo, answering some questions about myself.  Perhaps he would like to publish it in the forum, to save me having to type it all again.

Regards
Peter

15
Egyéb témák / Re: Mi van a régi EP-s arcokkal? :)
« on: 2010.March.08. 20:20:21 »
Nem tökéletes - más szavakkal: "nagyon furcsa".  Úgy érzem, ugyanaz a Google-fordítása magyarról angolra.

Pages: [1] 2