1
0
mirror of https://github.com/open-simh/simh.git synced 2026-02-11 18:55:09 +00:00
Files
open-simh.simh/sim_card.c
Mark Pizzolato 9bc5014787 CARD: Avoid potential truncation warnings when allocating the deck buffer
Card decks will never be excessively large (> uint32) since there never
was a computer room big enough to hold that many cards. :-)

Hopper counts and size are all of type t_addr since they are referenced
relative to uptr->pos which tracks the hopper position.  That state is
managed so position is properly managed across a SAVE/RESTORE.

On some systems that use sim_card, t_addr is 64bits, hence
2020-01-18 10:44:16 -08:00

52 KiB