2 Skelton for retropc emulator
4 Author : Kyuma.Ohta <whatisthis.sowhat _at_ gmail.com>
14 class DLL_PREFIX RINGBUFFER : public FIFO
17 RINGBUFFER(int s, int empty_warn = -1, int fill_warn = -1);
18 virtual void write(int val, bool *p_fill_warn = nullptr);
19 virtual int read(bool *p_empty_warn = nullptr);
20 virtual int read_not_remove(int pt, bool *p_empty_warn = nullptr);
21 virtual void write_not_push(int pt, int d, bool *p_fill_warn = nullptr);