Source file: /~heha/basteln/PC/usbfloppy/usbfloppy.zip/usb.h

#pragma once

typedef unsigned char byte;

register byte usbCfg asm("r2");
// Bit 0: Konfiguriert ja/nein

// Bit 6: Flash = Quelle für Deskriptordaten (sonst RAM)

void usbPoll();
void usbPollEP0();

void onSuspend();
void onResume();

#if 0

// Daten von EP0 abholen
// Adressraum von <addr> je nach Bit 6 von usbCfg
void usbEp0Send(const void*addr, int len);
// Daten an EP0 senden
// Adressraum stets RAM
int usbEp0Recv(void*addr, int len);

#define NOINIT __attribute__((section(".noinit")))

#endif
Detected encoding: ANSI (CP1252)4
Wrong umlauts? - Assume file is ANSI (CP1252) encoded