<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">PopolonY2K <<a href="mailto:popolony2k@popolony2k.com.br">popolony2k@popolony2k.com.br</a>> schrieb am Mi., 10. Juni 2020, 00:38:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you.<br><br>My library is very complete, 100% MSXBIOS, MSXDOS and MSXDOS2, Memory mapper and several others implementations ready, but they are working just with TP3.<br><br>Features like Inline code are provided by FPC by using Asm/EndAsm.<br></blockquote></div><div dir="auto"><br></div><div dir="auto">Correct. You'll need to rewrite any assembly code due to FPC having mnemonic based inline assembly. But to keep compatibility with TP you could use ifdefs for this (e.g. $ifdef fpc). </div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>But how to deal with absolute variables in FPC ? I think in older TP for PC is possible using absolute with address notation in the same way as old 16 bit style [Seg:Ofs], is this correct ?<br><br>But in machine with  absolute addressing like Z80, the behavior of absolute variables are the same as TP3 ?<br></blockquote></div><div dir="auto"><br></div><div dir="auto">As Z80 doesn't have segmentation like i8086 it's simply the same as for every other platform we support:</div><div dir="auto"><br></div><div dir="auto">var</div><div dir="auto">  SomeVar: Int8 absolute $1234;</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>