Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2385

programming • help with c64 machine code

$
0
0
can someone explain it in 6502 beeb :lol:

what means &usb_int. ( DENTER("USB_INIT") ???

is it like PROC usb_int ??
and is .) ENDPROC ??

DENTER ??


&usb_init .(
DENTER("USB_INIT")

jsr init_devno

ldy #0
lda #$ff
i1sta devnum,y; illegal device num
iny
cpy #MAX_DEV
bne i1

jsr hub_init; init hub structures

jsr usb_host_init; init hardware
bcs err
lda #$80
sta state
rts
errlda #$00
sta state
lda #ERR_NO_HW
rts
.)

Statistics: Posted by duikkie — Thu Jun 27, 2024 5:43 am



Viewing all articles
Browse latest Browse all 2385

Trending Articles