commit stringlengths 40 40 | subject stringlengths 6 199 | message stringlengths 11 1.33k | repos stringlengths 15 11.5k | file_path stringlengths 6 59 | license stringclasses 9
values | unix_time int64 1.33B 1.61B | new_contents stringlengths 151 211k | old_contents stringlengths 151 208k |
|---|---|---|---|---|---|---|---|---|
4c21ff9e6cdac75d57662400642235c028948dac | Speed up finding the best cost in avx2 cdef | Speed up finding the best cost in avx2 cdef
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
608350cb0c7d2e7329a1e0d25d7513bdb856e61d | x86: remove redundant code in cdef filter AVX2 | x86: remove redundant code in cdef filter AVX2
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
dd1865d243f30504d3ba9da6e2df1c14802bb0f2 | x86: add a seperate fully edged case to cdef_filter_avx2 | x86: add a seperate fully edged case to cdef_filter_avx2
---------------------
fully edged blocks perf
------------------------------------------
before: cdef_filter_4x4_8bpc_avx2: 91.0
after: cdef_filter_4x4_8bpc_avx2: 75.7
---------------------
before: cdef_filter_4x8_8bpc_avx2: 154.6
after: cdef_filter_4x8_8bpc_a... | xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
3f74513d01c8d05c8fd6dddc0723652717af08d1 | Add 8x8 cdef_filter AVX2 implementation | Add 8x8 cdef_filter AVX2 implementation
cdef_filter_8x8_8bpc_c: 7913.0
cdef_filter_8x8_8bpc_avx2: 309.9
First 1000 frames of Chimera 1080p:
before: 0m23.100s
after: 0m17.863s
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
f9e330508ad3ae4acff847a03de10f2ca90f8927 | x86: cdef_filter: fix macro case (lower to upper) | x86: cdef_filter: fix macro case (lower to upper)
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
bf2dfd36346038f77fb5731041a07d0bbbb74cd8 | x86: optimize cdef_filter_{4x{4,8},8x8}_avx2 | x86: optimize cdef_filter_{4x{4,8},8x8}_avx2
Add 2 seperate code paths for pri/sec strengths equal 0.
Having both strengths not equal to 0 is uncommon, branching to skip
unnecessary computations is therefore beneficial.
------------------------------------------
before: cdef_filter_4x4_8bpc_avx2: 93.8
after: cdef_fi... | xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
d9b83f231d8710143c6a03495ae365694caeeb5b | x86: Add cdef_filter_{4,8}x8 AVX-512 (Ice Lake) asm | x86: Add cdef_filter_{4,8}x8 AVX-512 (Ice Lake) asm
cdef_filter_4x8_8bpc_avx2: 54.0
cdef_filter_4x8_8bpc_avx512icl: 35.5
=> +52.1%
cdef_filter_8x8_8bpc_avx2: 71.0
cdef_filter_8x8_8bpc_avx512icl: 49.0
=> +44.9%
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
e2cc4046b3bf07eae3ea1ba02c9314892b314e6b | x86: optimize 4 by X cdef filters for HAVE_RIGHT=0 | x86: optimize 4 by X cdef filters for HAVE_RIGHT=0
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
34d295536b263adbe75c9fefb9d62835acadf8e4 | x86: Avoid cmov instructions that depends on multiple flags | x86: Avoid cmov instructions that depends on multiple flags
On many AMD CPU:s cmov instructions that depends on multiple flags
require an additional µop, so prefer using cmov variants that only
depends on a single flag where possible.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
d6ab5ec8b777704fed82580ca4e43efc55ced236 | x86: Use 'test' instead of 'or' to compare with zero | x86: Use 'test' instead of 'or' to compare with zero
Allows for macro-op fusion.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef_avx2.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
c0d08880a6a0b9bbd83ed36e589a4220fb1cab4b | Utilize a better CDEF constant for avx2 | Utilize a better CDEF constant for avx2
Before:
```
cdef_filter_8x8_8bpc_avx2: 275.5
cdef_filter_4x8_8bpc_avx2: 193.3
cdef_filter_4x4_8bpc_avx2: 113.5
```
After:
```
cdef_filter_8x8_8bpc_avx2: 252.3
cdef_filter_4x8_8bpc_avx2: 182.1
cdef_filter_4x4_8bpc_avx2: 105.7
```
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
360b2f776eed05c9d0cdc1ed84b4553415c415e8 | x86: improve AVX2 cdef_filter macro consistency | x86: improve AVX2 cdef_filter macro consistency
- consistently use %3 instead of hardcoded value for tmp stride
- also correct a comment
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
7d1284608ca640709e0fb8c6d32e18a20a09898d | x86: Fix crash in AVX2 cdef_filter with <32-byte stack alignment | x86: Fix crash in AVX2 cdef_filter with <32-byte stack alignment
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
d337f7230522ab63f1ef699939f5a98f17122189 | Add a 4x4 cdef_filter AVX2 implementation | Add a 4x4 cdef_filter AVX2 implementation
cdef_filter_4x4_8bpc_c: 2273.6
cdef_filter_4x4_8bpc_avx2: 113.6
Decoding time reduces to 15.51s for first 1000 frames of chimera 1080p,
from 23.1 before cdef_filter SIMD or 17.86 with only 8x8 cdef_filter
SIMD.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
1ba4a78dc0abd3f7927c061939bb40200858bb46 | Use some 8 bit arithmetic in AVX2 CDEF filter | Use some 8 bit arithmetic in AVX2 CDEF filter
Before:
cdef_filter_8x8_8bpc_avx2: 252.3
cdef_filter_4x8_8bpc_avx2: 182.1
cdef_filter_4x4_8bpc_avx2: 105.7
After:
cdef_filter_8x8_8bpc_avx2: 235.5
cdef_filter_4x8_8bpc_avx2: 174.8
cdef_filter_4x4_8bpc_avx2: 101.8
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
0b0ba72ae572ccd190fe878aafb37ba558e25b65 | x86: add AVX2 cdef_filter_4x8 | x86: add AVX2 cdef_filter_4x8
used for YUV 422 chroma blocks
cdef_filter_4x8_8bpc_c: 2711.6
cdef_filter_4x8_8bpc_avx2: 189.1
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
814984c54bcf10fb5e3b2f143b357601538e2e23 | Rework the CDEF top edge handling | Rework the CDEF top edge handling
Avoids some pointer chasing and simplifies the DSP code, at the cost
of making the initialization a little bit more complicated.
Also reduces memory usage by a small amount due to properly sizing
the buffers instead of always allocating enough space for 4:4:4.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
6c9d4104acb2408225ff38a5ba6a514566533ef6 | x86: Add cdef_filter_4x4 AVX-512 (Ice Lake) asm | x86: Add cdef_filter_4x4 AVX-512 (Ice Lake) asm
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
66acb1b946ea835c18f3ef8728267bf7f1df1cba | x86: Add minor CDEF AVX2 optimizations | x86: Add minor CDEF AVX2 optimizations
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
c803b6778a6be82e6240d56acac454aea029de6e | cdef: simplify sec_taps | cdef: simplify sec_taps
Also reduce scope of tables to inside the function where they are used.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
785835742706d93d4b3526a9c42b5066b40a038e | Remove unused data from x86/cdef.asm | Remove unused data from x86/cdef.asm
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
6adb1035ce4384c437122cc61ee2eb28868cede2 | x86: optimize AVX2 cdef filters | x86: optimize AVX2 cdef filters
before: cdef_filter_4x4_8bpc_avx2: 110.4
after: cdef_filter_4x4_8bpc_avx2: 106.0
before: cdef_filter_4x8_8bpc_avx2: 188.3
after: cdef_filter_4x8_8bpc_avx2: 182.2
before: cdef_filter_8x8_8bpc_avx2: 276.7
after: cdef_filter_8x8_8bpc_avx2: 252.5
Credit to Gramner.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
97afda9e9db40b1faa0d5b17579b4cfb62d7a3cc | x86: optimize AVX2 cdef_dir | x86: optimize AVX2 cdef_dir
This optimization is so tiny we can't even see it in checkasm.
The only actual difference being the removal of a memory load, it has to
be better.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
5c9295f4d3b2423bafa49b213f2c4f17d65ae24b | meson/x86: add option to disable AVX-512 asm | meson/x86: add option to disable AVX-512 asm
Allows building with nasm < 2.14.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/cdef.asm | bsd-2-clause | 1,614,512,712 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
9eca588a739276b1f84ba388a415b72938f69652 | sm3_mb: Fix windows link error from missing 64bit section | sm3_mb: Fix windows link error from missing 64bit section
Change-Id: I5e7476d6f9ed4dda6897bdc8f395f2861e35cbd8
Signed-off-by: Greg Tucker <190558edad8973536750c621867b946ba24dc8b8@intel.com>
| intel/isa-l_crypto,intel/isa-l_crypto,intel/isa-l_crypto,intel/isa-l_crypto | sm3_mb/sm3_mb_mgr_submit_avx2.asm | bsd-3-clause | 1,612,390,712 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2020 Intel Corporation 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 so... | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2020 Intel Corporation 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 so... |
5a3e3496af5ea75ef3bc8bd8e174c37865987ec5 | (#101) Remove old commented-out code | (#101) Remove old commented-out code
| alexguirre/RAGENativeUI,alexguirre/RAGENativeUI,alexguirre/RAGENativeUI | Source/Internals/Stubs/TokenParser.asm | mit | 1,603,393,527 | bits 64
default rel
stub_offset: dq stub
stub_success: dq 0x1111111111111111
stub_failed: dq 0x2222222222222222
base_address: dq 0x3333333333333333 ; the address where this stub was placed
keyboard_layout: dq 0x4444444444444444
align 16
stub:
test al, al
jnz .success
... | bits 64
default rel
stub_offset: dq stub
stub_success: dq 0x1111111111111111
stub_failed: dq 0x2222222222222222
base_address: dq 0x3333333333333333 ; the address where this stub was placed
keyboard_layout: dq 0x4444444444444444
align 16
stub:
test al, al
jnz .success
... |
c08c6660574fdddffa63ac1f7c1328920e68a1aa | Add SEH registration to the 64-bit win64 setjmp/longjmp. | Add SEH registration to the 64-bit win64 setjmp/longjmp.
| OpenSmalltalk/vm,OpenSmalltalk/vm,OpenSmalltalk/vm,timfel/squeakvm,OpenSmalltalk/vm,timfel/squeakvm,timfel/squeakvm,timfel/squeakvm,timfel/squeakvm,timfel/squeakvm,timfel/squeakvm,OpenSmalltalk/vm,OpenSmalltalk/vm,OpenSmalltalk/vm,OpenSmalltalk/vm,timfel/squeakvm | platforms/win32/misc/_setjmp-x64.asm | mit | 1,600,150,237 | // A setlmp/longjmp pair that does not check the stack on unwind, hence avoiding
// issues caused by the JIT executing on the Smalltalk stack which is
// discontiguous with the C stack.
// Code adapted from Julia, whose license is MIT: https://julialang.org/license
.text
.globl _setjmp
.globl _setjmp0
.p2align 4, 0... | // A setlmp/longjmp pair that does not check the stack on unwind, hence avoiding
// issues caused by the JIT executing on the Smalltalk stack which is
// discontiguous with the C stack.
// Code adapted from Julia, whose license is MIT: https://julialang.org/license
.text
.globl _setjmp
.globl _setjmp0
.p2align 4, 0... |
a2e656a7c27f3b68cb397c0a590267920297a4b8 | Fixed boot ROM regression; CGB games were given the wrong palettes | Fixed boot ROM regression; CGB games were given the wrong palettes
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,593,020,092 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... |
388ab18c453db88e340572d519bfe9b90380db5f | +Scr_AddArrayStringIndexed | +Scr_AddArrayStringIndexed | D4edalus/CoD4x1.8_Server_Pub,callofduty4x/CoD4x_Server,D4edalus/CoD4x1.8_Server_Pub,callofduty4x/CoD4x_Server,callofduty4x/CoD4x_Server,callofduty4x/CoD4x_Server,D4edalus/CoD4x1.8_Server_Pub,callofduty4x/CoD4x_Server,D4edalus/CoD4x1.8_Server_Pub | src/asmsource/pluginexports.asm | agpl-3.0 | 1,592,748,813 | ;===========================================================================
; Copyright (C) 2010-2013 Ninja and TheKelm
; This file is part of CoD4X18-Server source code.
; CoD4X18-Server source code is free software: you can redistribute it and/or modify
; it under the terms of the GNU Affero General P... | ;===========================================================================
; Copyright (C) 2010-2013 Ninja and TheKelm
; This file is part of CoD4X18-Server source code.
; CoD4X18-Server source code is free software: you can redistribute it and/or modify
; it under the terms of the GNU Affero General P... |
eac0e6ce2ee3650f72360b7e82d1a2c47b6aa3d8 | x86: use btc instead of xor+test in fgy_32x32xn_avx2 | x86: use btc instead of xor+test in fgy_32x32xn_avx2
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/film_grain.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
e0757a8f3b5306c06f5e2b6f50dd20ed65bae01c | x86: add AVX2 SIMD for generate_grain_uv_{422,444} | x86: add AVX2 SIMD for generate_grain_uv_{422,444}
gen_grain_uv_ar0_8bpc_420_c: 72275.4
gen_grain_uv_ar0_8bpc_420_avx2: 7253.4
gen_grain_uv_ar0_8bpc_422_c: 111742.9
gen_grain_uv_ar0_8bpc_422_avx2: 13704.1
gen_grain_uv_ar0_8bpc_444_c: 205688.5
gen_grain_uv_ar0_8bpc_444_avx2: 25007.5
gen_grain_uv_ar1_8bpc_420_c: 100682.... | xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/film_grain.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
721d99e693db56bcbe402dadd2b0c1db2860ce41 | x86: add SSSE3 version of mc.resize() | x86: add SSSE3 version of mc.resize()
resize_8bpc_c: 1613670.2
resize_8bpc_ssse3: 110469.5
resize_8bpc_avx2: 93580.6
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/mc_ssse3.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; Copyright © 2018, VideoLabs
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source c... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; Copyright © 2018, VideoLabs
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source c... |
14dea084ad21b351d339ec20712264b1de314de6 | x86: Eliminate redundant 3-operand register syntax in itx | x86: Eliminate redundant 3-operand register syntax in itx
Purely a cosmetic change.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/itx.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
a575ccd05a423f51b35e2ca00f527e436f1a9c93 | x86: add SSSE3 SIMD for generate_grain_uv_{422,444} | x86: add SSSE3 SIMD for generate_grain_uv_{422,444}
gen_grain_uv_ar0_8bpc_420_c: 72275.4
gen_grain_uv_ar0_8bpc_420_ssse3: 7274.8
gen_grain_uv_ar0_8bpc_422_c: 111742.9
gen_grain_uv_ar0_8bpc_422_ssse3: 13724.8
gen_grain_uv_ar0_8bpc_444_c: 205688.5
gen_grain_uv_ar0_8bpc_444_ssse3: 26218.3
gen_grain_uv_ar1_8bpc_420_c: 100... | xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/film_grain_ssse3.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
53eaddd5d152c1c9bc15fda323d0fc43a658e947 | x86: add SSSE3 versions for filmgrain.fguv_32x32xn[422/444] | x86: add SSSE3 versions for filmgrain.fguv_32x32xn[422/444]
fguv_32x32xn_8bpc_420_csfl0_c: 14568.2
fguv_32x32xn_8bpc_420_csfl0_ssse3: 1162.3
fguv_32x32xn_8bpc_420_csfl1_c: 10682.0
fguv_32x32xn_8bpc_420_csfl1_ssse3: 910.3
fguv_32x32xn_8bpc_422_csfl0_c: 16370.5
fguv_32x32xn_8bpc_422_csfl0_ssse3: 1202.6
fguv_32x32xn_8bpc... | xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/film_grain_ssse3.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
eb4feb320341a8cdbee38c243a309af693231d46 | x86: add AVX2 version of mc.resize() | x86: add AVX2 version of mc.resize()
resize_8bpc_c: 1637609.7
resize_8bpc_avx2: 95162.6
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/mc.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
eb464d11ddffc4d62e198c04c1d028c89bcdab2f | x86: add AVX2 SIMD for ipred.cfl_ac[444] | x86: add AVX2 SIMD for ipred.cfl_ac[444]
cfl_ac_444_w4_8bpc_c: 499.1
cfl_ac_444_w4_8bpc_ssse3: 24.3
cfl_ac_444_w4_8bpc_avx2: 28.9
cfl_ac_444_w8_8bpc_c: 1240.2
cfl_ac_444_w8_8bpc_ssse3: 47.4
cfl_ac_444_w8_8bpc_avx2: 34.9
cfl_ac_444_w16_8bpc_c: 1785.7
cfl_ac_444_w16_8bpc_ssse3: 86.7
cfl_ac_444_w16_8bpc_avx2: 54.6
cfl_ac... | xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/ipred.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
601169b15b988f325a18be7cc536cfdab4dbe76a | x86: tables: Add resize_filter table | x86: tables: Add resize_filter table
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/tables.asm | bsd-2-clause | 1,591,108,584 | ; Copyright (c) 2019, The rav1e contributors. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aomedia... | ; Copyright (c) 2019, The rav1e contributors. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aomedia... |
d205a15d6e32b9cc3e1a41da0d5faf3a3386d1e8 | x86: add AVX2 versions for filmgrain.fguv_32x32xn[422/444] | x86: add AVX2 versions for filmgrain.fguv_32x32xn[422/444]
fguv_32x32xn_8bpc_420_csfl0_c: 14568.2
fguv_32x32xn_8bpc_420_csfl0_avx2: 940.2
fguv_32x32xn_8bpc_420_csfl1_c: 10682.0
fguv_32x32xn_8bpc_420_csfl1_avx2: 783.3
fguv_32x32xn_8bpc_422_csfl0_c: 16370.5
fguv_32x32xn_8bpc_422_csfl0_avx2: 1557.3
fguv_32x32xn_8bpc_422_... | xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/film_grain.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
746bb6c1bdc2beca6618a9cb3be9d8b16fd57cd1 | x86: use btc instead of xor+test or 32byte alignment in fgy_32x32xn_ssse3 | x86: use btc instead of xor+test or 32byte alignment in fgy_32x32xn_ssse3
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/film_grain_ssse3.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
cc1af6be577b3e9c54b0bfdb9456135daf80d84e | meson/x86: add option to disable AVX-512 asm | meson/x86: add option to disable AVX-512 asm
Allows building with nasm < 2.14.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/mc.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
4ea2c53718f029e534a1000118afcdef8fd7eba0 | x86: don't use vptest in SSSE3 version | x86: don't use vptest in SSSE3 version
This is the VEX (AVX) encoded variant for the SSE4 instruction ptest,
so emulate it using pmovmskb in the SSSE3 version.
| xiph/rav1e,xiph/rav1e,xiph/rav1e | src/x86/mc_ssse3.asm | bsd-2-clause | 1,591,108,584 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; Copyright © 2018, VideoLabs
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source c... | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; Copyright © 2018, VideoLabs
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source c... |
157123e118589e48273efe3f90eb93afb49b3eab | Fix clearing OAM and initializeing wave RAM | Fix clearing OAM and initializeing wave RAM
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,589,732,651 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... |
24220defd649fc8984b0e9e959b7ab70694f480a | Save 16 bytes in the CGB boot ROM | Save 16 bytes in the CGB boot ROM
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,589,022,711 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... |
184743637eebf34f5fc673057dbca954037f3599 | Fix silly regression | Fix silly regression
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,588,716,646 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... |
730567dc609a1213d6395ca92d4be00c072a2817 | Proper color mixing | Proper color mixing
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,588,716,382 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM)
ld h, $... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM
ld h, $D... |
a3f261184d2a732b32eb30d6b3538b04fba31988 | Optimize more | Optimize more
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,588,632,288 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
call ClearMemoryPage8000
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM
ld h, $D... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... |
f46f138e9fbda089a1a9f71b88d608b38b932315 | Clear VRAM correctly | Clear VRAM correctly
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,588,625,683 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... |
72a90ba91c8b8ee07859fc25f6b536a5f5afaaad | Hacky color blending | Hacky color blending
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,588,547,823 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... |
b057e0d10af8394671e2af8d463c2f948e860f5f | Save 4 more bytes in the CGB boot ROM | Save 4 more bytes in the CGB boot ROM
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,588,540,073 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... |
19126df7f4b69ca8001b6d2ca6b2c703b7625195 | Save 8 bytes in the CGB boot ROM | Save 8 bytes in the CGB boot ROM
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,588,538,516 | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... | ; SameBoy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
call ClearMemoryPage
ld a, 2
ld c, $70
ld [c], a
; Clear RAM Bank 2 (Like the original boot ROM... |
ee939a378258b647fa95a6c61aaf3314d6b69f42 | New boot ROM animation in the DMG boot ROM | New boot ROM animation in the DMG boot ROM
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/dmg_boot.asm | mit | 1,583,509,038 | ; SameBoy DMG bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
.clearVRAMLoop
ldi [hl], a
bit 5, h
jr z, .clearVRAMLoop
; Init Audio
ld a, $80
ldh [$26]... | ; SameBoy DMG bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
; Clear memory VRAM
ld hl, $8000
.clearVRAMLoop
ldi [hl], a
bit 5, h
jr z, .clearVRAMLoop
; Init Audio
ld a, $80
ldh [$26]... |
98cdea1628036dc6a7e7a455947ce3c345b02975 | limit rate bars to their intended bounds | limit rate bars to their intended bounds
in some cases the rate bar code was falling through to clear sprites
but writing past their intended bounds corrupting unused wram.
Signed-off-by: bunder2015 <8895d4710d634bf3eedbb49460627c10b2e5d1b0@gmail.com>
| mitch3b/MashyMashy | MashyMashy.asm | mit | 1,582,821,821 | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... |
89f5b817e0c531893842dbed742da36b33418bb9 | Fix player 2 sprites | Fix player 2 sprites
Sprites for player 2 were flickering because they were comparing an
address rather than an immediate value.
Signed-off-by: bunder2015 <8895d4710d634bf3eedbb49460627c10b2e5d1b0@gmail.com>
| mitch3b/MashyMashy | MashyMashy.asm | mit | 1,582,818,270 | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... |
bbff00443864195d4a79844fe8d5bc442338205a | disable rendering while writing game attributes | disable rendering while writing game attributes
if rendering is enabled during write operations the data will get
written to an unintended address resulting in graphical corruption.
add a missed case when writing game attributes, snap the screen
back to screen 0 after writing as a tradeoff between seeing screen 1
for... | mitch3b/MashyMashy | MashyMashy.asm | mit | 1,582,813,589 | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... |
bda25272a890e1866163e1ca7df2004fdcc83f7a | move sprites off screen to a consistent position | move sprites off screen to a consistent position
FE should be a consistent position to move sprites off screen,
rate bar may still be visible on the y axis on some frames due
to the way the loop is written, further investigation needed
Signed-off-by: bunder2015 <8895d4710d634bf3eedbb49460627c10b2e5d1b0@gmail.com>
| mitch3b/MashyMashy | MashyMashy.asm | mit | 1,582,811,803 | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... |
666379018bc2d98c3d16984e68e8539c4d43540a | push initial sprite state to ppu, bug fixes | push initial sprite state to ppu, bug fixes
pushing the initial sprite state to the ppu before we start rendering
should prevent a single frame of random sprites littered on the
screen. also fix a bug in a previous patch involving bitfields.
Signed-off-by: bunder2015 <8895d4710d634bf3eedbb49460627c10b2e5d1b0@gmail.c... | mitch3b/MashyMashy | MashyMashy.asm | mit | 1,582,758,511 | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... |
c4b4783644a95229043eebce407ab9574c5fbc9f | correct address in memory clearing routine | correct address in memory clearing routine
FE is written to shadow OAM to ensure sprite slots aren't drawn on
the screen if they are unused. $0200 is being used for shadow OAM.
Signed-off-by: bunder2015 <8895d4710d634bf3eedbb49460627c10b2e5d1b0@gmail.com>
| mitch3b/MashyMashy | MashyMashy.asm | mit | 1,582,757,451 | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... |
ec5247d2d794af0add02826096a1895e7fc2e96e | disable bg and spr rendering during ppu writes | disable bg and spr rendering during ppu writes
if rendering is enabled during write operations the data will get
written to an unintended address resulting in graphical corruption.
Signed-off-by: bunder2015 <8895d4710d634bf3eedbb49460627c10b2e5d1b0@gmail.com>
| mitch3b/MashyMashy | MashyMashy.asm | mit | 1,582,757,282 | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... |
297f9f0cb639ab672db151b4c83a2ce432b5a53a | update labels for readability | update labels for readability
some labels were missing colons, updated some addresses to use labels
Signed-off-by: bunder2015 <8895d4710d634bf3eedbb49460627c10b2e5d1b0@gmail.com>
| mitch3b/MashyMashy | MashyMashy.asm | mit | 1,582,756,827 | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... | .inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring (horizontal scrolling)
;MITCH
; .include "TitleScreen.asm"
; -----------------------------------
; Standard NES registers
PPU_CTRL_REG1 = $2... |
263847b0721f2f73826ad6a769c45202e5b6c011 | Increase CPU stack to 64KiB | Increase CPU stack to 64KiB | ReturnInfinity/BareMetal-kernel,ReturnInfinity/BareMetal-kernel,ReturnInfinity/BareMetal-kernel | src/kernel.asm | bsd-2-clause | 1,582,065,018 | ; =============================================================================
; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems
; Copyright (C) 2008-2020 Return Infinity -- see LICENSE.TXT
;
; The BareMetal exokernel
; =============================================================================
BIT... | ; =============================================================================
; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems
; Copyright (C) 2008-2020 Return Infinity -- see LICENSE.TXT
;
; The BareMetal exokernel
; =============================================================================
BIT... |
862f2bc13e239021b9435e3a7d70a928a23bdda7 | Store more registers in clone syscall | Store more registers in clone syscall
This makes sure that we store enough registers also when `clone` is
invoked via the `syscall` instruction (as musl currently does).
Before this change the thread data structure pointer would point to an
invalid address after a call to `__clone` in `pthread_create`.
| hioa-cs/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS | src/arch/x86_64/__syscall_entry.asm | apache-2.0 | 1,580,922,393 | global __syscall_entry:function
global __clone_helper:function
global __clone_return:function
global __migrate_resume:function
extern syscall_entry
;; x86_64 / System V ABI calling convention
%define arg1 rdi
%define arg2 rsi
%define arg3 rdx
%define arg4 rcx
%define arg5 r8
%define arg6 r9
%macro PUSHAQ 0
;;push ... | global __syscall_entry:function
global __clone_helper:function
global __clone_return:function
global __migrate_resume:function
extern syscall_entry
;; x86_64 / System V ABI calling convention
%define arg1 rdi
%define arg2 rsi
%define arg3 rdx
%define arg4 rcx
%define arg5 r8
%define arg6 r9
%macro PUSHAQ 0
;;push ... |
c389dd0607bb6cedeeb305960e03c477d1be715c | i#4066: emit raw bytes for sysenter on x86_64 (#4069) | i#4066: emit raw bytes for sysenter on x86_64 (#4069)
Fixes problems with 64-bit assemblers not wanting to emit sysenter
by using raw bytes.
Fixes #4066 | AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio | core/arch/x86/x86.asm | lgpl-2.1 | 1,580,490,805 | /* **********************************************************
* Copyright (c) 2011-2019 Google, Inc. All rights reserved.
* Copyright (c) 2001-2010 VMware, Inc. All rights reserved.
* ********************************************************** */
/*
* Redistribution and use in source and binary forms, with or wit... | /* **********************************************************
* Copyright (c) 2011-2019 Google, Inc. All rights reserved.
* Copyright (c) 2001-2010 VMware, Inc. All rights reserved.
* ********************************************************** */
/*
* Redistribution and use in source and binary forms, with or wit... |
15c02e2c26435b10506edf638b07b61be04e7221 | i#1551 ARM: Implement initial start/stop support (#3985) | i#1551 ARM: Implement initial start/stop support (#3985)
Implements dr_app_start() and dr_running_under_dynamorio() for ARM.
This is initial support for the start/stop interface.
There is more to be done before we can enable the start/stop tests.
Issue: #1551 | AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio | core/arch/arm/arm.asm | lgpl-2.1 | 1,576,263,979 | /* **********************************************************
* Copyright (c) 2014-2019 Google, Inc. All rights reserved.
* ********************************************************** */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... | /* **********************************************************
* Copyright (c) 2014-2019 Google, Inc. All rights reserved.
* ********************************************************** */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... |
9b97e83edb095b1a0eaa6a8f4b49048f342282fc | threads: Fix bug when yielding with no suspended | threads: Fix bug when yielding with no suspended
| hioa-cs/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS | src/arch/x86_64/threads.asm | apache-2.0 | 1,575,238,261 | global __thread_yield:function
global __thread_restore:function
extern __thread_suspend_and_yield
;; x86_64 / System V ABI calling convention
%define arg0 rax
%define arg1 rdi
%define arg2 rsi
%define arg3 rdx
%define arg4 rcx
%define arg5 r8
%define arg6 r9
SECTION .text
__thread_yield:
;; a normal function call... | global __thread_yield:function
global __thread_restore:function
extern __thread_suspend_and_yield
;; x86_64 / System V ABI calling convention
%define arg0 rax
%define arg1 rdi
%define arg2 rsi
%define arg3 rdx
%define arg4 rcx
%define arg5 r8
%define arg6 r9
SECTION .text
__thread_yield:
;; a normal function call... |
98fa678fbe44729c694a338e0a4011d7ef09cb18 | Fix symbol hiding for x86 asm. | Fix symbol hiding for x86 asm.
The definition of WELS_PRIVATE_EXTERN breaks the compilation, because of the whitespace before it.
| cisco/openh264,mstorsjo/openh264,cisco/openh264,mstorsjo/openh264,cisco/openh264,cisco/openh264,cisco/openh264,GuangweiWang/openh264,GuangweiWang/openh264,mstorsjo/openh264,GuangweiWang/openh264,GuangweiWang/openh264,cisco/openh264,GuangweiWang/openh264,mstorsjo/openh264,GuangweiWang/openh264,GuangweiWang/openh264,msto... | codec/common/x86/asm_inc.asm | bsd-2-clause | 1,561,637,727 | ;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* 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 abo... | ;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* 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 abo... |
10be34b5b252711d961ac13a6b8417cb1b94d2bb | Fix the fast CGB boot ROM booting with data on the second VRAM bank | Fix the fast CGB boot ROM booting with data on the second VRAM bank
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,556,993,723 | ; Sameboy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
xor a
; Clear chosen input palette
ldh [InputPalette], a
; Clear title checksum
ldh [TitleChecksum], a
; Clear memory VRAM
ld hl, $8... | ; Sameboy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
xor a
; Clear chosen input palette
ldh [InputPalette], a
; Clear title checksum
ldh [TitleChecksum], a
; Clear memory VRAM
ld hl, $8... |
5a2738715b935db2553e856fdcf8f84e9bffb23f | Update VMXa.asm | Update VMXa.asm
to fix KERNEL_SECURITY_CHECK_FAILURE BSOD on Win10 15063+ | DarthTon/HyperBone,DarthTon/HyperBone,DarthTon/HyperBone | src/Arch/Intel/VMXa.asm | mit | 1,553,958,347 | ;++
;
; Copyright (c) Alex Ionescu. All rights reserved.
;
; Module:
;
; VMXa.asm
;
; Abstract:
;
; This module implements AMD64-specific routines for the Simple Hyper Visor.
;
; Author:
;
; Alex Ionescu (@aionescu) 16-Mar-2016 - Initial version
;
; Environment:
;
; Kernel mode only.
;
;--
extern VmxpExitH... | ;++
;
; Copyright (c) Alex Ionescu. All rights reserved.
;
; Module:
;
; VMXa.asm
;
; Abstract:
;
; This module implements AMD64-specific routines for the Simple Hyper Visor.
;
; Author:
;
; Alex Ionescu (@aionescu) 16-Mar-2016 - Initial version
;
; Environment:
;
; Kernel mode only.
;
;--
extern VmxpExitH... |
925b6fa262c485b066471728a846326081d680b7 | tests: modified one macro example a bit | tests: modified one macro example a bit
| z00m128/sjasmplus,z00m128/sjasmplus,z00m128/sjasmplus,z00m128/sjasmplus | tests/macro_examples/fake_for2.asm | bsd-3-clause | 1,552,763,255 | ; this is example of "for ... next" like logic recreated by current sjasmplus syntax
; The original example source (coming from one "can I do something like..." discussion):
;
; for half=$0000 to $0800 step $0800 ; This is calculated so it works for any buffer address.
; for y=$0000 to $00E0 step $00... | ; this is example of "for ... next" like logic recreated by current sjasmplus syntax
; The original example source (coming from one "can I do something like..." discussion):
;
; for half=$0000 to $0800 step $0800 ; This is calculated so it works for any buffer address.
; for y=$0000 to $00E0 step $00... |
77d24fc92177d8593025f77cf3ea24d342eda330 | .aftermath of fix of END directive = removing old text from test | .aftermath of fix of END directive = removing old text from test
| z00m128/sjasmplus,z00m128/sjasmplus,z00m128/sjasmplus,z00m128/sjasmplus | tests/misc/dir_end.asm | bsd-3-clause | 1,552,587,590 | ld hl,end
End ; mixed case = label (not directive)
.end ALIGN ; .END should not work at first column, not even with --dirbol enabled
end DUP 2 ; END should not work at first column, not even with --dirbol enabled
nop ; but other directive on the same line (ALIGN, DUP abov... | ld hl,end
End ; mixed case = label (not directive)
.end ALIGN ; .END should not work at first column, not even with --dirbol enabled
end DUP 2 ; END should not work at first column, not even with --dirbol enabled
nop ; but other directive on the same line (ALIGN, DUP abov... |
0f7f657769ae1d46be1eca1a514d49d553e091bb | shorten INITNARRAY subroutine | shorten INITNARRAY subroutine
In the INITNARRAY subroutine, decrementing `TMP2_ZP` by one can be done more efficiently with `DEC` instead of `SBC #1` (recipe taken from [here](http://www.obelisk.me.uk/6502/algorithms.html) -- section "Incrementing & Decrementing").
This in turn shortens also the "is-zero" check aft... | EgonOlsen71/basicv2,EgonOlsen71/basicv2,EgonOlsen71/basicv2,EgonOlsen71/basicv2 | src/main/resources/subroutines.asm | unlicense | 1,552,585,890 | ;###################################
START LDA ENDSTRBUF+1
BNE ENDGIVEN
LDA 55
STA ENDSTRBUF
LDA 56
STA ENDSTRBUF+1
ENDGIVEN LDA #<FPSTACK
LDY #>FPSTACK
STA FPSTACKP
STY FPSTACKP+1
LDA #<FORSTACK
LDY #>FORSTACK
STA FORSTACKP
STY FORSTACKP+1
LDA #0
STA CONCATBUFP
LDA #<STRBU... | ;###################################
START LDA ENDSTRBUF+1
BNE ENDGIVEN
LDA 55
STA ENDSTRBUF
LDA 56
STA ENDSTRBUF+1
ENDGIVEN LDA #<FPSTACK
LDY #>FPSTACK
STA FPSTACKP
STY FPSTACKP+1
LDA #<FORSTACK
LDY #>FORSTACK
STA FORSTACKP
STY FORSTACKP+1
LDA #0
STA CONCATBUFP
LDA #<STRBU... |
2459659f224d854d51538d2832ac0e023d4313c6 | shorten bit 7 check | shorten bit 7 check
Applies the following optimization to `subroutines.asm`:
```
AND #$80
CMP #$80
BNE ...
```
replaces with
```
ROL
BCC ...
``` | EgonOlsen71/basicv2,EgonOlsen71/basicv2,EgonOlsen71/basicv2,EgonOlsen71/basicv2 | src/main/resources/subroutines.asm | unlicense | 1,552,555,245 | ;###################################
START LDA ENDSTRBUF+1
BNE ENDGIVEN
LDA 55
STA ENDSTRBUF
LDA 56
STA ENDSTRBUF+1
ENDGIVEN LDA #<FPSTACK
LDY #>FPSTACK
STA FPSTACKP
STY FPSTACKP+1
LDA #<FORSTACK
LDY #>FORSTACK
STA FORSTACKP
STY FORSTACKP+1
LDA #0
STA CONCATBUFP
LDA #<STRBU... | ;###################################
START LDA ENDSTRBUF+1
BNE ENDGIVEN
LDA 55
STA ENDSTRBUF
LDA 56
STA ENDSTRBUF+1
ENDGIVEN LDA #<FPSTACK
LDY #>FPSTACK
STA FPSTACKP
STY FPSTACKP+1
LDA #<FORSTACK
LDY #>FORSTACK
STA FORSTACKP
STY FORSTACKP+1
LDA #0
STA CONCATBUFP
LDA #<STRBU... |
f938973966dd616e939288971702e0815ed13f46 | 51/52->55/56 | 51/52->55/56 | EgonOlsen71/basicv2,EgonOlsen71/basicv2,EgonOlsen71/basicv2,EgonOlsen71/basicv2 | src/main/resources/subroutines.asm | unlicense | 1,549,538,329 | ;###################################
START LDA ENDSTRBUF+1
BNE ENDGIVEN
LDA 55
STA ENDSTRBUF
LDA 56
STA ENDSTRBUF+1
ENDGIVEN LDA #<FPSTACK
LDY #>FPSTACK
STA FPSTACKP
STY FPSTACKP+1
LDA #<FORSTACK
LDY #>FORSTACK
STA FORSTACKP
STY FORSTACKP+1
LDA #0
STA CONCATBUFP
LDA #<STRBU... | ;###################################
START LDA ENDSTRBUF+1
BNE ENDGIVEN
LDA 51
STA ENDSTRBUF
LDA 52
STA ENDSTRBUF+1
ENDGIVEN LDA #<FPSTACK
LDY #>FPSTACK
STA FPSTACKP
STY FPSTACKP+1
LDA #<FORSTACK
LDY #>FORSTACK
STA FORSTACKP
STY FORSTACKP+1
LDA #0
STA CONCATBUFP
LDA #<STRBU... |
32908d9ffa8ceece521f191ad60ae6cd790bb806 | warp tile in LW under link's house | warp tile in LW under link's house | mmxbass/z3randomizer,mmxbass/z3randomizer | invertedmaps.asm | mit | 1,548,442,742 | Overworld_LoadNewTiles:
{
SEP #$30
LDA InvertedMode : BEQ .notInverted
PHB
; Set the data bank to $7E.
LDA.b #$7E : PHA : PLB
REP #$30
; Use it as an index into a jump table.
LDA $8A : CMP #$0080 : !BGE .noData
ASL A : TAX
JSR (Overworld_NewTilesTable, X)
... | Overworld_LoadNewTiles:
{
SEP #$30
LDA InvertedMode : BEQ .notInverted
PHB
; Set the data bank to $7E.
LDA.b #$7E : PHA : PLB
REP #$30
; Use it as an index into a jump table.
LDA $8A : CMP #$0080 : !BGE .noData
ASL A : TAX
JSR (Overworld_NewTilesTable, X)
... |
e72b3fb2dc12e8e7bdfa88224a3e6c6540477e73 | Use separate shift and indexing. | Use separate shift and indexing.
| mmitche/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,mmitche/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,mmitche/coreclr,mmitche/core... | src/vm/arm64/asmhelpers.asm | mit | 1,547,607,043 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
;; ==++==
;;
;;
;; ==--==
#include "ksarm64.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT VirtualMet... | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
;; ==++==
;;
;;
;; ==--==
#include "ksarm64.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT VirtualMet... |
8fad1622a0dd44c5f193fe3b3d7022e9b635d3e9 | Load ephemeral bounds simultaneously with ldp. | Load ephemeral bounds simultaneously with ldp.
| poizan42/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,krk/coreclr,cshung/coreclr,cshung/coreclr,mmitche/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,wtgodbe/coreclr... | src/vm/arm64/asmhelpers.asm | mit | 1,547,607,043 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
;; ==++==
;;
;;
;; ==--==
#include "ksarm64.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT VirtualMet... | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
;; ==++==
;;
;;
;; ==--==
#include "ksarm64.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT VirtualMet... |
e604fadffec65e28df1e68c969c956d87c1bb1c3 | Switch back to two compares. | Switch back to two compares.
| poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,mmitche/coreclr,mmitche/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,mmitche/coreclr,poizan42/coreclr,mmitche/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,krk/coreclr,cshung/co... | src/vm/arm64/asmhelpers.asm | mit | 1,547,607,042 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
;; ==++==
;;
;;
;; ==--==
#include "ksarm64.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT VirtualMet... | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
;; ==++==
;;
;;
;; ==--==
#include "ksarm64.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT VirtualMet... |
68a70e45a1b374fa5dd575c17bb4e2e32eb1331e | x86 asm: mark stack as non-executable | x86 asm: mark stack as non-executable
Gentoo's `scanelf` QA tool detects writable/executable stack
of assembly-writtent files as:
```
$ scanelf -qRa .
0644 LE !WX --- --- ./src/strategies/x86_asm/.libs/picture-x86-asm-sad.o
0644 LE !WX --- --- ./src/strategies/x86_asm/.libs/picture-x86-asm-satd.o
0644 LE ... | ultravideo/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar | src/strategies/x86_asm/x86inc.asm | bsd-3-clause | 1,544,959,916 | ;*****************************************************************************
;* x86inc.asm: x264asm abstraction layer
;*****************************************************************************
;* Copyright (C) 2005-2014 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Anton Mitrofan... | ;*****************************************************************************
;* x86inc.asm: x264asm abstraction layer
;*****************************************************************************
;* Copyright (C) 2005-2014 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Anton Mitrofan... |
251db9799ad64d36640d388617da8cf793c98240 | testsuite: Try accepting new output for memcpy test | testsuite: Try accepting new output for memcpy test
See #16037.
| sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc | testsuite/tests/codeGen/should_gen_asm/memcpy.asm | bsd-3-clause | 1,544,675,102 | callMemcpy:
subq
movq ; Move arguments into place
movq
movl
xorl
call memcpy
addq
jmp
| callMemcpy:
movq ; Move arguments into place
movq
movl
subq
movl
call memcpy
addq
jmp
|
9500449b4cbe136b0e032aaa7b08f1ba49f22a1c | Comment added | Comment added
| EgeBalci/Amber,EgeBalci/Amber,EgeBalci/Amber | core/x64/RC4.asm | mit | 1,544,652,704 | ;----------------------------------------------------------------------------- ;
; Authors: Michael Schierl, Ege Balcı
; Version: 1.0 (01 December 2018)
;----------------------------------------------------------------------------- ;
[BITS 64]
; Input: EBP - Data to decode
; ESI - key
; ECX - Data size
; EDI - ... | ;-----------------------------------------------------------------------------;
; Authors: Michael Schierl, Ege Balcı
; Version: 2.0 (02 December 2017)
;-----------------------------------------------------------------------------;
[BITS 64]
; Input: EBP - Data to decode
; ESI - Key
; ECX - Data size
; EDI - Sc... |
caa208f45fff6a18d0765b86d288c2ed6f2c6b41 | fix some small documentation errors | fix some small documentation errors
| travisdowns/uarch-bench,travisdowns/uarch-bench,travisdowns/uarch-bench,travisdowns/uarch-bench,travisdowns/uarch-bench | x86_helpers.asm | mit | 1,543,171,493 |
; aligns and declares the global label for the bench with the given name
; also potentally checks the ABI compliance (if enabled)
%macro define_bench 1
%define current_bench %1
ALIGN 64
abi_checked_function %1
%endmacro
%define PFCNOW_INST 0 ; INST_RETIRED.ANY
%define PFCNOW_CLK 8 ; CPU_CLK_UNHALTED.THREA... |
; aligns and declares the global label for the bench with the given name
; also potentally checks the ABI compliance (if enabled)
%macro define_bench 1
%define current_bench %1
ALIGN 64
abi_checked_function %1
%endmacro
%define PFCNOW_INST 0 ; INST_RETIRED.ANY
%define PFCNOW_CLK 8 ; CPU_CLK_UNHALTED.THREA... |
a2b8c17f3cb33a509d2c4f5744d2023d193d3f8d | Consistent indentation | Consistent indentation
Spaces to tabs | mmxbass/z3randomizer,mmxbass/z3randomizer | events.asm | mit | 1,543,136,860 | ;--------------------------------------------------------------------------------
; OnLoadOW
;--------------------------------------------------------------------------------
;OnLoadMap:
; LDA $7EF2DB ; thing we wrote over
;RTL
;--------------------------------------------------------------------------------
OnPrepFile... | ;--------------------------------------------------------------------------------
; OnLoadOW
;--------------------------------------------------------------------------------
;OnLoadMap:
; LDA $7EF2DB ; thing we wrote over
;RTL
;--------------------------------------------------------------------------------
OnPrepFile... |
03318ff3b5a2731f4c729f0fd78291241d10522a | Fix for Rupee Bow with Starting Equipment | Fix for Rupee Bow with Starting Equipment
When starting with Silver Arrows in Customizer, interesting glitches occur. This fixes those glitches. | mmxbass/z3randomizer,mmxbass/z3randomizer | events.asm | mit | 1,542,968,520 | ;--------------------------------------------------------------------------------
; OnLoadOW
;--------------------------------------------------------------------------------
;OnLoadMap:
; LDA $7EF2DB ; thing we wrote over
;RTL
;--------------------------------------------------------------------------------
OnPrepFile... | ;--------------------------------------------------------------------------------
; OnLoadOW
;--------------------------------------------------------------------------------
;OnLoadMap:
; LDA $7EF2DB ; thing we wrote over
;RTL
;--------------------------------------------------------------------------------
OnPrepFile... |
3ba1364d609740289e7b5ffdbf21de1a992b3e36 | Fixed a boot ROM bug that made a few Nintendo games use incorrect object palettes | Fixed a boot ROM bug that made a few Nintendo games use incorrect object palettes
| LIJI32/SameBoy,LIJI32/SameBoy,LIJI32/SameBoy | BootROMs/cgb_boot.asm | mit | 1,542,928,154 | ; Sameboy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
xor a
; Clear chosen input palette
ldh [InputPalette], a
; Clear title checksum
ldh [TitleChecksum], a
; Clear memory VRAM
ld hl, $8... | ; Sameboy CGB bootstrap ROM
; Todo: use friendly names for HW registers instead of magic numbers
SECTION "BootCode", ROM0[$0]
Start:
; Init stack pointer
ld sp, $fffe
xor a
; Clear chosen input palette
ldh [InputPalette], a
; Clear title checksum
ldh [TitleChecksum], a
; Clear memory VRAM
ld hl, $8... |
5b9fd6f4c7b87b2c20906e320bcd71492282e44a | Retro Mode Arrow Fix | Retro Mode Arrow Fix
Added a branch to disallow the firing of an arrow without obtaining arrows in Retro Mode | mmxbass/z3randomizer,mmxbass/z3randomizer | retro.asm | mit | 1,542,858,033 | !INFINITE_BOMBS = "$7F50C9"
IsItemAvailable:
LDA !INFINITE_BOMBS : BEQ .finite
.infinite
CPX.b #$04 : BNE .finite
LDA.b #$01 : RTL
.finite
LDA $7EF33F, X
RTL
LoadBombCount:
LDA !INFINITE_BOMBS : BNE .infinite
.finite
LDA $7EF343
.infinite
RTL
LoadBombCount16:
LDA !INFINITE_BOMBS : AND.w #$00FF : BNE .inf... | !INFINITE_BOMBS = "$7F50C9"
IsItemAvailable:
LDA !INFINITE_BOMBS : BEQ .finite
.infinite
CPX.b #$04 : BNE .finite
LDA.b #$01 : RTL
.finite
LDA $7EF33F, X
RTL
LoadBombCount:
LDA !INFINITE_BOMBS : BNE .infinite
.finite
LDA $7EF343
.infinite
RTL
LoadBombCount16:
LDA !INFINITE_BOMBS : AND.w #$00FF : BNE .inf... |
57c2f001e9853090113b6437eb77d13ee16dcb7e | Comments in JIT helper | Comments in JIT helper
| cshung/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,mmitche/coreclr,wtgodbe/coreclr,mmitche/coreclr,krk/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,mmitche/... | src/vm/i386/jithelp.asm | mit | 1,541,558,087 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
; ***********************************************************************
; File: JIThelp.asm
;
; *********************... | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
; ***********************************************************************
; File: JIThelp.asm
;
; *********************... |
a3727b6ae545d00017bb704176e39117a7c542eb | Fix print_window subroutine by calling convention | Fix print_window subroutine by calling convention
| flxbe/asm-space-invaders,flxbe/asm-space-invaders | src/display.asm | mit | 1,540,210,124 | clear_screen:
mov ax, 0x0700
mov bh, 0x0f
xor cx, cx
mov dx, 0x1950
int 0x10
ret
; print the window
; AX: title
; BX: options
print_window:
push si
push dx
push bx
push ax
mov dl, [display_offset]
add dl, 3
; top
mov dh, 0x05
mov si, window_bar
call print_string
; space 1
inc dh
m... | clear_screen:
mov ax, 0x0700
mov bh, 0x0f
xor cx, cx
mov dx, 0x1950
int 0x10
ret
; print the window
; AX: title
; BX: options
print_window:
push dx
push bx
push ax
mov dl, [display_offset]
add dl, 3
; top
mov dh, 0x05
mov si, window_bar
call print_string
; space 1
inc dh
mov si, win... |
84de1a6dd2092ca1fef8e3054359a04bb18fa4ba | Clean up main subroutine | Clean up main subroutine
| flxbe/asm-space-invaders,flxbe/asm-space-invaders | space-invaders.asm | mit | 1,540,048,979 | ; constants
; GAME WINDOW PARAMETERS
%define GAME_WIDTH 27
%define GAME_HEIGHT 25
; GAME PARAMETERES
%define NUM_INVADERS 12
%define INVADERS_MOVE_CYCLES 40
%define INVADERS_SHOOT_CYCLES 4
%define BULLETS_MOVE_CYCLE 28
; SPECIAL CONSTANT
%define INVALID_STATE 0x0000
; ICONS
%define ICON_PLAYER 'M'
%define ICON_INVA... | ; constants
; GAME WINDOW PARAMETERS
%define GAME_WIDTH 27
%define GAME_HEIGHT 25
; GAME PARAMETERES
%define NUM_INVADERS 12
%define INVADERS_MOVE_CYCLES 40
%define INVADERS_SHOOT_CYCLES 4
%define BULLETS_MOVE_CYCLE 28
; SPECIAL CONSTANT
%define INVALID_STATE 0x0000
; ICONS
%define ICON_PLAYER 'M'
%define ICON_INVA... |
3e1efc0aea564d6770cc30f592d177100fd34688 | Clean up move_invaders | Clean up move_invaders
| flxbe/asm-space-invaders,flxbe/asm-space-invaders | src/invaders.asm | mit | 1,539,260,686 |
; ******************************************************
; * move
; *****************************************************
move_invaders:
cmp byte [invaders_move_cycle], INVADERS_MOVE_CYCLES
je .move
inc byte [invaders_move_cycle]
jmp .done
.move:
push si
push cx
push dx
push ax
mov byte [invaders_... |
; ******************************************************
; * move
; *****************************************************
move_invaders:
cmp byte [invaders_move_cycle], INVADERS_MOVE_CYCLES
je .move
inc byte [invaders_move_cycle]
jmp .done
.move:
push si
push cx
push dx
push ax
mov byte [invaders_... |
31126d17372d6b1839275ce0fb17466ebca1db45 | Fix typo comment | Fix typo comment
* The description of the data structure is wrong
| flxbe/asm-space-invaders,flxbe/asm-space-invaders | space-invaders.asm | mit | 1,539,259,845 | ; constants
%define NUM_INVADERS 12
%define GAME_WIDTH 27
%define INVADERS_MOVE_CYCLES 40
%define INVADERS_SHOOT_CYCLES 4
%define BULLETS_MOVE_CYCLE 28
; clear the cursor blinking
mov ah, 0x01
mov cx, 0x2000
int 0x10
; calculate game screen position
mov ah, 0x0F
int 0x10 ; load the number of columns
sub byte ah, 1
... | ; constants
%define NUM_INVADERS 12
%define GAME_WIDTH 27
%define INVADERS_MOVE_CYCLES 40
%define INVADERS_SHOOT_CYCLES 4
%define BULLETS_MOVE_CYCLE 28
; clear the cursor blinking
mov ah, 0x01
mov cx, 0x2000
int 0x10
; calculate game screen position
mov ah, 0x0F
int 0x10 ; load the number of columns
sub byte ah, 1
... |
6942ed0394568ccea84f80d41c927f4879713008 | Clean up _render_bullet | Clean up _render_bullet
| flxbe/asm-space-invaders,flxbe/asm-space-invaders | src/bullets.asm | mit | 1,539,147,870 |
; ******************************************************
; * move
; *****************************************************
move_bullets:
cmp byte [bullets_move_cycle], BULLETS_MOVE_CYCLE ; only move the bullets every 24 frames
je .move
inc byte [bullets_move_cycle] ; increase the counter
jmp .ret
.move:
p... |
; ******************************************************
; * move
; *****************************************************
move_bullets:
cmp byte [bullets_move_cycle], BULLETS_MOVE_CYCLE ; only move the bullets every 24 frames
je .move
inc byte [bullets_move_cycle] ; increase the counter
jmp .ret
.move:
p... |
22687f3c009e7326894aeaf20ebb283df358fd7c | Remove hardcoded path | Remove hardcoded path | KnightOS/threadlist | main.asm | mit | 1,538,933,921 | #include "kernel.inc"
.db "KEXC"
.db KEXC_ENTRY_POINT
.dw start
.db KEXC_STACK_SIZE
.dw 50
.db KEXC_KERNEL_VER
.db 0, 6
.db KEXC_HEADER_END
start:
pcall(getLcdLock)
pcall(getKeypadLock)
pcall(allocScreenBuffer)
xor a
kld((topThread), a)
kld((cursorWasAtBottom), a... | #include "kernel.inc"
.db "KEXC"
.db KEXC_ENTRY_POINT
.dw start
.db KEXC_STACK_SIZE
.dw 50
.db KEXC_KERNEL_VER
.db 0, 6
.db KEXC_HEADER_END
start:
pcall(getLcdLock)
pcall(getKeypadLock)
pcall(allocScreenBuffer)
xor a
kld((topThread), a)
kld((cursorWasAtBottom), a... |
99f8e8b64f0fd117fc82ac9c00dd9fc69aab229f | Remove hardcoded path | Remove hardcoded path | KnightOS/castle | main.asm | mit | 1,538,928,369 | #include "kernel.inc"
#include "corelib.inc"
#include "config.inc"
.db "KEXC"
.db KEXC_ENTRY_POINT
.dw start
.db KEXC_STACK_SIZE
.dw 50
.db KEXC_KERNEL_VER
.db 0, 6
.db KEXC_NAME
.dw name
.db KEXC_DESCRIPTION
.dw description
.db KEXC_HEADER_END
name:
.db "Castle", 0
d... | #include "kernel.inc"
#include "corelib.inc"
#include "config.inc"
.db "KEXC"
.db KEXC_ENTRY_POINT
.dw start
.db KEXC_STACK_SIZE
.dw 50
.db KEXC_KERNEL_VER
.db 0, 6
.db KEXC_NAME
.dw name
.db KEXC_DESCRIPTION
.dw description
.db KEXC_HEADER_END
name:
.db "Castle", 0
d... |
be6b8a3d56b48873e5de6347ea7423249d04a21d | Fix num_invaders_alive byte size | Fix num_invaders_alive byte size
| flxbe/asm-space-invaders,flxbe/asm-space-invaders | space-invaders.asm | mit | 1,538,895,605 | ; constants
%define NUM_INVADERS 12
%define GAME_WIDTH 27
%define INAVDERS_MOVE_CYCLES 40
%define INVADERS_SHOOT_CYCLES 4
%define BULLETS_MOVE_CYCLE 28
; clear the cursor blinking
mov ah, 0x01
mov cx, 0x2000
int 0x10
; calculate game screen position
mov ah, 0x0F
int 0x10 ; load the number of columns
sub byte ah, 1
... | ; constants
%define NUM_INVADERS 12
%define GAME_WIDTH 27
%define INAVDERS_MOVE_CYCLES 40
%define INVADERS_SHOOT_CYCLES 4
%define BULLETS_MOVE_CYCLE 28
; clear the cursor blinking
mov ah, 0x01
mov cx, 0x2000
int 0x10
; calculate game screen position
mov ah, 0x0F
int 0x10 ; load the number of columns
sub byte ah, 1
... |
00b4208c187edd53b8dbdc0a53c6f1deb89180ad | checkerboard increased size of ledges | checkerboard increased size of ledges | mmxbass/z3randomizer,mmxbass/z3randomizer | invertedmaps.asm | mit | 1,538,189,772 | Overworld_LoadNewTiles:
{
SEP #$30
LDA InvertedMode : BEQ .notInverted
PHB
; Set the data bank to $7E.
LDA.b #$7E : PHA : PLB
REP #$30
; Use it as an index into a jump table.
LDA $8A : CMP #$0080 : !BGE .noData
ASL A : TAX
JSR (Overworld_NewTilesTable, X)
... | Overworld_LoadNewTiles:
{
SEP #$30
LDA InvertedMode : BEQ .notInverted
PHB
; Set the data bank to $7E.
LDA.b #$7E : PHA : PLB
REP #$30
; Use it as an index into a jump table.
LDA $8A : CMP #$0080 : !BGE .noData
ASL A : TAX
JSR (Overworld_NewTilesTable, X)
... |
05a8f1752793ee9162a20c7a6d7ff2fc3a92eac2 | TR and Library landscaping | TR and Library landscaping | mmxbass/z3randomizer,mmxbass/z3randomizer | invertedmaps.asm | mit | 1,538,184,563 | Overworld_LoadNewTiles:
{
SEP #$30
LDA InvertedMode : BEQ .notInverted
PHB
; Set the data bank to $7E.
LDA.b #$7E : PHA : PLB
REP #$30
; Use it as an index into a jump table.
LDA $8A : CMP #$0080 : !BGE .noData
ASL A : TAX
JSR (Overworld_NewTilesTable, X)
... | Overworld_LoadNewTiles:
{
SEP #$30
LDA InvertedMode : BEQ .notInverted
PHB
; Set the data bank to $7E.
LDA.b #$7E : PHA : PLB
REP #$30
; Use it as an index into a jump table.
LDA $8A : CMP #$0080 : !BGE .noData
ASL A : TAX
JSR (Overworld_NewTilesTable, X)
... |
47135a65a0433857040877b6f7d4b467644add9b | checkerboard fix diagonal wall | checkerboard fix diagonal wall | mmxbass/z3randomizer,mmxbass/z3randomizer | inverted.asm | mit | 1,538,092,316 |
; Does tile modification for... the pyramid of power hole
; after Ganon slams into it in bat form?
Overworld_CreatePyramidHoleModified:
LDA.l InvertedMode : BNE +
BRL .originalBehaviour
+
.invertedBehavior
REP #$30
LDX.w #$0440
LDA.w #$0E39
JSL Overworld_DrawPersistentMap16
LDX.w #$04BC
LDA.w #$0E3A
JSL... |
; Does tile modification for... the pyramid of power hole
; after Ganon slams into it in bat form?
Overworld_CreatePyramidHoleModified:
LDA.l InvertedMode : BNE +
BRL .originalBehaviour
+
.invertedBehavior
REP #$30
LDX.w #$0440
LDA.w #$0E39
JSL Overworld_DrawPersistentMap16
LDX.w #$04BC
LDA.w #$0E3A
JSL... |
e7d550da25de886ebde797e13e3b576a85d565f9 | holding item crystal Animation fix | holding item crystal Animation fix | mmxbass/z3randomizer,mmxbass/z3randomizer | entrances.asm | mit | 1,538,030,154 | ;--------------------------------------------------------------------------------
; LockAgahnimDoors:
; Returns: 0=Unlocked - 1=Locked
;--------------------------------------------------------------------------------
LockAgahnimDoors:
LDA.l AgahnimDoorStyle : AND.w #$00FF
BNE +
;#$0 = Never Locked
LDA.w #$0000 : ... | ;--------------------------------------------------------------------------------
; LockAgahnimDoors:
; Returns: 0=Unlocked - 1=Locked
;--------------------------------------------------------------------------------
LockAgahnimDoors:
LDA.l AgahnimDoorStyle : AND.w #$00FF
BNE +
;#$0 = Never Locked
LDA.w #$0000 : ... |
eb34e462539500069ee48560ef0e85d37002a170 | added mirror bonks | added mirror bonks | mmxbass/z3randomizer,mmxbass/z3randomizer | inverted.asm | mit | 1,537,939,954 |
; Does tile modification for... the pyramid of power hole
; after Ganon slams into it in bat form?
Overworld_CreatePyramidHoleModified:
LDA.l InvertedMode : BNE +
BRL .originalBehaviour
+
.invertedBehavior
REP #$30
LDX.w #$0440
LDA.w #$0E39
JSL Overworld_DrawPersistentMap16
LDX.w #$04BC
LDA.w #$0E3A
JSL... |
; Does tile modification for... the pyramid of power hole
; after Ganon slams into it in bat form?
Overworld_CreatePyramidHoleModified:
LDA.l InvertedMode : BNE +
BRL .originalBehaviour
+
.invertedBehavior
REP #$30
LDX.w #$0440
LDA.w #$0E39
JSL Overworld_DrawPersistentMap16
LDX.w #$04BC
LDA.w #$0E3A
JSL... |
9c4444e292fe24927790cfa9e347bb7667931fcf | moved bonk a bit up for PoD | moved bonk a bit up for PoD | mmxbass/z3randomizer,mmxbass/z3randomizer | inverted.asm | mit | 1,537,679,585 |
; Does tile modification for... the pyramid of power hole
; after Ganon slams into it in bat form?
Overworld_CreatePyramidHoleModified:
LDA.l InvertedMode : BNE +
BRL .originalBehaviour
+
.invertedBehavior
REP #$30
LDX.w #$0440
LDA.w #$0E39
JSL Overworld_DrawPersistentMap16
LDX.w #$04BC
LDA.w #$0E3A
JSL... |
; Does tile modification for... the pyramid of power hole
; after Ganon slams into it in bat form?
Overworld_CreatePyramidHoleModified:
LDA.l InvertedMode : BNE +
BRL .originalBehaviour
+
.invertedBehavior
REP #$30
LDX.w #$0440
LDA.w #$0E39
JSL Overworld_DrawPersistentMap16
LDX.w #$04BC
LDA.w #$0E3A
JSL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.