text stringlengths 1 1.05M |
|---|
INCLUDE "engine/surfing_minigame.asm"
INCLUDE "engine/yellow_intro.asm"
INCLUDE "data/animated_objects_3e_2.asm"
YellowIntroGraphics: INCBIN "gfx/yellow_intro.2bpp"
INCLUDE "engine/animated_objects_3e.asm"
|
; Copyright (c) 2011-2021 by Artem A. Gevorkyan (gevorkyan.org)
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, ... |
// Generated by Haxe 4.1.4
namespace hx {
unsigned char __res_37[] = {
0x80, 0x00, 0x00, 0x80,
137,80,78,71,13,10,26,10,0,0,
0,13,73,72,68,82,0,0,0,8,
0,0,0,8,8,6,0,0,0,196,
15,190,139,0,0,0,4,115,66,73,
84,8,8,8,8,124,8,100,136,0,
0,0,9,112,72,89,115,0,0,0,
118,0,0,0,118,1,78,123,38,8,
0,0,0,25,116,69,88,116,83,111,
1... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosSetSession DOS wrapper
;
; (c) osFree Project 2022, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokush... |
0x0000 (0x000000) 0x2104- f:00020 d: 260 | A = OR[260]
0x0001 (0x000002) 0x290D- f:00024 d: 269 | OR[269] = A
0x0002 (0x000004) 0x2104- f:00020 d: 260 | A = OR[260]
0x0003 (0x000006) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
... |
TITLE ALLOC.ASM - memory arena manager NAME Alloc
;**
; Microsoft Confidential
; Copyright (C) Microsoft Corporation 1991
; All Rights Reserved.
;
; Memory related system calls and low level routines for MSDOS 2.X.
; I/O specs are defined in DISPATCH.
;
; $ALLOC
; $SETBLOCK
; $DEALLOC
; $AllocOper
; arena_free_proces... |
;*
;* x86_64-bios/bootboot.asm
;*
;* Copyright (C) 2017 - 2021 bzt (bztsrc@gitlab)
;*
;* Permission is hereby granted, free of charge, to any person
;* obtaining a copy of this software and associated documentation
;* files (the "Software"), to deal in the Software without
;* restriction, including without limitation t... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Tiercoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... |
; A004397: a(n) = prime(n) + Fibonacci(n).
; Submitted by Jamie Morken(s1)
; 3,4,7,10,16,21,30,40,57,84,120,181,274,420,657,1040,1656,2645,4248,6836,11019,17790,28740,46457,75122,121494,196521,317918,514338,832153,1346396,2178440,3524715,5703026,9227614,14930503,24157974,39088332,63246153
mov $1,$0
add $0,1
seq $0,45 ... |
; A060945: Number of compositions (ordered partitions) of n into 1's, 2's and 4's.
; 1,1,2,3,6,10,18,31,55,96,169,296,520,912,1601,2809,4930,8651,15182,26642,46754,82047,143983,252672,443409,778128,1365520,2396320,4205249,7379697,12950466,22726483,39882198,69988378,122821042,215535903,378239143,663763424,1164823609,204... |
; A095394: a(n) = Floor[n^((n)/(n+1))], integer part of n^x where x = n/(n+1) < 1.
; 1,1,2,3,3,4,5,6,7,8,9,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,61,62,63,64,65,66,67,68
mov $3,$0
add $0,4
mul $0,2... |
data segment
abcd db "*$"
unive db "Sir Syed University of Engg. and Tech.$"
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
mov ax, data
mov ds, ax
mov es, ax
mov cx, 30
ex:
mov ah, 9
mov dx, offset abcd
int 21h... |
/*
* Souffle - A Datalog Compiler
* Copyright (c) 2018, The Souffle Developers. All rights reserved
* Licensed under the Universal Permissive License v 1.0 as shown at:
* - https://opensource.org/licenses/UPL
* - <souffle root>/licenses/SOUFFLE-UPL.txt
*/
/********************************************************... |
Name: ys_msub0.asm
Type: file
Size: 296269
Last-Modified: '2016-05-13T04:50:32Z'
SHA-1: F9CF95ACB1B1E97A4B8D8C61787C02847F44C114
Description: null
|
;================================================================================
; The Legend of Zelda, A Link to the Past - Randomizer General Development & Bugfixes
;================================================================================
lorom
;==============================================================... |
.386
.model flat,stdcall
option casemap :none
include windows.inc
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernel32.lib
DLG_ID equ 1
ADD_BUTTON_ID equ 1001
RESET_BUTTON_ID equ 1002
SCORE_LIST_BOX_ID equ 10... |
; A153757: a(n) = Sum_{k=1..n} A003266(k).
; Submitted by Jon Maiga
; 1,2,4,10,40,280,3400,68920,2296600,124819000,11029312600,1581276391000,367448845658200,138299522459392600,84276864426837376600,83129040425047907584600,132705616446736897029760600,342829213074356555028732544600
mov $4,$0
add $4,1
mov $6,$0
lpb $4
m... |
;**************************************************************************
;*
;* FILE playersupport.asm
;* Copyright (c) 2003 Daniel Kahlin <daniel@kahlin.net>
;* Written by Daniel Kahlin <daniel@kahlin.net>
;* $Id: playersupport.asm,v 1.10 2003/08/09 20:28:47 tlr Exp $
;*
;* DESCRIPTION
;* Functions needed to hand... |
; A199825: Number of -1..1 arrays x(0..n+1) of n+2 elements with zero sum and no two neighbors summing to zero
; Submitted by Jon Maiga
; 2,4,4,10,22,34,66,138,250,472,944,1806,3450,6772,13172,25478,49794,97348,189772,371246,727506,1424586,2793034,5483342,10766950,21154424,41599648,81840866,161080918,317230034,62503051... |
.386
STACK SEGMENT USE16 STACK
DB 200 DUP(0)
STACK ENDS
DATA SEGMENT USE16
BUF1 DB 0,1,2,3,4,5,6,7,8,9
BUF2 DB 10 DUP(0)
BUF3 DB 10 DUP(0)
BUF4 DB 10 DUP(0)
TIP DB 'Press any key to begin!$'
DATA ENDS
CODE SEGMENT USE16
ASSUME CS:CODE,DS:DATA,SS:STACK
START: MOV AX,DATA
MOV DS,AX
MOV ESI,0
MOV ECX,... |
; int esxdos_f_chdir(void *path)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_esxdos
PUBLIC esxdos_f_chdir
EXTERN asm_esxdos_f_chdir
esxdos_f_chdir:
ld a,__ESXDOS_DRIVE_CURRENT
jp asm_esxdos_f_chdir
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _esxdos_f_chdir
defc _esxdos_f_chdir = esxdos_f... |
dnl SPARC v8 mpn_umul_ppmm -- support for longlong.h for non-gcc.
dnl Copyright 1995, 1996, 2000 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Le... |
SECTION "fixed", ROM0[420]
PRINTT "{@}\n"
ds 69
PRINTT "{@}\n"
; FIXME: expected to land at $0000
SECTION "floating", ROM0
db @
ds 42
db @
|
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
; A208545: Number of 7-bead necklaces of n colors allowing reversal, with no adjacent beads having the same color.
; 0,0,9,156,1170,5580,19995,58824,149796,341640,714285,1391940,2559414,4482036,7529535,12204240,19173960,29309904,43730001,63847980,91428570,128649180,178168419,243201816,327605100,435965400,573700725,7471... |
;
; This file is automatically generated
;
; Do not edit!!!
;
; djm 12/2/2000
;
; ZSock Lib function: sock_abort
PUBLIC sock_abort
EXTERN no_zsock
INCLUDE "packages.def"
INCLUDE "zsock.def"
.sock_abort
ld a,r_sock_abort
call_pkg(tcp_all)
ret nc
; We failed..are we installed?
cp rc_pnf
scf ;signal error
... |
.data
message: .asciiz "Enter a number: "
even: .asciiz "even"
odd: .asciiz "odd"
.text
.globl main
.ent main
main: la $a0, message #1 print "insert a num"
li $v0, 4
syscall... |
; A151383: Number of walks within N^2 (the first quadrant of Z^2) starting at (0,0), ending on the vertical axis and consisting of 2 n steps taken from {(-1, -1), (-1, 0), (-1, 1), (1, 1)}
; Submitted by Jamie Morken(s1)
; 1,3,18,135,1134,10206,96228,938223,9382230,95698746,991787004,10413763542,110546105292,1184422556... |
; int __FASTCALL__ dup(int fd)
; 07.2009 aralbrec
XLIB dup
LIB stdio_fdcommon1, stdio_findfdslot, stdio_dupcommon1, stdio_dupcommon2
LIB stdio_error_ebadf_mc, stdio_error_enfile_mc
INCLUDE "../stdio.def"
; create a duplicate fd for an existing fd
; the duplicate will forward messages to the existing fd
;
; enter: l... |
; A332131: a(n) = (10^(2n+1)-1)/3 - 2*10^n.
; 1,313,33133,3331333,333313333,33333133333,3333331333333,333333313333333,33333333133333333,3333333331333333333,333333333313333333333,33333333333133333333333,3333333333331333333333333,333333333333313333333333333,33333333333333133333333333333,3333333333333331333333333333333
s... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x7c68, %rsi
lea addresses_normal_ht+0x19be8, %rdi
clflush (%rsi)
add $19505, %rdx
mov $79, %rcx
rep movsb
nop
nop
nop
nop
cmp %rbp, %rbp
lea addresses_D_ht+0xf8c8, %rsi
lea addresses_A... |
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <regex>
#include <sys/utsname.h>
#include <tuple>
#include <unistd.h>
#include "attached_probe.h"
#include "bcc_syms.h"
#include "common.h"
#include "libbpf.h"
#include <linux/perf_event.h>
#include <linux/version.h>
namespace bpftrace {
bpf_probe_at... |
// This file is part of www.nand2tetris.org
// Computes R0 = 2 + 3 (R0 refers to RAM[0])
@2
D=A
@3
D=D+A
@0
M=D
|
; A010947: Binomial coefficient C(31,n).
; 1,31,465,4495,31465,169911,736281,2629575,7888725,20160075,44352165,84672315,141120525,206253075,265182525,300540195,300540195,265182525,206253075,141120525,84672315,44352165,20160075,7888725,2629575,736281,169911,31465,4495,465,31,1
mov $1,31
bin $1,$0
mov $0,$1
|
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2019 Pivotal Software, Inc.
//
// @filename:
// CPhysicalFullMergeJoin.cpp
//
// @doc:
// Implementation of full merge join operator
//------------------------------------------------------------------... |
; vulpine window manager
const VULPINE_VERSION_MAJOR: 0
const VULPINE_VERSION_MINOR: 1
const VULPINE_VERSION_PATCH: 0
entry:
call enable_menu_bar
call clear_menu_bar
mov r0, menu_items_root
mov r1, 0xFFFFFFFF
call draw_menu_bar_root_items
draw_wallpaper:
; open the wallpaper file and draw it
... |
; subtracts the amount the player paid from their money
; sets carry flag if there is enough money and unsets carry flag if not
SubtractAmountPaidFromMoney_:
ld de, wPlayerMoney
ld hl, hMoney ; total price of items
ld c, 3 ; length of money in bytes
call StringCmp
ret c
ld de, wPlayerMoney + 2
ld hl, hMoney + 2 ... |
; A228137: Numbers that are congruent to {1, 4} mod 12.
; 1,4,13,16,25,28,37,40,49,52,61,64,73,76,85,88,97,100,109,112,121,124,133,136,145,148,157,160,169,172,181,184,193,196,205,208,217,220,229,232,241,244,253,256,265,268,277,280,289,292,301,304,313,316,325,328,337,340,349,352,361,364,373,376,385,388,397,400,409,412,4... |
/*
MPU9250_OffsetConfiguration.cpp
MIT License
Copyright (c) 2019 Alexandros Benetatos
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
right... |
; A016925: a(n) = (6*n + 1)^5.
; 1,16807,371293,2476099,9765625,28629151,69343957,147008443,282475249,503284375,844596301,1350125107,2073071593,3077056399,4437053125,6240321451,8587340257,11592740743,15386239549,20113571875,25937424601,33038369407,41615795893,51888844699,64097340625,78502725751,95388992557,115063617043... |
@7
D=A
@SP
A=M
M=D
@SP
M=M+1
@8
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
AM=M-1
D=M
A=A-1
M=M+D
|
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
;
;
SECTION code_clib
PUBLIC psg_init
PUBLIC _psg_init
psg_init:
_psg_init:
ld e,@01010101
xor a ; R0: Channel A frequency low bits
call outpsg
ld e,a
ld d,12
psg_iniloop:
inc a ; R1-13: set all to 0 but 7 and 11
cp 7
jr z,skip
;cp 11
;jr z,skip
call outpsg
skip:
dec d
jr nz,psg_iniloop
... |
db "SNAKE@" ; species name
dw 607, 150 ; height, weight
db "It flutters the"
next "tip of its tongue"
next "to seek out the"
page "scent of prey,"
next "then swallows the"
next "prey whole.@"
|
.386P
.model FLAT
externdef _d_zistepu:dword
externdef _d_pzbuffer:dword
externdef _d_zistepv:dword
externdef _d_zrowbytes:dword
externdef _d_ziorigin:dword
externdef _r_turb_s:dword
externdef _r_turb_t:dword
externdef _r_turb_pdest:dword
externdef _r_turb_spancount:dword
externdef _r_turb_turb:dword
exter... |
icl '../../os/symbols.asm'
org BOOTADDR
mva #0 ROS7
lda #9
ldx #OS_SET_VIDEO_MODE
jsr OS_CALL
mwa SUBPAL_START VRAM_TO_RAM
jsr lib_vram_to_ram
ldy #0
lda #$9A
sta (RAM_TO_VRAM), y
iny
lda #$9F
sta (RAM_TO_VRAM), y
iny
lda #$C8
sta (RAM_TO_VRAM), y
in... |
pla |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *memccpy(void * restrict s1, const void * restrict s2, int c, size_t n)
;
; Copy n chars from s2 to s1, stopping early the first time
; char c is copied.
;
; Return N... |
; A237420: If n is odd, then a(n) = 0; otherwise, a(n) = n.
; 0,0,2,0,4,0,6,0,8,0,10,0,12,0,14,0,16,0,18,0,20,0,22,0,24,0,26,0,28,0,30,0,32,0,34,0,36,0,38,0,40,0,42,0,44,0,46,0,48,0,50,0,52,0,54,0,56,0,58,0,60,0,62,0,64,0,66,0,68,0,70,0,72,0,74,0,76,0,78,0,80,0,82,0,84,0,86,0,88,0,90,0,92,0,94,0,96,0,98,0
mov $1,-2
bi... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(par... |
/* Copyright 2021
** Justin Baum
** MIT License
** AlgoExpert Solutions
*/
using namespace std;
bool isValidSubsequence(vector<int> array, vector<int> sequence) {
auto arr = array.begin();
auto seq = sequence.begin();
while (arr != array.end()) {
if (*arr == *seq)
++seq;
++arr;... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
; A285985: Numbers a(n) = (T(b(n)))^2, where T(b(n)) is the triangular number of b(n)= A000217(b(n)) and b(n)=A006451(n). Also a(n) = parameters K of the Bachet Mordell equation y^2=x^3+K, where x= T(b(n)) = A006454(n) and y= T(b(n))* sqrt(T(b(n))+1) = A285955(n)
; 0,9,225,14400,278784,16769025,322382025,19356600384,37... |
db 0 ; species ID placeholder
db 80, 82, 78, 85, 95, 80
; hp atk def spd sat sdf
db WATER, WATER ; type
db 75 ; catch rate
db 174 ; base exp
db APPLE, MIGRAINE_SEED ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/golduc... |
/**
*
* @file Criteria.cc
* @author An Tao
*
* Copyright 2018, An Tao. All rights reserved.
* https://github.com/an-tao/drogon
* Use of this source code is governed by a MIT license
* that can be found in the License file.
*
* Drogon
*
*/
#include <drogon/orm/Criteria.h>
#include <json/json.h>
nam... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x28dd, %r12
nop
cmp %r9, %r9
mov (%r12), %ecx
xor $19304, %r10
lea addresses_D_ht+0x4ae5, %rsi
nop
nop
nop
nop
add $19101, %rax
movb (%rsi), %bl
nop
and $43197, %rax
lea addre... |
Ani_49E7A: dc.w byte_49E7E-Ani_49E7A
dc.w byte_49E81-Ani_49E7A
byte_49E7E: dc.b $1F, 4, $FF
byte_49E81: dc.b 1, 3, 2, 1, 0, 1, 2, 3, $FD, 0, 0
|
dnl AMD64 mpn_addmul_1 optimised for Intel Broadwell.
dnl Copyright 2015, 2017 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Publi... |
; A028356: Simple periodic sequence underlying clock sequence A028354.
; 1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4,3,2,1,2,3,4
gcd $0,6
mov $1,$0
mod $1,6
add $1... |
; A001891: Hit polynomials; convolution of natural numbers with Fibonacci numbers F(2), F(3), F(4),....
; 0,1,4,10,21,40,72,125,212,354,585,960,1568,2553,4148,6730,10909,17672,28616,46325,74980,121346,196369,317760,514176,831985,1346212,2178250,3524517,5702824,9227400,14930285,24157748,39088098,63245913,102334080,16558... |
.include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 57
card_no equ "057"
card_sub equ "Mod Card 057"
card_sub_x ... |
BITS 64
global ooe
global memory_access
section .text
ooe:
movzx rax, byte [rcx]
shl rax, 0Ch
jz ooe
mov al, byte [rdx + rax]
ret
memory_access:
mov r9, rcx
rdtscp
shl rdx, 20h
or rax, rdx
mov r8, rax
mov rax, [r9]
rdtscp
shl rdx, 20h
or rax, rdx
sub rax,r8
ret
|
org 30000
tv_flag equ 5C3Ch
start
; Directs rst 10h output to main screen.
xor a
ld (tv_flag),a
call system__print_out
db 7,"Number:"
db 128+1
dw num
db 1, "/"
db 128+2
dw num2
db 2, " x"
db 128
db 3, "EOL"
db 0
; ld a, 'Z'
; call print_char
ret
num db 123
num2 dw 10317
platform__new_line_cha... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Copyright (c) 2016-2017 The Zcash developers
// Copyright (c) 2018 The Bitcoin Private developers
// Copyright (c) 2017-2018 The Bitcoin Gold developers
// Distributed under the MIT software license, see the accompanying
//... |
; float log2(float x) __z88dk_fastcall
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdcciy_log2_fastcall
EXTERN cm48_sdcciyp_dx2m48, am48_log2, cm48_sdcciyp_m482d
cm48_sdcciy_log2_fastcall:
call cm48_sdcciyp_dx2m48
call am48_log2
jp cm48_sdcciyp_m482d
|
; A010122: Continued fraction for sqrt(13).
; 3,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,1,1,1,6,1,... |
// Original test: ./english/hw4/problem6/st_2.asm
// Author: english
// Test source code follows
lbi r0, U.Here
slbi r0, L.Here // r0 contains address of ".Here"
lbi r1, -15
st r1, r0, 0 // .Here should have the value -15
ld r2, r0, 0 // r2 = -15
halt
halt
halt
halt
halt
halt
halt
halt
.Here:
halt
|
// Copyright (c) 2007-2017 Hartmut Kaiser
// Copyright (c) 2011 Bryce Lelbach
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <hpx/config.hpp>
#if defined(HPX_HAVE_LOGGING)
#include <hpx/exce... |
section .data
entry64:
dq 0
dq 0x0020980000000000
dq 0x0020f80000000000
dq 0x0000f20000000000
d_tss:
dw TssLen-1
dw 0
db 0
db 0x89
db 0
db 0
dq 0
64entry_len: equ $-Gdt64
64entry_ptr: dw Gdt64Len-1
dq Gdt64
Tss:
dd 0
dq 0x190000
... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distributi... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D3E move.l D0, (A4)+
004D40 dbra D1, $4d38
010E0E move.b ($5e,A2), D0
010E12 cmp.b ($5e,A3), D0 [item+5E]
010FCC move.b ($5e,A2), D0
010FD0 cmp.b ($5e,A3), D0 [item+5E]
0119C8 cmp.b ($5e... |
; STNICCC-Archie
; A port of STNICCC-2000 by Oxygene for the Acorn Archimedes series
;
.equ _DEBUG, 1
.equ Screen_Banks, 1
.equ Screen_Mode, 9
.equ Screen_Width, 320
.equ Screen_Height, 256
.equ Window_Width, 256
.equ Window_Height, 200
.equ Screen_Stride, Screen_Width/2 ; 4bpp
.equ Screen_Bytes, Screen_Stride*Scre... |
; TITLE '8080 system monitor, ver 1'
;
; July 11, 2015
;
TOP EQU 24 ;MEMORY TOP, K BYTES
ORGIN EQU (TOP-2)*1024 ;PROGRAM START
;
CPU 8080
ORG ORGIN
;
;
HOME EQU ORGIN ;ABORT ADDRESS
VERS EQU "17" ;VERSION NUMBER
STACK EQU ORGIN-60H
CSTAT EQU 10H... |
extern m7_ippsGFpECInitStd192r1:function
extern n8_ippsGFpECInitStd192r1:function
extern y8_ippsGFpECInitStd192r1:function
extern e9_ippsGFpECInitStd192r1:function
extern l9_ippsGFpECInitStd192r1:function
extern n0_ippsGFpECInitStd192r1:function
extern k0_ippsGFpECInitStd192r1:function
extern ippcpJumpIndexForMergedLib... |
L0456: equ 0456h
L047A: equ 047Ah
L049E: equ 049Eh
L064A: equ 064Ah
L1130: equ 1130h
L1203: equ 1203h
L13A1: equ 13A1h
L152B: equ 152Bh
L16CD: equ 16CDh
L1A97: equ 1A97h
L23ED: equ 23EDh
L2683: equ 2683h
L2942: equ 2942h
L5800: ... |
SECTION code_clib
PUBLIC plot_MODE1
.plot_MODE1
defc NEEDplot = 1
INCLUDE "target/pc6001/graphics/pixel_MODE1.inc"
|
/***********************************************************************************
** MIT License **
** **
** Copyright (c) 2018 Victor DENIS (victordenis01@gmail.com) ... |
; A268100: a(n) = 2^((n-1) mod 2)*5*10^floor((n-1)/2).
; Submitted by Jamie Morken(s3)
; 1,5,10,50,100,500,1000,5000,10000,50000,100000,500000,1000000,5000000,10000000,50000000,100000000,500000000,1000000000,5000000000,10000000000,50000000000,100000000000,500000000000,1000000000000,5000000000000,10000000000000
mov $1,... |
;GB2Twitter ROM by Daniel Chu (Pegmode)
;Thanks to DevEd for some code
;Constant Includes (DO NOT ADD CODE)
;==================================================
include "hardware.asm"
include "constants.asm"
include "macros.asm"
;Header (Code from here down)
;==================================================
include ... |
/*
*
* Copyright (c) 1998-2002
* Dr John Maddock
*
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
/*
* LOCATION: see http://www.boost.org for mo... |
#include <unistd.h>
#include "weather_app.h"
#include <string.h>
using namespace weather_app;
UserInterface::UserInterface(WeatherApp& sw) : Process("user input"), _weather_app(sw) {
initscr(); // Start ncurses
timeout(1); // Timeout for waiting for user input
noecho(); // Do not echo user input to ... |
; A178073: Partial sums of sequence A177342.
; 1,10,41,116,265,526,945,1576,2481,3730,5401,7580,10361,13846,18145,23376,29665,37146,45961,56260,68201,81950,97681,115576,135825,158626,184185,212716,244441,279590,318401,361120,408001,459306,515305,576276,642505,714286,791921,875720,966001,1063090,1167321,1279036,1398585,... |
lda {c1},x
bne !+
dec {c1}+1,x
!:
dec {c1},x |
#include "Artemis/ComponentTypeManager.h"
namespace artemis {
ComponentType & ComponentTypeManager::getTypeFor(const std::type_info &t) {
ComponentType * type = componentTypes[&t];
if(type == NULL) {
type = new ComponentType();
componentTypes[&t] = type;
}
return *type;
};
void ComponentTy... |
//
// detail/gcc_sync_fenced_block.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
... |
<%
from pwnlib.shellcraft.i386.linux import read
from pwnlib.shellcraft.i386 import setregs
from pwnlib.shellcraft import common
%>
<%page args="fd, buf, nbytes"/>
<%docstring>
Reads exactly nbytes bytes from file descriptor fd into the buffer buf.
Arguments:
fd(int): fd
buf(void): buf
nbytes(s... |
format mz
heap 1000h
stack 1000h
include 'loader.inc'
;fs= 0-based segment ;ds=es-data segnt cs=code segment gs=wolny
segment _code use32
code32:
alloc_dos:
mov [AErrorMsg],TMemoryErrorMsg
mov eax,100h ;alokuj pamiec dosa
mov ebx,40h ;400h bajtow 40h paragrafow 1024 bajty
int 31h ... |
; A163811: Expansion of (1 - x) * (1 - x^10) / ((1 - x^5) * (1 - x^6)) in powers of x.
; 1,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0,1,0,-1,0,0,0... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2017-2020 The CASTLE developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bignum.h"
/** C++ wrap... |
; Guard/Fire Rings
; Called after a SBC
; Optimized for different values
macro BranchIfGreaterOrEqual(minimum, address)
if <minimum> == 0
BNE <address>
elseif <minimum> == 1
BEQ ?less
BPL <address>
?less:
else
BCC ?less
CMP #<minimum> : BCS <address>
... |
// Copyright (c) 2014-2017 Hartmut Kaiser
// Copyright (c) 2021 Giannis Gonidelis
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <pika/init.hpp>
#include <pika/... |
*= $0801
.byte $4c,$16,$08,$00,$97,$32
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$30,$00,$00,$00,$a9
.byte $01,$85,$02
jsr print
.byte 13
.text "(up)insay"
.byte 0
lda #%00011011
sta db
lda #%11000110
s... |
// Copyright 1996-2021 Cyberbotics Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... |
;worksheet 2
;exercise 13
;AH = 07h - DIRECT CHARACTER INPUT, WITHOUT ECHO
;Return: AL = character read from standard input
;Set cursor position
;10h
;AH = 02h BH = Page Number, DH = Row, DL = Column
;Write character and attribute at cursor position
;10h
;AH = 09h AL = Character, BH = Page Number, BL = Color,
... |
; A014286: a(n) = Sum_{j=0..n} j*Fibonacci(j).
; 0,1,3,9,21,46,94,185,353,659,1209,2188,3916,6945,12223,21373,37165,64314,110826,190265,325565,555431,945073,1604184,2717016,4592641,7748859,13052145,21950853,36863494,61824694,103559033,173264921,289575995,483474153,806435428,1343928100,2237767329,3723117751,6189711205,1... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: legendSelect.asm
AUTHOR: Chris Boyke
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- ... |
;
;==================================================================================================
; UTILITY FUNCTIONS
;==================================================================================================
;
;
CHR_CR .EQU 0DH
CHR_LF .EQU 0AH
CHR_BS .EQU 08H
CHR_ESC .EQU 1BH
;
;___________... |
; hwport.incl.asm
;
; Well-known hardware ports
RTC_ADDR EQU 0x70
CMOS_ADDR EQU 0x71
PIC1 EQU 0x20
PIC2 EQU 0xA0
PIC1_COMMAND EQU PIC1
PIC1_DATA EQU PIC1+1
PIC2_COMMAND EQU PIC2
PIC2_DATA EQU PIC2+1
KDB_PS2_ADDR EQU 0x60
PIT_CHANNEL0 EQU 0x40
PIT_COMMAND EQU 0x43
PIT_DESIRED_FREQ EQU 1000
; Wait for I/O operation... |
#include "FullSearch.h"
#include "AntSearch.h"
#define BOLD_ON "\e[1m"
#define BOLD_OFF "\e[0m"
int main(int argc, char* argv[])
{
if (argc != 2) return -1;
Matrix< size_t > matrix(argv[1]);
if (matrix.size() == 0) return -2;
auto result = FullSearch::way(matrix);
std::cout << BOLD_ON << "Алг... |
; A010063: a(n+1) = a(n) + sum of digits in base 3 representation of a(n), with a(0) = 1.
; Submitted by Jamie Morken(s2)
; 1,2,4,6,8,12,14,18,20,24,28,30,32,36,38,42,46,50,56,60,64,68,74,80,88,92,96,100,104,110,114,118,122,128,134,142,148,154,160,168,172,176,182,188,196,202,208,214,222,228,234,240,248,252,254,258,262,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.