home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.95 / text0564.txt < prev    next >
Encoding:
Text File  |  1996-04-02  |  1.7 KB  |  36 lines

  1. >>>>> "ahem" == ahem  <SYNNAD@uncvx1.oit.unc.edu> writes:
  2.  
  3.     ahem> Emilio Moreno:
  4.     EM> Solarian II v1.03 It works fine. This is an amazing color
  5.     EM> arcade game similar to Maelstrom.  This SHOULD BE in a demo
  6.     EM> volume only -refresh [GREEN]
  7.  
  8.     ahem> How'd you get it to work?  I got it to work (perfectly but
  9.     ahem> unstably - would always crash eventually) on an earlier
  10.     ahem> version of Executor, but had no success with 1.99l.
  11.  
  12. Back when Executor allowed programs to write directly to the screen
  13. and we used page faults to do "bank switching", Solarian would hang,
  14. because it would write a long word that straddled a page, and the
  15. architecture of most SVGA boards would not allow us to map a bank that
  16. would include the entire long, so the naive page handling code would
  17. switch back and forth from bank to bank, each time the instruction was
  18. restarted a new fault would occur and this would go on indefinitely.
  19.  
  20. Now programs *can't* write directly to the screen, so you need to use
  21. "-refresh n" (where n is a number like 6) to periodically copy the
  22. memory that we pretend is the screen to the real screen.  This is a
  23. significant performance hit, but it has no problems with Solarian.
  24.  
  25. Eventually, we'll support some video boards ability to map linearly
  26. their frame buffer into memory and then we'll be able to let programs
  27. write directly to the screen (on PCs with those video boards) and
  28. we'll no longer have to worry about bank switching, since linear
  29. mapping obviates the need for bank switching.  It's not clear whether
  30. or not this capability will be ready by the time 2.0 ships.  Mat guess
  31. that it will, but we have a lot of other work to do as well.
  32.  
  33.     --Cliff
  34.  
  35.  
  36.