Bogdan,
Your problem occurs because a logical carriage return in DOS is
really two character : a carriage return and a line feed. I believe the
sequence is x'0D' (carriage return) and x'0A' line feed (or maybe its the
other way around). On UNIX systems, a logical carriage return is one
character : the x'0A' character (which we refer to as 'Carriage Return').
You could write a small program to preprocess your source code
(prior to assembly). Replace all occurrences of x'0A' with x'0D'x'0A'.
Regards,
Kenneth
There is no such thing as luck. 'Luck' is nothing but an absence of bad luck.
On Sat, 12 Dec 1998, Bogdan Taru wrote:
>
> Hi all,
> I've got a very strange que :stion for you: I'd like to use my Z80
emulator
> on my Linux machine instead of the emulator on Windoze. The only problem
> is that a file written in DOS has a strange character instead of Enter (a
> dark M -- seen in Linux). And the z80 assembler seems to like that
> character, because it always complains about not having it in UNIX. But it
> works just fine with a file wrote in Dos, but brought on the Linux
> partition. You can imagine that I cannot write the source file in Dos, and
> compile it in Linux, no matter how much I like Linux. So, anyone having
> any helpful ideas? Thanks...
>
> Have fun,
> bogdan
>
>
>
>