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

For delphi 5 and to compile and run the new exe, remember to unzip and add the thdtimer to the project plus some minor fix for md100 and ramtran2 under osx #4

Open
kwccoin opened this issue Apr 3, 2024 · 2 comments

Comments

@kwccoin
Copy link

kwccoin commented Apr 3, 2024

Quite obvious for delphi programmer I guess but not me. Never did any Pascal one, other than Turbo Pascal for Bridge in 1980s, I guess ... and it works. Just not sure about the TCP version. Just in case someone else also find the issue.

The full process is

  1. get the delphi 5 from archive.org
  2. there is a serial number in the .ISO
  3. I successfully install delphi 5 onto a w7 bottle under crossOver
  4. also remember to let the crossOver ready (or the control panel to run
  5. if you run with exception to 0000000 must need those other files (like rom etc.)
  6. For es, it should be like this (and ai1000 need more ... etc. and MD100 ...)
  7. For em or the TCP version, it seems the generated pb2000c.exe cannot run on its own. Copy and write over the runable es version.
@wowczarek
Copy link
Owner

Hi there - yes to all of the above, build instructions are the same as per Piotr's original version. But you don't need to compile this yourself, there are already compiled binaries under "releases": https://github.com/wowczarek/pb2000em/releases

@kwccoin kwccoin changed the title To compile and run the new exe, remember to unzip and add the thdtimer For delphi 5 and to compile and run the new exe, remember to unzip and add the thdtimer to the project plus some minor fix for md100 and ramtran2 under osx Apr 4, 2024
@kwccoin
Copy link
Author

kwccoin commented Apr 4, 2024

I have some issues need to go immediately to hosiptal. Will read those later. At least for the ramtran2 there is no osx version. Hence I tried.

Quickly on top of the above, i tried to use md100.c and ramtran2.c under osx by compiling under it. It turns out I need to under osx (arm m2) a few minor updates to two files I.e. listX07.c and Make. But it works (sort of; seems so far ramtran2 does not report real time info unlike the md100; still it can read the ram after minor close down of ai1000; further test needed):

listX07.c has issue when make under osx:

listX07.c:523:12: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    static colon_pending = FALSE;
    ~~~~~~ ^
    int
listX07.c:524:12: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    static remark_pending = FALSE;

i.e. listX07 2 lines have to be changed for md100.c to compile under osx clang by declaring bool (I assume it is not integer):

    static bool colon_pending = FALSE;
    static bool remark_pending = FALSE;

and modify and add ramtran2 into Make file:

...
files:=	$(TARGET)/wav2raw $(TARGET)/wav2wav	\
	$(TARGET)/wave730 \
	$(TARGET)/wave850 $(TARGET)/waveX07	\
	$(TARGET)/list702 $(TARGET)/list730	\
	$(TARGET)/list850 $(TARGET)/list8000	\
	$(TARGET)/listX07 $(TARGET)/list74  	\
	$(TARGET)/bas702  $(TARGET)/bas730	\
	$(TARGET)/bas850  $(TARGET)/basX07	\
	$(TARGET)/md100 \
	$(TARGET)/ramtran2
...
$(TARGET)/ramtran2:	ramtran2.c
	$(CC) $(CCOPTS)	ramtran2.c
...

All good.

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

No branches or pull requests

2 participants