Mike Chambers
Veteran Member
- Joined
- Sep 2, 2006
- Messages
- 2,621
come on, are mr. brutman and i the only programmers here? can't be!
anybody else here working on any cool vintage programming projects? the best thing ppl can do with old machines is write new software that lets them communicate with all the newer services and stuff on the internet. it keeps them somewhat useful!
even though i generally program for DOS in quickbasic 4.5, it is still a viable language for old machines. especially when you incorporate ASM.
btw, if anybody is curious how to do that... you would go about it like this: (roughly)
you can even do some "compiling" within your qb code, for things like pointers to strings or other variable you need to ASM code to use.
if you wanna just try this out for kicks, load up a pre-existing .BIN/.COM file (compiled code) into that asm string and call it
it's great it combines the simplicity of QB coding with the power and speed of ASM for parts where the QB code for the same thing would otherwise take forever on an 8088 or 286 or what have you
anybody else here working on any cool vintage programming projects? the best thing ppl can do with old machines is write new software that lets them communicate with all the newer services and stuff on the internet. it keeps them somewhat useful!
even though i generally program for DOS in quickbasic 4.5, it is still a viable language for old machines. especially when you incorporate ASM.
btw, if anybody is curious how to do that... you would go about it like this: (roughly)
Code:
DIM asmStringData AS STRING
asmStringData = blahblahblah pre-compiled ASM code here, make sure you add a RET opcode at the end
DEF SEG = VARSEG(asmStringData)
CALL ABSOLUTE (SADD(asmStringData))
you can even do some "compiling" within your qb code, for things like pointers to strings or other variable you need to ASM code to use.
if you wanna just try this out for kicks, load up a pre-existing .BIN/.COM file (compiled code) into that asm string and call it
it's great it combines the simplicity of QB coding with the power and speed of ASM for parts where the QB code for the same thing would otherwise take forever on an 8088 or 286 or what have you
Last edited: