Files
nethack/sys/msdos
Ray Chason af79ad629c MS-DOS: some optimizations for tile handling
* In both the 16 color and the VESA mode, the tileset image is loaded
      and split into individual tiles; the tiles are then processed into a
      form that is compatible with the video mode in use. For 16 color mode,
      a tile is processed each time it is displayed, leading to slow
      redrawing. For VESA mode, each tile is processed at startup, leading
      to long startup times. Both modes are changed so that the tile is
      processed once, when it is first displayed, and the result is cached.

    * Use memcpy when splitting the image into tiles.

    * Only load the tileset once. In 16 color mode, for reasons I do not
      understand, the gr_init function is called twice, leading to delay
      in startup. This does not happen in VESA mode.
2026-07-04 13:43:23 -04:00
..
2026-04-26 11:08:10 -04:00
2026-06-12 11:00:28 -04:00
2026-04-26 11:08:10 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2002-01-05 21:05:57 +00:00
2022-10-02 20:41:02 -04:00
2002-01-05 21:05:57 +00:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00
2026-04-26 10:47:48 -04:00