Jumping In Debug, Says : 'MS DOS SUBSYSTEM ERROR'

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
hannibaldark
Newbie
Posts: 2
Joined: Wed Nov 28, 2007 4:19 am
Location: T?rkiye

Jumping In Debug, Says : 'MS DOS SUBSYSTEM ERROR'

Post by hannibaldark »

Hi there. Don't ask me why, I am using debug to create some asm codes for qb4.5. But when I code an example it works fine. But when I try to make my own loops or jumps and translate it to the basic it gives an ms dos sub system error. I realized that, adding any conditional/unconditional jumps makes the code crash. So, I went on realized that if you want to jump TO 122 from 100, you don't type : JMP 122, you must use relative adres to jump. Using 'JA FAR CX' doesn't crash, but at last I gave up. Please Somebody tell me, how to correct jump ?

PS: Qb combination Of Code is clearly perfect, The problem is at 'JMP' I am sure.

PS: when I Type The Command 'T' In debug (TRACE), Same error appers, 'MS DOS SUBSYTSEM ERROR: CS:XXXX IP:XXXX e.t.c.'

I am Using a Win Xp Home Edition
I have a P IV 3.06 CPU with HyperThreading Enabled
hannibaldark
Newbie
Posts: 2
Joined: Wed Nov 28, 2007 4:19 am
Location: T?rkiye

Post by hannibaldark »

Okay Guys. Things are going slower here. I made my own debugger and it was compliing the asm code line by line so when I typed ; JMP XXXX it was transfered to debug as CS:0100 JMP XXXX so the jumping was not correct. I identified that and the problem solved....
Post Reply