Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 11.05.2023 #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix 11.05.2023 #2

wants to merge 1 commit into from

Conversation

MrDemonid
Copy link

Hi Mark.
I found another error in the code. The file name was corrupted with multiple INCLUDE's attachments.

@ogdenpm
Copy link
Owner

ogdenpm commented May 11, 2023 via email

@MrDemonid
Copy link
Author

Ok.
If it's not a secret, then why as name+1?

@ogdenpm
Copy link
Owner

ogdenpm commented May 11, 2023 via email

@MrDemonid
Copy link
Author

Mark

There are no comrades for the taste and color :) For me it's clearer &name[1]. But it is not important.

In my modification, all utilities already support the 8.3 filename format, as in СP/M. I did not expand to 255 characters, since long file names are needed only in large projects, and under 8080 the processor of large projects cannot exist.

The idea about STDIO is interesting.

Parallel execution of ASM80 is also unnecessary, a dozen sources are compiled in less than a second. So why parallelize?
When the assembler crashed with an error, it is more or less clear from the tmp files where and from what. And where to look for and watch system ones?

Regarding the symbol table ASM80. I expanded it to 18 characters. As long as that's enough. I can suggest what, where and how to change.

Best regards.

@ogdenpm
Copy link
Owner

ogdenpm commented May 12, 2023 via email

@MrDemonid
Copy link
Author

Mark

You have convinced me. I will also introduce support for long file names.

I don't use gnu, so it's hard for me to argue something here. You know better.

My code is not complete. I do not post a history of code modification changes. In the attachment, the history is just for expanding the length of the names of identifiers to 18 characters. I apologize for the comments in Russian, but I keep these logs exclusively for myself. There you will understand everything without comments.

About system error codes. It seems to me that this is in vain, since each system has its own errors.

You can get rid of all temporary files altogether by simply replacing them with in-memory buffers. I already thought about it. But for now, I have things to do.

MODIFY3.TXT

@ogdenpm
Copy link
Owner

ogdenpm commented May 16, 2023 via email

@ogdenpm
Copy link
Owner

ogdenpm commented May 19, 2023 via email

@MrDemonid
Copy link
Author

Hi Mark.

I'll be sure to check it out. And I'll probably drag something into my version :)

So far I've added the missing loop to the PL/M compiler:
DO;

UNTIL ;
where is the loop exit condition, like in Pascal.

The only thing left to do is to add a select operator:
DO SWITCH;
: .
: .
END;
Because the native CASE is not always convenient.

@ogdenpm
Copy link
Owner

ogdenpm commented May 21, 2023 via email

@MrDemonid
Copy link
Author

Mark

I saw it in the sources of the AEDIT editor.
Yes, I am making a new PL/M-80, since the original compiler's toolkit has long been inconsistent with generally accepted standards.
The changes made are unlikely to affect compatibility with PL/M-86 because I'm not touching the language's syntax itself, and the two new syntax constructs don't play much of a role.
On the contrary, I'm trying to bring the syntax up to later versions. For starters I added support for the '_' symbol, now there is a working version with the @ symbol, but it's still in the testing phase.
But adding 32-bit data types is stalled for now. Stuck in the code generator. Existing tables are already filled to capacity, so I've postponed it until better times, when I have more free time.

PS: By the way, I haven't found PL/M-286 and moreover PL/M-386 anywhere. Is it realistic to find them somewhere?
Or at least their documentation.

@ogdenpm
Copy link
Owner

ogdenpm commented May 30, 2023 via email

@ogdenpm
Copy link
Owner

ogdenpm commented May 31, 2023 via email

@ogdenpm
Copy link
Owner

ogdenpm commented May 31, 2023 via email

@MrDemonid
Copy link
Author

Hi Mark.

Thanks for the link! I didn't know all of this was still in existence. Will be something to do at my leisure, when I have more free time.

Right now I have very little free time, and all I give to writing a game. Faced with the PL/M limit on the size of the structure, will have to remove that restriction.
I will make radical PL/M revamping only by autumn, when there will be less work. If I will not be drafted to the army, of course, but they already invited me to the recruiting office and told me, that in case of mobilization, I will be one of the first candidates :)

PS; If you don't mind, please post the compiled assembler binary. Too lazy to install GCC, for the sake of one assembly.

@ogdenpm
Copy link
Owner

ogdenpm commented Jun 16, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants