VOGONS


First post, by rainhenry

User metadata
Rank Newbie
Rank
Newbie

Hello, everyone!
I am using CUPL4.0a under the DOS system to try compiling its built-in example code - keyboard.pld.

List of executed commands:

c:
cd c:\cupl\examples
cupl -ja keyboard

It will generate this error:
-----------------------------------------------
CUPL: Universal Compiler for Programmable Logic
Version 4.0a Serial# MD-40A-8249
Copyright (C) 1983,1990 Logical Devices, Inc.
Licensed to XXXXX

cuplx
time: 3 secs
cupla
[0015ca] out of memory: parsing
time: 6 secs
total time: 9 secs

Fatal CUPL errors encountered ... program aborted!
-----------------------------------------------

I used the same method to compile other example codes and the code I wrote myself, and it worked fine. I also downloaded the generated jed file to the chip and it worked properly.
But for the keyboard.pld code, it seems that the problem is that it cannot request enough memory from the DOS system?
I have also tried to get the same error message in dosbox 0.74-3 and on real physical machines (80486+dos622), etc
May I ask which friend has encountered this problem before and how to solve it?
Thank you. We look forward to your reply

Reply 1 of 2, by rainhenry

User metadata
Rank Newbie
Rank
Newbie

In the screenshot in my attachment, there is a detailed description of the [0015CA] error code, but it does not provide a specific solution

Reply 2 of 2, by myne

User metadata
Rank Oldbie
Rank
Oldbie

best guesses

1) Too much memory and the tiny buffer counting it is overflowing. Reduce VM to... say 4mb.
2) Not enough conventional memory. Run MEM and/or memmaker.

I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic