Assembly Issues With MS Dos and Undefined Symbols Hello, I am trying to set up my Game Engine that I made in C. I was able to set it up a while back, but I need to recompile it. When I went back to compile it again, get an error in my assembly file that says: Undefined symbol: _SetPalette Undefined symbol: _SetVGAmode Undefined symbol: _inkey Unmatched ENDP: _SetPalette Unmatched ENDP: _SetVGAmode Unmatched ENDP: _inkey These variables were defined in two other files called ET.EQU and ET.MAC. I took these files from a source code thing from some old book I was reading for the ACK Raycasting engine. They seem to be some kind of "header" file for assembly... The lines of code where this error happens is here: PUBLIC _SetPalette PUBLIC _SetVGAmode PUBLIC _inkey All three of these variables are defined, I guess, in the other two files... My assembly is very weak, so if you need the ET.EQU and ET.MAC files, I can post them... If not, then I won't. Setup: Windows XP Virtual Machine Borland C++ 4.0. Thanks, -yaboi P.S. @SteveSegreto, if you could give me some assistance, that would be cool... You seem to know what you are doing when it comes to assembly and MSDOS programming. https://ift.tt/eA8V8J
Hello, I am trying to set up my Game Engine that I made in C. I was able to set it up a while back, but I need to recompile it. When I went back to compile it again, get an error in my assembly file that says: Undefined symbol: _SetPalette Undefined symbol: _SetVGAmode Undefined symbol: _inkey Unmatched ENDP: _SetPalette Unmatched ENDP: _SetVGAmode Unmatched ENDP: _inkey These variables were defined in two other files called ET.EQU and ET.MAC. I took these files from a source code thing from some old book I was reading for the ACK Raycasting engine. They seem to be some kind of "header" file for assembly... The lines of code where this error happens is here: PUBLIC _SetPalette PUBLIC _SetVGAmode PUBLIC _inkey All three of these variables are defined, I guess, in the other two files... My assembly is very weak, so if you need the ET.EQU and ET.MAC files, I can post them... If not, then I won't. Setup: Windows XP Virtual Machine Borland C++ 4.0. Thanks, -yaboi P.S. @SteveSegreto, if you could give me some assistance, that would be cool... You seem to know what you are doing when it comes to assembly and MSDOS programming.
from GameDev.net https://ift.tt/30I1phS
from GameDev.net https://ift.tt/30I1phS
ليست هناك تعليقات