• Please review our updated Terms and Rules here

Emulation of rare graphics adapters

yevrowl

Member
Joined
Jun 26, 2022
Messages
20
Location
Kiev
No matter how much searched, just can't find what's the catch...
Everything works in all graphic modes, but only in Tandy the output of the Forsyth–Edwards notation does not work...
 

Attachments

  • chess.zip
    4.2 KB · Views: 4

yevrowl

Member
Joined
Jun 26, 2022
Messages
20
Location
Kiev
Optimized the code about twice. Now the stack is less than 64 kilobytes. However, when Tandy graphics adapter is called, an out-of-memory error is still generated. At the same time, there are no problems with other graphics adapters.
 

Attachments

  • chess.zip
    3.8 KB · Views: 2
  • chess.png
    chess.png
    2.8 KB · Views: 7
Last edited:

Plasma

Veteran Member
Joined
Nov 7, 2005
Messages
1,453
Sorry I didn't have time to look at this earlier.

You aren't actually out of memory. Apparently with GRAFIX lib you need to call ExitGraphics before returning to text mode or memory gets corrupted and weird stuff happens. Also in the notation sub you were still using LINE for Tandy mode.
 

Attachments

  • chessfix.zip
    5 KB · Views: 3
Top