Proxy,
First, I was simply suggesting that you might have a path length problem. I don't use Win10... don't have a copy/license of it, nor do I have any future intention or need for it. For what little need I have for a Windows OS, Win7 works. If you've been able to get WDC Tools installed in a Win7 VM, then you should have a working environment.
looking into the registry the PATH variable is 622 characters long. 659 with the "C:\WDC\Tools\LIB;C:\WDC\Tools\INCLUDE" that WDCtools Adds. so it's not a PATH length problem. there must be some other strange incompatibility.
ohg whatever, atleast i got it working on a VM to assemble anything at all... even if it's slow.
It's becoming more clear that I don't know what you're attempting to run EhBasic on. Perhaps you can give me some detail on what it is and what hardware I/O it has. You mention a keyboard and terminal... exactly what do you mean by that??
yes i'm sorry, lets just get this straight.
this right here is the whole circuit.
it also has the Memory Map and IO Devices explained in the bottom left.
some more detail about the 2 IO Devices, the Terminal and Keyboard.
The Terminal is located at 0xDF00 and when writing to it it simply takes the byte (hopefully ASCII) and puts it on the screen from left to right.
it accepts special characters like Backspace, LF (Line Feed) and CR (Carriage Return), though sending both will make it go down 2 rows. so it's recommended go with just either and not both. sincet he Keyboard uses LF it's best to also just use a single LF character. it's in line with most Terminal software as well (if you use this on an actual 65C02 and use a Serial connection i mean)
also it's Amber colored because if you got a Monochrome display you might as well make it the best possible color!
The Keyboard is also rather simple, it's located at 0xDF00 as well and reading from it will just put the an ASCII character from the Buffer into the CPU and remove it from the Buffer, it also handles special characters like Backspace, or Return (which always turns into a single LF character like most Linux and UNIX systems).
0xDF01 is just connected to the "available" pin on the keyboard, which just indicates that anything was typed into it.
the actual Memory map and locations of the IO Devices depend on the 16 bit constants you can see on the screenshot. so it's completely arbitrary and i can change it to whatever is needed.
the current setup you see is identical in function to my 65C02 SBC.
Note that I referred you to look at my C02 Pocket SBC project. You can see what the hardware is, what routines are provided by the BIOS and Monitor code and how everything works... all hardware and software details are there... schematics, PCB layout, CPLD code, all source code, etc.
The standard version of EhBasic (which Klaus has been maintaining) also includes a simple console which supports a 6551 Async controller configured as a serial terminal. In short, you need to have a console to interact with. The CMOS version I worked on is more streamlined... uses several CMOS instructions, is smaller, uses less page zero space, etc., but it requires at a minimum two routines; one to get character input from a keyboard and a second one to send character output to a display.
Happy to help you get it running, but I need to know exactly what your hardware (physical or emulated) is.. and at a detailed level.
again sorry for being vague with everything. i hope the explaination above shows a bit more how the system works.
.
now, i need to know how to exactly assemble this. the ROM will end at 0xFFFF and start at whatever is needed to fit all of BASIC and the IO Functions.
so what should go into the .BAT file for this?
or is there another step i'm missing here?