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

Can't open Caswin program #1265

Closed
DarkameMaster opened this issue Feb 16, 2023 · 16 comments
Closed

Can't open Caswin program #1265

DarkameMaster opened this issue Feb 16, 2023 · 16 comments

Comments

@DarkameMaster
Copy link

DarkameMaster commented Feb 16, 2023

Describe the bug

So basically I get this error:

address=749A2850
access address=00C674AD
VM context
EAX:FFFF,ECX:3C97,EDX:FFFF,EBX:0008
ESP:C3F0,EBP:C420,ESI:0000,EDI:0000
ES:3C97,CS:12CF,SS:12B7,DS:3C8F,FS:0000,GS:0000
IP:1431, address:02F94241
EFLAGS:00003296

SEGV

Environment (please complete the following information):

  • OS: Windows 10 21H2

Additional context
The program requires another one called jobman in order to cut/print the designs (jobman can be opened), also it needs a dongle in order to work but my father purchased a cracked version that shoul work by itself. I don't know if that can be the problem.

trace.txt

@cracyc
Copy link
Contributor

cracyc commented Feb 16, 2023

Does this work in windows xp? If so try setting vdmdosver in otvdm.ini to 5.50.

@DarkameMaster
Copy link
Author

Does this work in windows xp? If so try setting vdmdosver in otvdm.ini to 5.50.

Yes, it works in Windows XP. I just changed the vdmdosver to 5.50 but it still doesn't work

@cracyc
Copy link
Contributor

cracyc commented Feb 16, 2023

Does it do anything different? The trace shows it's trying to load a win31 or win95 vxd which won't work on nt/xp/10 so it's not detecting that it's running on nt but the trace doesn't show why. https://github.com/leecher1337/haspnt64 suggests that the hasp dongle ntvdm driver expects dos ver to be 5.50.

@DarkameMaster
Copy link
Author

Now I get this
trace.txt

Should I install the hasp dongle driver?

@cracyc
Copy link
Contributor

cracyc commented Feb 16, 2023

22ac:21ac:trace:int21:DOSVM_Int21Handler AX=3306 BX=afc8 CX=2710 DX=0000 SI=0000 DI=12b7 DS=3c8f ES=11e7 EFL=00003246
22ac:21ac:trace:int21:DOSVM_Int21Handler GET TRUE VERSION NUMBER
22ac:21ac:trace:int21:DOSVM_Int21Handler returning: AX=3306 BX=0005 CX=2710 DX=0800 SI=0000 DI=12b7 DS=3c8f ES=11e7 EFL=00003246

BX=0005 which means it's still returning the wrong dos version. Did you remove the semicolon in front of vdmdosver=?

@DarkameMaster
Copy link
Author

Already worked! Sorry I didn't read that I needed to delete the semicolon, my bad!

@cracyc
Copy link
Contributor

cracyc commented Feb 16, 2023

Is it doing something different now?

@DarkameMaster
Copy link
Author

DarkameMaster commented Feb 16, 2023

The program is working as it should, the only problem now is that the LPT plotter isn't receiving any instructions from the software. Do I need to install a previous Windows version in order to make it work correctly? I did read that someone installed the Windows 1709 version in order to make it work his LPT device, but do you know what's happening or what I need to do?

@cracyc
Copy link
Contributor

cracyc commented Feb 16, 2023

Try making a new trace.

@DarkameMaster
Copy link
Author

DarkameMaster commented Feb 16, 2023

The trace.txt file is very huge to send it here, what should I do?

Sorry for closing it, I'm new in Github

@cracyc
Copy link
Contributor

cracyc commented Feb 16, 2023

Try zipping it. Text files compress well.

@DarkameMaster
Copy link
Author

Here it is

trace.zip

@cracyc
Copy link
Contributor

cracyc commented Feb 17, 2023

This change might help #1268

@DarkameMaster
Copy link
Author

DarkameMaster commented Feb 17, 2023

It still doesn't work. I think the problem is related with Windows 10 because my device is old, it is a Graphtec CE5000-60 and even with official drivers installed I can't stablish a connection by the LPT1 port...

By the way, when I cancel the cutting task from Jobman, I get the error in windows 10 printer manager, in queued files, that could mean that there isn't even a connection between Windows 10 and my plotter.

@cracyc
Copy link
Contributor

cracyc commented Feb 17, 2023

Is it a usb device? Then the port name might be not be lpt1. You might need to use "net use" or something to map the device to the lpt1 device.

@DarkameMaster
Copy link
Author

DarkameMaster commented Feb 17, 2023

I already made it work! The problem was the COM port, it wasn't correctly connected to the motherboard. Thank you for the help!

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