Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'famicom'

2128362 - Famicom Disk System emu. WIP2 by: nes emulation fds famicom
  1. -------------------------------------
  2.  
  3. /* LOADING OF FDS FILE */
  4.  
  5. -------------------------------------
  6.  
  7.         fseek(fp, 0, SEEK_END);
  8.         long size = ftell(fp);
  9.  
2128360 - Famicom Disk System emu. WIP2 by: nes emulation fds famicom
  1. -------------------------------------
  2.  
  3. /* LOADING OF FDS FILE */
  4.  
  5. -------------------------------------
  6.  
  7.         fseek(fp, 0, SEEK_END);
  8.         long size = ftell(fp);
  9.  
2128359 - Famicom Disk System emu. WIP2 by: nes emulation fds famicom
  1. -------------------------------------
  2.  
  3. /* LOADING OF FDS FILE */
  4.  
  5. -------------------------------------
  6.  
  7.         fseek(fp, 0, SEEK_END);
  8.         long size = ftell(fp);
  9.  
2128358 - Famicom Disk System emu. WIP2 by: nes emulation fds famicom
  1. -------------------------------------
  2.  
  3. /* LOADING OF FDS FILE */
  4.  
  5. -------------------------------------
  6.  
  7.         fseek(fp, 0, SEEK_END);
  8.         long size = ftell(fp);
  9.  
2127813 - Famicom Disk System emul. WIP: nes emulation fds famicom
  1. // Integer types
  2. typedef unsigned char u8;
  3. // Bitfield utilities
  4. template<unsigned bitno, unsigned nbits=1, typename T=u8>
  5. struct RegBit
  6. {
  7.     T data;
  8.     enum { mask = (1u << nbits) - 1u };
  9.  
2127812 - Famicom Disk System emul. WIP: nes emulation fds famicom
  1. // Integer types
  2. typedef unsigned char u8;
  3. // Bitfield utilities
  4. template<unsigned bitno, unsigned nbits=1, typename T=u8>
  5. struct RegBit
  6. {
  7.     T data;
  8.     enum { mask = (1u << nbits) - 1u };
  9.  
2127808 - Famicom Disk System emul. WIP: nes emulation fds famicom
  1. // Integer types
  2. typedef unsigned char u8;
  3. // Bitfield utilities
  4. template<unsigned bitno, unsigned nbits=1, typename T=u8>
  5. struct RegBit
  6. {
  7.     T data;
  8.     enum { mask = (1u << nbits) - 1u };
  9.  
2127807 - Famicom Disk System emul. WIP: nes emulation fds famicom
  1. // Integer types
  2. typedef unsigned char u8;
  3. // Bitfield utilities
  4. template<unsigned bitno, unsigned nbits=1, typename T=u8>
  5. struct RegBit
  6. {
  7.     T data;
  8.     enum { mask = (1u << nbits) - 1u };
  9.  
2127806 - Famicom Disk System emulation WI: nes emulation fds famicom
  1. // Integer types
  2. typedef unsigned char u8;
  3. // Bitfield utilities
  4. template<unsigned bitno, unsigned nbits=1, typename T=u8>
  5. struct RegBit
  6. {
  7.     T data;
  8.     enum { mask = (1u << nbits) - 1u };
  9.  
2127604 - Joel Yliluoma: nes emulation fds famicom
  1. // Integer types
  2. typedef unsigned char u8;
  3. // Bitfield utilities
  4. template<unsigned bitno, unsigned nbits=1, typename T=u8>
  5. struct RegBit
  6. {
  7.     T data;
  8.     enum { mask = (1u << nbits) - 1u };
  9.  
worth-right