text stringlengths 1 1.05M |
|---|
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "loadimage_xml.hh"
#include "translate.hh"
/// \param f is the (path to the) underlying XML file
/// \param el is the parsed form of the file
LoadImageXml::LoadImageXml(const string &f,const Element *el) : LoadImage(f)
{
manage = (const AddrSpaceManager *)0;
rootel = el;
// Extract architecture information
if (rootel->getName() != "binaryimage")
throw LowlevelError("Missing binaryimage tag in "+filename);
archtype = el->getAttributeValue("arch");
}
/// Write out the byte chunks and symbols as XML tags
/// \param s is the output stream
void LoadImageXml::saveXml(ostream &s) const
{
s << "<binaryimage arch=\"" << archtype << "\">\n";
map<Address,vector<uint1> >::const_iterator iter1;
for(iter1=chunk.begin();iter1!=chunk.end();++iter1) {
const vector<uint1> &vec((*iter1).second);
if (vec.size() == 0) continue;
s << " <bytechunk";
(*iter1).first.getSpace()->saveXmlAttributes(s,(*iter1).first.getOffset());
if (readonlyset.find((*iter1).first) != readonlyset.end())
s << " readonly=\"true\"";
s << ">\n " << setfill('0');
for(int4 i=0;i<vec.size();++i) {
s << hex << setw(2) << (int4)vec[i];
if (i%20 == 19)
s << "\n ";
}
s << "\n </bytechunk>\n";
}
map<Address,string>::const_iterator iter2;
for(iter2=addrtosymbol.begin();iter2!=addrtosymbol.end();++iter2) {
s << " <symbol";
(*iter2).first.getSpace()->saveXmlAttributes(s,(*iter2).first.getOffset());
s << " name=\"" << (*iter2).second << "\"/>\n";
}
s << "</binaryimage>\n";
}
/// \param m is for looking up address space
void LoadImageXml::open(const AddrSpaceManager *m)
{
manage = m;
uint4 sz; // unused size
// Read parsed xml file
const List &list(rootel->getChildren());
List::const_iterator iter;
iter = list.begin();
while(iter != list.end()) {
Element *subel = *iter++;
if (subel->getName()=="symbol") {
AddrSpace *base = (AddrSpace *)0;
base = manage->getSpaceByName(subel->getAttributeValue("space"));
if (base == (AddrSpace *)0)
throw LowlevelError("Unknown space name: "+subel->getAttributeValue("space"));
Address addr(base,base->restoreXmlAttributes(subel,sz));
const string &nm(subel->getAttributeValue("name"));
addrtosymbol[addr] = nm;
}
else if (subel->getName() == "bytechunk") {
AddrSpace *base = (AddrSpace *)0;
base = manage->getSpaceByName(subel->getAttributeValue("space"));
if (base == (AddrSpace *)0)
throw LowlevelError("Unknown space name: "+subel->getAttributeValue("space"));
Address addr(base,base->restoreXmlAttributes(subel,sz));
map<Address,vector<uint1> >::iterator chnkiter;
vector<uint1> &vec( chunk[addr] );
vec.clear();
for(int4 i=0;i<subel->getNumAttributes();++i) {
if (subel->getAttributeName(i) == "readonly")
if (xml_readbool(subel->getAttributeValue(i)))
readonlyset.insert(addr);
}
istringstream is(subel->getContent());
int4 val;
char c1,c2;
is >> ws;
c1 = is.get();
c2 = is.get();
while((c1>0)&&(c2>0)) {
if (c1 <= '9')
c1 = c1 - '0';
else if (c1 <= 'F')
c1 = c1 + 10 - 'A';
else
c1 = c1 + 10 - 'a';
if (c2 <= '9')
c2 = c2 - '0';
else if (c2 <= 'F')
c2 = c2 + 10 - 'A';
else
c2 = c2 + 10 - 'a';
val = c1*16 + c2;
vec.push_back((uint1)val);
is >> ws;
c1 = is.get();
c2 = is.get();
}
}
else
throw LowlevelError("Unknown LoadImageXml tag: "+subel->getName());
}
pad();
}
void LoadImageXml::clear(void)
{
archtype.clear();
manage = (const AddrSpaceManager *)0;
chunk.clear();
addrtosymbol.clear();
}
void LoadImageXml::pad(void)
{
map<Address,vector<uint1> >::iterator iter,lastiter;
// Search for completely redundant chunks
if (chunk.empty()) return;
lastiter = chunk.begin();
iter = lastiter;
++iter;
while(iter!=chunk.end()) {
if ((*lastiter).first.getSpace() == (*iter).first.getSpace()) {
uintb end1 = (*lastiter).first.getOffset() + (*lastiter).second.size() - 1;
uintb end2 = (*iter).first.getOffset() + (*iter).second.size() - 1;
if (end1 >= end2) {
chunk.erase(iter);
iter = lastiter;
++iter;
continue;
}
}
lastiter = iter;
++iter;
}
iter = chunk.begin();
while(iter!=chunk.end()) {
Address endaddr = (*iter).first + (*iter).second.size();
if (endaddr < (*iter).first) {
++iter;
continue; // All the way to end of space
}
++iter;
int4 maxsize = 512;
uintb room = endaddr.getSpace()->getHighest() - endaddr.getOffset() + 1;
if ((uintb)maxsize > room)
maxsize = (int4)room;
if ((iter!=chunk.end())&&((*iter).first.getSpace()==endaddr.getSpace())) {
if (endaddr.getOffset() >= (*iter).first.getOffset()) continue;
room = (*iter).first.getOffset() - endaddr.getOffset();
if ((uintb)maxsize > room)
maxsize = (int4)room;
}
vector<uint1> &vec( chunk[endaddr] );
for(int4 i=0;i<maxsize;++i)
vec.push_back(0);
}
}
void LoadImageXml::loadFill(uint1 *ptr,int4 size,const Address &addr)
{
map<Address,vector<uint1> >::const_iterator iter;
Address curaddr;
bool emptyhit = false;
curaddr = addr;
iter = chunk.upper_bound(curaddr); // First one greater than
if (iter != chunk.begin())
--iter; // Last one less or equal
while((size>0)&&(iter!=chunk.end())) {
const vector<uint1> &chnk((*iter).second);
int4 chnksize = chnk.size();
int4 over = curaddr.overlap(0,(*iter).first,chnksize);
if (over!=-1) {
if (chnksize-over > size)
chnksize = over+size;
for(int4 i=over;i<chnksize;++i)
*ptr++ = chnk[i];
size -= (chnksize-over);
curaddr = curaddr + (chnksize-over);
++iter;
}
else {
emptyhit = true;
break;
}
}
if ((size>0)||emptyhit) {
ostringstream errmsg;
errmsg << "Bytes at ";
curaddr.printRaw(errmsg);
errmsg << " are not mapped";
throw DataUnavailError(errmsg.str());
}
}
void LoadImageXml::openSymbols(void) const
{
cursymbol = addrtosymbol.begin();
}
bool LoadImageXml::getNextSymbol(LoadImageFunc &record) const
{
if (cursymbol == addrtosymbol.end()) return false;
record.name = (*cursymbol).second;
record.address = (*cursymbol).first;
++cursymbol;
return true;
}
void LoadImageXml::getReadonly(RangeList &list) const
{
map<Address,vector<uint1> >::const_iterator iter;
// List all the readonly chunks
for(iter=chunk.begin();iter!=chunk.end();++iter) {
if (readonlyset.find((*iter).first) != readonlyset.end()) {
const vector<uint1> &chnk((*iter).second);
uintb start = (*iter).first.getOffset();
uintb stop = start + chnk.size() - 1;
list.insertRange((*iter).first.getSpace(),start,stop);
}
}
}
void LoadImageXml::adjustVma(long adjust)
{
map<Address,vector<uint1> >::iterator iter1;
map<Address,string>::iterator iter2;
map<Address,vector<uint1> > newchunk;
map<Address,string> newsymbol;
for(iter1=chunk.begin();iter1!=chunk.end();++iter1) {
AddrSpace *spc = (*iter1).first.getSpace();
int4 off = AddrSpace::addressToByte(adjust,spc->getWordSize());
Address newaddr = (*iter1).first + off;
newchunk[newaddr] = (*iter1).second;
}
chunk = newchunk;
for(iter2=addrtosymbol.begin();iter2!=addrtosymbol.end();++iter2) {
AddrSpace *spc = (*iter2).first.getSpace();
int4 off = AddrSpace::addressToByte(adjust,spc->getWordSize());
Address newaddr = (*iter2).first + off;
newsymbol[newaddr] = (*iter2).second;
}
addrtosymbol = newsymbol;
}
|
; A159695: a(0)=7, a(n) = 2*a(n-1) + 2^(n-1) for n > 0.
; 7,15,32,68,144,304,640,1344,2816,5888,12288,25600,53248,110592,229376,475136,983040,2031616,4194304,8650752,17825792,36700160,75497472,155189248,318767104,654311424,1342177280,2751463424,5637144576,11542724608,23622320128,48318382080,98784247808,201863462912,412316860416,841813590016,1717986918400,3504693313536,7146825580544,14568529068032,29686813949952,60473139527680,123145302310912,250688651132928,510173395288064,1037938976620544,2111062325329920,4292493394837504,8725724278030336
mov $3,2
pow $3,$0
mov $1,$3
mov $2,$0
add $2,14
mul $1,$2
div $1,2
|
; A090613: Numbers k such that the k-th prime is congruent to 3 mod 7.
; Submitted by Jamie Morken(s1)
; 2,7,11,17,21,26,37,46,49,53,57,61,64,71,73,80,92,98,103,106,114,118,121,137,138,145,148,160,166,168,175,186,188,190,196,204,206,210,215,218,232,236,243,248,255,258,263,265,273,281,289,292,296,316,321,334
seq $0,45437 ; Primes congruent to 3 mod 7.
sub $0,1
seq $0,230980 ; Number of primes <= n, starting at n=0.
add $0,1
|
; A115519: n*(1+3*n+6*n^2)/2.
; 0,5,31,96,218,415,705,1106,1636,2313,3155,4180,5406,6851,8533,10470,12680,15181,17991,21128,24610,28455,32681,37306,42348,47825,53755,60156,67046,74443,82365,90830,99856,109461,119663,130480,141930,154031,166801,180258
mov $1,6
mul $1,$0
mul $0,$1
add $1,3
mul $0,$1
add $0,$1
mov $1,$0
div $1,12
|
#include<iostream>
#include<cstring>
using namespace std;
int main()
{
int n=0,ans=0;
cin>>n;
while(n--)
{
char ch[3];
cin>>ch;
if(ch[1]=='+'||ch[0]=='+')
ans++;
else
ans--;
}
cout<<ans;
return 0;
}
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xf26f, %r8
cmp %rax, %rax
mov (%r8), %r12
nop
nop
cmp %r10, %r10
lea addresses_WC_ht+0x96d7, %r12
nop
nop
nop
nop
inc %r14
mov $0x6162636465666768, %rbp
movq %rbp, %xmm0
and $0xffffffffffffffc0, %r12
vmovaps %ymm0, (%r12)
sub $41963, %rbp
lea addresses_normal_ht+0xa6d7, %r14
nop
cmp $5415, %rdx
mov (%r14), %r8d
xor $49894, %r14
lea addresses_D_ht+0xe24d, %rax
nop
nop
nop
nop
nop
cmp $48483, %r8
movb (%rax), %r10b
nop
add $58456, %r8
lea addresses_normal_ht+0xffd7, %r14
nop
nop
nop
nop
nop
and %r10, %r10
movw $0x6162, (%r14)
and $53200, %rdx
lea addresses_D_ht+0xe4d7, %rsi
lea addresses_D_ht+0x87d7, %rdi
nop
nop
nop
nop
nop
cmp %r14, %r14
mov $127, %rcx
rep movsl
nop
sub $37917, %r14
lea addresses_A_ht+0x3721, %rax
nop
nop
add %r14, %r14
mov $0x6162636465666768, %rcx
movq %rcx, %xmm2
movups %xmm2, (%rax)
nop
cmp %r8, %r8
lea addresses_normal_ht+0x8477, %rdx
nop
cmp %r14, %r14
mov $0x6162636465666768, %r10
movq %r10, %xmm7
and $0xffffffffffffffc0, %rdx
movaps %xmm7, (%rdx)
nop
nop
nop
inc %rbp
lea addresses_A_ht+0x6b7f, %rsi
lea addresses_UC_ht+0x565b, %rdi
clflush (%rdi)
nop
nop
cmp %rdx, %rdx
mov $118, %rcx
rep movsl
nop
nop
nop
nop
nop
add %r14, %r14
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r14
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rbp
push %rdx
// Load
lea addresses_A+0x1a6d7, %r11
nop
nop
nop
nop
and %r13, %r13
mov (%r11), %r9w
nop
nop
inc %r13
// Store
lea addresses_D+0x1417, %r9
clflush (%r9)
nop
nop
nop
nop
add %rdx, %rdx
movw $0x5152, (%r9)
xor %rbp, %rbp
// Faulty Load
lea addresses_A+0x1a6d7, %rdx
nop
nop
nop
nop
cmp %rbp, %rbp
mov (%rdx), %r12
lea oracles, %rdx
and $0xff, %r12
shlq $12, %r12
mov (%rdx,%r12,1), %r12
pop %rdx
pop %rbp
pop %r9
pop %r13
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': True, 'AVXalign': True, 'size': 1, 'congruent': 0, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': True, 'type': 'addresses_A'}, 'OP': 'LOAD'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 6, 'same': False, 'type': 'addresses_D'}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': True, 'type': 'addresses_A'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 10, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'}
{'src': {'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 10, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 2, 'same': True, 'type': 'addresses_D_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': True, 'size': 16, 'congruent': 5, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'35': 21829}
35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
|
; A068719: Arithmetic derivative of even numbers: a(n) = n+2*A003415(n).
; 1,4,5,12,7,16,9,32,21,24,13,44,15,32,31,80,19,60,21,68,41,48,25,112,45,56,81,92,31,92,33,192,61,72,59,156,39,80,71,176,43,124,45,140,123,96,49,272,77,140,91,164,55,216,87,240,101,120,61,244,63,128,165,448,101,188,69,212,121,188,73,384,75,152,185,236,113,220,81,432,297,168,85,332,129,176,151,368,91,336,131,284,161,192,143,640,99,252,249,380
mul $0,2
add $0,2
seq $0,3415 ; a(n) = n' = arithmetic derivative of n: a(0) = a(1) = 0, a(prime) = 1, a(mn) = m*a(n) + n*a(m).
|
; A100792: Group the natural numbers so that the n-th group contains n(n+1)/2 = T(n) terms: (1), (2,3,4), (5,6,7,8,9,10), (11,12,13,14,15,16,17,18,19,20),(21,22,23,24,25,26,27,28,29,30,31,32,33,34,35),... The r-th term of the n-th row of the following triangle is the sum of the next r terms of the n-th group, e.g. third row is (5),(6+7), (8+9+10) or 5,13,27. Sequence contains the triangle read by rows.
; 1,2,7,5,13,27,11,25,45,74,21,45,75,114,165,36,75,120,174,240,321,57,117,183,258,345,447,567,85,173,267,370,485,615,763,932,121,245,375,514,665,831,1015,1220,1449,166,335,510,694,890,1101,1330,1580,1854,2155
mov $5,$0
mov $7,2
lpb $7
mov $0,$5
sub $7,1
add $0,$7
sub $0,1
cal $0,14370 ; If n = binomial(b,2)+binomial(c,1), b>c>=0 then a(n) = binomial(b+1,3)+binomial(c+1,2).
mov $3,$0
add $3,1
mov $2,$3
pow $3,2
sub $3,$2
mov $4,$7
mov $6,$3
lpb $4
mov $1,$6
sub $4,1
lpe
lpe
lpb $5
sub $1,$6
mov $5,0
lpe
sub $1,2
div $1,2
add $1,1
|
; A024771: Expansion of 1/((1-x)(1-8x)(1-9x)(1-10x)).
; Submitted by Jon Maiga
; 1,28,515,7850,107481,1373088,16714975,196403350,2246489861,25160397548,277090599435,3010102678050,32332333478641,344033387428408,3631750686931895,38080468894107950,396993032851849821,4118198909216785668,42536994202463280355,437729691089378309050,4489852277053186179401,45922062062580037909328,468516802227142350652815,4769508280466768342737350,48459542118691923690643381,491518730935266493174959388,4977842504464822989359097275,50345085059673914421618688850,508572896804100401044773817761
add $0,2
lpb $0
sub $0,1
add $2,2
mul $2,8
mul $3,10
add $3,$1
mul $1,9
add $1,$2
lpe
mov $0,$3
div $0,16
|
/*
* Copyright 2015-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <folly/futures/Future.h>
#include <folly/portability/GTest.h>
using namespace folly;
TEST(Map, basic) {
Promise<int> p1;
Promise<int> p2;
Promise<int> p3;
std::vector<Future<int>> fs;
fs.push_back(p1.getFuture());
fs.push_back(p2.getFuture());
fs.push_back(p3.getFuture());
int c = 0;
std::vector<Future<Unit>> fs2 = futures::map(fs, [&](int i){
c += i;
});
// Ensure we call the callbacks as the futures complete regardless of order
p2.setValue(1);
EXPECT_EQ(1, c);
p3.setValue(1);
EXPECT_EQ(2, c);
p1.setValue(1);
EXPECT_EQ(3, c);
EXPECT_TRUE(collect(fs2).isReady());
}
|
;*****************************************************************************
;* dct-64.asm: h264 encoder library
;*****************************************************************************
;* Copyright (C) 2003-2008 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Holger Lubitz <holger@lubitz.org>
;* Laurent Aimar <fenrir@via.ecp.fr>
;* Min Chen <chenm001.163.com>
;*
;* This program is free software; you can redistribute it and/or modify
;* it under the terms of the GNU General Public License as published by
;* the Free Software Foundation; either version 2 of the License, or
;* (at your option) any later version.
;*
;* This program is distributed in the hope that it will be useful,
;* but WITHOUT ANY WARRANTY; without even the implied warranty of
;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;* GNU General Public License for more details.
;*
;* You should have received a copy of the GNU General Public License
;* along with this program; if not, write to the Free Software
;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
;*****************************************************************************
%include "x86inc.asm"
%include "x86util.asm"
SECTION .text
cextern pw_32
cextern hsub_mul
INIT_XMM
%macro DCT8_1D 10
SUMSUB_BA m%5, m%4 ; %5=s34, %4=d34
SUMSUB_BA m%6, m%3 ; %6=s25, %3=d25
SUMSUB_BA m%7, m%2 ; %7=s16, %2=d16
SUMSUB_BA m%8, m%1 ; %8=s07, %1=d07
SUMSUB_BA m%6, m%7, m%10 ; %6=a1, %7=a3
SUMSUB_BA m%5, m%8, m%10 ; %5=a0, %8=a2
movdqa m%9, m%1
psraw m%9, 1
paddw m%9, m%1
paddw m%9, m%2
paddw m%9, m%3 ; %9=a4
movdqa m%10, m%4
psraw m%10, 1
paddw m%10, m%4
paddw m%10, m%2
psubw m%10, m%3 ; %10=a7
SUMSUB_BA m%4, m%1
psubw m%1, m%3
psubw m%4, m%2
psraw m%3, 1
psraw m%2, 1
psubw m%1, m%3 ; %1=a5
psubw m%4, m%2 ; %4=a6
movdqa m%2, m%10
psraw m%2, 2
paddw m%2, m%9 ; %2=b1
psraw m%9, 2
psubw m%9, m%10 ; %9=b7
SUMSUB_BA m%6, m%5, m%10 ; %6=b0, %5=b4
movdqa m%3, m%7
psraw m%3, 1
paddw m%3, m%8 ; %3=b2
psraw m%8, 1
psubw m%8, m%7 ; %8=b6
movdqa m%7, m%4
psraw m%7, 2
paddw m%7, m%1 ; %7=b3
psraw m%1, 2
psubw m%4, m%1 ; %4=b5
SWAP %1, %6, %4, %7, %8, %9
%endmacro
%macro IDCT8_1D 10
SUMSUB_BA m%5, m%1, m%9 ; %5=a0, %1=a2
movdqa m%9, m%2
psraw m%9, 1
paddw m%9, m%2
paddw m%9, m%4
paddw m%9, m%6 ; %9=a7
movdqa m%10, m%3
psraw m%3, 1
psubw m%3, m%7 ; %3=a4
psraw m%7, 1
paddw m%7, m%10 ; %7=a6
movdqa m%10, m%6
psraw m%10, 1
paddw m%10, m%6
paddw m%10, m%8
psubw m%10, m%2 ; %10=a5
psubw m%2, m%4
psubw m%6, m%4
paddw m%2, m%8
psubw m%6, m%8
psraw m%4, 1
psraw m%8, 1
psubw m%2, m%4 ; %2=a3
psubw m%6, m%8 ; %6=a1
movdqa m%4, m%9
psraw m%4, 2
paddw m%4, m%6 ; %4=b1
psraw m%6, 2
psubw m%9, m%6 ; %9=b7
SUMSUB_BA m%7, m%5, m%6 ; %7=b0, %5=b6
SUMSUB_BA m%3, m%1, m%6; %3=b2, %1=b4
movdqa m%8, m%10
psraw m%8, 2
paddw m%8, m%2 ; %8=b3
psraw m%2, 2
psubw m%2, m%10 ; %2=b5
SUMSUB_BA m%9, m%7, m%6 ; %9=c0, %7=c7
SUMSUB_BA m%2, m%3, m%6 ; %2=c1, %3=c6
SUMSUB_BA m%8, m%1, m%6 ; %8=c2, %1=c5
SUMSUB_BA m%4, m%5, m%6 ; %4=c3, %5=c4
SWAP %1, %9, %6
SWAP %3, %8, %7
%endmacro
%macro DCT_SUB8 1
cglobal sub8x8_dct_%1, 3,3,11
add r2, 4*FDEC_STRIDE
%ifnidn %1, sse2
mova m7, [hsub_mul]
%endif
%ifdef WIN64
call .skip_prologue
RET
%endif
global sub8x8_dct_%1.skip_prologue
.skip_prologue:
SWAP 7, 9
LOAD_DIFF8x4 0, 1, 2, 3, 8, 9, r1, r2-4*FDEC_STRIDE
LOAD_DIFF8x4 4, 5, 6, 7, 8, 9, r1, r2-4*FDEC_STRIDE
DCT4_1D 0, 1, 2, 3, 8
TRANSPOSE2x4x4W 0, 1, 2, 3, 8
DCT4_1D 4, 5, 6, 7, 8
TRANSPOSE2x4x4W 4, 5, 6, 7, 8
DCT4_1D 0, 1, 2, 3, 8
STORE_DCT 0, 1, 2, 3, r0, 0
DCT4_1D 4, 5, 6, 7, 8
STORE_DCT 4, 5, 6, 7, r0, 64
ret
;-----------------------------------------------------------------------------
; void sub8x8_dct8( int16_t dct[8][8], uint8_t *pix1, uint8_t *pix2 )
;-----------------------------------------------------------------------------
cglobal sub8x8_dct8_%1, 3,3,11
add r2, 4*FDEC_STRIDE
%ifnidn %1, sse2
mova m7, [hsub_mul]
%endif
%ifdef WIN64
call .skip_prologue
RET
%endif
global sub8x8_dct8_%1.skip_prologue
.skip_prologue:
SWAP 7, 10
LOAD_DIFF8x4 0, 1, 2, 3, 4, 10, r1, r2-4*FDEC_STRIDE
LOAD_DIFF8x4 4, 5, 6, 7, 8, 10, r1, r2-4*FDEC_STRIDE
DCT8_1D 0,1,2,3,4,5,6,7,8,9
TRANSPOSE8x8W 0,1,2,3,4,5,6,7,8
DCT8_1D 0,1,2,3,4,5,6,7,8,9
movdqa [r0+0x00], m0
movdqa [r0+0x10], m1
movdqa [r0+0x20], m2
movdqa [r0+0x30], m3
movdqa [r0+0x40], m4
movdqa [r0+0x50], m5
movdqa [r0+0x60], m6
movdqa [r0+0x70], m7
ret
%endmacro
%define LOAD_DIFF8x4 LOAD_DIFF8x4_SSE2
%define movdqa movaps
%define punpcklqdq movlhps
DCT_SUB8 sse2
%undef movdqa
%undef punpcklqdq
%define LOAD_DIFF8x4 LOAD_DIFF8x4_SSSE3
DCT_SUB8 ssse3
;-----------------------------------------------------------------------------
; void add8x8_idct8( uint8_t *p_dst, int16_t dct[8][8] )
;-----------------------------------------------------------------------------
cglobal add8x8_idct8_sse2, 2,2,11
add r0, 4*FDEC_STRIDE
pxor m7, m7
%ifdef WIN64
call .skip_prologue
RET
%endif
global add8x8_idct8_sse2.skip_prologue
.skip_prologue:
SWAP 7, 9
movdqa m0, [r1+0x00]
movdqa m1, [r1+0x10]
movdqa m2, [r1+0x20]
movdqa m3, [r1+0x30]
movdqa m4, [r1+0x40]
movdqa m5, [r1+0x50]
movdqa m6, [r1+0x60]
movdqa m7, [r1+0x70]
IDCT8_1D 0,1,2,3,4,5,6,7,8,10
TRANSPOSE8x8W 0,1,2,3,4,5,6,7,8
paddw m0, [pw_32] ; rounding for the >>6 at the end
IDCT8_1D 0,1,2,3,4,5,6,7,8,10
DIFFx2 m0, m1, m8, m9, [r0-4*FDEC_STRIDE], [r0-3*FDEC_STRIDE]
DIFFx2 m2, m3, m8, m9, [r0-2*FDEC_STRIDE], [r0-1*FDEC_STRIDE]
DIFFx2 m4, m5, m8, m9, [r0+0*FDEC_STRIDE], [r0+1*FDEC_STRIDE]
DIFFx2 m6, m7, m8, m9, [r0+2*FDEC_STRIDE], [r0+3*FDEC_STRIDE]
STORE_IDCT m1, m3, m5, m7
ret
;-----------------------------------------------------------------------------
; void add8x8_idct( uint8_t *pix, int16_t dct[4][4][4] )
;-----------------------------------------------------------------------------
cglobal add8x8_idct_sse2, 2,2,11
add r0, 4*FDEC_STRIDE
pxor m7, m7
%ifdef WIN64
call .skip_prologue
RET
%endif
global add8x8_idct_sse2.skip_prologue
.skip_prologue:
SWAP 7, 9
mova m0, [r1+ 0]
mova m2, [r1+16]
mova m1, [r1+32]
mova m3, [r1+48]
SBUTTERFLY qdq, 0, 1, 4
SBUTTERFLY qdq, 2, 3, 4
mova m4, [r1+64]
mova m6, [r1+80]
mova m5, [r1+96]
mova m7, [r1+112]
SBUTTERFLY qdq, 4, 5, 8
SBUTTERFLY qdq, 6, 7, 8
IDCT4_1D 0,1,2,3,8,10
TRANSPOSE2x4x4W 0,1,2,3,8
IDCT4_1D 4,5,6,7,8,10
TRANSPOSE2x4x4W 4,5,6,7,8
paddw m0, [pw_32]
IDCT4_1D 0,1,2,3,8,10
paddw m4, [pw_32]
IDCT4_1D 4,5,6,7,8,10
DIFFx2 m0, m1, m8, m9, [r0-4*FDEC_STRIDE], [r0-3*FDEC_STRIDE]
DIFFx2 m2, m3, m8, m9, [r0-2*FDEC_STRIDE], [r0-1*FDEC_STRIDE]
DIFFx2 m4, m5, m8, m9, [r0+0*FDEC_STRIDE], [r0+1*FDEC_STRIDE]
DIFFx2 m6, m7, m8, m9, [r0+2*FDEC_STRIDE], [r0+3*FDEC_STRIDE]
STORE_IDCT m1, m3, m5, m7
ret
|
-- HUMAN RESOURCE MACHINE PROGRAM --
-- Σ([in1, in2 .. ~\0]), ... -> out
JUMP c
a:
COPYFROM 0
b:
OUTBOX
c:
INBOX
JUMPZ b
d:
COPYTO 0
INBOX
JUMPZ a
ADD 0
JUMP d
|
DanaPhoneCalleeScript:
gettrainername STRING_BUFFER_3, LASS, DANA1
checkflag ENGINE_DANA
iftrue .WantsBattle
farscall PhoneScript_AnswerPhone_Female
checkflag ENGINE_DANA_THURSDAY_NIGHT
iftrue .NotThursday
checkflag ENGINE_DANA_HAS_THUNDERSTONE
iftrue .HasThunderstone
readvar VAR_WEEKDAY
ifnotequal THURSDAY, .NotThursday
checktime NITE
iftrue DanaThursdayNight
.NotThursday:
farsjump UnknownScript_0xa0978
.WantsBattle:
getlandmarkname STRING_BUFFER_5, ROUTE_38
farsjump UnknownScript_0xa0a78
.HasThunderstone:
getlandmarkname STRING_BUFFER_5, ROUTE_38
farsjump UnknownScript_0xa0acd
DanaPhoneCallerScript:
gettrainername STRING_BUFFER_3, LASS, DANA1
farscall PhoneScript_GreetPhone_Female
checkflag ENGINE_DANA
iftrue .Generic
checkflag ENGINE_DANA_THURSDAY_NIGHT
iftrue .Generic
checkflag ENGINE_DANA_HAS_THUNDERSTONE
iftrue .Generic
farscall PhoneScript_Random3
ifequal 0, DanaWantsBattle
checkevent EVENT_DANA_GAVE_THUNDERSTONE
iftrue .Thunderstone
farscall PhoneScript_Random2
ifequal 0, DanaHasThunderstone
.Thunderstone:
farscall PhoneScript_Random11
ifequal 0, DanaHasThunderstone
.Generic:
farscall PhoneScript_Random3
ifequal 0, DanaFoundRare
farsjump Phone_GenericCall_Female
DanaThursdayNight:
setflag ENGINE_DANA_THURSDAY_NIGHT
DanaWantsBattle:
getlandmarkname STRING_BUFFER_5, ROUTE_38
setflag ENGINE_DANA
farsjump PhoneScript_WantsToBattle_Female
DanaFoundRare:
farsjump Phone_CheckIfUnseenRare_Female
DanaHasThunderstone:
setflag ENGINE_DANA_HAS_THUNDERSTONE
getlandmarkname STRING_BUFFER_5, ROUTE_38
farsjump PhoneScript_FoundItem_Female
|
//===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/common/exception.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/common/assert.hpp"
#include "duckdb/common/common.hpp"
#include "duckdb/common/vector.hpp"
#include "duckdb/common/exception_format_value.hpp"
#include <stdexcept>
namespace duckdb {
enum class PhysicalType : uint8_t;
struct LogicalType;
struct hugeint_t;
inline void assert_restrict_function(void *left_start, void *left_end, void *right_start, void *right_end,
const char *fname, int linenr) {
// assert that the two pointers do not overlap
#ifdef DEBUG
if (!(left_end <= right_start || right_end <= left_start)) {
printf("ASSERT RESTRICT FAILED: %s:%d\n", fname, linenr);
D_ASSERT(0);
}
#endif
}
#define ASSERT_RESTRICT(left_start, left_end, right_start, right_end) \
assert_restrict_function(left_start, left_end, right_start, right_end, __FILE__, __LINE__)
//===--------------------------------------------------------------------===//
// Exception Types
//===--------------------------------------------------------------------===//
enum class ExceptionType {
INVALID = 0, // invalid type
OUT_OF_RANGE = 1, // value out of range error
CONVERSION = 2, // conversion/casting error
UNKNOWN_TYPE = 3, // unknown type
DECIMAL = 4, // decimal related
MISMATCH_TYPE = 5, // type mismatch
DIVIDE_BY_ZERO = 6, // divide by 0
OBJECT_SIZE = 7, // object size exceeded
INVALID_TYPE = 8, // incompatible for operation
SERIALIZATION = 9, // serialization
TRANSACTION = 10, // transaction management
NOT_IMPLEMENTED = 11, // method not implemented
EXPRESSION = 12, // expression parsing
CATALOG = 13, // catalog related
PARSER = 14, // parser related
PLANNER = 15, // planner related
SCHEDULER = 16, // scheduler related
EXECUTOR = 17, // executor related
CONSTRAINT = 18, // constraint related
INDEX = 19, // index related
STAT = 20, // stat related
CONNECTION = 21, // connection related
SYNTAX = 22, // syntax related
SETTINGS = 23, // settings related
BINDER = 24, // binder related
NETWORK = 25, // network related
OPTIMIZER = 26, // optimizer related
NULL_POINTER = 27, // nullptr exception
IO = 28, // IO exception
INTERRUPT = 29, // interrupt
FATAL = 30, // Fatal exception: fatal exceptions are non-recoverable, and render the entire DB in an unusable state
INTERNAL =
31, // Internal exception: exception that indicates something went wrong internally (i.e. bug in the code base)
INVALID_INPUT = 32 // Input or arguments error
};
class Exception : public std::exception {
public:
Exception(string message);
Exception(ExceptionType exception_type, string message);
ExceptionType type;
public:
const char *what() const noexcept override;
string ExceptionTypeToString(ExceptionType type);
template <typename... Args> static string ConstructMessage(string msg, Args... params) {
vector<ExceptionFormatValue> values;
return ConstructMessageRecursive(msg, values, params...);
}
static string ConstructMessageRecursive(string msg, vector<ExceptionFormatValue> &values);
template <class T, typename... Args>
static string ConstructMessageRecursive(string msg, vector<ExceptionFormatValue> &values, T param, Args... params) {
values.push_back(ExceptionFormatValue::CreateFormatValue<T>(param));
return ConstructMessageRecursive(msg, values, params...);
}
private:
string exception_message_;
};
//===--------------------------------------------------------------------===//
// Exception derived classes
//===--------------------------------------------------------------------===//
//! Exceptions that are StandardExceptions do NOT invalidate the current transaction when thrown
class StandardException : public Exception {
public:
StandardException(ExceptionType exception_type, string message) : Exception(exception_type, message) {
}
};
class CatalogException : public StandardException {
public:
CatalogException(string msg);
template <typename... Args>
CatalogException(string msg, Args... params) : CatalogException(ConstructMessage(msg, params...)) {
}
};
class ParserException : public StandardException {
public:
ParserException(string msg);
template <typename... Args>
ParserException(string msg, Args... params) : ParserException(ConstructMessage(msg, params...)) {
}
};
class BinderException : public StandardException {
public:
BinderException(string msg);
template <typename... Args>
BinderException(string msg, Args... params) : BinderException(ConstructMessage(msg, params...)) {
}
};
class ConversionException : public Exception {
public:
ConversionException(string msg);
template <typename... Args>
ConversionException(string msg, Args... params) : ConversionException(ConstructMessage(msg, params...)) {
}
};
class TransactionException : public Exception {
public:
TransactionException(string msg);
template <typename... Args>
TransactionException(string msg, Args... params) : TransactionException(ConstructMessage(msg, params...)) {
}
};
class NotImplementedException : public Exception {
public:
NotImplementedException(string msg);
template <typename... Args>
NotImplementedException(string msg, Args... params) : NotImplementedException(ConstructMessage(msg, params...)) {
}
};
class OutOfRangeException : public Exception {
public:
OutOfRangeException(string msg);
template <typename... Args>
OutOfRangeException(string msg, Args... params) : OutOfRangeException(ConstructMessage(msg, params...)) {
}
};
class SyntaxException : public Exception {
public:
SyntaxException(string msg);
template <typename... Args>
SyntaxException(string msg, Args... params) : SyntaxException(ConstructMessage(msg, params...)) {
}
};
class ConstraintException : public Exception {
public:
ConstraintException(string msg);
template <typename... Args>
ConstraintException(string msg, Args... params) : ConstraintException(ConstructMessage(msg, params...)) {
}
};
class IOException : public Exception {
public:
IOException(string msg);
template <typename... Args>
IOException(string msg, Args... params) : IOException(ConstructMessage(msg, params...)) {
}
};
class SerializationException : public Exception {
public:
SerializationException(string msg);
template <typename... Args>
SerializationException(string msg, Args... params) : SerializationException(ConstructMessage(msg, params...)) {
}
};
class SequenceException : public Exception {
public:
SequenceException(string msg);
template <typename... Args>
SequenceException(string msg, Args... params) : SequenceException(ConstructMessage(msg, params...)) {
}
};
class InterruptException : public Exception {
public:
InterruptException();
};
class FatalException : public Exception {
public:
FatalException(string msg);
template <typename... Args>
FatalException(string msg, Args... params) : FatalException(ConstructMessage(msg, params...)) {
}
};
class InternalException : public Exception {
public:
InternalException(string msg);
template <typename... Args>
InternalException(string msg, Args... params) : InternalException(ConstructMessage(msg, params...)) {
}
};
class InvalidInputException : public Exception {
public:
InvalidInputException(string msg);
template <typename... Args>
InvalidInputException(string msg, Args... params) : InvalidInputException(ConstructMessage(msg, params...)) {
}
};
class CastException : public Exception {
public:
CastException(const PhysicalType origType, const PhysicalType newType);
CastException(const LogicalType origType, const LogicalType newType);
};
class InvalidTypeException : public Exception {
public:
InvalidTypeException(PhysicalType type, string msg);
InvalidTypeException(LogicalType type, string msg);
};
class TypeMismatchException : public Exception {
public:
TypeMismatchException(const PhysicalType type_1, const PhysicalType type_2, string msg);
TypeMismatchException(const LogicalType type_1, const LogicalType type_2, string msg);
};
class ValueOutOfRangeException : public Exception {
public:
ValueOutOfRangeException(const int64_t value, const PhysicalType origType, const PhysicalType newType);
ValueOutOfRangeException(const hugeint_t value, const PhysicalType origType, const PhysicalType newType);
ValueOutOfRangeException(const double value, const PhysicalType origType, const PhysicalType newType);
ValueOutOfRangeException(const PhysicalType varType, const idx_t length);
};
} // namespace duckdb
|
#include "W_Resources.h"
#include "ImGui/imgui.h"
#include "Engine.h"
#include "M_Resources.h"
//Resources
#include "R_Mesh.h"
#include "R_Material.h"
#include "R_Texture.h"
W_Resources::W_Resources(M_Editor* editor, ImGuiWindowClass* windowClass, int ID) : Window(editor, GetName(), windowClass, ID)
{
}
void W_Resources::Draw()
{
ImGui::SetNextWindowClass(windowClass);
if (!ImGui::Begin(windowStrID.c_str(), &active)) { ImGui::End(); return; }
ImGui::Text("Resources loaded in memory");
if (ImGui::CollapsingHeader("Models"))
{
for (std::map<uint64, Resource*>::iterator it = Engine->moduleResources->resources.begin(); it != Engine->moduleResources->resources.end(); it++)
{
if (it->second->GetType() != ResourceType::MODEL) continue;
ImGui::Text("-- %s", it->second->GetName());
if (ImGui::IsItemHovered())
{
DisplayResourceInfo(it->second);
}
}
}
if (ImGui::CollapsingHeader("Meshes"))
{
for (std::map<uint64, Resource*>::iterator it = Engine->moduleResources->resources.begin(); it != Engine->moduleResources->resources.end(); it++)
{
if (it->second->GetType() != ResourceType::MESH) continue;
ImGui::Text("-- %s", it->second->GetName());
if (ImGui::IsItemHovered())
{
DisplayResourceInfo(it->second);
}
}
}
if (ImGui::CollapsingHeader("Materials"))
{
for (std::map<uint64, Resource*>::iterator it = Engine->moduleResources->resources.begin(); it != Engine->moduleResources->resources.end(); it++)
{
if (it->second->GetType() != ResourceType::MATERIAL) continue;
ImGui::Text("-- %s", it->second->GetName());
if (ImGui::IsItemHovered())
{
DisplayResourceInfo(it->second);
}
}
}
if (ImGui::CollapsingHeader("Textures"))
{
for (std::map<uint64, Resource*>::iterator it = Engine->moduleResources->resources.begin(); it != Engine->moduleResources->resources.end(); it++)
{
if (it->second->GetType() != ResourceType::TEXTURE) continue;
ImGui::Text("-- %s", it->second->GetName());
if (ImGui::IsItemHovered())
{
DisplayResourceInfo(it->second);
}
}
}
if (ImGui::CollapsingHeader("Animations"))
{
for (std::map<uint64, Resource*>::iterator it = Engine->moduleResources->resources.begin(); it != Engine->moduleResources->resources.end(); it++)
{
if (it->second->GetType() != ResourceType::ANIMATION) continue;
ImGui::Text("-- %s", it->second->GetName());
if (ImGui::IsItemHovered())
{
DisplayResourceInfo(it->second);
}
}
}
ImGui::End();
}
void W_Resources::DisplayResourceInfo(Resource* resource)
{
ImGui::BeginTooltip();
ImGui::Text("UID: %llu", resource->GetID());
ImGui::Text("Source file: %s", resource->GetAssetsFile());
ImGui::Text("Instances: %i", resource->instances);
ImGui::EndTooltip();
} |
; A146884: Sum of power terms sequence: a(n)=Sum[7*6^m, {m, 0, n}].
; 7,49,301,1813,10885,65317,391909,2351461,14108773,84652645,507915877,3047495269,18284971621,109709829733,658258978405,3949553870437,23697323222629,142183939335781,853103636014693,5118621816088165
mov $1,6
pow $1,$0
div $1,5
mul $1,42
add $1,7
|
org 07c00h ; Boot 状态, Bios 将把 Boot Sector 加载到 0:7C00 处并开始执行
;================================================================================================
BaseOfStack equ 07c00h ; Boot状态下堆栈基地址(栈底, 从这个位置向低地址生长)
%include "load.inc"
;================================================================================================
jmp short LABEL_START ; Start to boot.
nop ; 这个 nop 不可少
; 下面是 FAT12 磁盘的头, 之所以包含它是因为下面用到了磁盘的一些信息
%include "fat12hdr.inc"
LABEL_START:
mov ax, cs
mov ds, ax
mov es, ax
mov ss, ax
mov sp, BaseOfStack
; 清屏
mov ax, 0600h ; AH = 6, AL = 0h
mov bx, 0700h ; 黑底白字(BL = 07h)
mov cx, 0 ; 左上角: (0, 0)
mov dx, 0184fh ; 右下角: (80, 50)
int 10h ; int 10h
; mov dh, 0 ; "Booting "
; call DispStr ; 显示字符串
xor ah, ah ; ┓
xor dl, dl ; ┣ 软驱复位
int 13h ; ┛
; 下面在 A 盘的根目录寻找 LOADER.BIN
mov word [wSectorNo], SectorNoOfRootDirectory
LABEL_SEARCH_IN_ROOT_DIR_BEGIN:
cmp word [wRootDirSizeForLoop], 0 ; ┓
jz LABEL_NO_LOADERBIN ; ┣ 判断根目录区是不是已经读完
dec word [wRootDirSizeForLoop] ; ┛ 如果读完表示没有找到 LOADER.BIN
mov ax, BaseOfLoader
mov es, ax ; es <- BaseOfLoader
mov bx, OffsetOfLoader ; bx <- OffsetOfLoader 于是, es:bx = BaseOfLoader:OffsetOfLoader
mov ax, [wSectorNo] ; ax <- Root Directory 中的某 Sector 号
mov cl, 1
call ReadSector
mov si, LoaderFileName ; ds:si -> "LOADER BIN"
mov di, OffsetOfLoader ; es:di -> BaseOfLoader:0100 = BaseOfLoader*10h+100
cld
mov dx, 10h
LABEL_SEARCH_FOR_LOADERBIN:
cmp dx, 0 ; ┓循环次数控制,
jz LABEL_GOTO_NEXT_SECTOR_IN_ROOT_DIR ; ┣如果已经读完了一个 Sector,
dec dx ; ┛就跳到下一个 Sector
mov cx, 11
LABEL_CMP_FILENAME:
cmp cx, 0
jz LABEL_FILENAME_FOUND ; 如果比较了 11 个字符都相等, 表示找到
dec cx
lodsb ; ds:si -> al
cmp al, byte [es:di]
jz LABEL_GO_ON
jmp LABEL_DIFFERENT ; 只要发现不一样的字符就表明本 DirectoryEntry 不是
; 我们要找的 LOADER.BIN
LABEL_GO_ON:
inc di
jmp LABEL_CMP_FILENAME ; 继续循环
LABEL_DIFFERENT:
and di, 0FFE0h ; else ┓ di &= E0 为了让它指向本条目开头
add di, 20h ; ┃
mov si, LoaderFileName ; ┣ di += 20h 下一个目录条目
jmp LABEL_SEARCH_FOR_LOADERBIN; ┛
LABEL_GOTO_NEXT_SECTOR_IN_ROOT_DIR:
add word [wSectorNo], 1
jmp LABEL_SEARCH_IN_ROOT_DIR_BEGIN
LABEL_NO_LOADERBIN:
; mov dh, 2 ; "No LOADER."
; call DispStr ; 显示字符串
; %ifdef _BOOT_DEBUG_
; mov ax, 4c00h ; ┓
; int 21h ; ┛没有找到 LOADER.BIN, 回到 DOS
; %else
jmp $ ; 没有找到 LOADER.BIN, 死循环在这里
; %endif
LABEL_FILENAME_FOUND: ; 找到 LOADER.BIN 后便来到这里继续
mov ax, RootDirSectors
and di, 0FFE0h ; di -> 当前条目的开始
add di, 01Ah ; di -> 首 Sector
mov cx, word [es:di]
push cx ; 保存此 Sector 在 FAT 中的序号
add cx, ax
add cx, DeltaSectorNo ; 这句完成时 cl 里面变成 LOADER.BIN 的起始扇区号 (从 0 开始数的序号)
mov ax, BaseOfLoader
mov es, ax ; es <- BaseOfLoader
mov bx, OffsetOfLoader ; bx <- OffsetOfLoader 于是, es:bx = BaseOfLoader:OffsetOfLoader = BaseOfLoader * 10h + OffsetOfLoader
mov ax, cx ; ax <- Sector 号
LABEL_GOON_LOADING_FILE:
; push ax ; ┓
; push bx ; ┃
; mov ah, 0Eh ; ┃ 每读一个扇区就在 "Booting " 后面打一个点, 形成这样的效果:
; mov al, '.' ; ┃
; mov bl, 0Fh ; ┃ Booting ......
; int 10h ; ┃
; pop bx ; ┃
; pop ax ; ┛
mov cl, 1
call ReadSector
pop ax ; 取出此 Sector 在 FAT 中的序号
call GetFATEntry
cmp ax, 0FFFh
jz LABEL_FILE_LOADED
push ax ; 保存 Sector 在 FAT 中的序号
mov dx, RootDirSectors
add ax, dx
add ax, DeltaSectorNo
add bx, [BPB_BytsPerSec]
jmp LABEL_GOON_LOADING_FILE
LABEL_FILE_LOADED:
; mov dh, 1 ; "Ready."
; call DispStr ; 显示字符串
; *****************************************************************************************************
jmp BaseOfLoader:OffsetOfLoader ; 这一句正式跳转到已加载到内存中的 LOADER.BIN 的开始处
; 开始执行 LOADER.BIN 的代码
; Boot Sector 的使命到此结束
; *****************************************************************************************************
;============================================================================
;变量
;----------------------------------------------------------------------------
wRootDirSizeForLoop dw RootDirSectors ; Root Directory 占用的扇区数, 在循环中会递减至零.
wSectorNo dw 0 ; 要读取的扇区号
bOdd db 0 ; 奇数还是偶数
;============================================================================
;字符串
;----------------------------------------------------------------------------
LoaderFileName db "LOADER BIN", 0 ; LOADER.BIN 之文件名
; 为简化代码, 下面每个字符串的长度均为 MessageLength
MessageLength equ 9
BootMessage: db "Booting "; 9字节, 不够则用空格补齐. 序号 0
Message1 db "Ready. "; 9字节, 不够则用空格补齐. 序号 1
Message2 db "No LOADER"; 9字节, 不够则用空格补齐. 序号 2
;============================================================================
; ;----------------------------------------------------------------------------
; ; 函数名: DispStr
; ;----------------------------------------------------------------------------
; ; 作用:
; ; 显示一个字符串, 函数开始时 dh 中应该是字符串序号(0-based)
; DispStr:
; mov ax, MessageLength
; mul dh
; add ax, BootMessage
; mov bp, ax ; ┓
; mov ax, ds ; ┣ ES:BP = 串地址
; mov es, ax ; ┛
; mov cx, MessageLength ; CX = 串长度
; mov ax, 01301h ; AH = 13, AL = 01h
; mov bx, 0007h ; 页号为0(BH = 0) 黑底白字(BL = 07h)
; mov dl, 0
; int 10h ; int 10h
; ret
;----------------------------------------------------------------------------
; 函数名: ReadSector
;----------------------------------------------------------------------------
; 作用:
; 从第 ax 个 Sector 开始, 将 cl 个 Sector 读入 es:bx 中
ReadSector:
; -----------------------------------------------------------------------
; 怎样由扇区号求扇区在磁盘中的位置 (扇区号 -> 柱面号, 起始扇区, 磁头号)
; -----------------------------------------------------------------------
; 设扇区号为 x
; ┌ 柱面号 = y >> 1
; x ┌ 商 y ┤
; -------------- => ┤ └ 磁头号 = y & 1
; 每磁道扇区数 │
; └ 余 z => 起始扇区号 = z + 1
push bp
mov bp, sp
sub esp, 2 ; 辟出两个字节的堆栈区域保存要读的扇区数: byte [bp-2]
mov byte [bp-2], cl
push bx ; 保存 bx
mov bl, [BPB_SecPerTrk] ; bl: 除数
div bl ; y 在 al 中, z 在 ah 中
inc ah ; z ++
mov cl, ah ; cl <- 起始扇区号
mov dh, al ; dh <- y
shr al, 1 ; y >> 1 (其实是 y/BPB_NumHeads, 这里BPB_NumHeads=2)
mov ch, al ; ch <- 柱面号
and dh, 1 ; dh & 1 = 磁头号
pop bx ; 恢复 bx
; 至此, "柱面号, 起始扇区, 磁头号" 全部得到 ^^^^^^^^^^^^^^^^^^^^^^^^
mov dl, [BS_DrvNum] ; 驱动器号 (0 表示 A 盘)
.GoOnReading:
mov ah, 2 ; 读
mov al, byte [bp-2] ; 读 al 个扇区
int 13h
jc .GoOnReading ; 如果读取错误 CF 会被置为 1, 这时就不停地读, 直到正确为止
add esp, 2
pop bp
ret
;----------------------------------------------------------------------------
; 函数名: GetFATEntry
;----------------------------------------------------------------------------
; 作用:
; 找到序号为 ax 的 Sector 在 FAT 中的条目, 结果放在 ax 中
; 需要注意的是, 中间需要读 FAT 的扇区到 es:bx 处, 所以函数一开始保存了 es 和 bx
GetFATEntry:
push es
push bx
push ax
mov ax, BaseOfLoader ; ┓
sub ax, 0100h ; ┣ 在 BaseOfLoader 后面留出 4K 空间用于存放 FAT
mov es, ax ; ┛
pop ax
mov byte [bOdd], 0
mov bx, 3
mul bx ; dx:ax = ax * 3
mov bx, 2
div bx ; dx:ax / 2 ==> ax <- 商, dx <- 余数
cmp dx, 0
jz LABEL_EVEN
mov byte [bOdd], 1
LABEL_EVEN:;偶数
xor dx, dx ; 现在 ax 中是 FATEntry 在 FAT 中的偏移量. 下面来计算 FATEntry 在哪个扇区中(FAT占用不止一个扇区)
mov bx, [BPB_BytsPerSec]
div bx ; dx:ax / BPB_BytsPerSec ==> ax <- 商 (FATEntry 所在的扇区相对于 FAT 来说的扇区号)
; dx <- 余数 (FATEntry 在扇区内的偏移)。
push dx
mov bx, 0 ; bx <- 0 于是, es:bx = (BaseOfLoader - 100):00 = (BaseOfLoader - 100) * 10h
add ax, SectorNoOfFAT1 ; 此句执行之后的 ax 就是 FATEntry 所在的扇区号
mov cl, 2
call ReadSector ; 读取 FATEntry 所在的扇区, 一次读两个, 避免在边界发生错误, 因为一个 FATEntry 可能跨越两个扇区
pop dx
add bx, dx
mov ax, [es:bx]
cmp byte [bOdd], 1
jnz LABEL_EVEN_2
shr ax, 4
LABEL_EVEN_2:
and ax, 0FFFh
LABEL_GET_FAT_ENRY_OK:
pop bx
pop es
ret
;----------------------------------------------------------------------------
times 510-($-$$) db 0 ; 填充剩下的空间,使生成的二进制代码恰好为512字节
dw 0xaa55 ; 结束标志
|
/**
* @file llfloaterpreference.cpp
* @brief Global preferences with and without persistence.
*
* $LicenseInfo:firstyear=2002&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License only.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
* $/LicenseInfo$
*/
/*
* App-wide preferences. Note that these are not per-user,
* because we need to load many preferences before we have
* a login name.
*/
#include "llviewerprecompiledheaders.h"
#include "llfloaterpreference.h"
#include "message.h"
#include "llfloaterautoreplacesettings.h"
#include "llviewertexturelist.h"
#include "llagent.h"
#include "llcheckboxctrl.h"
#include "llcolorswatch.h"
#include "llcombobox.h"
#include "llcommandhandler.h"
#include "lldirpicker.h"
#include "lleventtimer.h"
#include "llfeaturemanager.h"
#include "llfocusmgr.h"
//#include "llfirstuse.h"
#include "llfloaterreg.h"
#include "llfloaterabout.h"
#include "llfloaterhardwaresettings.h"
#include "llfloatersidepanelcontainer.h"
// <FS:Ansariel> [FS communication UI]
//#include "llfloaterimsession.h"
#include "fsfloaterim.h"
#include "fsfloaternearbychat.h"
// </FS:Ansariel> [FS communication UI]
#include "llkeyboard.h"
#include "llmodaldialog.h"
#include "llnavigationbar.h"
#include "llfloaterimnearbychat.h"
#include "llnotifications.h"
#include "llnotificationsutil.h"
#include "llnotificationtemplate.h"
#include "llpanellogin.h"
#include "llpanelvoicedevicesettings.h"
#include "llradiogroup.h"
#include "llsearchcombobox.h"
#include "llsky.h"
#include "llscrolllistctrl.h"
#include "llscrolllistitem.h"
#include "llsliderctrl.h"
#include "lltabcontainer.h"
#include "lltrans.h"
#include "llviewercontrol.h"
#include "llviewercamera.h"
#include "llviewerwindow.h"
#include "llviewermessage.h"
#include "llviewershadermgr.h"
#include "llviewerthrottle.h"
#include "llvotree.h"
#include "llvosky.h"
#include "llfloaterpathfindingconsole.h"
// linden library includes
#include "llavatarnamecache.h"
#include "llerror.h"
#include "llfontgl.h"
#include "llrect.h"
#include "llstring.h"
// project includes
#include "llbutton.h"
#include "llflexibleobject.h"
#include "lllineeditor.h"
#include "llresmgr.h"
#include "llspinctrl.h"
#include "llstartup.h"
#include "lltextbox.h"
#include "llui.h"
#include "llviewerobjectlist.h"
#include "llvoavatar.h"
#include "llvovolume.h"
#include "llwindow.h"
#include "llworld.h"
#include "pipeline.h"
#include "lluictrlfactory.h"
#include "llviewermedia.h"
#include "llpluginclassmedia.h"
#include "llteleporthistorystorage.h"
#include "llproxy.h"
#include "lllogininstance.h" // to check if logged in yet
#include "llsdserialize.h"
// Firestorm Includes
#include "exogroupmutelist.h"
#include "fsdroptarget.h"
#include "fsfloaterimcontainer.h"
#include "growlmanager.h"
#include "llavatarname.h" // <FS:CR> Deeper name cache stuffs
#include "lleventtimer.h"
#include "lldiriterator.h" // <Kadah> for populating the fonts combo
#include "llline.h"
#include "llpanelmaininventory.h"
#include "llscrolllistctrl.h"
#include "llspellcheck.h"
#include "llsdserialize.h" // KB: SkinsSelector
#include "lltoolbarview.h"
#include "llviewernetwork.h" // <FS:AW opensim search support>
#include "llwaterparammanager.h"
#include "llwldaycycle.h"
#include "llwlparammanager.h"
#include "rlvactions.h"
#include "rlvhandler.h"
#include "NACLantispam.h"
#include "../llcrashlogger/llcrashlogger.h"
#include "fssearchableui.h"
#include "llappviewer.h" // <CV:David>
#include "llviewerdisplay.h" // <CV:David>
#include "llviewermenu.h" // <CV:David>
const F32 MAX_USER_FAR_CLIP = 512.f;
const F32 MIN_USER_FAR_CLIP = 64.f;
//<FS:HG> FIRE-6340, FIRE-6567 - Setting Bandwidth issues
//const F32 BANDWIDTH_UPDATER_TIMEOUT = 0.5f;
char const* const VISIBILITY_DEFAULT = "default";
char const* const VISIBILITY_HIDDEN = "hidden";
char const* const VISIBILITY_VISIBLE = "visible";
char const* const VISIBILITY_INVISIBLE = "invisible";
//control value for middle mouse as talk2push button
const static std::string MIDDLE_MOUSE_CV = "MiddleMouse";
class LLVoiceSetKeyDialog : public LLModalDialog
{
public:
LLVoiceSetKeyDialog(const LLSD& key);
~LLVoiceSetKeyDialog();
/*virtual*/ BOOL postBuild();
void setParent(LLFloaterPreference* parent) { mParent = parent; }
BOOL handleKeyHere(KEY key, MASK mask);
static void onCancel(void* user_data);
private:
LLFloaterPreference* mParent;
};
LLVoiceSetKeyDialog::LLVoiceSetKeyDialog(const LLSD& key)
: LLModalDialog(key),
mParent(NULL)
{
}
//virtual
BOOL LLVoiceSetKeyDialog::postBuild()
{
childSetAction("Cancel", onCancel, this);
getChild<LLUICtrl>("Cancel")->setFocus(TRUE);
gFocusMgr.setKeystrokesOnly(TRUE);
return TRUE;
}
LLVoiceSetKeyDialog::~LLVoiceSetKeyDialog()
{
}
BOOL LLVoiceSetKeyDialog::handleKeyHere(KEY key, MASK mask)
{
BOOL result = TRUE;
if (key == 'Q' && mask == MASK_CONTROL)
{
result = FALSE;
}
else if (mParent)
{
mParent->setKey(key);
}
closeFloater();
return result;
}
//static
void LLVoiceSetKeyDialog::onCancel(void* user_data)
{
LLVoiceSetKeyDialog* self = (LLVoiceSetKeyDialog*)user_data;
self->closeFloater();
}
// global functions
// helper functions for getting/freeing the web browser media
// if creating/destroying these is too slow, we'll need to create
// a static member and update all our static callbacks
void handleNameTagOptionChanged(const LLSD& newvalue);
void handleDisplayNamesOptionChanged(const LLSD& newvalue);
bool callback_clear_browser_cache(const LLSD& notification, const LLSD& response);
bool callback_clear_cache(const LLSD& notification, const LLSD& response);
// <Firestorm>
bool callback_clear_inventory_cache(const LLSD& notification, const LLSD& response);
void handleFlightAssistOptionChanged(const LLSD& newvalue);
void handleMovelockOptionChanged(const LLSD& newvalue);
void handleMovelockAfterMoveOptionChanged(const LLSD& newvalue);
bool callback_clear_settings(const LLSD& notification, const LLSD& response);
// <FS:AW opensim search support>
bool callback_clear_debug_search(const LLSD& notification, const LLSD& response);
bool callback_pick_debug_search(const LLSD& notification, const LLSD& response);
// </FS:AW opensim search support>
// <FS:LO> FIRE-7050 - Add a warning to the Growl preference option because of FIRE-6868
#ifdef LL_WINDOWS
bool callback_growl_not_installed(const LLSD& notification, const LLSD& response);
#endif
// </FS:LO>
// </Firestorm>
//bool callback_skip_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater);
//bool callback_reset_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater);
void fractionFromDecimal(F32 decimal_val, S32& numerator, S32& denominator);
// <FS:Ansariel> Clear inventory cache button
bool callback_clear_inventory_cache(const LLSD& notification, const LLSD& response)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 ) // YES
{
// flag client texture cache for clearing next time the client runs
gSavedSettings.setString("FSPurgeInventoryCacheOnStartup", gAgentID.asString());
LLNotificationsUtil::add("CacheWillClear");
}
return false;
}
// </FS:Ansariel>
// <FS:Ansariel> Clear inventory cache button
bool callback_clear_web_browser_cache(const LLSD& notification, const LLSD& response)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 ) // YES
{
LLViewerMedia::clearAllCaches();
LLViewerMedia::clearAllCookies();
}
return false;
}
// </FS:Ansariel>
bool callback_clear_cache(const LLSD& notification, const LLSD& response)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 ) // YES
{
// flag client texture cache for clearing next time the client runs
gSavedSettings.setBOOL("PurgeCacheOnNextStartup", TRUE);
LLNotificationsUtil::add("CacheWillClear");
}
return false;
}
bool callback_clear_browser_cache(const LLSD& notification, const LLSD& response)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 ) // YES
{
// clean web
LLViewerMedia::clearAllCaches();
LLViewerMedia::clearAllCookies();
// clean nav bar history
LLNavigationBar::getInstance()->clearHistoryCache();
// flag client texture cache for clearing next time the client runs
// <FS:AO> Don't clear main texture cache on browser cache clear - it's too expensive to be done except explicitly
//gSavedSettings.setBOOL("PurgeCacheOnNextStartup", TRUE);
//LLNotificationsUtil::add("CacheWillClear");
LLSearchHistory::getInstance()->clearHistory();
LLSearchHistory::getInstance()->save();
// <FS:Zi> Make navigation bar part of the UI
// LLSearchComboBox* search_ctrl = LLNavigationBar::getInstance()->getChild<LLSearchComboBox>("search_combo_box");
// search_ctrl->clearHistory();
LLNavigationBar::instance().clearHistory();
// </FS:Zi>
LLTeleportHistoryStorage::getInstance()->purgeItems();
LLTeleportHistoryStorage::getInstance()->save();
}
return false;
}
void handleNameTagOptionChanged(const LLSD& newvalue)
{
LLAvatarNameCache::setUseUsernames(gSavedSettings.getBOOL("NameTagShowUsernames"));
LLVOAvatar::invalidateNameTags();
}
void handleDisplayNamesOptionChanged(const LLSD& newvalue)
{
LLAvatarNameCache::setUseDisplayNames(newvalue.asBoolean());
LLVOAvatar::invalidateNameTags();
}
// <FS:AW opensim search support>
bool callback_clear_debug_search(const LLSD& notification, const LLSD& response)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 ) // YES
{
gSavedSettings.setString("SearchURLDebug","");
}
return false;
}
bool callback_pick_debug_search(const LLSD& notification, const LLSD& response)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 ) // YES
{
std::string url;
#ifdef OPENSIM // <FS:AW optional opensim support>
if(LLGridManager::getInstance()->isInOpenSim())
{
url = LLLoginInstance::getInstance()->hasResponse("search")
? LLLoginInstance::getInstance()->getResponse("search").asString()
: gSavedSettings.getString("SearchURLOpenSim");
}
else // we are in SL or SL beta
#endif // OPENSIM // <FS:AW optional opensim support>
{
//not in OpenSim means we are in SL or SL beta
url = gSavedSettings.getString("SearchURL");
}
gSavedSettings.setString("SearchURLDebug", url);
}
return false;
}
// </FS:AW opensim search support>
/*bool callback_skip_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if (0 == option && floater )
{
if ( floater )
{
floater->setAllIgnored();
// LLFirstUse::disableFirstUse();
floater->buildPopupLists();
}
}
return false;
}
bool callback_reset_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( 0 == option && floater )
{
if ( floater )
{
floater->resetAllIgnored();
//LLFirstUse::resetFirstUse();
floater->buildPopupLists();
}
}
return false;
}
*/
void fractionFromDecimal(F32 decimal_val, S32& numerator, S32& denominator)
{
numerator = 0;
denominator = 0;
for (F32 test_denominator = 1.f; test_denominator < 30.f; test_denominator += 1.f)
{
if (fmodf((decimal_val * test_denominator) + 0.01f, 1.f) < 0.02f)
{
numerator = llround(decimal_val * test_denominator);
denominator = llround(test_denominator);
break;
}
}
}
// static
std::string LLFloaterPreference::sSkin = "";
//////////////////////////////////////////////
// LLFloaterPreference
LLFloaterPreference::LLFloaterPreference(const LLSD& key)
: LLFloater(key),
mGotPersonalInfo(false),
mOriginalIMViaEmail(false),
mLanguageChanged(false),
mAvatarDataInitialized(false),
mClickActionDirty(false),
mSearchData(NULL) // <FS:ND> Hook up and init for filtering
{
LLConversationLog::instance().addObserver(this);
//Build Floater is now Called from LLFloaterReg::add("preferences", "floater_preferences.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<LLFloaterPreference>);
static bool registered_dialog = false;
if (!registered_dialog)
{
LLFloaterReg::add("voice_set_key", "floater_select_key.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<LLVoiceSetKeyDialog>);
registered_dialog = true;
}
mCommitCallbackRegistrar.add("Pref.Apply", boost::bind(&LLFloaterPreference::onBtnApply, this));
mCommitCallbackRegistrar.add("Pref.Cancel", boost::bind(&LLFloaterPreference::onBtnCancel, this));
mCommitCallbackRegistrar.add("Pref.OK", boost::bind(&LLFloaterPreference::onBtnOK, this));
mCommitCallbackRegistrar.add("Pref.ClearCache", boost::bind(&LLFloaterPreference::onClickClearCache, this));
mCommitCallbackRegistrar.add("Pref.WebClearCache", boost::bind(&LLFloaterPreference::onClickBrowserClearCache, this));
// <FS:Ansariel> Clear inventory cache button
mCommitCallbackRegistrar.add("Pref.InvClearCache", boost::bind(&LLFloaterPreference::onClickInventoryClearCache, this));
// </FS:Ansariel>
// <FS:Ansariel> Clear web browser cache button
mCommitCallbackRegistrar.add("Pref.WebBrowserClearCache", boost::bind(&LLFloaterPreference::onClickWebBrowserClearCache, this));
// </FS:Ansariel>
mCommitCallbackRegistrar.add("Pref.SetCache", boost::bind(&LLFloaterPreference::onClickSetCache, this));
mCommitCallbackRegistrar.add("Pref.ResetCache", boost::bind(&LLFloaterPreference::onClickResetCache, this));
// mCommitCallbackRegistrar.add("Pref.ClickSkin", boost::bind(&LLFloaterPreference::onClickSkin, this,_1, _2));
// mCommitCallbackRegistrar.add("Pref.SelectSkin", boost::bind(&LLFloaterPreference::onSelectSkin, this));
mCommitCallbackRegistrar.add("Pref.VoiceSetKey", boost::bind(&LLFloaterPreference::onClickSetKey, this));
mCommitCallbackRegistrar.add("Pref.VoiceSetMiddleMouse", boost::bind(&LLFloaterPreference::onClickSetMiddleMouse, this));
//<FS:KC> Handled centrally now
// mCommitCallbackRegistrar.add("Pref.SetSounds", boost::bind(&LLFloaterPreference::onClickSetSounds, this));
mCommitCallbackRegistrar.add("Pref.ClickEnablePopup", boost::bind(&LLFloaterPreference::onClickEnablePopup, this));
mCommitCallbackRegistrar.add("Pref.ClickDisablePopup", boost::bind(&LLFloaterPreference::onClickDisablePopup, this));
mCommitCallbackRegistrar.add("Pref.LogPath", boost::bind(&LLFloaterPreference::onClickLogPath, this));
mCommitCallbackRegistrar.add("Pref.HardwareSettings", boost::bind(&LLFloaterPreference::onOpenHardwareSettings, this));
mCommitCallbackRegistrar.add("Pref.HardwareDefaults", boost::bind(&LLFloaterPreference::setHardwareDefaults, this));
mCommitCallbackRegistrar.add("Pref.VertexShaderEnable", boost::bind(&LLFloaterPreference::onVertexShaderEnable, this));
mCommitCallbackRegistrar.add("Pref.LocalLightsEnable", boost::bind(&LLFloaterPreference::onLocalLightsEnable, this));
mCommitCallbackRegistrar.add("Pref.WindowedMod", boost::bind(&LLFloaterPreference::onCommitWindowedMode, this));
mCommitCallbackRegistrar.add("Pref.UpdateSliderText", boost::bind(&LLFloaterPreference::refreshUI,this));
mCommitCallbackRegistrar.add("Pref.QualityPerformance", boost::bind(&LLFloaterPreference::onChangeQuality, this, _2));
mCommitCallbackRegistrar.add("Pref.applyUIColor", boost::bind(&LLFloaterPreference::applyUIColor, this ,_1, _2));
mCommitCallbackRegistrar.add("Pref.getUIColor", boost::bind(&LLFloaterPreference::getUIColor, this ,_1, _2));
mCommitCallbackRegistrar.add("Pref.MaturitySettings", boost::bind(&LLFloaterPreference::onChangeMaturity, this));
mCommitCallbackRegistrar.add("Pref.BlockList", boost::bind(&LLFloaterPreference::onClickBlockList, this));
mCommitCallbackRegistrar.add("Pref.Proxy", boost::bind(&LLFloaterPreference::onClickProxySettings, this));
mCommitCallbackRegistrar.add("Pref.TranslationSettings", boost::bind(&LLFloaterPreference::onClickTranslationSettings, this));
mCommitCallbackRegistrar.add("Pref.AutoReplace", boost::bind(&LLFloaterPreference::onClickAutoReplace, this));
mCommitCallbackRegistrar.add("Pref.SpellChecker", boost::bind(&LLFloaterPreference::onClickSpellChecker, this));
sSkin = gSavedSettings.getString("SkinCurrent");
mCommitCallbackRegistrar.add("Pref.ClickActionChange", boost::bind(&LLFloaterPreference::onClickActionChange, this));
gSavedSettings.getControl("NameTagShowUsernames")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
gSavedSettings.getControl("NameTagShowFriends")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
gSavedSettings.getControl("UseDisplayNames")->getCommitSignal()->connect(boost::bind(&handleDisplayNamesOptionChanged, _2));
LLAvatarPropertiesProcessor::getInstance()->addObserver( gAgent.getID(), this );
mCommitCallbackRegistrar.add("Pref.ClearLog", boost::bind(&LLConversationLog::onClearLog, &LLConversationLog::instance()));
mCommitCallbackRegistrar.add("Pref.DeleteTranscripts", boost::bind(&LLFloaterPreference::onDeleteTranscripts, this));
// <Firestorm Callbacks>
mCommitCallbackRegistrar.add("NACL.AntiSpamUnblock", boost::bind(&LLFloaterPreference::onClickClearSpamList, this));
mCommitCallbackRegistrar.add("NACL.SetPreprocInclude", boost::bind(&LLFloaterPreference::setPreprocInclude, this));
//[ADD - Clear Settings : SJ]
mCommitCallbackRegistrar.add("Pref.ClearSettings", boost::bind(&LLFloaterPreference::onClickClearSettings, this));
mCommitCallbackRegistrar.add("Pref.Online_Notices", boost::bind(&LLFloaterPreference::onClickChatOnlineNotices, this));
// <FS:PP> FIRE-8190: Preview function for "UI Sounds" Panel
mCommitCallbackRegistrar.add("PreviewUISound", boost::bind(&LLFloaterPreference::onClickPreviewUISound, this, _2));
mCommitCallbackRegistrar.add("Pref.BrowseCache", boost::bind(&LLFloaterPreference::onClickBrowseCache, this));
mCommitCallbackRegistrar.add("Pref.BrowseCrashLogs", boost::bind(&LLFloaterPreference::onClickBrowseCrashLogs, this));
mCommitCallbackRegistrar.add("Pref.BrowseSettingsDir", boost::bind(&LLFloaterPreference::onClickBrowseSettingsDir, this));
mCommitCallbackRegistrar.add("Pref.BrowseLogPath", boost::bind(&LLFloaterPreference::onClickBrowseChatLogDir, this));
mCommitCallbackRegistrar.add("Pref.Cookies", boost::bind(&LLFloaterPreference::onClickCookies, this));
mCommitCallbackRegistrar.add("Pref.Javascript", boost::bind(&LLFloaterPreference::onClickJavascript, this));
//[FIX FIRE-2765 : SJ] Making sure Reset button resets works
mCommitCallbackRegistrar.add("Pref.ResetLogPath", boost::bind(&LLFloaterPreference::onClickResetLogPath, this));
// <FS:CR>
gSavedSettings.getControl("FSColorUsername")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
gSavedSettings.getControl("FSUseLegacyClienttags")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
gSavedSettings.getControl("FSClientTagsVisibility")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
gSavedSettings.getControl("FSColorClienttags")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
// </FS:CR>
// <FS:Ansariel> Sound cache
mCommitCallbackRegistrar.add("Pref.BrowseSoundCache", boost::bind(&LLFloaterPreference::onClickBrowseSoundCache, this));
mCommitCallbackRegistrar.add("Pref.SetSoundCache", boost::bind(&LLFloaterPreference::onClickSetSoundCache, this));
mCommitCallbackRegistrar.add("Pref.ResetSoundCache", boost::bind(&LLFloaterPreference::onClickResetSoundCache, this));
// </FS:Ansariel>
// <FS:Ansariel> FIRE-2912: Reset voice button
mCommitCallbackRegistrar.add("Pref.ResetVoice", boost::bind(&LLFloaterPreference::onClickResetVoice, this));
// </Firestorm callbacks>
mCommitCallbackRegistrar.add("UpdateFilter", boost::bind(&LLFloaterPreference::onUpdateFilterTerm, this, false)); // <FS:ND/> Hook up for filtering
// <CV:David>
mCommitCallbackRegistrar.add("Pref.ChangeWalkSpeed", boost::bind(&LLFloaterPreference::onChangeWalkSpeed, this));
// </CV:David>
// <CV:David>
mCommitCallbackRegistrar.add("Pref.UpdateOutputType", boost::bind(&LLFloaterPreference::onChangeOutputType, this));
mCommitCallbackRegistrar.add("Pref.ResetEyeSeparation", boost::bind(&LLFloaterPreference::onClickResetEyeSeparation, this));
mCommitCallbackRegistrar.add("Pref.ResetScreenDistance", boost::bind(&LLFloaterPreference::onClickResetScreenDistance, this));
mCommitCallbackRegistrar.add("Pref.ChangeRiftOperationMode", boost::bind(&LLFloaterPreference::onChangeRiftOperationMode, this));
mCommitCallbackRegistrar.add("Pref.RiftStrafeEnable", boost::bind(&LLFloaterPreference::onRiftStrafeEnable, this));
mCommitCallbackRegistrar.add("Pref.RiftHeadReorientsEnable", boost::bind(&LLFloaterPreference::onRiftHeadReorientsEnable, this));
mCommitCallbackRegistrar.add("Pref.ChangeRiftHeadReorientsAfter", boost::bind(&LLFloaterPreference::onChangeRiftHeadReorientsAfter, this));
mCommitCallbackRegistrar.add("Pref.ResetRiftHeadReorientsAfter", boost::bind(&LLFloaterPreference::onClickResetRiftHeadReorientsAfter, this));
mCommitCallbackRegistrar.add("Pref.ChangeRiftHeadReorientsSpeed", boost::bind(&LLFloaterPreference::onChangeRiftHeadReorientsSpeed, this));
mCommitCallbackRegistrar.add("Pref.ResetRiftHeadReorientsSpeed", boost::bind(&LLFloaterPreference::onClickResetRiftHeadReorientsSpeed, this));
mCommitCallbackRegistrar.add("Pref.ResetRiftUIDepth", boost::bind(&LLFloaterPreference::onClickResetRiftUIDepth, this));
mCommitCallbackRegistrar.add("Pref.ResetRiftFOVMultiplier", boost::bind(&LLFloaterPreference::onClickResetRiftFOVMultiplier, this));
mCommitCallbackRegistrar.add("Pref.ResetRiftPixelDensity", boost::bind(&LLFloaterPreference::onClickResetRiftPixelDensity, this));
mCommitCallbackRegistrar.add("Pref.ChangeRiftMouseMode", boost::bind(&LLFloaterPreference::onChangeRiftMouseMode, this));
mCommitCallbackRegistrar.add("Pref.RiftMouseHorizontalEnable", boost::bind(&LLFloaterPreference::onRiftMouseHorizontalEnable, this));
mCommitCallbackRegistrar.add("Pref.RiftHmdSettingsChanged", boost::bind(&LLFloaterPreference::onRiftHmdSettingsChanged, this));
// </CV:David>
// <CV:David>
#if LL_WINDOWS
mCommitCallbackRegistrar.add("Pref.KinectEnable", boost::bind(&LLFloaterPreference::onKinectEnable, this));
mCommitCallbackRegistrar.add("Pref.ResetKinectSensitivity", boost::bind(&LLFloaterPreference::onClickResetKinectSensitivity, this));
mCommitCallbackRegistrar.add("Pref.KinectSwapFlyUpAndFlyDown", boost::bind(&LLFloaterPreference::onKinectSwapFlyUpAndFlyDown, this));
#endif
// </CV:David>
}
void LLFloaterPreference::processProperties( void* pData, EAvatarProcessorType type )
{
if ( APT_PROPERTIES == type )
{
const LLAvatarData* pAvatarData = static_cast<const LLAvatarData*>( pData );
if (pAvatarData && (gAgent.getID() == pAvatarData->avatar_id) && (pAvatarData->avatar_id != LLUUID::null))
{
storeAvatarProperties( pAvatarData );
processProfileProperties( pAvatarData );
}
}
}
void LLFloaterPreference::storeAvatarProperties( const LLAvatarData* pAvatarData )
{
if (gAgent.isInitialized() && (gAgent.getID() != LLUUID::null) && (LLStartUp::getStartupState() == STATE_STARTED))
{
mAvatarProperties.avatar_id = pAvatarData->avatar_id;
mAvatarProperties.image_id = pAvatarData->image_id;
mAvatarProperties.fl_image_id = pAvatarData->fl_image_id;
mAvatarProperties.about_text = pAvatarData->about_text;
mAvatarProperties.fl_about_text = pAvatarData->fl_about_text;
mAvatarProperties.profile_url = pAvatarData->profile_url;
mAvatarProperties.flags = pAvatarData->flags;
mAvatarProperties.allow_publish = pAvatarData->flags & AVATAR_ALLOW_PUBLISH;
mAvatarDataInitialized = true;
}
}
void LLFloaterPreference::processProfileProperties(const LLAvatarData* pAvatarData )
{
getChild<LLUICtrl>("online_searchresults")->setValue( (bool)(pAvatarData->flags & AVATAR_ALLOW_PUBLISH) );
}
void LLFloaterPreference::saveAvatarProperties( void )
{
const BOOL allowPublish = getChild<LLUICtrl>("online_searchresults")->getValue();
if (allowPublish)
{
mAvatarProperties.flags |= AVATAR_ALLOW_PUBLISH;
}
//
// NOTE: We really don't want to send the avatar properties unless we absolutely
// need to so we can avoid the accidental profile reset bug, so, if we're
// logged in, the avatar data has been initialized and we have a state change
// for the "allow publish" flag, then set the flag to its new value and send
// the properties update.
//
// NOTE: The only reason we can not remove this update altogether is because of the
// "allow publish" flag, the last remaining profile setting in the viewer
// that doesn't exist in the web profile.
//
if ((LLStartUp::getStartupState() == STATE_STARTED) && mAvatarDataInitialized && (allowPublish != mAvatarProperties.allow_publish))
{
mAvatarProperties.allow_publish = allowPublish;
LLAvatarPropertiesProcessor::getInstance()->sendAvatarPropertiesUpdate( &mAvatarProperties );
}
}
BOOL LLFloaterPreference::postBuild()
{
// <FS:Ansariel> [FS communication UI]
//gSavedSettings.getControl("ChatFontSize")->getSignal()->connect(boost::bind(&LLFloaterIMSessionTab::processChatHistoryStyleUpdate, false));
gSavedSettings.getControl("PlainTextChatHistory")->getSignal()->connect(boost::bind(&FSFloaterIM::processChatHistoryStyleUpdate, _2));
gSavedSettings.getControl("PlainTextChatHistory")->getSignal()->connect(boost::bind(&FSFloaterNearbyChat::processChatHistoryStyleUpdate, _2));
gSavedSettings.getControl("ChatFontSize")->getSignal()->connect(boost::bind(&FSFloaterIM::processChatHistoryStyleUpdate, _2));
gSavedSettings.getControl("ChatFontSize")->getSignal()->connect(boost::bind(&FSFloaterNearbyChat::processChatHistoryStyleUpdate, _2));
// </FS:Ansariel> [FS communication UI]
gSavedSettings.getControl("ChatFontSize")->getSignal()->connect(boost::bind(&LLViewerChat::signalChatFontChanged));
gSavedSettings.getControl("ChatBubbleOpacity")->getSignal()->connect(boost::bind(&LLFloaterPreference::onNameTagOpacityChange, this, _2));
gSavedSettings.getControl("ConsoleBackgroundOpacity")->getSignal()->connect(boost::bind(&LLFloaterPreference::onConsoleOpacityChange, this, _2)); // <FS:CR> FIRE-1332 - Sepeate opacity settings for nametag and console chat
gSavedSettings.getControl("PreferredMaturity")->getSignal()->connect(boost::bind(&LLFloaterPreference::onChangeMaturity, this));
// <FS:Ansariel> Preferences search
//LLTabContainer* tabcontainer = getChild<LLTabContainer>("pref core");
//if (!tabcontainer->selectTab(gSavedSettings.getS32("LastPrefTab")))
// tabcontainer->selectFirstTab();
// </FS:Ansariel>
getChild<LLUICtrl>("cache_location")->setEnabled(FALSE); // make it read-only but selectable (STORM-227)
getChildView("log_path_string")->setEnabled(FALSE);// do the same for chat logs path
getChildView("log_path_string-panelsetup")->setEnabled(FALSE);// and the redundant instance -WoLf
std::string cache_location = gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "");
setCacheLocation(cache_location);
// <FS:Ansariel> Sound cache
setSoundCacheLocation(gSavedSettings.getString("FSSoundCacheLocation"));
getChild<LLUICtrl>("FSSoundCacheLocation")->setEnabled(FALSE);
// </FS:Ansariel>
getChild<LLComboBox>("language_combobox")->setCommitCallback(boost::bind(&LLFloaterPreference::onLanguageChange, this));
// <FS:CR> [CHUI MERGE]
// We don't use these in FS Communications UI, should we in the future? Disabling for now.
//getChild<LLComboBox>("FriendIMOptions")->setCommitCallback(boost::bind(&LLFloaterPreference::onNotificationsChange, this,"FriendIMOptions"));
//getChild<LLComboBox>("NonFriendIMOptions")->setCommitCallback(boost::bind(&LLFloaterPreference::onNotificationsChange, this,"NonFriendIMOptions"));
//getChild<LLComboBox>("ConferenceIMOptions")->setCommitCallback(boost::bind(&LLFloaterPreference::onNotificationsChange, this,"ConferenceIMOptions"));
//getChild<LLComboBox>("GroupChatOptions")->setCommitCallback(boost::bind(&LLFloaterPreference::onNotificationsChange, this,"GroupChatOptions"));
//getChild<LLComboBox>("NearbyChatOptions")->setCommitCallback(boost::bind(&LLFloaterPreference::onNotificationsChange, this,"NearbyChatOptions"));
//getChild<LLComboBox>("ObjectIMOptions")->setCommitCallback(boost::bind(&LLFloaterPreference::onNotificationsChange, this,"ObjectIMOptions"));
// </FS:CR>
// ## Zi: Optional Edit Appearance Lighting
gSavedSettings.getControl("AppearanceCameraMovement")->getCommitSignal()->connect(boost::bind(&LLFloaterPreference::onAppearanceCameraChanged, this));
onAppearanceCameraChanged();
// ## Zi: Optional Edit Appearance Lighting
// if floater is opened before login set default localized do not disturb message
if (LLStartUp::getStartupState() < STATE_STARTED)
{
gSavedPerAccountSettings.setString("DoNotDisturbModeResponse", LLTrans::getString("DoNotDisturbModeResponseDefault"));
// <FS:Ansariel> FIRE-5436: Unlocalizable auto-response messages
gSavedPerAccountSettings.setString("FSAutorespondModeResponse", LLTrans::getString("AutoResponseModeDefault"));
gSavedPerAccountSettings.setString("FSAutorespondNonFriendsResponse", LLTrans::getString("AutoResponseModeNonFriendsDefault"));
gSavedPerAccountSettings.setString("FSRejectTeleportOffersResponse", LLTrans::getString("RejectTeleportOffersResponseDefault"));
gSavedPerAccountSettings.setString("FSMutedAvatarResponse", LLTrans::getString("MutedAvatarsResponseDefault"));
gSavedPerAccountSettings.setString("FSAwayAvatarResponse", LLTrans::getString("AwayAvatarResponseDefault"));
// </FS:Ansariel>
}
// set 'enable' property for 'Clear log...' button
changed();
LLLogChat::setSaveHistorySignal(boost::bind(&LLFloaterPreference::onLogChatHistorySaved, this));
// [SL:KB] - Patch: Viewer-CrashReporting | Checked: 2011-06-11 (Catznip-2.6.c) | Added: Catznip-2.6.0c
#ifndef LL_SEND_CRASH_REPORTS
// Hide the crash report tab if crash reporting isn't enabled
LLTabContainer* pTabContainer = getChild<LLTabContainer>("pref core");
if (pTabContainer)
{
LLPanel* pCrashReportPanel = pTabContainer->getPanelByName("crashreports");
if (pCrashReportPanel)
pTabContainer->removeTabPanel(pCrashReportPanel);
}
#endif // LL_SEND_CRASH_REPORTS
// [/SL:KB]
// <FS:AW opensim preferences>
#ifndef OPENSIM// <FS:AW optional opensim support/>
// Hide the opensim tab if opensim isn't enabled
LLTabContainer* tab_container = getChild<LLTabContainer>("pref core");
if (tab_container)
{
LLPanel* opensim_panel = tab_container->getPanelByName("opensim");
if (opensim_panel)
tab_container->removeTabPanel(opensim_panel);
}
// </FS:AW opensim preferences>
#endif // OPENSIM // <FS:AW optional opensim support/>
// ## Zi: Pie menu
gSavedSettings.getControl("OverridePieColors")->getSignal()->connect(boost::bind(&LLFloaterPreference::onPieColorsOverrideChanged, this));
// make sure pie color controls are enabled or greyed out properly
onPieColorsOverrideChanged();
// ## Zi: Pie menu
// <FS:Ansariel> Show email address in preferences (FIRE-1071)
getChild<LLCheckBoxCtrl>("send_im_to_email")->setLabelArg("[EMAIL]", getString("LoginToChange"));
// <FS:Kadah> Load the list of font settings
populateFontSelectionCombo();
// </FS:Kadah>
// <FS:ND> Hook up and init for filtering
mFilterEdit = getChild<LLSearchEditor>("search_prefs_edit");
mFilterEdit->setKeystrokeCallback(boost::bind(&LLFloaterPreference::onUpdateFilterTerm, this, false));
// </FS:ND>
// <CV:David>
#if LL_WINDOWS
getChild<LLUICtrl>("SetOutput120Hz")->setEnabled(TRUE);
#endif
// </CV:David>
return TRUE;
}
// <FS:Zi> Pie menu
void LLFloaterPreference::onPieColorsOverrideChanged()
{
BOOL enable = gSavedSettings.getBOOL("OverridePieColors");
getChild<LLColorSwatchCtrl>("pie_bg_color_override")->setEnabled(enable);
getChild<LLColorSwatchCtrl>("pie_selected_color_override")->setEnabled(enable);
getChild<LLSliderCtrl>("pie_menu_opacity")->setEnabled(enable);
getChild<LLSliderCtrl>("pie_menu_fade_out")->setEnabled(enable);
}
// </FS:Zi> Pie menu
void LLFloaterPreference::updateDeleteTranscriptsButton()
{
std::vector<std::string> list_of_transcriptions_file_names;
LLLogChat::getListOfTranscriptFiles(list_of_transcriptions_file_names);
getChild<LLButton>("delete_transcripts")->setEnabled(list_of_transcriptions_file_names.size() > 0);
}
void LLFloaterPreference::onDoNotDisturbResponseChanged()
{
// set "DoNotDisturbResponseChanged" TRUE if user edited message differs from default, FALSE otherwise
bool response_changed_flag =
LLTrans::getString("DoNotDisturbModeResponseDefault")
!= getChild<LLUICtrl>("do_not_disturb_response")->getValue().asString();
gSavedPerAccountSettings.setBOOL("DoNotDisturbResponseChanged", response_changed_flag );
// <FS:Ansariel> FIRE-5436: Unlocalizable auto-response messages
bool auto_response_changed_flag =
LLTrans::getString("AutoResponseModeDefault")
!= getChild<LLUICtrl>("autorespond_response")->getValue().asString();
gSavedPerAccountSettings.setBOOL("FSAutoResponseChanged", auto_response_changed_flag );
bool auto_response_non_friends_changed_flag =
LLTrans::getString("AutoResponseModeNonFriendsDefault")
!= getChild<LLUICtrl>("autorespond_nf_response")->getValue().asString();
gSavedPerAccountSettings.setBOOL("FSAutoResponseNonFriendsChanged", auto_response_non_friends_changed_flag );
bool reject_teleport_offers_response_changed_flag =
LLTrans::getString("RejectTeleportOffersResponseDefault")
!= getChild<LLUICtrl>("autorespond_rto_response")->getValue().asString();
gSavedPerAccountSettings.setBOOL("FSRejectTeleportOffersResponseChanged", reject_teleport_offers_response_changed_flag );
bool muted_avatar_response_changed_flag =
LLTrans::getString("MutedAvatarsResponseDefault")
!= getChild<LLUICtrl>("muted_avatar_response")->getValue().asString();
gSavedPerAccountSettings.setBOOL("FSMutedAvatarResponseChanged", muted_avatar_response_changed_flag );
bool away_avatar_response_changed_flag =
LLTrans::getString("AwayAvatarResponseDefault")
!= getChild<LLUICtrl>("away_avatar_response")->getValue().asString();
gSavedPerAccountSettings.setBOOL("FSAwayAvatarResponseChanged", away_avatar_response_changed_flag );
// </FS:Ansariel>
}
// <FS:Zi> Optional Edit Appearance Lighting
void LLFloaterPreference::onAppearanceCameraChanged()
{
BOOL enable = gSavedSettings.getBOOL("AppearanceCameraMovement");
getChild<LLCheckBoxCtrl>("EditAppearanceLighting")->setEnabled(enable);
}
// </FS:Zi> Optional Edit Appearance Lighting
LLFloaterPreference::~LLFloaterPreference()
{
/* Dead code - "windowsize combo" is not in any of the skin files, except for the
* dutch translation, which hints at a removed control. Apart from that, I don't
* even understand what this code does O.o -Zi
// clean up user data
LLComboBox* ctrl_window_size = getChild<LLComboBox>("windowsize combo");
for (S32 i = 0; i < ctrl_window_size->getItemCount(); i++)
{
ctrl_window_size->setCurrentByIndex(i);
}*/
LLConversationLog::instance().removeObserver(this);
delete mSearchData;
}
void LLFloaterPreference::draw()
{
// <FS:Ansariel> Performance improvement
//BOOL has_first_selected = (getChildRef<LLScrollListCtrl>("disabled_popups").getFirstSelected()!=NULL);
//gSavedSettings.setBOOL("FirstSelectedDisabledPopups", has_first_selected);
//
//has_first_selected = (getChildRef<LLScrollListCtrl>("enabled_popups").getFirstSelected()!=NULL);
//gSavedSettings.setBOOL("FirstSelectedEnabledPopups", has_first_selected);
static LLScrollListCtrl* disabled_popups = getChild<LLScrollListCtrl>("disabled_popups");
static LLScrollListCtrl* enabled_popups = getChild<LLScrollListCtrl>("enabled_popups");
BOOL has_first_selected = disabled_popups->getFirstSelected() != NULL;
gSavedSettings.setBOOL("FirstSelectedDisabledPopups", has_first_selected);
has_first_selected = enabled_popups->getFirstSelected() != NULL;
gSavedSettings.setBOOL("FirstSelectedEnabledPopups", has_first_selected);
// </FS:Ansariel>
LLFloater::draw();
}
void LLFloaterPreference::saveSettings()
{
LLTabContainer* tabcontainer = getChild<LLTabContainer>("pref core");
child_list_t::const_iterator iter = tabcontainer->getChildList()->begin();
child_list_t::const_iterator end = tabcontainer->getChildList()->end();
for ( ; iter != end; ++iter)
{
LLView* view = *iter;
LLPanelPreference* panel = dynamic_cast<LLPanelPreference*>(view);
if (panel)
panel->saveSettings();
}
}
void LLFloaterPreference::apply()
{
LLAvatarPropertiesProcessor::getInstance()->addObserver( gAgent.getID(), this );
LLTabContainer* tabcontainer = getChild<LLTabContainer>("pref core");
/*
if (sSkin != gSavedSettings.getString("SkinCurrent"))
{
LLNotificationsUtil::add("ChangeSkin");
refreshSkin(this);
}
*/
// Call apply() on all panels that derive from LLPanelPreference
for (child_list_t::const_iterator iter = tabcontainer->getChildList()->begin();
iter != tabcontainer->getChildList()->end(); ++iter)
{
LLView* view = *iter;
LLPanelPreference* panel = dynamic_cast<LLPanelPreference*>(view);
if (panel)
panel->apply();
}
// hardware menu apply
LLFloaterHardwareSettings* hardware_settings = LLFloaterReg::getTypedInstance<LLFloaterHardwareSettings>("prefs_hardware_settings");
if (hardware_settings)
{
hardware_settings->apply();
}
gViewerWindow->requestResolutionUpdate(); // for UIScaleFactor
LLSliderCtrl* fov_slider = getChild<LLSliderCtrl>("camera_fov");
fov_slider->setMinValue(LLViewerCamera::getInstance()->getMinView());
fov_slider->setMaxValue(LLViewerCamera::getInstance()->getMaxView());
std::string cache_location = gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "");
setCacheLocation(cache_location);
// <FS:Ansariel> Sound cache
setSoundCacheLocation(gSavedSettings.getString("FSSoundCacheLocation"));
LLViewerMedia::setCookiesEnabled(getChild<LLUICtrl>("cookies_enabled")->getValue());
if (hasChild("web_proxy_enabled", TRUE) &&hasChild("web_proxy_editor", TRUE) && hasChild("web_proxy_port", TRUE))
{
bool proxy_enable = getChild<LLUICtrl>("web_proxy_enabled")->getValue();
std::string proxy_address = getChild<LLUICtrl>("web_proxy_editor")->getValue();
int proxy_port = getChild<LLUICtrl>("web_proxy_port")->getValue();
LLViewerMedia::setProxyConfig(proxy_enable, proxy_address, proxy_port);
}
if (mGotPersonalInfo)
{
bool new_im_via_email = getChild<LLUICtrl>("send_im_to_email")->getValue().asBoolean();
bool new_hide_online = getChild<LLUICtrl>("online_visibility")->getValue().asBoolean();
if ((new_im_via_email != mOriginalIMViaEmail)
||(new_hide_online != mOriginalHideOnlineStatus))
{
// This hack is because we are representing several different
// possible strings with a single checkbox. Since most users
// can only select between 2 values, we represent it as a
// checkbox. This breaks down a little bit for liaisons, but
// works out in the end.
if (new_hide_online != mOriginalHideOnlineStatus)
{
if (new_hide_online) mDirectoryVisibility = VISIBILITY_HIDDEN;
else mDirectoryVisibility = VISIBILITY_DEFAULT;
//Update showonline value, otherwise multiple applys won't work
mOriginalHideOnlineStatus = new_hide_online;
}
gAgent.sendAgentUpdateUserInfo(new_im_via_email,mDirectoryVisibility);
}
}
saveAvatarProperties();
if (mClickActionDirty)
{
updateClickActionSettings();
mClickActionDirty = false;
}
}
void LLFloaterPreference::cancel()
{
LLTabContainer* tabcontainer = getChild<LLTabContainer>("pref core");
// Call cancel() on all panels that derive from LLPanelPreference
for (child_list_t::const_iterator iter = tabcontainer->getChildList()->begin();
iter != tabcontainer->getChildList()->end(); ++iter)
{
LLView* view = *iter;
LLPanelPreference* panel = dynamic_cast<LLPanelPreference*>(view);
if (panel)
panel->cancel();
}
// hide joystick pref floater
LLFloaterReg::hideInstance("pref_joystick");
// hide translation settings floater
LLFloaterReg::hideInstance("prefs_translation");
// hide autoreplace settings floater
LLFloaterReg::hideInstance("prefs_autoreplace");
// hide spellchecker settings folder
LLFloaterReg::hideInstance("prefs_spellchecker");
// cancel hardware menu
LLFloaterHardwareSettings* hardware_settings = LLFloaterReg::getTypedInstance<LLFloaterHardwareSettings>("prefs_hardware_settings");
if (hardware_settings)
{
hardware_settings->cancel();
}
// reverts any changes to current skin
//gSavedSettings.setString("SkinCurrent", sSkin);
if (mClickActionDirty)
{
updateClickActionControls();
mClickActionDirty = false;
}
LLFloaterPreferenceProxy * advanced_proxy_settings = LLFloaterReg::findTypedInstance<LLFloaterPreferenceProxy>("prefs_proxy");
if (advanced_proxy_settings)
{
advanced_proxy_settings->cancel();
}
//Need to reload the navmesh if the pathing console is up
LLHandle<LLFloaterPathfindingConsole> pathfindingConsoleHandle = LLFloaterPathfindingConsole::getInstanceHandle();
if ( !pathfindingConsoleHandle.isDead() )
{
LLFloaterPathfindingConsole* pPathfindingConsole = pathfindingConsoleHandle.get();
pPathfindingConsole->onRegionBoundaryCross();
}
}
void LLFloaterPreference::onOpen(const LLSD& key)
{
// this variable and if that follows it are used to properly handle do not disturb mode response message
static bool initialized = FALSE;
// if user is logged in and we haven't initialized do not disturb mode response yet, do it
if (!initialized && LLStartUp::getStartupState() == STATE_STARTED)
{
// Special approach is used for do not disturb response localization, because "DoNotDisturbModeResponse" is
// in non-localizable xml, and also because it may be changed by user and in this case it shouldn't be localized.
// To keep track of whether do not disturb response is default or changed by user additional setting DoNotDisturbResponseChanged
// was added into per account settings.
// initialization should happen once,so setting variable to TRUE
initialized = TRUE;
// this connection is needed to properly set "DoNotDisturbResponseChanged" setting when user makes changes in
// do not disturb response message.
gSavedPerAccountSettings.getControl("DoNotDisturbModeResponse")->getSignal()->connect(boost::bind(&LLFloaterPreference::onDoNotDisturbResponseChanged, this));
// <FS:Ansariel> FIRE-5436: Unlocalizable auto-response messages
gSavedPerAccountSettings.getControl("FSAutorespondModeResponse")->getSignal()->connect(boost::bind(&LLFloaterPreference::onDoNotDisturbResponseChanged, this));
gSavedPerAccountSettings.getControl("FSAutorespondNonFriendsResponse")->getSignal()->connect(boost::bind(&LLFloaterPreference::onDoNotDisturbResponseChanged, this));
gSavedPerAccountSettings.getControl("FSRejectTeleportOffersResponse")->getSignal()->connect(boost::bind(&LLFloaterPreference::onDoNotDisturbResponseChanged, this));
gSavedPerAccountSettings.getControl("FSMutedAvatarResponse")->getSignal()->connect(boost::bind(&LLFloaterPreference::onDoNotDisturbResponseChanged, this));
gSavedPerAccountSettings.getControl("FSAwayAvatarResponse")->getSignal()->connect(boost::bind(&LLFloaterPreference::onDoNotDisturbResponseChanged, this));
// </FS:Ansariel>
}
gAgent.sendAgentUserInfoRequest();
/////////////////////////// From LLPanelGeneral //////////////////////////
// if we have no agent, we can't let them choose anything
// if we have an agent, then we only let them choose if they have a choice
bool can_choose_maturity =
gAgent.getID().notNull() &&
(gAgent.isMature() || gAgent.isGodlike());
LLComboBox* maturity_combo = getChild<LLComboBox>("maturity_desired_combobox");
LLAvatarPropertiesProcessor::getInstance()->sendAvatarPropertiesRequest( gAgent.getID() );
if (can_choose_maturity)
{
// if they're not adult or a god, they shouldn't see the adult selection, so delete it
if (!gAgent.isAdult() && !gAgent.isGodlikeWithoutAdminMenuFakery())
{
// we're going to remove the adult entry from the combo
LLScrollListCtrl* maturity_list = maturity_combo->findChild<LLScrollListCtrl>("ComboBox");
if (maturity_list)
{
maturity_list->deleteItems(LLSD(SIM_ACCESS_ADULT));
}
}
getChildView("maturity_desired_combobox")->setVisible( true);
getChildView("maturity_desired_textbox")->setVisible( false);
}
else
{
getChild<LLUICtrl>("maturity_desired_textbox")->setValue(maturity_combo->getSelectedItemLabel());
getChildView("maturity_desired_combobox")->setVisible( false);
}
// Forget previous language changes.
mLanguageChanged = false;
// Display selected maturity icons.
onChangeMaturity();
// Load (double-)click to walk/teleport settings.
updateClickActionControls();
// <FS:PP> Load UI Sounds tabs settings.
updateUISoundsControls();
// Enabled/disabled popups, might have been changed by user actions
// while preferences floater was closed.
buildPopupLists();
//get the options that were checked
// <FS:CR> [CHUI MERGE]
// We don't use these in FS Communications UI, should we in the future? Disabling for now.
//onNotificationsChange("FriendIMOptions");
//onNotificationsChange("NonFriendIMOptions");
//onNotificationsChange("ConferenceIMOptions");
//onNotificationsChange("GroupChatOptions");
//onNotificationsChange("NearbyChatOptions");
//onNotificationsChange("ObjectIMOptions");
// </FS:CR>
LLPanelLogin::setAlwaysRefresh(true);
refresh();
getChildView("plain_text_chat_history")->setEnabled(TRUE);
getChild<LLUICtrl>("plain_text_chat_history")->setValue(gSavedSettings.getBOOL("PlainTextChatHistory"));
// <FS:CR> Show/hide Client Tag panel
bool in_opensim = false;
#ifdef OPENSIM
in_opensim = LLGridManager::getInstance()->isInOpenSim();
#endif // OPENSIM
getChild<LLPanel>("client_tags_panel")->setVisible(in_opensim);
// </FS:CR>
// <FS:Ansariel> Group mutes backup
LLScrollListItem* groupmute_item = getChild<LLScrollListCtrl>("restore_per_account_files_list")->getItem(LLSD("groupmutes"));
groupmute_item->setEnabled(in_opensim);
groupmute_item->getColumn(0)->setEnabled(in_opensim);
// </FS:Ansariel>
// <FS:Ansariel> Call onOpen on all panels for additional initialization on open
// Call onOpen() on all panels that derive from LLPanelPreference
LLTabContainer* tabcontainer = getChild<LLTabContainer>("pref core");
for (child_list_t::const_iterator iter = tabcontainer->getChildList()->begin();
iter != tabcontainer->getChildList()->end(); ++iter)
{
LLView* view = *iter;
LLPanelPreference* panel = dynamic_cast<LLPanelPreference*>(view);
if (panel)
panel->onOpen(key);
}
// </FS:Ansariel>
// Make sure the current state of prefs are saved away when
// when the floater is opened. That will make cancel do its
// job
saveSettings();
// <FS:ND> Hook up and init for filtering
mFilterEdit->setText(LLStringExplicit(""));
collectSearchableItems();
onUpdateFilterTerm(true);
if (!tabcontainer->selectTab(gSavedSettings.getS32("LastPrefTab")))
tabcontainer->selectFirstTab();
// </FS:ND>
}
void LLFloaterPreference::onVertexShaderEnable()
{
// <CV:David>
if (gRift3DEnabled && !gSavedSettings.getBOOL("VertexShaderEnable"))
{
// Temporarily set VertexShaderEnable so that setRiftlook() reshapes the window correctly.
gSavedSettings.setBOOL("VertexShaderEnable", TRUE);
CVToggle3D::setRiftlook(false);
gSavedSettings.setBOOL("VertexShaderEnable", FALSE);
}
// </CV:David>
refreshEnabledGraphics();
}
// <FS:AO> toggle lighting detail availability in response to local light rendering, to avoid confusion
void LLFloaterPreference::onLocalLightsEnable()
{
LLFloaterPreference* instance = LLFloaterReg::findTypedInstance<LLFloaterPreference>("preferences");
if (instance)
{
getChildView("LocalLightsDetail")->setEnabled(gSavedSettings.getBOOL("RenderLocalLights"));
}
}
// </FS:AO>
//static
void LLFloaterPreference::initDoNotDisturbResponse()
{
if (!gSavedPerAccountSettings.getBOOL("DoNotDisturbResponseChanged"))
{
//LLTrans::getString("DoNotDisturbModeResponseDefault") is used here for localization (EXT-5885)
gSavedPerAccountSettings.setString("DoNotDisturbModeResponse", LLTrans::getString("DoNotDisturbModeResponseDefault"));
}
// <FS:Ansariel> FIRE-5436: Unlocalizable auto-response messages
if (!gSavedPerAccountSettings.getBOOL("FSAutoResponseChanged"))
{
gSavedPerAccountSettings.setString("FSAutorespondModeResponse", LLTrans::getString("AutoResponseModeDefault"));
}
if (!gSavedPerAccountSettings.getBOOL("FSAutoResponseNonFriendsChanged"))
{
gSavedPerAccountSettings.setString("FSAutorespondNonFriendsResponse", LLTrans::getString("AutoResponseModeNonFriendsDefault"));
}
if (!gSavedPerAccountSettings.getBOOL("FSRejectTeleportOffersResponseChanged"))
{
gSavedPerAccountSettings.setString("FSRejectTeleportOffersResponse", LLTrans::getString("RejectTeleportOffersResponseDefault"));
}
if (!gSavedPerAccountSettings.getBOOL("FSMutedAvatarResponseChanged"))
{
gSavedPerAccountSettings.setString("FSMutedAvatarResponse", LLTrans::getString("MutedAvatarsResponseDefault"));
}
if (!gSavedPerAccountSettings.getBOOL("FSAwayAvatarResponseChanged"))
{
gSavedPerAccountSettings.setString("FSAwayAvatarResponse", LLTrans::getString("AwayAvatarResponseDefault"));
}
// </FS:Ansariel>
}
void LLFloaterPreference::setHardwareDefaults()
{
LLFeatureManager::getInstance()->applyRecommendedSettings();
refreshEnabledGraphics();
LLTabContainer* tabcontainer = getChild<LLTabContainer>("pref core");
child_list_t::const_iterator iter = tabcontainer->getChildList()->begin();
child_list_t::const_iterator end = tabcontainer->getChildList()->end();
for ( ; iter != end; ++iter)
{
LLView* view = *iter;
LLPanelPreference* panel = dynamic_cast<LLPanelPreference*>(view);
if (panel)
panel->setHardwareDefaults();
}
}
//virtual
void LLFloaterPreference::onClose(bool app_quitting)
{
// <FS:Ansariel> Preferences search
//gSavedSettings.setS32("LastPrefTab", getChild<LLTabContainer>("pref core")->getCurrentPanelIndex());
if (mFilterEdit->getText().empty())
{
gSavedSettings.setS32("LastPrefTab", getChild<LLTabContainer>("pref core")->getCurrentPanelIndex());
}
// </FS:Ansariel>
LLPanelLogin::setAlwaysRefresh(false);
if (!app_quitting)
{
cancel();
}
}
void LLFloaterPreference::onOpenHardwareSettings()
{
LLFloater* floater = LLFloaterReg::showInstance("prefs_hardware_settings");
addDependentFloater(floater, FALSE);
}
// static
void LLFloaterPreference::onBtnOK()
{
// commit any outstanding text entry
if (hasFocus())
{
LLUICtrl* cur_focus = dynamic_cast<LLUICtrl*>(gFocusMgr.getKeyboardFocus());
if (cur_focus && cur_focus->acceptsTextInput())
{
cur_focus->onCommit();
}
}
if (canClose())
{
saveSettings();
apply();
closeFloater(false);
//Conversation transcript and log path changed so reload conversations based on new location
if(mPriorInstantMessageLogPath.length())
{
if(moveTranscriptsAndLog())
{
//When floaters are empty but have a chat history files, reload chat history into them
// <FS:Ansariel> [FS communication UI]
//LLFloaterIMSessionTab::reloadEmptyFloaters();
FSFloaterIMContainer::reloadEmptyFloaters();
// </FS:Ansariel> [FS communication UI]
}
//Couldn't move files so restore the old path and show a notification
else
{
gSavedPerAccountSettings.setString("InstantMessageLogPath", mPriorInstantMessageLogPath);
LLNotificationsUtil::add("PreferenceChatPathChanged");
}
mPriorInstantMessageLogPath.clear();
}
LLUIColorTable::instance().saveUserSettings();
gSavedSettings.saveToFile(gSavedSettings.getString("ClientSettingsFile"), TRUE);
// [SL:KB] - Patch: Viewer-CrashReporting | Checked: 2011-10-02 (Catznip-2.8.0e) | Added: Catznip-2.8.0e
// We need to save all crash settings, even if they're defaults [see LLCrashLogger::loadCrashBehaviorSetting()]
gCrashSettings.saveToFile(gSavedSettings.getString("CrashSettingsFile"), FALSE);
// [/SL:KB]
//Only save once logged in and loaded per account settings
if(mGotPersonalInfo)
{
gSavedPerAccountSettings.saveToFile(gSavedSettings.getString("PerAccountSettingsFile"), TRUE);
}
}
else
{
// Show beep, pop up dialog, etc.
LL_INFOS() << "Can't close preferences!" << LL_ENDL;
}
LLPanelLogin::updateLocationSelectorsVisibility();
//Need to reload the navmesh if the pathing console is up
LLHandle<LLFloaterPathfindingConsole> pathfindingConsoleHandle = LLFloaterPathfindingConsole::getInstanceHandle();
if ( !pathfindingConsoleHandle.isDead() )
{
LLFloaterPathfindingConsole* pPathfindingConsole = pathfindingConsoleHandle.get();
pPathfindingConsole->onRegionBoundaryCross();
}
}
// static
void LLFloaterPreference::onBtnApply( )
{
if (hasFocus())
{
LLUICtrl* cur_focus = dynamic_cast<LLUICtrl*>(gFocusMgr.getKeyboardFocus());
if (cur_focus && cur_focus->acceptsTextInput())
{
cur_focus->onCommit();
}
}
apply();
saveSettings();
LLPanelLogin::updateLocationSelectorsVisibility();
}
// static
void LLFloaterPreference::onBtnCancel()
{
if (hasFocus())
{
LLUICtrl* cur_focus = dynamic_cast<LLUICtrl*>(gFocusMgr.getKeyboardFocus());
if (cur_focus && cur_focus->acceptsTextInput())
{
cur_focus->onCommit();
}
refresh();
}
cancel();
closeFloater();
}
// static
// <FS:Ansariel> Show email address in preferences (FIRE-1071)
//void LLFloaterPreference::updateUserInfo(const std::string& visibility, bool im_via_email)
void LLFloaterPreference::updateUserInfo(const std::string& visibility, bool im_via_email, const std::string& email)
{
LLFloaterPreference* instance = LLFloaterReg::findTypedInstance<LLFloaterPreference>("preferences");
if (instance)
{
// <FS:Ansariel> Show email address in preferences (FIRE-1071)
//instance->setPersonalInfo(visibility, im_via_email);
instance->setPersonalInfo(visibility, im_via_email, email);
}
}
void LLFloaterPreference::refreshEnabledGraphics()
{
LLFloaterPreference* instance = LLFloaterReg::findTypedInstance<LLFloaterPreference>("preferences");
if (instance)
{
instance->refresh();
//instance->refreshEnabledState();
}
LLFloaterHardwareSettings* hardware_settings = LLFloaterReg::getTypedInstance<LLFloaterHardwareSettings>("prefs_hardware_settings");
if (hardware_settings)
{
hardware_settings->refreshEnabledState();
}
}
void LLFloaterPreference::onClickClearCache()
{
LLNotificationsUtil::add("ConfirmClearCache", LLSD(), LLSD(), callback_clear_cache);
}
void LLFloaterPreference::onClickBrowserClearCache()
{
LLNotificationsUtil::add("ConfirmClearBrowserCache", LLSD(), LLSD(), callback_clear_browser_cache);
}
// <FS:Ansariel> Clear inventory cache button
void LLFloaterPreference::onClickInventoryClearCache()
{
LLNotificationsUtil::add("ConfirmClearInventoryCache", LLSD(), LLSD(), callback_clear_inventory_cache);
}
// </FS:Ansariel>
// <FS:Ansariel> Clear web browser cache button
void LLFloaterPreference::onClickWebBrowserClearCache()
{
LLNotificationsUtil::add("ConfirmClearWebBrowserCache", LLSD(), LLSD(), callback_clear_web_browser_cache);
}
// </FS:Ansariel>
// Called when user changes language via the combobox.
void LLFloaterPreference::onLanguageChange()
{
// Let the user know that the change will only take effect after restart.
// Do it only once so that we're not too irritating.
if (!mLanguageChanged)
{
LLNotificationsUtil::add("ChangeLanguage");
mLanguageChanged = true;
}
}
void LLFloaterPreference::onNotificationsChange(const std::string& OptionName)
{
mNotificationOptions[OptionName] = getChild<LLComboBox>(OptionName)->getSelectedItemLabel();
bool show_notifications_alert = true;
for (notifications_map::iterator it_notification = mNotificationOptions.begin(); it_notification != mNotificationOptions.end(); it_notification++)
{
if(it_notification->second != "No action")
{
show_notifications_alert = false;
break;
}
}
getChild<LLTextBox>("notifications_alert")->setVisible(show_notifications_alert);
}
void LLFloaterPreference::onNameTagOpacityChange(const LLSD& newvalue)
{
LLColorSwatchCtrl* color_swatch = findChild<LLColorSwatchCtrl>("background");
if (color_swatch)
{
LLColor4 new_color = color_swatch->get();
color_swatch->set( new_color.setAlpha(newvalue.asReal()) );
}
}
// <FS:CR> FIRE-1332 - Sepeate opacity settings for nametag and console chat
void LLFloaterPreference::onConsoleOpacityChange(const LLSD& newvalue)
{
LLColorSwatchCtrl* color_swatch = findChild<LLColorSwatchCtrl>("console_background");
if (color_swatch)
{
LLColor4 new_color = color_swatch->get();
color_swatch->set( new_color.setAlpha(newvalue.asReal()) );
}
}
// </FS:CR>
void LLFloaterPreference::onClickSetCache()
{
std::string cur_name(gSavedSettings.getString("CacheLocation"));
// std::string cur_top_folder(gDirUtilp->getBaseFileName(cur_name));
std::string proposed_name(cur_name);
LLDirPicker& picker = LLDirPicker::instance();
if (! picker.getDir(&proposed_name ) )
{
return; //Canceled!
}
std::string dir_name = picker.getDirName();
if (!dir_name.empty() && dir_name != cur_name)
{
std::string new_top_folder(gDirUtilp->getBaseFileName(dir_name));
LLNotificationsUtil::add("CacheWillBeMoved");
gSavedSettings.setString("NewCacheLocation", dir_name);
gSavedSettings.setString("NewCacheLocationTopFolder", new_top_folder);
}
else
{
std::string cache_location = gDirUtilp->getCacheDir();
gSavedSettings.setString("CacheLocation", cache_location);
std::string top_folder(gDirUtilp->getBaseFileName(cache_location));
gSavedSettings.setString("CacheLocationTopFolder", top_folder);
}
}
void LLFloaterPreference::onClickBrowseCache()
{
gViewerWindow->getWindow()->openFile(gDirUtilp->getExpandedFilename(LL_PATH_CACHE,""));
}
void LLFloaterPreference::onClickBrowseCrashLogs()
{
gViewerWindow->getWindow()->openFile(gDirUtilp->getExpandedFilename(LL_PATH_LOGS,""));
}
void LLFloaterPreference::onClickBrowseSettingsDir()
{
gViewerWindow->getWindow()->openFile(gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,""));
}
void LLFloaterPreference::onClickBrowseChatLogDir()
{
gViewerWindow->getWindow()->openFile(gDirUtilp->getExpandedFilename(LL_PATH_CHAT_LOGS,""));
}
void LLFloaterPreference::onClickResetCache()
{
if (gDirUtilp->getCacheDir(false) == gDirUtilp->getCacheDir(true))
{
// The cache location was already the default.
return;
}
gSavedSettings.setString("NewCacheLocation", "");
gSavedSettings.setString("NewCacheLocationTopFolder", "");
LLNotificationsUtil::add("CacheWillBeMoved");
std::string cache_location = gDirUtilp->getCacheDir(false);
gSavedSettings.setString("CacheLocation", cache_location);
std::string top_folder(gDirUtilp->getBaseFileName(cache_location));
gSavedSettings.setString("CacheLocationTopFolder", top_folder);
}
// <FS:Ansariel> Sound cache
void LLFloaterPreference::onClickSetSoundCache()
{
std::string cur_name(gSavedSettings.getString("FSSoundCacheLocation"));
std::string proposed_name(cur_name);
LLDirPicker& picker = LLDirPicker::instance();
if (! picker.getDir(&proposed_name ) )
{
return; //Canceled!
}
std::string dir_name = picker.getDirName();
if (!dir_name.empty() && dir_name != cur_name)
{
gSavedSettings.setString("FSSoundCacheLocation", dir_name);
setSoundCacheLocation(dir_name);
LLNotificationsUtil::add("SoundCacheWillBeMoved");
}
}
void LLFloaterPreference::onClickBrowseSoundCache()
{
gViewerWindow->getWindow()->openFile(gDirUtilp->getExpandedFilename(LL_PATH_FS_SOUND_CACHE, ""));
}
void LLFloaterPreference::onClickResetSoundCache()
{
gSavedSettings.setString("FSSoundCacheLocation", std::string());
setSoundCacheLocation(std::string());
LLNotificationsUtil::add("SoundCacheWillBeMoved");
}
// </FS:Ansariel>
// <FS:Ansariel> FIRE-2912: Reset voice button
class FSResetVoiceTimer : public LLEventTimer
{
public:
FSResetVoiceTimer() : LLEventTimer(5.f) { }
~FSResetVoiceTimer() { }
BOOL tick()
{
gSavedSettings.setBOOL("EnableVoiceChat", TRUE);
LLFloaterPreference* floater = LLFloaterReg::findTypedInstance<LLFloaterPreference>("preferences");
if (floater)
{
floater->childSetEnabled("enable_voice_check", true);
floater->childSetEnabled("enable_voice_check_volume", true);
}
return TRUE;
}
};
void LLFloaterPreference::onClickResetVoice()
{
if (gSavedSettings.getBOOL("EnableVoiceChat") && !gSavedSettings.getBOOL("CmdLineDisableVoice"))
{
gSavedSettings.setBOOL("EnableVoiceChat", FALSE);
childSetEnabled("enable_voice_check", false);
childSetEnabled("enable_voice_check_volume", false);
new FSResetVoiceTimer();
}
}
// </FS:Ansariel>
// Performs a wipe of the local settings dir on next restart
bool callback_clear_settings(const LLSD& notification, const LLSD& response)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 ) // YES
{
// Create a filesystem marker instructing a full settings wipe
std::string clear_file_name;
clear_file_name = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"CLEAR");
LL_INFOS() << "Creating clear settings marker file " << clear_file_name << LL_ENDL;
LLAPRFile clear_file ;
clear_file.open(clear_file_name, LL_APR_W);
if (clear_file.getFileHandle())
{
LL_INFOS("MarkerFile") << "Created clear settings marker file " << clear_file_name << LL_ENDL;
clear_file.close();
LLNotificationsUtil::add("SettingsWillClear");
}
else
{
LL_WARNS("MarkerFile") << "Cannot clear settings marker file " << clear_file_name << LL_ENDL;
}
return true;
}
return false;
}
//[ADD - Clear Usersettings : SJ] - When button Reset Defaults is clicked show a warning
void LLFloaterPreference::onClickClearSettings()
{
LLNotificationsUtil::add("FirestormClearSettingsPrompt",LLSD(), LLSD(), callback_clear_settings);
}
void LLFloaterPreference::onClickChatOnlineNotices()
{
getChildView("OnlineOfflinetoNearbyChatHistory")->setEnabled(getChild<LLUICtrl>("OnlineOfflinetoNearbyChat")->getValue().asBoolean());
}
void LLFloaterPreference::onClickClearSpamList()
{
NACLAntiSpamRegistry::instance().purgeAllQueues();
}
void LLFloaterPreference::setPreprocInclude()
{
std::string cur_name(gSavedSettings.getString("_NACL_PreProcHDDIncludeLocation"));
std::string proposed_name(cur_name);
LLDirPicker& picker = LLDirPicker::instance();
if (! picker.getDir(&proposed_name ) )
{
return; //Canceled!
}
std::string dir_name = picker.getDirName();
if (!dir_name.empty() && dir_name != cur_name)
{
std::string new_top_folder(gDirUtilp->getBaseFileName(dir_name));
gSavedSettings.setString("_NACL_PreProcHDDIncludeLocation", dir_name);
}
}
//[FIX JIRA-1971 : SJ] Show an notify when Cookies setting change
void LLFloaterPreference::onClickCookies()
{
LLNotificationsUtil::add("DisableCookiesBreaksSearch");
}
//[FIX JIRA-1971 : SJ] Show an notify when Javascript setting change
void LLFloaterPreference::onClickJavascript()
{
LLNotificationsUtil::add("DisableJavascriptBreaksSearch");
}
/*
void LLFloaterPreference::onClickSkin(LLUICtrl* ctrl, const LLSD& userdata)
{
gSavedSettings.setString("SkinCurrent", userdata.asString());
ctrl->setValue(userdata.asString());
}
void LLFloaterPreference::onSelectSkin()
{
std::string skin_selection = getChild<LLRadioGroup>("skin_selection")->getValue().asString();
gSavedSettings.setString("SkinCurrent", skin_selection);
}
void LLFloaterPreference::refreshSkin(void* data)
{
LLPanel*self = (LLPanel*)data;
sSkin = gSavedSettings.getString("SkinCurrent");
self->getChild<LLRadioGroup>("skin_selection", true)->setValue(sSkin);
}
*/
void LLFloaterPreference::buildPopupLists()
{
LLScrollListCtrl& disabled_popups =
getChildRef<LLScrollListCtrl>("disabled_popups");
LLScrollListCtrl& enabled_popups =
getChildRef<LLScrollListCtrl>("enabled_popups");
disabled_popups.deleteAllItems();
enabled_popups.deleteAllItems();
for (LLNotifications::TemplateMap::const_iterator iter = LLNotifications::instance().templatesBegin();
iter != LLNotifications::instance().templatesEnd();
++iter)
{
LLNotificationTemplatePtr templatep = iter->second;
LLNotificationFormPtr formp = templatep->mForm;
LLNotificationForm::EIgnoreType ignore = formp->getIgnoreType();
if (ignore == LLNotificationForm::IGNORE_NO)
continue;
LLSD row;
row["columns"][0]["value"] = formp->getIgnoreMessage();
row["columns"][0]["font"] = "SANSSERIF_SMALL";
row["columns"][0]["width"] = 400;
LLScrollListItem* item = NULL;
bool show_popup = !formp->getIgnored();
if (!show_popup)
{
if (ignore == LLNotificationForm::IGNORE_WITH_LAST_RESPONSE)
{
// <FS:Ansariel> Default responses are declared in "ignores" settings group, see llnotifications.cpp
//LLSD last_response = LLUI::sSettingGroups["config"]->getLLSD("Default" + templatep->mName);
LLSD last_response = LLUI::sSettingGroups["ignores"]->getLLSD("Default" + templatep->mName);
// </FS:Ansariel>
if (!last_response.isUndefined())
{
for (LLSD::map_const_iterator it = last_response.beginMap();
it != last_response.endMap();
++it)
{
if (it->second.asBoolean())
{
row["columns"][1]["value"] = formp->getElement(it->first)["ignore"].asString();
break;
}
}
}
// <FS:LO> FIRE-7938 - Some Dialog Alerts text in preferences get truncated
//row["columns"][1]["font"] = "SANSSERIF_SMALL";
//row["columns"][1]["width"] = 360;
// </FS:LO>
}
item = disabled_popups.addElement(row);
}
else
{
item = enabled_popups.addElement(row);
}
if (item)
{
item->setUserdata((void*)&iter->first);
}
}
// <FS:Ansariel> Let's sort it so we can find stuff!
enabled_popups.sortByColumnIndex(0, TRUE);
disabled_popups.sortByColumnIndex(0, TRUE);
// </FS:Ansariel>
}
void LLFloaterPreference::refreshEnabledState()
{
F32 mem_multiplier = gSavedSettings.getF32("RenderTextureMemoryMultiple");
S32Megabytes min_tex_mem = LLViewerTextureList::getMinVideoRamSetting();
S32Megabytes max_tex_mem = LLViewerTextureList::getMaxVideoRamSetting(false, mem_multiplier);
getChild<LLSliderCtrl>("GraphicsCardTextureMemory")->setMinValue(min_tex_mem.value());
getChild<LLSliderCtrl>("GraphicsCardTextureMemory")->setMaxValue(max_tex_mem.value());
if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderVBOEnable") ||
!gGLManager.mHasVertexBufferObject)
{
getChildView("vbo")->setEnabled(FALSE);
getChildView("vbo_stream")->setEnabled(FALSE);
}
else
#if LL_DARWIN
getChildView("vbo_stream")->setEnabled(FALSE); //Hardcoded disable on mac
getChild<LLUICtrl>("vbo_stream")->setValue((LLSD::Boolean) FALSE);
#else
getChildView("vbo_stream")->setEnabled(LLVertexBuffer::sEnableVBOs);
#endif
//if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderCompressTextures") || FS:TM disabled as we do not have RenderCompressTextures in our feature table.
// !gGLManager.mHasVertexBufferObject)
if (!gGLManager.mHasVertexBufferObject)
{
getChildView("texture compression")->setEnabled(FALSE);
}
//FS:TM from LLFloaterHardwareSettings.cpp
// if no windlight shaders, turn off nighttime brightness, gamma, and fog distance
LLSpinCtrl* gamma_ctrl = getChild<LLSpinCtrl>("gamma");
gamma_ctrl->setEnabled(!gPipeline.canUseWindLightShaders());
// <FS:Ansariel> Does not exist on FS
//getChildView("(brightness, lower is brighter)")->setEnabled(!gPipeline.canUseWindLightShaders());
getChildView("fog")->setEnabled(!gPipeline.canUseWindLightShaders());
// anti-aliasing
{
LLUICtrl* fsaa_ctrl = getChild<LLUICtrl>("fsaa");
// <FS:Ansariel> Does not exist on FS
//LLTextBox* fsaa_text = getChild<LLTextBox>("antialiasing label");
//LLView* fsaa_restart = getChildView("antialiasing restart");
// </FS:Ansariel>
// Enable or disable the control, the "Antialiasing:" label and the restart warning
// based on code support for the feature on the current hardware.
if (gPipeline.canUseAntiAliasing())
{
fsaa_ctrl->setEnabled(TRUE);
// borrow the text color from the gamma control for consistency
// <FS:Ansariel> Does not exist on FS
//fsaa_text->setColor(gamma_ctrl->getEnabledTextColor());
//fsaa_restart->setVisible(!gSavedSettings.getBOOL("RenderDeferred"));
// </FS:Ansariel>
}
else
{
fsaa_ctrl->setEnabled(FALSE);
fsaa_ctrl->setValue((LLSD::Integer) 0);
// borrow the text color from the gamma control for consistency
// <FS:Ansariel> Does not exist on FS
//fsaa_text->setColor(gamma_ctrl->getDisabledTextColor());
//fsaa_restart->setVisible(FALSE);
// </FS:Ansariel>
}
}
LLComboBox* ctrl_reflections = getChild<LLComboBox>("Reflections");
// <FS:Ansariel> Radio group "ReflectionDetailRadio" doesn't exist as of 20/11/2012
//LLRadioGroup* radio_reflection_detail = getChild<LLRadioGroup>("ReflectionDetailRadio");
// [RLVa:KB] - Checked: 2013-05-11 (RLVa-1.4.9)
if (rlv_handler_t::isEnabled())
{
getChild<LLUICtrl>("do_not_disturb_response")->setEnabled(!RlvActions::hasBehaviour(RLV_BHVR_SENDIM));
}
// [/RLVa:KB]
// Reflections
BOOL reflections = gSavedSettings.getBOOL("VertexShaderEnable")
&& gGLManager.mHasCubeMap
&& LLCubeMap::sUseCubeMaps;
ctrl_reflections->setEnabled(reflections);
// Bump & Shiny
LLCheckBoxCtrl* bumpshiny_ctrl = getChild<LLCheckBoxCtrl>("BumpShiny");
bool bumpshiny = gGLManager.mHasCubeMap && LLCubeMap::sUseCubeMaps && LLFeatureManager::getInstance()->isFeatureAvailable("RenderObjectBump");
bumpshiny_ctrl->setEnabled(bumpshiny ? TRUE : FALSE);
// <FS:Ansariel> Radio group "ReflectionDetailRadio" doesn't exist as of 20/11/2012
//radio_reflection_detail->setEnabled(reflections);
// Avatar Mode
// Enable Avatar Shaders
LLCheckBoxCtrl* ctrl_avatar_vp = getChild<LLCheckBoxCtrl>("AvatarVertexProgram");
// Avatar Render Mode
LLCheckBoxCtrl* ctrl_avatar_cloth = getChild<LLCheckBoxCtrl>("AvatarCloth");
bool avatar_vp_enabled = LLFeatureManager::getInstance()->isFeatureAvailable("RenderAvatarVP");
if (LLViewerShaderMgr::sInitialized)
{
S32 max_avatar_shader = LLViewerShaderMgr::instance()->mMaxAvatarShaderLevel;
avatar_vp_enabled = (max_avatar_shader > 0) ? TRUE : FALSE;
}
ctrl_avatar_vp->setEnabled(avatar_vp_enabled);
if (gSavedSettings.getBOOL("VertexShaderEnable") == FALSE ||
gSavedSettings.getBOOL("RenderAvatarVP") == FALSE)
{
ctrl_avatar_cloth->setEnabled(false);
}
else
{
ctrl_avatar_cloth->setEnabled(true);
}
// Vertex Shaders
// Global Shader Enable
LLCheckBoxCtrl* ctrl_shader_enable = getChild<LLCheckBoxCtrl>("BasicShaders");
// radio set for terrain detail mode
LLRadioGroup* mRadioTerrainDetail = getChild<LLRadioGroup>("TerrainDetailRadio"); // can be linked with control var
// ctrl_shader_enable->setEnabled(LLFeatureManager::getInstance()->isFeatureAvailable("VertexShaderEnable"));
// [RLVa:KB] - Checked: 2010-03-18 (RLVa-1.2.0a) | Modified: RLVa-0.2.0a
// "Basic Shaders" can't be disabled - but can be enabled - under @setenv=n
bool fCtrlShaderEnable = LLFeatureManager::getInstance()->isFeatureAvailable("VertexShaderEnable");
ctrl_shader_enable->setEnabled(
fCtrlShaderEnable && ((!gRlvHandler.hasBehaviour(RLV_BHVR_SETENV)) || (!gSavedSettings.getBOOL("VertexShaderEnable"))) );
// [/RLVa:KB]
BOOL shaders = ctrl_shader_enable->get();
if (shaders)
{
// <CV:David>
// Reset required for stereoscopic 3D and Oculus Rift Basic Shaders without Advanced Lighting Model.
// Also reset for deferred rendering, for completeness and consistency with llappviewer.cpp''s settings_modify().
LLRenderTarget::sUseFBO = gSavedSettings.getBOOL("RenderDeferred") || (gSavedSettings.getBOOL("VertexShaderEnable") && (gSavedSettings.getU32("OutputType") == OUTPUT_TYPE_STEREO || gSavedSettings.getU32("OutputType") == OUTPUT_TYPE_RIFT));
LLPipeline::resetRenderDeferred();
// </CV:David>
mRadioTerrainDetail->setValue(1);
mRadioTerrainDetail->setEnabled(FALSE);
}
else
{
mRadioTerrainDetail->setEnabled(TRUE);
}
// WindLight
LLCheckBoxCtrl* ctrl_wind_light = getChild<LLCheckBoxCtrl>("WindLightUseAtmosShaders");
// *HACK just checks to see if we can use shaders...
// maybe some cards that use shaders, but don't support windlight
// ctrl_wind_light->setEnabled(ctrl_shader_enable->getEnabled() && shaders);
// [RLVa:KB] - Checked: 2010-03-18 (RLVa-1.2.0a) | Modified: RLVa-0.2.0a
// "Atmospheric Shaders" can't be disabled - but can be enabled - under @setenv=n
bool fCtrlWindLightEnable = fCtrlShaderEnable && shaders;
ctrl_wind_light->setEnabled(
fCtrlWindLightEnable && ((!gRlvHandler.hasBehaviour(RLV_BHVR_SETENV)) || (!gSavedSettings.getBOOL("WindLightUseAtmosShaders"))) );
// [/RLVa:KB]
//Deferred/SSAO/Shadows
LLCheckBoxCtrl* ctrl_deferred = getChild<LLCheckBoxCtrl>("UseLightShaders");
//LLCheckBoxCtrl* ctrl_deferred2 = getChild<LLCheckBoxCtrl>("UseLightShaders2"); <FS:Ansariel> We don't have that
BOOL enabled = LLFeatureManager::getInstance()->isFeatureAvailable("RenderDeferred") &&
((bumpshiny_ctrl && bumpshiny_ctrl->get()) ? TRUE : FALSE) &&
shaders &&
gGLManager.mHasFramebufferObject &&
gSavedSettings.getBOOL("RenderAvatarVP") &&
(ctrl_wind_light->get()) ? TRUE : FALSE;
ctrl_deferred->setEnabled(enabled);
//ctrl_deferred2->setEnabled(enabled); <FS:Ansariel> We don't have that
// <FS:Ansariel> Tofu's SSR
getChild<LLCheckBoxCtrl>("FSRenderSSR")->setEnabled(enabled && (ctrl_deferred->get() ? TRUE : FALSE) && gSavedSettings.getS32("RenderShadowDetail") > 0);
LLCheckBoxCtrl* ctrl_ssao = getChild<LLCheckBoxCtrl>("UseSSAO");
LLCheckBoxCtrl* ctrl_dof = getChild<LLCheckBoxCtrl>("UseDoF");
LLComboBox* ctrl_shadow = getChild<LLComboBox>("ShadowDetail");
// note, okay here to get from ctrl_deferred as it's twin, ctrl_deferred2 will alway match it
enabled = enabled && LLFeatureManager::getInstance()->isFeatureAvailable("RenderDeferredSSAO") && (ctrl_deferred->get() ? TRUE : FALSE);
ctrl_deferred->set(gSavedSettings.getBOOL("RenderDeferred"));
ctrl_ssao->setEnabled(enabled);
ctrl_dof->setEnabled(enabled);
enabled = enabled && LLFeatureManager::getInstance()->isFeatureAvailable("RenderShadowDetail");
ctrl_shadow->setEnabled(enabled);
// now turn off any features that are unavailable
disableUnavailableSettings();
getChildView("block_list")->setEnabled(LLLoginInstance::getInstance()->authSuccess());
// <CV:David>
#if LL_WINDOWS
getChild<LLUICtrl>("KinectEnabled")->setEnabled(true);
getChild<LLUICtrl>("KinectSensitivity")->setEnabled(gKinectController != NULL);
getChild<LLUICtrl>("ResetKinectSensitivity")->setEnabled(gKinectController != NULL);
getChild<LLUICtrl>("KinectSwapFlyUpAndFlyDown")->setEnabled(gKinectController != NULL);
#else
getChild<LLUICtrl>("KinectEnabled")->setEnabled(false);
getChild<LLUICtrl>("KinectSensitivity")->setEnabled(false);
getChild<LLUICtrl>("ResetKinectSensitivity")->setEnabled(false);
getChild<LLUICtrl>("KinectSwapFlyUpAndFlyDown")->setEnabled(false);
#endif
// </CV:David>
}
void LLFloaterPreference::disableUnavailableSettings()
{
LLComboBox* ctrl_reflections = getChild<LLComboBox>("Reflections");
LLCheckBoxCtrl* ctrl_avatar_vp = getChild<LLCheckBoxCtrl>("AvatarVertexProgram");
LLCheckBoxCtrl* ctrl_avatar_cloth = getChild<LLCheckBoxCtrl>("AvatarCloth");
LLCheckBoxCtrl* ctrl_shader_enable = getChild<LLCheckBoxCtrl>("BasicShaders");
LLCheckBoxCtrl* ctrl_wind_light = getChild<LLCheckBoxCtrl>("WindLightUseAtmosShaders");
LLCheckBoxCtrl* ctrl_avatar_impostors = getChild<LLCheckBoxCtrl>("AvatarImpostors");
LLCheckBoxCtrl* ctrl_deferred = getChild<LLCheckBoxCtrl>("UseLightShaders");
//LLCheckBoxCtrl* ctrl_deferred2 = getChild<LLCheckBoxCtrl>("UseLightShaders2"); <FS:Ansariel> We don't have that
LLComboBox* ctrl_shadows = getChild<LLComboBox>("ShadowDetail");
LLCheckBoxCtrl* ctrl_ssao = getChild<LLCheckBoxCtrl>("UseSSAO");
LLCheckBoxCtrl* ctrl_dof = getChild<LLCheckBoxCtrl>("UseDoF");
// <FS:Ansariel> Tofu's SSR
LLCheckBoxCtrl* ctrl_ssr = getChild<LLCheckBoxCtrl>("FSRenderSSR");
// if vertex shaders off, disable all shader related products
if (!LLFeatureManager::getInstance()->isFeatureAvailable("VertexShaderEnable"))
{
ctrl_shader_enable->setEnabled(FALSE);
ctrl_shader_enable->setValue(FALSE);
ctrl_wind_light->setEnabled(FALSE);
ctrl_wind_light->setValue(FALSE);
ctrl_reflections->setEnabled(FALSE);
ctrl_reflections->setValue(0);
ctrl_avatar_vp->setEnabled(FALSE);
ctrl_avatar_vp->setValue(FALSE);
ctrl_avatar_cloth->setEnabled(FALSE);
ctrl_avatar_cloth->setValue(FALSE);
ctrl_shadows->setEnabled(FALSE);
ctrl_shadows->setValue(0);
ctrl_ssao->setEnabled(FALSE);
ctrl_ssao->setValue(FALSE);
ctrl_dof->setEnabled(FALSE);
ctrl_dof->setValue(FALSE);
ctrl_deferred->setEnabled(FALSE);
ctrl_deferred->setValue(FALSE);
// <FS:Ansariel> We don't have that
//ctrl_deferred2->setEnabled(FALSE);
//ctrl_deferred2->setValue(FALSE);
// <FS:Ansariel> Tofu's SSR
ctrl_ssr->setEnabled(FALSE);
ctrl_ssr->setValue(FALSE);
}
// disabled windlight
if (!LLFeatureManager::getInstance()->isFeatureAvailable("WindLightUseAtmosShaders"))
{
ctrl_wind_light->setEnabled(FALSE);
ctrl_wind_light->setValue(FALSE);
//deferred needs windlight, disable deferred
ctrl_shadows->setEnabled(FALSE);
ctrl_shadows->setValue(0);
ctrl_ssao->setEnabled(FALSE);
ctrl_ssao->setValue(FALSE);
ctrl_dof->setEnabled(FALSE);
ctrl_dof->setValue(FALSE);
ctrl_deferred->setEnabled(FALSE);
ctrl_deferred->setValue(FALSE);
// <FS:Ansariel> We don't have that
//ctrl_deferred2->setEnabled(FALSE);
//ctrl_deferred2->setValue(FALSE);
// <FS:Ansariel> Tofu's SSR
ctrl_ssr->setEnabled(FALSE);
ctrl_ssr->setValue(FALSE);
}
// disabled deferred
if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderDeferred") ||
!gGLManager.mHasFramebufferObject)
{
ctrl_shadows->setEnabled(FALSE);
ctrl_shadows->setValue(0);
ctrl_ssao->setEnabled(FALSE);
ctrl_ssao->setValue(FALSE);
ctrl_dof->setEnabled(FALSE);
ctrl_dof->setValue(FALSE);
ctrl_deferred->setEnabled(FALSE);
ctrl_deferred->setValue(FALSE);
// <FS:Ansariel> We don't have that
//ctrl_deferred2->setEnabled(FALSE);
//ctrl_deferred2->setValue(FALSE);
// <FS:Ansariel> Tofu's SSR
ctrl_ssr->setEnabled(FALSE);
ctrl_ssr->setValue(FALSE);
}
// disabled deferred SSAO
if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderDeferredSSAO"))
{
ctrl_ssao->setEnabled(FALSE);
ctrl_ssao->setValue(FALSE);
}
// disabled deferred shadows
if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderShadowDetail"))
{
ctrl_shadows->setEnabled(FALSE);
ctrl_shadows->setValue(0);
// <FS:Ansariel> Tofu's SSR
ctrl_ssr->setEnabled(FALSE);
ctrl_ssr->setValue(FALSE);
}
// disabled reflections
if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderReflectionDetail"))
{
ctrl_reflections->setEnabled(FALSE);
ctrl_reflections->setValue(FALSE);
}
// disabled av
if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderAvatarVP"))
{
ctrl_avatar_vp->setEnabled(FALSE);
ctrl_avatar_vp->setValue(FALSE);
ctrl_avatar_cloth->setEnabled(FALSE);
ctrl_avatar_cloth->setValue(FALSE);
//deferred needs AvatarVP, disable deferred
ctrl_shadows->setEnabled(FALSE);
ctrl_shadows->setValue(0);
ctrl_ssao->setEnabled(FALSE);
ctrl_ssao->setValue(FALSE);
ctrl_dof->setEnabled(FALSE);
ctrl_dof->setValue(FALSE);
ctrl_deferred->setEnabled(FALSE);
ctrl_deferred->setValue(FALSE);
// <FS:Ansariel> We don't have that
//ctrl_deferred2->setEnabled(FALSE);
//ctrl_deferred2->setValue(FALSE);
// <FS:Ansariel> Tofu's SSR
ctrl_ssr->setEnabled(FALSE);
ctrl_ssr->setValue(FALSE);
}
// disabled cloth
if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderAvatarCloth"))
{
ctrl_avatar_cloth->setEnabled(FALSE);
ctrl_avatar_cloth->setValue(FALSE);
}
// disabled impostors
if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderUseImpostors"))
{
ctrl_avatar_impostors->setEnabled(FALSE);
ctrl_avatar_impostors->setValue(FALSE);
}
}
void LLFloaterPreference::refresh()
{
LLPanel::refresh();
// sliders and their text boxes
// mPostProcess = gSavedSettings.getS32("RenderGlowResolutionPow");
// slider text boxes
// <FS:Ansariel> Disable as we show the numeric value and we would create dummy controls
//updateSliderText(getChild<LLSliderCtrl>("ObjectMeshDetail", true), getChild<LLTextBox>("ObjectMeshDetailText", true));
//updateSliderText(getChild<LLSliderCtrl>("FlexibleMeshDetail", true), getChild<LLTextBox>("FlexibleMeshDetailText", true));
//updateSliderText(getChild<LLSliderCtrl>("TreeMeshDetail", true), getChild<LLTextBox>("TreeMeshDetailText", true));
//updateSliderText(getChild<LLSliderCtrl>("AvatarMeshDetail", true), getChild<LLTextBox>("AvatarMeshDetailText", true));
//updateSliderText(getChild<LLSliderCtrl>("AvatarMeshDetail2", true), getChild<LLTextBox>("AvatarMeshDetailText2", true));
//updateSliderText(getChild<LLSliderCtrl>("AvatarPhysicsDetail", true), getChild<LLTextBox>("AvatarPhysicsDetailText", true));
//updateSliderText(getChild<LLSliderCtrl>("TerrainMeshDetail", true), getChild<LLTextBox>("TerrainMeshDetailText", true));
updateSliderText(getChild<LLSliderCtrl>("RenderPostProcess", true), getChild<LLTextBox>("PostProcessText", true));
//updateSliderText(getChild<LLSliderCtrl>("SkyMeshDetail", true), getChild<LLTextBox>("SkyMeshDetailText", true));
// </FS:Ansariel>
refreshEnabledState();
}
void LLFloaterPreference::onCommitWindowedMode()
{
refresh();
}
void LLFloaterPreference::onChangeQuality(const LLSD& data)
{
U32 level = (U32)(data.asReal());
LLFeatureManager::getInstance()->setGraphicsLevel(level, true);
refreshEnabledGraphics();
refresh();
}
void LLFloaterPreference::onClickSetKey()
{
LLVoiceSetKeyDialog* dialog = LLFloaterReg::showTypedInstance<LLVoiceSetKeyDialog>("voice_set_key", LLSD(), TRUE);
if (dialog)
{
dialog->setParent(this);
}
}
void LLFloaterPreference::setKey(KEY key)
{
getChild<LLUICtrl>("modifier_combo")->setValue(LLKeyboard::stringFromKey(key));
// update the control right away since we no longer wait for apply
getChild<LLUICtrl>("modifier_combo")->onCommit();
}
void LLFloaterPreference::onClickSetMiddleMouse()
{
LLUICtrl* p2t_line_editor = getChild<LLUICtrl>("modifier_combo");
// update the control right away since we no longer wait for apply
p2t_line_editor->setControlValue(MIDDLE_MOUSE_CV);
//push2talk button "middle mouse" control value is in English, need to localize it for presentation
LLPanel* audioPanel=getChild<LLPanel>("audio");
p2t_line_editor->setValue(audioPanel->getString("middle_mouse"));
}
//<FS:KC> Handled centrally now
/*
void LLFloaterPreference::onClickSetSounds()
{
// Disable Enable gesture/collisions sounds checkbox if the master sound is disabled
// or if sound effects are disabled.
getChild<LLCheckBoxCtrl>("gesture_audio_play_btn")->setEnabled(!gSavedSettings.getBOOL("MuteSounds"));
getChild<LLCheckBoxCtrl>("collisions_audio_play_btn")->setEnabled(!gSavedSettings.getBOOL("MuteSounds"));
}
*/
// <FS:PP> FIRE-8190: Preview function for "UI Sounds" Panel
void LLFloaterPreference::onClickPreviewUISound(const LLSD& ui_sound_id)
{
std::string uisndid = ui_sound_id.asString();
make_ui_sound(uisndid.c_str(), true);
}
// </FS:PP> FIRE-8190: Preview function for "UI Sounds" Panel
/*
void LLFloaterPreference::onClickSkipDialogs()
{
LLNotificationsUtil::add("SkipShowNextTimeDialogs", LLSD(), LLSD(), boost::bind(&callback_skip_dialogs, _1, _2, this));
}
void LLFloaterPreference::onClickResetDialogs()
{
LLNotificationsUtil::add("ResetShowNextTimeDialogs", LLSD(), LLSD(), boost::bind(&callback_reset_dialogs, _1, _2, this));
}
*/
void LLFloaterPreference::onClickEnablePopup()
{
LLScrollListCtrl& disabled_popups = getChildRef<LLScrollListCtrl>("disabled_popups");
std::vector<LLScrollListItem*> items = disabled_popups.getAllSelected();
std::vector<LLScrollListItem*>::iterator itor;
for (itor = items.begin(); itor != items.end(); ++itor)
{
LLNotificationTemplatePtr templatep = LLNotifications::instance().getTemplate(*(std::string*)((*itor)->getUserdata()));
//gSavedSettings.setWarning(templatep->mName, TRUE);
std::string notification_name = templatep->mName;
LLUI::sSettingGroups["ignores"]->setBOOL(notification_name, TRUE);
}
buildPopupLists();
}
void LLFloaterPreference::onClickDisablePopup()
{
LLScrollListCtrl& enabled_popups = getChildRef<LLScrollListCtrl>("enabled_popups");
std::vector<LLScrollListItem*> items = enabled_popups.getAllSelected();
std::vector<LLScrollListItem*>::iterator itor;
for (itor = items.begin(); itor != items.end(); ++itor)
{
LLNotificationTemplatePtr templatep = LLNotifications::instance().getTemplate(*(std::string*)((*itor)->getUserdata()));
templatep->mForm->setIgnored(true);
}
buildPopupLists();
}
void LLFloaterPreference::resetAllIgnored()
{
for (LLNotifications::TemplateMap::const_iterator iter = LLNotifications::instance().templatesBegin();
iter != LLNotifications::instance().templatesEnd();
++iter)
{
if (iter->second->mForm->getIgnoreType() != LLNotificationForm::IGNORE_NO)
{
iter->second->mForm->setIgnored(false);
}
}
}
void LLFloaterPreference::setAllIgnored()
{
for (LLNotifications::TemplateMap::const_iterator iter = LLNotifications::instance().templatesBegin();
iter != LLNotifications::instance().templatesEnd();
++iter)
{
if (iter->second->mForm->getIgnoreType() != LLNotificationForm::IGNORE_NO)
{
iter->second->mForm->setIgnored(true);
}
}
}
void LLFloaterPreference::onClickLogPath()
{
std::string proposed_name(gSavedPerAccountSettings.getString("InstantMessageLogPath"));
mPriorInstantMessageLogPath.clear();
LLDirPicker& picker = LLDirPicker::instance();
//Launches a directory picker and waits for feedback
if (!picker.getDir(&proposed_name ) )
{
return; //Canceled!
}
//Gets the path from the directory picker
std::string dir_name = picker.getDirName();
//Path changed
if(proposed_name != dir_name)
{
gSavedPerAccountSettings.setString("InstantMessageLogPath", dir_name);
mPriorInstantMessageLogPath = proposed_name;
// enable/disable 'Delete transcripts button
updateDeleteTranscriptsButton();
}
//[FIX FIRE-2765 : SJ] Enable Reset button when own Chatlogdirectory is set
getChildView("reset_logpath")->setEnabled(TRUE);
}
//[FIX FIRE-2765 : SJ] Making sure Reset button resets the chatlogdirectory to the default setting
void LLFloaterPreference::onClickResetLogPath()
{
// <FS:Ansariel> FIRE-12955: Logs don't get moved when clicking reset log path button
//gDirUtilp->setChatLogsDir(gDirUtilp->getOSUserAppDir());
//gSavedPerAccountSettings.setString("InstantMessageLogPath", gDirUtilp->getChatLogsDir());
mPriorInstantMessageLogPath = gDirUtilp->getChatLogsDir();
gSavedPerAccountSettings.setString("InstantMessageLogPath", gDirUtilp->getOSUserAppDir());
// enable/disable 'Delete transcripts button
updateDeleteTranscriptsButton();
getChildView("reset_logpath")->setEnabled(FALSE);
// </FS:Ansariel>
}
bool LLFloaterPreference::moveTranscriptsAndLog()
{
std::string instantMessageLogPath(gSavedPerAccountSettings.getString("InstantMessageLogPath"));
std::string chatLogPath = gDirUtilp->add(instantMessageLogPath, gDirUtilp->getUserName());
bool madeDirectory = false;
//Does the directory really exist, if not then make it
if(!LLFile::isdir(chatLogPath))
{
//mkdir success is defined as zero
if(LLFile::mkdir(chatLogPath) != 0)
{
return false;
}
madeDirectory = true;
}
std::string originalConversationLogDir = LLConversationLog::instance().getFileName();
std::string targetConversationLogDir = gDirUtilp->add(chatLogPath, "conversation.log");
//Try to move the conversation log
if(!LLConversationLog::instance().moveLog(originalConversationLogDir, targetConversationLogDir))
{
//Couldn't move the log and created a new directory so remove the new directory
if(madeDirectory)
{
LLFile::rmdir(chatLogPath);
}
return false;
}
//Attempt to move transcripts
std::vector<std::string> listOfTranscripts;
std::vector<std::string> listOfFilesMoved;
LLLogChat::getListOfTranscriptFiles(listOfTranscripts);
if(!LLLogChat::moveTranscripts(gDirUtilp->getChatLogsDir(),
instantMessageLogPath,
listOfTranscripts,
listOfFilesMoved))
{
//Couldn't move all the transcripts so restore those that moved back to their old location
LLLogChat::moveTranscripts(instantMessageLogPath,
gDirUtilp->getChatLogsDir(),
listOfFilesMoved);
//Move the conversation log back
LLConversationLog::instance().moveLog(targetConversationLogDir, originalConversationLogDir);
if(madeDirectory)
{
LLFile::rmdir(chatLogPath);
}
return false;
}
gDirUtilp->setChatLogsDir(instantMessageLogPath);
gDirUtilp->updatePerAccountChatLogsDir();
return true;
}
// <FS:Ansariel> Show email address in preferences (FIRE-1071)
//void LLFloaterPreference::setPersonalInfo(const std::string& visibility, bool im_via_email)
void LLFloaterPreference::setPersonalInfo(const std::string& visibility, bool im_via_email, const std::string& email)
// </FS:Ansariel> Show email address in preferences (FIRE-1071)
{
mGotPersonalInfo = true;
mOriginalIMViaEmail = im_via_email;
mDirectoryVisibility = visibility;
if (visibility == VISIBILITY_DEFAULT)
{
mOriginalHideOnlineStatus = false;
getChildView("online_visibility")->setEnabled(TRUE);
}
else if (visibility == VISIBILITY_HIDDEN)
{
mOriginalHideOnlineStatus = true;
getChildView("online_visibility")->setEnabled(TRUE);
}
else
{
mOriginalHideOnlineStatus = true;
}
getChild<LLUICtrl>("online_searchresults")->setEnabled(TRUE);
getChildView("friends_online_notify_checkbox")->setEnabled(TRUE);
getChild<LLUICtrl>("online_visibility")->setValue(mOriginalHideOnlineStatus);
getChild<LLUICtrl>("online_visibility")->setLabelArg("[DIR_VIS]", mDirectoryVisibility);
getChildView("send_im_to_email")->setEnabled(TRUE);
getChild<LLUICtrl>("send_im_to_email")->setValue(im_via_email);
getChildView("favorites_on_login_check")->setEnabled(TRUE);
//getChildView("log_path_button")->setEnabled(TRUE); // <FS:Ansariel> Does not exist as of 12-09-2014
getChildView("chat_font_size")->setEnabled(TRUE);
//getChildView("open_log_path_button")->setEnabled(TRUE); // <FS:Ansariel> Does not exist as of 12-09-2014
getChildView("log_path_button-panelsetup")->setEnabled(TRUE);// second set of controls for panel_preferences_setup -WoLf
getChildView("open_log_path_button-panelsetup")->setEnabled(TRUE);
std::string Chatlogsdir = gDirUtilp->getOSUserAppDir();
getChildView("conversation_log_combo")->setEnabled(TRUE); // <FS:CR>
getChildView("LogNearbyChat")->setEnabled(TRUE); // <FS:CR>
//getChildView("log_nearby_chat")->setEnabled(TRUE); // <FS:Ansariel> Does not exist as of 12-09-2014
//[FIX FIRE-2765 : SJ] Set Chatlog Reset Button on enabled when Chatlogpath isn't the default folder
if (gSavedPerAccountSettings.getString("InstantMessageLogPath") != gDirUtilp->getOSUserAppDir())
{
getChildView("reset_logpath")->setEnabled(TRUE);
}
// <FS:Ansariel> Show email address in preferences (FIRE-1071)
std::string display_email(email);
if(display_email.size() > 30)
{
display_email.resize(30);
display_email += "...";
}
getChild<LLCheckBoxCtrl>("send_im_to_email")->setLabelArg("[EMAIL]", display_email);
// </FS:Ansariel> Show email address in preferences (FIRE-1071)
// <FS:Ansariel> FIRE-420: Show end of last conversation in history
getChildView("LogShowHistory")->setEnabled(TRUE);
// <FS:Ansariel> Clear inventory cache button
getChildView("ClearInventoryCache")->setEnabled(TRUE);
// <FS:Ansariel> Clear web browser cache button
getChildView("ClearWebBrowserCache")->setEnabled(TRUE);
}
void LLFloaterPreference::refreshUI()
{
refresh();
}
void LLFloaterPreference::updateSliderText(LLSliderCtrl* ctrl, LLTextBox* text_box)
{
if (text_box == NULL || ctrl== NULL)
return;
// get range and points when text should change
F32 value = (F32)ctrl->getValue().asReal();
F32 min = ctrl->getMinValue();
F32 max = ctrl->getMaxValue();
F32 range = max - min;
llassert(range > 0);
F32 midPoint = min + range / 3.0f;
F32 highPoint = min + (2.0f * range / 3.0f);
// choose the right text
if (value < midPoint)
{
text_box->setText(LLTrans::getString("GraphicsQualityLow"));
}
else if (value < highPoint)
{
text_box->setText(LLTrans::getString("GraphicsQualityMid"));
}
else
{
text_box->setText(LLTrans::getString("GraphicsQualityHigh"));
}
}
void LLFloaterPreference::onChangeMaturity()
{
U8 sim_access = gSavedSettings.getU32("PreferredMaturity");
getChild<LLIconCtrl>("rating_icon_general")->setVisible(sim_access == SIM_ACCESS_PG
|| sim_access == SIM_ACCESS_MATURE
|| sim_access == SIM_ACCESS_ADULT);
getChild<LLIconCtrl>("rating_icon_moderate")->setVisible(sim_access == SIM_ACCESS_MATURE
|| sim_access == SIM_ACCESS_ADULT);
getChild<LLIconCtrl>("rating_icon_adult")->setVisible(sim_access == SIM_ACCESS_ADULT);
}
// FIXME: this will stop you from spawning the sidetray from preferences dialog on login screen
// but the UI for this will still be enabled
void LLFloaterPreference::onClickBlockList()
{
// </FS:Ansariel> Optional standalone blocklist floater
//LLFloaterSidePanelContainer::showPanel("people", "panel_people",
// LLSD().with("people_panel_tab_name", "blocked_panel"));
if (gSavedSettings.getBOOL("FSUseStandaloneBlocklistFloater"))
{
LLFloaterReg::showInstance("fs_blocklist", LLSD());
}
else
{
LLFloaterSidePanelContainer::showPanel("people", "panel_people",
LLSD().with("people_panel_tab_name", "blocked_panel"));
}
// </FS:Ansariel>
}
void LLFloaterPreference::onClickProxySettings()
{
LLFloaterReg::showInstance("prefs_proxy");
}
void LLFloaterPreference::onClickTranslationSettings()
{
LLFloaterReg::showInstance("prefs_translation");
}
void LLFloaterPreference::onClickAutoReplace()
{
LLFloaterReg::showInstance("prefs_autoreplace");
}
void LLFloaterPreference::onClickSpellChecker()
{
LLFloaterReg::showInstance("prefs_spellchecker");
}
void LLFloaterPreference::onClickActionChange()
{
mClickActionDirty = true;
}
void LLFloaterPreference::onDeleteTranscripts()
{
LLSD args;
args["FOLDER"] = gDirUtilp->getUserName();
LLNotificationsUtil::add("PreferenceChatDeleteTranscripts", args, LLSD(), boost::bind(&LLFloaterPreference::onDeleteTranscriptsResponse, this, _1, _2));
}
void LLFloaterPreference::onDeleteTranscriptsResponse(const LLSD& notification, const LLSD& response)
{
if (0 == LLNotificationsUtil::getSelectedOption(notification, response))
{
LLLogChat::deleteTranscripts();
updateDeleteTranscriptsButton();
}
}
void LLFloaterPreference::onLogChatHistorySaved()
{
LLButton * delete_transcripts_buttonp = getChild<LLButton>("delete_transcripts");
if (!delete_transcripts_buttonp->getEnabled())
{
delete_transcripts_buttonp->setEnabled(true);
}
}
void LLFloaterPreference::updateClickActionSettings()
{
const int single_clk_action = getChild<LLComboBox>("single_click_action_combo")->getValue().asInteger();
const int double_clk_action = getChild<LLComboBox>("double_click_action_combo")->getValue().asInteger();
gSavedSettings.setBOOL("ClickToWalk", single_clk_action == 1);
gSavedSettings.setBOOL("DoubleClickAutoPilot", double_clk_action == 1);
gSavedSettings.setBOOL("DoubleClickTeleport", double_clk_action == 2);
}
void LLFloaterPreference::updateClickActionControls()
{
const bool click_to_walk = gSavedSettings.getBOOL("ClickToWalk");
const bool dbl_click_to_walk = gSavedSettings.getBOOL("DoubleClickAutoPilot");
const bool dbl_click_to_teleport = gSavedSettings.getBOOL("DoubleClickTeleport");
getChild<LLComboBox>("single_click_action_combo")->setValue((int)click_to_walk);
getChild<LLComboBox>("double_click_action_combo")->setValue(dbl_click_to_teleport ? 2 : (int)dbl_click_to_walk);
}
// <CV:David>
void LLFloaterPreference::onChangeWalkSpeed()
{
gAgent.setWalkSpeed(getChild<LLSliderCtrl>("WalkSpeed")->getValue().asInteger());
}
// </CV:David>
// <FS:PP> Load UI Sounds tabs settings
void LLFloaterPreference::updateUISoundsControls()
{
getChild<LLComboBox>("PlayModeUISndNewIncomingIMSession")->setValue((int)gSavedSettings.getU32("PlayModeUISndNewIncomingIMSession")); // 0, 1, 2, 3. Shared with Chat > Notifications > "When receiving Instant Messages"
getChild<LLComboBox>("PlayModeUISndNewIncomingGroupIMSession")->setValue((int)gSavedSettings.getU32("PlayModeUISndNewIncomingGroupIMSession")); // 0, 1, 2, 3. Shared with Chat > Notifications > "When receiving Group Instant Messages"
getChild<LLComboBox>("PlayModeUISndNewIncomingConfIMSession")->setValue((int)gSavedSettings.getU32("PlayModeUISndNewIncomingConfIMSession")); // 0, 1, 2, 3. Shared with Chat > Notifications > "When receiving AdHoc Instant Messages"
// Set proper option for Chat > Notifications > "When receiving Instant Messages"
getChild<LLComboBox>("WhenPlayIM")->setValue((int)gSavedSettings.getU32("PlayModeUISndNewIncomingIMSession")); // 0, 1, 2, 3
getChild<LLComboBox>("WhenPlayGroupIM")->setValue((int)gSavedSettings.getU32("PlayModeUISndNewIncomingGroupIMSession")); // 0, 1, 2, 3
getChild<LLComboBox>("WhenPlayConfIM")->setValue((int)gSavedSettings.getU32("PlayModeUISndNewIncomingConfIMSession")); // 0, 1, 2, 3
#ifdef OPENSIM
getChild<LLTextBox>("textFSRestartOpenSim")->setVisible(TRUE);
getChild<LLLineEditor>("UISndRestartOpenSim")->setVisible(TRUE);
getChild<LLButton>("Prev_UISndRestartOpenSim")->setVisible(TRUE);
getChild<LLButton>("Def_UISndRestartOpenSim")->setVisible(TRUE);
getChild<LLCheckBoxCtrl>("PlayModeUISndRestartOpenSim")->setVisible(TRUE);
#endif
getChild<LLComboBox>("UseLSLFlightAssist")->setValue((int)gSavedPerAccountSettings.getF32("UseLSLFlightAssist")); // Flight Assist combo box; Not sound-related, but better to place it here instead of creating whole new void
}
// </FS:PP>
//[FIX FIRE-1927 - enable DoubleClickTeleport shortcut : SJ]
//void LLFloaterPreference::onChangeDoubleClickSettings()
//{
// bool double_click_action_enabled = gSavedSettings.getBOOL("DoubleClickAutoPilot") || gSavedSettings.getBOOL("DoubleClickTeleport");
// LLCheckBoxCtrl* double_click_action_cb = getChild<LLCheckBoxCtrl>("double_click_chkbox");
// if (double_click_action_cb)
// {
// // check checkbox if one of double-click actions settings enabled, uncheck otherwise
// double_click_action_cb->setValue(double_click_action_enabled);
// }
// LLRadioGroup* double_click_action_radio = getChild<LLRadioGroup>("double_click_action");
// if (!double_click_action_radio) return;
// // set radio-group enabled if one of double-click actions settings enabled
// double_click_action_radio->setEnabled(double_click_action_enabled);
// if (gSavedSettings.getBOOL("DoubleClickTeleport"))
// {
// double_click_action_radio->setSelectedIndex(0);
// }
// else
// {
// double_click_action_radio->setSelectedIndex(1);
// }
//}
void LLFloaterPreference::applyUIColor(LLUICtrl* ctrl, const LLSD& param)
{
LLUIColorTable::instance().setColor(param.asString(), LLColor4(ctrl->getValue()));
}
void LLFloaterPreference::getUIColor(LLUICtrl* ctrl, const LLSD& param)
{
LLColorSwatchCtrl* color_swatch = (LLColorSwatchCtrl*) ctrl;
color_swatch->setOriginal(LLUIColorTable::instance().getColor(param.asString()));
}
void LLFloaterPreference::setCacheLocation(const LLStringExplicit& location)
{
LLUICtrl* cache_location_editor = getChild<LLUICtrl>("cache_location");
cache_location_editor->setValue(location);
cache_location_editor->setToolTip(location);
}
// <FS:Ansariel> Sound cache
void LLFloaterPreference::setSoundCacheLocation(const LLStringExplicit& location)
{
LLUICtrl* cache_location_editor = getChild<LLUICtrl>("FSSoundCacheLocation");
cache_location_editor->setValue(location);
cache_location_editor->setToolTip(location);
}
// </FS:Ansariel>
void LLFloaterPreference::selectPanel(const LLSD& name)
{
LLTabContainer * tab_containerp = getChild<LLTabContainer>("pref core");
LLPanel * panel = tab_containerp->getPanelByName(name);
if (NULL != panel)
{
tab_containerp->selectTabPanel(panel);
}
}
void LLFloaterPreference::selectPrivacyPanel()
{
selectPanel("im");
}
void LLFloaterPreference::selectChatPanel()
{
selectPanel("chat");
}
void LLFloaterPreference::changed()
{
getChild<LLButton>("clear_log")->setEnabled(LLConversationLog::instance().getConversations().size() > 0);
// set 'enable' property for 'Delete transcripts...' button
updateDeleteTranscriptsButton();
}
//------------------------------Updater---------------------------------------
//<FS:TS> FIRE-6795: Remove repetitive warning at every login
// <FS:Zi> Add warning on high bandwidth setting
//static void updateBandwidthWarning()
//{
// S32 newBandwidth=(S32) gSavedSettings.getF32("ThrottleBandwidthKBPS");
// gSavedSettings.setBOOL("BandwidthSettingTooHigh",newBandwidth>1500);
//}
// </FS:Zi>
//</FS:TS> FIRE-6795
//<FS:HG> FIRE-6340, FIRE-6567 - Setting Bandwidth issues
//static bool handleBandwidthChanged(const LLSD& newvalue)
//{
// gViewerThrottle.setMaxBandwidth((F32) newvalue.asReal());
// updateBandwidthWarning(); // <FS:Zi> Add warning on high bandwidth setting
// return true;
//}
//class LLPanelPreference::Updater : public LLEventTimer
//{
//public:
// typedef boost::function<bool(const LLSD&)> callback_t;
// Updater(callback_t cb, F32 period)
// :LLEventTimer(period),
// mCallback(cb)
// {
// mEventTimer.stop();
// }
// virtual ~Updater(){}
// void update(const LLSD& new_value)
// {
// mNewValue = new_value;
// mEventTimer.start();
// }
//protected:
// BOOL tick()
// {
// mCallback(mNewValue);
// mEventTimer.stop();
// return FALSE;
// }
//private:
// LLSD mNewValue;
// callback_t mCallback;
//};
//---------------------------------------------------------------------------- */
//</FS:HG> FIRE-6340, FIRE-6567 - Setting Bandwidth issues
static LLPanelInjector<LLPanelPreference> t_places("panel_preference");
LLPanelPreference::LLPanelPreference()
//<FS:HG> FIRE-6340, FIRE-6567 - Setting Bandwidth issues
//: LLPanel(),
//mBandWidthUpdater(NULL)
{
//<FS:KC> Handled centrally now
// mCommitCallbackRegistrar.add("Pref.setControlFalse", boost::bind(&LLPanelPreference::setControlFalse,this, _2));
mCommitCallbackRegistrar.add("Pref.updateMediaAutoPlayCheckbox", boost::bind(&LLPanelPreference::updateMediaAutoPlayCheckbox, this, _1));
}
//virtual
BOOL LLPanelPreference::postBuild()
{
////////////////////// PanelGeneral ///////////////////
if (hasChild("display_names_check", TRUE))
{
BOOL use_people_api = gSavedSettings.getBOOL("UsePeopleAPI");
LLCheckBoxCtrl* ctrl_display_name = getChild<LLCheckBoxCtrl>("display_names_check");
ctrl_display_name->setEnabled(use_people_api);
if (!use_people_api)
{
ctrl_display_name->setValue(FALSE);
}
}
// <FS:Ansariel> Minimap pick radius transparency
LLSliderCtrl* map_pickradius_transparency = findChild<LLSliderCtrl>("MapPickRadiusTransparency");
if (map_pickradius_transparency)
{
mOriginalMapPickRadiusTransparency = LLUIColorTable::instance().getColor("MapPickRadiusColor").get().mV[VW];
map_pickradius_transparency->setValue(mOriginalMapPickRadiusTransparency);
map_pickradius_transparency->setCommitCallback(boost::bind(&LLPanelPreference::updateMapPickRadiusTransparency, this, _2));
}
// </FS:Ansariel>
// <FS:Ansariel> Flash chat toolbar button notification
if (hasChild("FSNotifyIMFlash", TRUE))
{
gSavedSettings.getControl("FSChatWindow")->getSignal()->connect(boost::bind(&LLPanelPreference::onChatWindowChanged, this));
onChatWindowChanged();
}
// </FS:Ansariel>
// <FS:Ansariel> Exodus' mouselook combat feature
if (hasChild("FSMouselookCombatFeatures", TRUE))
{
gSavedSettings.getControl("EnableMouselook")->getSignal()->connect(boost::bind(&LLPanelPreference::updateMouselookCombatFeatures, this));
gSavedSettings.getControl("FSMouselookCombatFeatures")->getSignal()->connect(boost::bind(&LLPanelPreference::updateMouselookCombatFeatures, this));
updateMouselookCombatFeatures();
}
// </FS:Ansariel>
////////////////////// PanelVoice ///////////////////
// <FS:Ansariel> Doesn't exist as of 25-07-2014
//if (hasChild("voice_unavailable", TRUE))
//{
// BOOL voice_disabled = gSavedSettings.getBOOL("CmdLineDisableVoice");
// getChildView("voice_unavailable")->setVisible( voice_disabled);
// getChildView("enable_voice_check")->setVisible( !voice_disabled);
//}
// </FS:Ansariel>
//////////////////////PanelSkins ///////////////////
/* <FS:CR> Handled below
if (hasChild("skin_selection", TRUE))
{
LLFloaterPreference::refreshSkin(this);
// if skin is set to a skin that no longer exists (silver) set back to default
if (getChild<LLRadioGroup>("skin_selection")->getSelectedIndex() < 0)
{
gSavedSettings.setString("SkinCurrent", "default");
LLFloaterPreference::refreshSkin(this);
}
}
*/
//////////////////////PanelPrivacy ///////////////////
if (hasChild("media_enabled", TRUE))
{
bool media_enabled = gSavedSettings.getBOOL("AudioStreamingMedia");
getChild<LLCheckBoxCtrl>("media_enabled")->set(media_enabled);
getChild<LLCheckBoxCtrl>("autoplay_enabled")->setEnabled(media_enabled);
}
if (hasChild("music_enabled", TRUE))
{
getChild<LLCheckBoxCtrl>("music_enabled")->set(gSavedSettings.getBOOL("AudioStreamingMusic"));
}
if (hasChild("media_filter"))
{
getChild<LLCheckBoxCtrl>("media_filter")->set(gSavedSettings.getBOOL("MediaEnableFilter"));
}
if (hasChild("voice_call_friends_only_check", TRUE))
{
getChild<LLCheckBoxCtrl>("voice_call_friends_only_check")->setCommitCallback(boost::bind(&showFriendsOnlyWarning, _1, _2));
}
if (hasChild("favorites_on_login_check", TRUE))
{
getChild<LLCheckBoxCtrl>("favorites_on_login_check")->setCommitCallback(boost::bind(&showFavoritesOnLoginWarning, _1, _2));
}
//////////////////////PanelAdvanced ///////////////////
if (hasChild("modifier_combo", TRUE))
{
//localizing if push2talk button is set to middle mouse
if (MIDDLE_MOUSE_CV == getChild<LLUICtrl>("modifier_combo")->getValue().asString())
{
getChild<LLUICtrl>("modifier_combo")->setValue(getString("middle_mouse"));
}
}
// Panel Setup (Network) -WoLf
if (hasChild("connection_port_enabled"))
{
getChild<LLCheckBoxCtrl>("connection_port_enabled")->setCommitCallback(boost::bind(&showCustomPortWarning, _1, _2));
}
// [/WoLf]
//////////////////////PanelSetup ///////////////////
// <FS:Zi> Add warning on high bandwidth settings
//if (hasChild("max_bandwidth"), TRUE)
// Look for the layout widget on top level of this panel
if (hasChild("max_bandwidth_layout"))
// </FS:Zi>
{
//<FS:HG> FIRE-6340, FIRE-6567 - Setting Bandwidth issues
//mBandWidthUpdater = new LLPanelPreference::Updater(boost::bind(&handleBandwidthChanged, _1), BANDWIDTH_UPDATER_TIMEOUT);
//gSavedSettings.getControl("ThrottleBandwidthKBPS")->getSignal()->connect(boost::bind(&LLPanelPreference::Updater::update, mBandWidthUpdater, _2));
//<FS:TS> FIRE-6795: Remove warning on every login
//updateBandwidthWarning(); // <FS:Zi> Add warning on high bandwidth setting
//</FS:TS> FIRE-6795
//</FS:HG> FIRE-6340, FIRE-6567 - Setting Bandwidth issues
}
// <FS:Ansariel> Fix for visually broken browser choice radiobuttons
if (hasChild("use_external_browser", TRUE))
{
getChild<LLRadioGroup>("use_external_browser")->setValue(gSavedSettings.getBOOL("UseExternalBrowser"));
}
// </FS:Ansariel> Fix for visually broken browser choice radiobuttons
////////////////////// PanelAlerts ///////////////////
if (hasChild("OnlineOfflinetoNearbyChat", TRUE))
{
getChildView("OnlineOfflinetoNearbyChatHistory")->setEnabled(getChild<LLUICtrl>("OnlineOfflinetoNearbyChat")->getValue().asBoolean());
}
// <FS:Ansariel> Only enable Growl checkboxes if Growl is usable
if (hasChild("notify_growl_checkbox", TRUE))
{
getChild<LLCheckBoxCtrl>("notify_growl_checkbox")->setCommitCallback(boost::bind(&LLPanelPreference::onEnableGrowlChanged, this));
getChild<LLCheckBoxCtrl>("notify_growl_checkbox")->setEnabled(GrowlManager::isUsable());
getChild<LLCheckBoxCtrl>("notify_growl_always_checkbox")->setEnabled(gSavedSettings.getBOOL("FSEnableGrowl") && GrowlManager::isUsable());
}
// </FS:Ansariel>
apply();
return true;
}
LLPanelPreference::~LLPanelPreference()
{
//<FS:HG> FIRE-6340, FIRE-6567 - Setting Bandwidth issues
//if (mBandWidthUpdater)
//{
// delete mBandWidthUpdater;
//}
//</FS:HG> FIRE-6340, FIRE-6567 - Setting Bandwidth issues
}
void LLPanelPreference::apply()
{
// <FS:Ansariel> Fix for visually broken browser choice radiobuttons
if (hasChild("use_external_browser", TRUE))
{
BOOL useExternalBrowser = (getChild<LLRadioGroup>("use_external_browser")->getValue().asInteger() == 1);
gSavedSettings.setBOOL("UseExternalBrowser", useExternalBrowser);
}
// </FS:Ansariel> Fix for visually broken browser choice radiobuttons
}
void LLPanelPreference::saveSettings()
{
// Save the value of all controls in the hierarchy
mSavedValues.clear();
std::list<LLView*> view_stack;
view_stack.push_back(this);
while(!view_stack.empty())
{
// Process view on top of the stack
LLView* curview = view_stack.front();
view_stack.pop_front();
LLColorSwatchCtrl* color_swatch = dynamic_cast<LLColorSwatchCtrl *>(curview);
if (color_swatch)
{
mSavedColors[color_swatch->getName()] = color_swatch->get();
}
else
{
LLUICtrl* ctrl = dynamic_cast<LLUICtrl*>(curview);
if (ctrl)
{
LLControlVariable* control = ctrl->getControlVariable();
if (control)
{
mSavedValues[control] = control->getValue();
}
}
}
// Push children onto the end of the work stack
for (child_list_t::const_iterator iter = curview->getChildList()->begin();
iter != curview->getChildList()->end(); ++iter)
{
view_stack.push_back(*iter);
}
}
}
void LLPanelPreference::showFriendsOnlyWarning(LLUICtrl* checkbox, const LLSD& value)
{
if (checkbox && checkbox->getValue())
{
LLNotificationsUtil::add("FriendsAndGroupsOnly");
}
}
// Manage the custom port alert, fixes Cant Close bug. -WoLf
void LLPanelPreference::showCustomPortWarning(LLUICtrl* checkbox, const LLSD& value)
{
LLNotificationsUtil::add("ChangeConnectionPort");
}
// [/WoLf]
void LLPanelPreference::showFavoritesOnLoginWarning(LLUICtrl* checkbox, const LLSD& value)
{
if (checkbox && checkbox->getValue())
{
LLNotificationsUtil::add("FavoritesOnLogin");
}
}
// <FS:Ansariel> Only enable Growl checkboxes if Growl is usable
void LLPanelPreference::onEnableGrowlChanged()
{
getChild<LLCheckBoxCtrl>("notify_growl_always_checkbox")->setEnabled(gSavedSettings.getBOOL("FSEnableGrowl") && GrowlManager::isUsable());
}
// </FS:Ansariel>
// <FS:Ansariel> Flash chat toolbar button notification
void LLPanelPreference::onChatWindowChanged()
{
getChild<LLCheckBoxCtrl>("FSNotifyIMFlash")->setEnabled(gSavedSettings.getS32("FSChatWindow") == 1);
}
// </FS:Ansariel>
// <FS:Ansariel> Exodus' mouselook combat feature
void LLPanelPreference::updateMouselookCombatFeatures()
{
bool enabled = gSavedSettings.getBOOL("EnableMouselook") && gSavedSettings.getBOOL("FSMouselookCombatFeatures");
getChild<LLCheckBoxCtrl>("ExodusMouselookIFF")->setEnabled(enabled);
getChild<LLSliderCtrl>("ExodusMouselookIFFRange")->setEnabled(enabled);
}
// </FS:Ansariel>
// <FS:Ansariel> Minimap pick radius transparency
void LLPanelPreference::updateMapPickRadiusTransparency(const LLSD& value)
{
static LLColorSwatchCtrl* color_swatch = getChild<LLColorSwatchCtrl>("MapPickRadiusColor");
LLUIColorTable& color_table = LLUIColorTable::instance();
LLColor4 color = color_table.getColor("MapPickRadiusColor").get();
color.mV[VW] = value.asReal();
color_table.setColor("MapPickRadiusColor", color);
color_swatch->set(color);
}
// </FS:Ansariel>
void LLPanelPreference::cancel()
{
for (control_values_map_t::iterator iter = mSavedValues.begin();
iter != mSavedValues.end(); ++iter)
{
LLControlVariable* control = iter->first;
LLSD ctrl_value = iter->second;
control->set(ctrl_value);
}
for (string_color_map_t::iterator iter = mSavedColors.begin();
iter != mSavedColors.end(); ++iter)
{
LLColorSwatchCtrl* color_swatch = findChild<LLColorSwatchCtrl>(iter->first);
if (color_swatch)
{
color_swatch->set(iter->second);
color_swatch->onCommit();
}
}
// <FS:Ansariel> Minimap pick radius transparency
LLSliderCtrl* map_pickradius_transparency = findChild<LLSliderCtrl>("MapPickRadiusTransparency");
if (map_pickradius_transparency)
{
map_pickradius_transparency->setValue(mOriginalMapPickRadiusTransparency);
}
// </FS:Ansariel>
}
//<FS:KC> Handled centrally now
/*
void LLPanelPreference::setControlFalse(const LLSD& user_data)
{
std::string control_name = user_data.asString();
LLControlVariable* control = findControl(control_name);
if (control)
control->set(LLSD(FALSE));
}
*/
void LLPanelPreference::updateMediaAutoPlayCheckbox(LLUICtrl* ctrl)
{
std::string name = ctrl->getName();
// Disable "Allow Media to auto play" only when both
// "Streaming Music" and "Media" are unchecked. STORM-513.
if ((name == "enable_music") || (name == "enable_media"))
{
bool music_enabled = getChild<LLCheckBoxCtrl>("enable_music")->get();
bool media_enabled = getChild<LLCheckBoxCtrl>("enable_media")->get();
getChild<LLCheckBoxCtrl>("media_auto_play_btn")->setEnabled(music_enabled || media_enabled);
}
}
class LLPanelPreferencePrivacy : public LLPanelPreference
{
public:
LLPanelPreferencePrivacy()
{
mAccountIndependentSettings.push_back("VoiceCallsFriendsOnly");
mAccountIndependentSettings.push_back("AutoDisengageMic");
mAutoresponseItem = gSavedPerAccountSettings.getString("FSAutoresponseItemUUID");
}
/*virtual*/ void saveSettings()
{
LLPanelPreference::saveSettings();
// Don't save (=erase from the saved values map) per-account privacy settings
// if we're not logged in, otherwise they will be reset to defaults on log off.
if (LLStartUp::getStartupState() != STATE_STARTED)
{
// Erase only common settings, assuming there are no color settings on Privacy page.
for (control_values_map_t::iterator it = mSavedValues.begin(); it != mSavedValues.end(); )
{
const std::string setting = it->first->getName();
if (find(mAccountIndependentSettings.begin(),
mAccountIndependentSettings.end(), setting) == mAccountIndependentSettings.end())
{
mSavedValues.erase(it++);
}
else
{
++it;
}
}
}
}
// <FS:Ansariel> Send inventory item on autoresponse
/*virtual*/ void apply()
{
LLPanelPreference::apply();
if (LLStartUp::getStartupState() == STATE_STARTED)
{
gSavedPerAccountSettings.setString("FSAutoresponseItemUUID", mAutoresponseItem);
}
}
// </FS:Ansariel>
// <FS:Ansariel> DebugLookAt checkbox status not working properly
/*virtual*/ BOOL postBuild()
{
getChild<LLUICtrl>("showlookat")->setCommitCallback(boost::bind(&LLPanelPreferencePrivacy::onClickDebugLookAt, this, _2));
gSavedPerAccountSettings.getControl("DebugLookAt")->getSignal()->connect(boost::bind(&LLPanelPreferencePrivacy::onChangeDebugLookAt, this));
onChangeDebugLookAt();
mInvDropTarget = getChild<FSCopyTransInventoryDropTarget>("autoresponse_item");
mInvDropTarget->setDADCallback(boost::bind(&LLPanelPreferencePrivacy::onDADAutoresponseItem, this, _1));
getChild<LLButton>("clear_autoresponse_item")->setCommitCallback(boost::bind(&LLPanelPreferencePrivacy::onClearAutoresponseItem, this));
return LLPanelPreference::postBuild();
}
// </FS:Ansariel>
// <FS:Ansariel> Send inventory item on autoresponse
/* virtual */ void onOpen(const LLSD& key)
{
LLButton* clear_item_btn = getChild<LLButton>("clear_autoresponse_item");
clear_item_btn->setEnabled(FALSE);
if (LLStartUp::getStartupState() == STATE_STARTED)
{
mAutoresponseItem = gSavedPerAccountSettings.getString("FSAutoresponseItemUUID");
LLUUID item_id(mAutoresponseItem);
if (item_id.isNull())
{
mInvDropTarget->setText(getString("AutoresponseItemNotSet"));
}
else
{
clear_item_btn->setEnabled(TRUE);
LLInventoryObject* item = gInventory.getObject(item_id);
if (item)
{
mInvDropTarget->setText(item->getName());
}
else
{
mInvDropTarget->setText(getString("AutoresponseItemNotAvailable"));
}
}
}
else
{
mInvDropTarget->setText(getString("AutoresponseItemNotLoggedIn"));
}
}
// </FS:Ansariel>
private:
std::list<std::string> mAccountIndependentSettings;
// <FS:Ansariel> Send inventory item on autoresponse
FSCopyTransInventoryDropTarget* mInvDropTarget;
std::string mAutoresponseItem;
// <FS:Ansariel> DebugLookAt checkbox status not working properly
void onChangeDebugLookAt()
{
getChild<LLCheckBoxCtrl>("showlookat")->set(gSavedPerAccountSettings.getS32("DebugLookAt") == 0 ? FALSE : TRUE);
}
void onClickDebugLookAt(const LLSD& value)
{
gSavedPerAccountSettings.setS32("DebugLookAt", value.asBoolean());
}
// </FS:Ansariel>
// <FS:Ansariel> Send inventory item on autoresponse
void onDADAutoresponseItem(const LLUUID& item_id)
{
LLInventoryObject* item = gInventory.getObject(item_id);
if (item)
{
mInvDropTarget->setText(item->getName());
mAutoresponseItem = item_id.asString();
childSetEnabled("clear_autoresponse_item", true);
}
}
void onClearAutoresponseItem()
{
mAutoresponseItem = "";
mInvDropTarget->setText(getString("AutoresponseItemNotSet"));
childSetEnabled("clear_autoresponse_item", false);
}
// </FS:Ansariel>
};
static LLPanelInjector<LLPanelPreferenceGraphics> t_pref_graph("panel_preference_graphics");
static LLPanelInjector<LLPanelPreferencePrivacy> t_pref_privacy("panel_preference_privacy");
BOOL LLPanelPreferenceGraphics::postBuild()
{
mButtonApply=findChild<LLButton>("Apply");
// <FS:CR> Hide this until we have fullscreen mode functional on OSX again
#ifdef LL_DARWIN
getChild<LLCheckBoxCtrl>("Fullscreen Mode")->setVisible(FALSE);
#endif // LL_DARWIN
// </FS:CR>
return LLPanelPreference::postBuild();
}
void LLPanelPreferenceGraphics::draw()
{
LLPanelPreference::draw();
if (mButtonApply && mButtonApply->getVisible())
{
bool enable = hasDirtyChilds();
mButtonApply->setEnabled(enable);
}
}
bool LLPanelPreferenceGraphics::hasDirtyChilds()
{
std::list<LLView*> view_stack;
view_stack.push_back(this);
while(!view_stack.empty())
{
// Process view on top of the stack
LLView* curview = view_stack.front();
view_stack.pop_front();
LLUICtrl* ctrl = dynamic_cast<LLUICtrl*>(curview);
if (ctrl)
{
if (ctrl->isDirty())
return true;
}
// Push children onto the end of the work stack
for (child_list_t::const_iterator iter = curview->getChildList()->begin();
iter != curview->getChildList()->end(); ++iter)
{
view_stack.push_back(*iter);
}
}
return false;
}
void LLPanelPreferenceGraphics::resetDirtyChilds()
{
std::list<LLView*> view_stack;
view_stack.push_back(this);
while(!view_stack.empty())
{
// Process view on top of the stack
LLView* curview = view_stack.front();
view_stack.pop_front();
LLUICtrl* ctrl = dynamic_cast<LLUICtrl*>(curview);
if (ctrl)
{
ctrl->resetDirty();
}
// Push children onto the end of the work stack
for (child_list_t::const_iterator iter = curview->getChildList()->begin();
iter != curview->getChildList()->end(); ++iter)
{
view_stack.push_back(*iter);
}
}
}
void LLPanelPreferenceGraphics::apply()
{
resetDirtyChilds();
LLPanelPreference::apply();
}
void LLPanelPreferenceGraphics::cancel()
{
resetDirtyChilds();
LLPanelPreference::cancel();
}
void LLPanelPreferenceGraphics::saveSettings()
{
resetDirtyChilds();
LLPanelPreference::saveSettings();
}
void LLPanelPreferenceGraphics::setHardwareDefaults()
{
resetDirtyChilds();
LLPanelPreference::setHardwareDefaults();
}
LLFloaterPreferenceProxy::LLFloaterPreferenceProxy(const LLSD& key)
: LLFloater(key),
mSocksSettingsDirty(false)
{
mCommitCallbackRegistrar.add("Proxy.OK", boost::bind(&LLFloaterPreferenceProxy::onBtnOk, this));
mCommitCallbackRegistrar.add("Proxy.Cancel", boost::bind(&LLFloaterPreferenceProxy::onBtnCancel, this));
mCommitCallbackRegistrar.add("Proxy.Change", boost::bind(&LLFloaterPreferenceProxy::onChangeSocksSettings, this));
}
LLFloaterPreferenceProxy::~LLFloaterPreferenceProxy()
{
}
BOOL LLFloaterPreferenceProxy::postBuild()
{
LLRadioGroup* socksAuth = getChild<LLRadioGroup>("socks5_auth_type");
if (!socksAuth)
{
return FALSE;
}
if (socksAuth->getSelectedValue().asString() == "None")
{
getChild<LLLineEditor>("socks5_username")->setEnabled(false);
getChild<LLLineEditor>("socks5_password")->setEnabled(false);
}
else
{
// Populate the SOCKS 5 credential fields with protected values.
LLPointer<LLCredential> socks_cred = gSecAPIHandler->loadCredential("SOCKS5");
getChild<LLLineEditor>("socks5_username")->setValue(socks_cred->getIdentifier()["username"].asString());
getChild<LLLineEditor>("socks5_password")->setValue(socks_cred->getAuthenticator()["creds"].asString());
}
return TRUE;
}
void LLFloaterPreferenceProxy::onOpen(const LLSD& key)
{
saveSettings();
}
void LLFloaterPreferenceProxy::onClose(bool app_quitting)
{
if (mSocksSettingsDirty)
{
// If the user plays with the Socks proxy settings after login, it's only fair we let them know
// it will not be updated until next restart.
if (LLStartUp::getStartupState()>STATE_LOGIN_WAIT)
{
LLNotifications::instance().add("ChangeProxySettings", LLSD(), LLSD());
mSocksSettingsDirty = false; // we have notified the user now be quiet again
}
}
}
void LLFloaterPreferenceProxy::saveSettings()
{
// Save the value of all controls in the hierarchy
mSavedValues.clear();
std::list<LLView*> view_stack;
view_stack.push_back(this);
while(!view_stack.empty())
{
// Process view on top of the stack
LLView* curview = view_stack.front();
view_stack.pop_front();
LLUICtrl* ctrl = dynamic_cast<LLUICtrl*>(curview);
if (ctrl)
{
LLControlVariable* control = ctrl->getControlVariable();
if (control)
{
mSavedValues[control] = control->getValue();
}
}
// Push children onto the end of the work stack
for (child_list_t::const_iterator iter = curview->getChildList()->begin();
iter != curview->getChildList()->end(); ++iter)
{
view_stack.push_back(*iter);
}
}
}
void LLFloaterPreferenceProxy::onBtnOk()
{
// commit any outstanding text entry
if (hasFocus())
{
LLUICtrl* cur_focus = dynamic_cast<LLUICtrl*>(gFocusMgr.getKeyboardFocus());
if (cur_focus && cur_focus->acceptsTextInput())
{
cur_focus->onCommit();
}
}
// Save SOCKS proxy credentials securely if password auth is enabled
LLRadioGroup* socksAuth = getChild<LLRadioGroup>("socks5_auth_type");
if (socksAuth->getSelectedValue().asString() == "UserPass")
{
LLSD socks_id = LLSD::emptyMap();
socks_id["type"] = "SOCKS5";
socks_id["username"] = getChild<LLLineEditor>("socks5_username")->getValue().asString();
LLSD socks_authenticator = LLSD::emptyMap();
socks_authenticator["type"] = "SOCKS5";
socks_authenticator["creds"] = getChild<LLLineEditor>("socks5_password")->getValue().asString();
// Using "SOCKS5" as the "grid" argument since the same proxy
// settings will be used for all grids and because there is no
// way to specify the type of credential.
LLPointer<LLCredential> socks_cred = gSecAPIHandler->createCredential("SOCKS5", socks_id, socks_authenticator);
gSecAPIHandler->saveCredential(socks_cred, true);
}
else
{
// Clear SOCKS5 credentials since they are no longer needed.
LLPointer<LLCredential> socks_cred = new LLCredential("SOCKS5");
gSecAPIHandler->deleteCredential(socks_cred);
}
closeFloater(false);
}
void LLFloaterPreferenceProxy::onBtnCancel()
{
if (hasFocus())
{
LLUICtrl* cur_focus = dynamic_cast<LLUICtrl*>(gFocusMgr.getKeyboardFocus());
if (cur_focus && cur_focus->acceptsTextInput())
{
cur_focus->onCommit();
}
refresh();
}
cancel();
}
void LLFloaterPreferenceProxy::cancel()
{
for (control_values_map_t::iterator iter = mSavedValues.begin();
iter != mSavedValues.end(); ++iter)
{
LLControlVariable* control = iter->first;
LLSD ctrl_value = iter->second;
control->set(ctrl_value);
}
closeFloater();
}
void LLFloaterPreferenceProxy::onChangeSocksSettings()
{
mSocksSettingsDirty = true;
LLRadioGroup* socksAuth = getChild<LLRadioGroup>("socks5_auth_type");
if (socksAuth->getSelectedValue().asString() == "None")
{
getChild<LLLineEditor>("socks5_username")->setEnabled(false);
getChild<LLLineEditor>("socks5_password")->setEnabled(false);
}
else
{
getChild<LLLineEditor>("socks5_username")->setEnabled(true);
getChild<LLLineEditor>("socks5_password")->setEnabled(true);
}
// Check for invalid states for the other HTTP proxy radio
LLRadioGroup* otherHttpProxy = getChild<LLRadioGroup>("other_http_proxy_type");
if ((otherHttpProxy->getSelectedValue().asString() == "Socks" &&
getChild<LLCheckBoxCtrl>("socks_proxy_enabled")->get() == FALSE )||(
otherHttpProxy->getSelectedValue().asString() == "Web" &&
getChild<LLCheckBoxCtrl>("web_proxy_enabled")->get() == FALSE ) )
{
otherHttpProxy->selectFirstItem();
}
}
// [SL:KB] - Patch: Viewer-CrashReporting | Checked: 2010-11-16 (Catznip-2.6.0a) | Added: Catznip-2.4.0b
static LLPanelInjector<LLPanelPreferenceCrashReports> t_pref_crashreports("panel_preference_crashreports");
LLPanelPreferenceCrashReports::LLPanelPreferenceCrashReports()
: LLPanelPreference()
{
}
BOOL LLPanelPreferenceCrashReports::postBuild()
{
S32 nCrashSubmitBehavior = gCrashSettings.getS32("CrashSubmitBehavior");
LLCheckBoxCtrl* pSendCrashReports = getChild<LLCheckBoxCtrl>("checkSendCrashReports");
pSendCrashReports->set(CRASH_BEHAVIOR_NEVER_SEND != nCrashSubmitBehavior);
pSendCrashReports->setCommitCallback(boost::bind(&LLPanelPreferenceCrashReports::refresh, this));
LLCheckBoxCtrl* pSendAlwaysAsk = getChild<LLCheckBoxCtrl>("checkSendCrashReportsAlwaysAsk");
pSendAlwaysAsk->set(CRASH_BEHAVIOR_ASK == nCrashSubmitBehavior);
LLCheckBoxCtrl* pSendSettings = getChild<LLCheckBoxCtrl>("checkSendSettings");
pSendSettings->set(gCrashSettings.getBOOL("CrashSubmitSettings"));
LLCheckBoxCtrl* pSendName = getChild<LLCheckBoxCtrl>("checkSendName");
pSendName->set(gCrashSettings.getBOOL("CrashSubmitName"));
refresh();
return LLPanelPreference::postBuild();
}
void LLPanelPreferenceCrashReports::refresh()
{
LLCheckBoxCtrl* pSendCrashReports = getChild<LLCheckBoxCtrl>("checkSendCrashReports");
pSendCrashReports->setEnabled(TRUE);
bool fEnable = pSendCrashReports->get();
getChild<LLUICtrl>("comboSaveMiniDumpType")->setEnabled(fEnable);
getChild<LLUICtrl>("checkSendCrashReportsAlwaysAsk")->setEnabled(fEnable);
getChild<LLUICtrl>("checkSendSettings")->setEnabled(fEnable);
getChild<LLUICtrl>("checkSendName")->setEnabled(fEnable);
}
void LLPanelPreferenceCrashReports::apply()
{
LLCheckBoxCtrl* pSendCrashReports = getChild<LLCheckBoxCtrl>("checkSendCrashReports");
LLCheckBoxCtrl* pSendAlwaysAsk = getChild<LLCheckBoxCtrl>("checkSendCrashReportsAlwaysAsk");
if (pSendCrashReports->get())
gCrashSettings.setS32("CrashSubmitBehavior", (pSendAlwaysAsk->get()) ? CRASH_BEHAVIOR_ASK : CRASH_BEHAVIOR_ALWAYS_SEND);
else
gCrashSettings.setS32("CrashSubmitBehavior", CRASH_BEHAVIOR_NEVER_SEND);
LLCheckBoxCtrl* pSendSettings = getChild<LLCheckBoxCtrl>("checkSendSettings");
gCrashSettings.setBOOL("CrashSubmitSettings", pSendSettings->get());
LLCheckBoxCtrl* pSendName = getChild<LLCheckBoxCtrl>("checkSendName");
gCrashSettings.setBOOL("CrashSubmitName", pSendName->get());
}
void LLPanelPreferenceCrashReports::cancel()
{
}
// [/SL:KB]
// [SL:KB] - Patch: Viewer-Skins | Checked: 2010-10-21 (Catznip-2.2)
static LLPanelInjector<LLPanelPreferenceSkins> t_pref_skins("panel_preference_skins");
LLPanelPreferenceSkins::LLPanelPreferenceSkins()
: LLPanelPreference()
, m_pSkinCombo(NULL)
, m_pSkinThemeCombo(NULL)
, m_pSkinPreview(NULL) // <FS:PP> FIRE-1689: Skins preview image
{
m_Skin = gSavedSettings.getString("SkinCurrent");
m_SkinTheme = gSavedSettings.getString("SkinCurrentTheme");
m_SkinName = gSavedSettings.getString("FSSkinCurrentReadableName");
m_SkinThemeName = gSavedSettings.getString("FSSkinCurrentThemeReadableName");
const std::string strSkinsPath = gDirUtilp->getSkinBaseDir() + gDirUtilp->getDirDelimiter() + "skins.xml";
llifstream fileSkins(strSkinsPath, std::ios::binary);
if (fileSkins.is_open())
{
LLSDSerialize::fromXMLDocument(m_SkinsInfo, fileSkins);
}
}
BOOL LLPanelPreferenceSkins::postBuild()
{
m_pSkinCombo = getChild<LLComboBox>("skin_combobox");
if (m_pSkinCombo)
m_pSkinCombo->setCommitCallback(boost::bind(&LLPanelPreferenceSkins::onSkinChanged, this));
m_pSkinThemeCombo = getChild<LLComboBox>("theme_combobox");
if (m_pSkinThemeCombo)
m_pSkinThemeCombo->setCommitCallback(boost::bind(&LLPanelPreferenceSkins::onSkinThemeChanged, this));
refreshSkinList();
// <FS:PP> FIRE-1689: Skins preview image
m_pSkinPreview = getChild<LLButton>("skin_preview");
refreshPreviewImage();
// </FS:PP>
return LLPanelPreference::postBuild();
}
void LLPanelPreferenceSkins::apply()
{
if ( (m_Skin != gSavedSettings.getString("SkinCurrent")) || (m_SkinTheme != gSavedSettings.getString("SkinCurrentTheme")) )
{
gSavedSettings.setString("SkinCurrent", m_Skin);
gSavedSettings.setString("SkinCurrentTheme", m_SkinTheme);
gSavedSettings.setString("FSSkinCurrentReadableName", m_SkinName);
gSavedSettings.setString("FSSkinCurrentThemeReadableName", m_SkinThemeName);
// <FS:AO> Some crude hardcoded preferences per skin. Without this, some defaults from the
// current skin would be carried over, leading to confusion and a first experience with
// the skin that the designer didn't intend.
if (gSavedSettings.getBOOL("FSSkinClobbersToolbarPrefs"))
{
LL_INFOS() << "Clearing toolbar settings." << LL_ENDL;
gSavedSettings.setBOOL("ResetToolbarSettings", TRUE);
}
if (m_Skin == "starlight" || m_Skin == "starlightcui")
{
std::string noteMessage;
if (gSavedSettings.getBOOL("ShowMenuBarLocation"))
{
noteMessage = LLTrans::getString("skin_defaults_starlight_location");
gSavedSettings.setBOOL("ShowMenuBarLocation", FALSE);
}
if (!gSavedSettings.getBOOL("ShowNavbarNavigationPanel"))
{
if (!noteMessage.empty())
{
noteMessage += "\n";
}
noteMessage += LLTrans::getString("skin_defaults_starlight_navbar");
gSavedSettings.setBOOL("ShowNavbarNavigationPanel", TRUE);
}
if (!noteMessage.empty())
{
LLSD args;
args["MESSAGE"] = noteMessage;
LLNotificationsUtil::add("SkinDefaultsChangeSettings", args, LLSD(), boost::bind(&LLPanelPreferenceSkins::showSkinChangeNotification, this));
return;
}
}
// </FS:AO>
showSkinChangeNotification();
}
}
void LLPanelPreferenceSkins::showSkinChangeNotification()
{
LLSD args, payload;
LLNotificationsUtil::add("ChangeSkin",
args,
payload,
boost::bind(&LLPanelPreferenceSkins::callbackRestart, this, _1, _2));
}
void LLPanelPreferenceSkins::callbackRestart(const LLSD& notification, const LLSD& response)
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if (2 == option) // Ok button
{
return;
}
if (0 == option) // Restart
{
LL_INFOS() << "User requested quit" << LL_ENDL;
LLAppViewer::instance()->requestQuit();
}
}
void LLPanelPreferenceSkins::cancel()
{
m_Skin = gSavedSettings.getString("SkinCurrent");
m_SkinTheme = gSavedSettings.getString("SkinCurrentTheme");
m_SkinName = gSavedSettings.getString("FSSkinCurrentReadableName");
m_SkinThemeName = gSavedSettings.getString("FSSkinCurrentThemeReadableName");
refreshSkinList();
refreshPreviewImage(); // <FS:PP> FIRE-1689: Skins preview image
}
void LLPanelPreferenceSkins::onSkinChanged()
{
m_Skin = (m_pSkinCombo) ? m_pSkinCombo->getSelectedValue().asString() : "default";
refreshSkinThemeList();
m_SkinTheme = (m_pSkinThemeCombo) ? m_pSkinThemeCombo->getSelectedValue().asString() : "";
m_SkinName = m_pSkinCombo->getSelectedItemLabel();
m_SkinThemeName = m_pSkinThemeCombo->getSelectedItemLabel();
refreshPreviewImage(); // <FS:PP> FIRE-1689: Skins preview image
}
void LLPanelPreferenceSkins::onSkinThemeChanged()
{
m_SkinTheme = (m_pSkinThemeCombo) ? m_pSkinThemeCombo->getSelectedValue().asString() : "";
m_SkinThemeName = m_pSkinThemeCombo->getSelectedItemLabel();
refreshPreviewImage(); // <FS:PP> FIRE-1689: Skins preview image
}
void LLPanelPreferenceSkins::refreshSkinList()
{
if (!m_pSkinCombo)
return;
m_pSkinCombo->clearRows();
for (LLSD::array_const_iterator itSkinInfo = m_SkinsInfo.beginArray(), endSkinInfo = m_SkinsInfo.endArray();
itSkinInfo != endSkinInfo; ++itSkinInfo)
{
const LLSD& sdSkin = *itSkinInfo;
std::string strPath = gDirUtilp->getSkinBaseDir();
gDirUtilp->append(strPath, sdSkin["folder"].asString());
if (gDirUtilp->fileExists(strPath))
{
m_pSkinCombo->add(sdSkin["name"].asString(), sdSkin["folder"]);
}
}
BOOL fFound = m_pSkinCombo->setSelectedByValue(m_Skin, TRUE);
if (!fFound)
{
m_pSkinCombo->setSelectedByValue("default", TRUE);
}
refreshSkinThemeList();
}
void LLPanelPreferenceSkins::refreshSkinThemeList()
{
if (!m_pSkinThemeCombo)
return;
m_pSkinThemeCombo->clearRows();
for (LLSD::array_const_iterator itSkinInfo = m_SkinsInfo.beginArray(), endSkinInfo = m_SkinsInfo.endArray();
itSkinInfo != endSkinInfo; ++itSkinInfo)
{
const LLSD& sdSkin = *itSkinInfo;
if (sdSkin["folder"].asString() == m_Skin)
{
const LLSD& sdThemes = sdSkin["themes"];
for (LLSD::array_const_iterator itTheme = sdThemes.beginArray(), endTheme = sdThemes.endArray(); itTheme != endTheme; ++itTheme)
{
const LLSD& sdTheme = *itTheme;
std::string strPath = gDirUtilp->getSkinBaseDir();
gDirUtilp->append(strPath, sdSkin["folder"].asString());
gDirUtilp->append(strPath, "themes");
gDirUtilp->append(strPath, sdTheme["folder"].asString());
if ( (gDirUtilp->fileExists(strPath)) || (sdTheme["folder"].asString().empty()) )
{
m_pSkinThemeCombo->add(sdTheme["name"].asString(), sdTheme["folder"]);
}
}
break;
}
}
BOOL fFound = m_pSkinThemeCombo->setSelectedByValue(m_SkinTheme, TRUE);
if (!fFound)
{
m_pSkinThemeCombo->selectFirstItem();
}
}
// [/SL:KB]
// <FS:PP> FIRE-1689: Skins preview image
void LLPanelPreferenceSkins::refreshPreviewImage()
{
std::string previewImageName = "skin " + m_SkinName + " " + m_SkinThemeName;
LLStringUtil::toLower(previewImageName);
m_pSkinPreview->setImages(previewImageName, previewImageName);
}
// </FS:PP>
// <FS:Zi> Backup Settings
// copied from llxfer_file.cpp - Hopefully this will be part of LLFile some day -Zi
// added a safeguard so the destination file is only created when the source file exists -Zi
S32 copy_prefs_file(const std::string& from, const std::string& to)
{
LL_WARNS() << "copying " << from << " to " << to << LL_ENDL;
S32 rv = 0;
LLFILE* in = LLFile::fopen(from, "rb"); /*Flawfinder: ignore*/
if(!in)
{
LL_WARNS() << "couldn't open source file " << from << " - copy aborted." << LL_ENDL;
return -1;
}
LLFILE* out = LLFile::fopen(to, "wb"); /*Flawfinder: ignore*/
if(!out)
{
fclose(in);
LL_WARNS() << "couldn't open destination file " << to << " - copy aborted." << LL_ENDL;
return -1;
}
S32 read = 0;
const S32 COPY_BUFFER_SIZE = 16384;
U8 buffer[COPY_BUFFER_SIZE];
while(((read = fread(buffer, 1, sizeof(buffer), in)) > 0)
&& (fwrite(buffer, 1, read, out) == (U32)read)); /* Flawfinder : ignore */
if(ferror(in) || ferror(out)) rv = -2;
if(in) fclose(in);
if(out) fclose(out);
return rv;
}
static LLPanelInjector<FSPanelPreferenceBackup> t_pref_backup("panel_preference_backup");
FSPanelPreferenceBackup::FSPanelPreferenceBackup() : LLPanelPreference()
{
mCommitCallbackRegistrar.add("Pref.SetBackupSettingsPath", boost::bind(&FSPanelPreferenceBackup::onClickSetBackupSettingsPath, this));
mCommitCallbackRegistrar.add("Pref.BackupSettings", boost::bind(&FSPanelPreferenceBackup::onClickBackupSettings, this));
mCommitCallbackRegistrar.add("Pref.RestoreSettings", boost::bind(&FSPanelPreferenceBackup::onClickRestoreSettings, this));
mCommitCallbackRegistrar.add("Pref.BackupSelectAll", boost::bind(&FSPanelPreferenceBackup::onClickSelectAll, this));
mCommitCallbackRegistrar.add("Pref.BackupDeselectAll", boost::bind(&FSPanelPreferenceBackup::onClickDeselectAll, this));
}
BOOL FSPanelPreferenceBackup::postBuild()
{
// <FS:Zi> Backup Settings
// Apparently, line editors don't update with their settings controls, so do that manually here
std::string dir_name = gSavedSettings.getString("SettingsBackupPath");
getChild<LLLineEditor>("settings_backup_path")->setValue(dir_name);
// </FS:Zi>
return LLPanelPreference::postBuild();
}
void FSPanelPreferenceBackup::onClickSetBackupSettingsPath()
{
std::string dir_name = gSavedSettings.getString("SettingsBackupPath");
LLDirPicker& picker = LLDirPicker::instance();
if (!picker.getDir(&dir_name))
{
// canceled
return;
}
dir_name = picker.getDirName();
gSavedSettings.setString("SettingsBackupPath", dir_name);
getChild<LLLineEditor>("settings_backup_path")->setValue(dir_name);
}
void FSPanelPreferenceBackup::onClickBackupSettings()
{
LL_INFOS("SettingsBackup") << "entered" << LL_ENDL;
// Get settings backup path
std::string dir_name = gSavedSettings.getString("SettingsBackupPath");
// If we don't have a path yet, ask the user
if (dir_name.empty())
{
LL_INFOS("SettingsBackup") << "ask user for backup path" << LL_ENDL;
onClickSetBackupSettingsPath();
}
// Remember the backup path
dir_name = gSavedSettings.getString("SettingsBackupPath");
// If the backup path is still empty, complain to the user and do nothing else
if (dir_name.empty())
{
LL_INFOS("SettingsBackup") << "backup path empty" << LL_ENDL;
LLNotificationsUtil::add("BackupPathEmpty");
return;
}
// Try to make sure the folder exists
LLFile::mkdir(dir_name.c_str());
// If the folder is still not there, give up
if (!LLFile::isdir(dir_name.c_str()))
{
LL_WARNS("SettingsBackup") << "backup path does not exist or could not be created" << LL_ENDL;
LLNotificationsUtil::add("BackupPathDoesNotExistOrCreateFailed");
return;
}
// define a couple of control groups to store the settings to back up
LLControlGroup backup_global_controls("BackupGlobal");
LLControlGroup backup_per_account_controls("BackupPerAccount");
// functor that will go over all settings in a control group and copy the ones that are
// meant to be backed up
struct f : public LLControlGroup::ApplyFunctor
{
LLControlGroup* group; // our control group that will hold the backup controls
f(LLControlGroup* g) : group(g) {} // constructor, initializing group variable
virtual void apply(const std::string& name, LLControlVariable* control)
{
if (!control->isPersisted() && !control->isBackupable())
{
LL_INFOS("SettingsBackup") << "Settings control " << control->getName() << ": non persistant controls don't need to be set not backupable." << LL_ENDL;
return;
}
// only backup settings that are not default, are persistent an are marked as "safe" to back up
if (!control->isDefault() && control->isPersisted() && control->isBackupable())
{
LL_WARNS() << control->getName() << LL_ENDL;
// copy the control to our backup group
(*group).declareControl(
control->getName(),
control->type(),
control->getValue(),
control->getComment(),
SANITY_TYPE_NONE,
LLSD(),
std::string(),
LLControlVariable::PERSIST_NONDFT); // need to set persisitent flag, or it won't be saved
}
}
} func_global(&backup_global_controls), func_per_account(&backup_per_account_controls);
// run backup on global controls
LL_INFOS("SettingsBackup") << "running functor on global settings" << LL_ENDL;
gSavedSettings.applyToAll(&func_global);
// make sure to write color preferences before copying them
LL_INFOS("SettingsBackup") << "saving UI color table" << LL_ENDL;
LLUIColorTable::instance().saveUserSettings();
// set it to save defaults, too (FALSE), because our declaration automatically
// makes the value default
std::string backup_global_name = gDirUtilp->getExpandedFilename(LL_PATH_NONE, dir_name,
LLAppViewer::instance()->getSettingsFilename("Default","Global"));
LL_INFOS("SettingsBackup") << "saving backup global settings" << LL_ENDL;
backup_global_controls.saveToFile(backup_global_name, FALSE);
// Get scroll list control that holds the list of global files
LLScrollListCtrl* globalScrollList = getChild<LLScrollListCtrl>("restore_global_files_list");
// Pull out all data
std::vector<LLScrollListItem*> globalFileList = globalScrollList->getAllData();
// Go over each entry
for (S32 index = 0; index < globalFileList.size(); index++)
{
// Get the next item in the list
LLScrollListItem* item = globalFileList[index];
// Don't bother with the checkbox and get the path, since we back up all files
// and only restore selectively
std::string file = item->getColumn(2)->getValue().asString();
LL_INFOS("SettingsBackup") << "copying global file " << file << LL_ENDL;
copy_prefs_file(
gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, file),
gDirUtilp->getExpandedFilename(LL_PATH_NONE, dir_name, file));
}
// Only back up per-account settings when the path is available, meaning, the user
// has logged in
std::string per_account_name = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT,
LLAppViewer::instance()->getSettingsFilename("Default", "PerAccount"));
if (!per_account_name.empty())
{
// get path and file names to the relevant settings files
std::string userlower = gDirUtilp->getBaseFileName(gDirUtilp->getLindenUserDir(), false);
std::string backup_per_account_folder = dir_name+gDirUtilp->getDirDelimiter() + userlower;
std::string backup_per_account_name = gDirUtilp->getExpandedFilename(LL_PATH_NONE, backup_per_account_folder,
LLAppViewer::instance()->getSettingsFilename("Default", "PerAccount"));
LL_INFOS("SettingsBackup") << "copying per account settings" << LL_ENDL;
// create per-user folder if it doesn't exist yet
LLFile::mkdir(backup_per_account_folder.c_str());
// check if the path is actually a folder
if (LLFile::isdir(backup_per_account_folder.c_str()))
{
// run backup on per-account controls
LL_INFOS("SettingsBackup") << "running functor on per account settings" << LL_ENDL;
gSavedPerAccountSettings.applyToAll(&func_per_account);
// save defaults here as well (FALSE)
LL_INFOS("SettingsBackup") << "saving backup per account settings" << LL_ENDL;
backup_per_account_controls.saveToFile(backup_per_account_name, FALSE);
// Get scroll list control that holds the list of per account files
LLScrollListCtrl* perAccountScrollList = getChild<LLScrollListCtrl>("restore_per_account_files_list");
// Pull out all data
std::vector<LLScrollListItem*> perAccountFileList = perAccountScrollList->getAllData();
// Go over each entry
for (S32 index = 0; index < perAccountFileList.size(); index++)
{
// Get the next item in the list
LLScrollListItem* item = perAccountFileList[index];
// Don't bother with the checkbox and get the path, since we back up all files
// and only restore selectively
std::string file = item->getColumn(2)->getValue().asString();
LL_INFOS("SettingsBackup") << "copying per account file " << file << LL_ENDL;
copy_prefs_file(
gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, file),
gDirUtilp->getExpandedFilename(LL_PATH_NONE, backup_per_account_folder, file));
}
}
else
{
LL_WARNS("SettingsBackup") << backup_per_account_folder << " is not a folder. Per account settings save aborted." << LL_ENDL;
}
}
// Get scroll list control that holds the list of global folders
LLScrollListCtrl* globalFoldersScrollList = getChild<LLScrollListCtrl>("restore_global_folders_list");
// Pull out all data
std::vector<LLScrollListItem*> globalFoldersList = globalFoldersScrollList->getAllData();
// Go over each entry
for (S32 index = 0; index < globalFoldersList.size(); index++)
{
// Get the next item in the list
LLScrollListItem* item = globalFoldersList[index];
// Don't bother with the checkbox and get the path, since we back up all folders
// and only restore selectively
std::string folder = item->getColumn(2)->getValue().asString();
std::string folder_name = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, folder) + gDirUtilp->getDirDelimiter();
std::string backup_folder_name = gDirUtilp->getExpandedFilename(LL_PATH_NONE, dir_name, folder) + gDirUtilp->getDirDelimiter();
LL_INFOS("SettingsBackup") << "backing up global folder: " << folder_name << LL_ENDL;
// create folder if it's not there already
LLFile::mkdir(backup_folder_name.c_str());
std::string file_name;
while (gDirUtilp->getNextFileInDir(folder_name, "*", file_name))
{
LL_INFOS("SettingsBackup") << "found entry: " << folder_name + file_name << LL_ENDL;
// only copy files, not subfolders
if (LLFile::isfile(folder_name + file_name.c_str()))
{
copy_prefs_file(folder_name + file_name, backup_folder_name + file_name);
}
else
{
LL_INFOS("SettingsBackup") << "skipping subfolder " << folder_name + file_name << LL_ENDL;
}
}
}
LLNotificationsUtil::add("BackupFinished");
}
void FSPanelPreferenceBackup::onClickRestoreSettings()
{
// ask the user if they really want to restore and restart
LLNotificationsUtil::add("SettingsRestoreNeedsLogout", LLSD(), LLSD(), boost::bind(&FSPanelPreferenceBackup::doRestoreSettings, this, _1, _2));
}
void FSPanelPreferenceBackup:: doRestoreSettings(const LLSD& notification, const LLSD& response)
{
LL_INFOS("SettingsBackup") << "entered" << LL_ENDL;
// Check the user's answer about restore and restart
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
// If canceled, do nothing
if (option == 1)
{
LL_INFOS("SettingsBackup") << "restore canceled" << LL_ENDL;
return;
}
// Get settings backup path
std::string dir_name = gSavedSettings.getString("SettingsBackupPath");
// Backup path is empty, ask the user where to find the backup
if (dir_name.empty())
{
LL_INFOS("SettingsBackup") << "ask user for path to restore from" << LL_ENDL;
onClickSetBackupSettingsPath();
}
// Remember the backup path
dir_name = gSavedSettings.getString("SettingsBackupPath");
// If the backup path is still empty, complain to the user and do nothing else
if (dir_name.empty())
{
LL_INFOS("SettingsBackup") << "restore path empty" << LL_ENDL;
LLNotificationsUtil::add("BackupPathEmpty");
return;
}
// If the path does not exist, give up
if (!LLFile::isdir(dir_name.c_str()))
{
LL_INFOS("SettingsBackup") << "backup path does not exist" << LL_ENDL;
LLNotificationsUtil::add("BackupPathDoesNotExist");
return;
}
// Close the window so the restored settings can't be destroyed by the user
LLFloaterPreference* instance = LLFloaterReg::findTypedInstance<LLFloaterPreference>("preferences");
if (instance)
{
instance->onBtnOK();
}
if (gSavedSettings.getBOOL("RestoreGlobalSettings"))
{
// Get path and file names to backup and restore settings path
std::string global_name = gSavedSettings.getString("ClientSettingsFile");
std::string backup_global_name = gDirUtilp->getExpandedFilename(LL_PATH_NONE, dir_name,
LLAppViewer::instance()->getSettingsFilename("Default", "Global"));
// start clean
LL_INFOS("SettingsBackup") << "clearing global settings" << LL_ENDL;
gSavedSettings.resetToDefaults();
// run restore on global controls
LL_INFOS("SettingsBackup") << "restoring global settings from backup" << LL_ENDL;
gSavedSettings.loadFromFile(backup_global_name);
LL_INFOS("SettingsBackup") << "saving global settings" << LL_ENDL;
gSavedSettings.saveToFile(global_name, TRUE);
}
// Get scroll list control that holds the list of global files
LLScrollListCtrl* globalScrollList = getChild<LLScrollListCtrl>("restore_global_files_list");
// Pull out all data
std::vector<LLScrollListItem*> globalFileList = globalScrollList->getAllData();
// Go over each entry
for (S32 index = 0; index < globalFileList.size(); index++)
{
// Get the next item in the list
LLScrollListItem* item = globalFileList[index];
// Look at the first column and make sure it's a checkbox control
LLScrollListCheck* checkbox = dynamic_cast<LLScrollListCheck*>(item->getColumn(0));
if (!checkbox)
continue;
// Only restore if this item is checked on
if (checkbox->getCheckBox()->getValue().asBoolean())
{
// Get the path to restore for this item
std::string file = item->getColumn(2)->getValue().asString();
LL_INFOS("SettingsBackup") << "copying global file " << file << LL_ENDL;
copy_prefs_file(
gDirUtilp->getExpandedFilename(LL_PATH_NONE, dir_name, file),
gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, file));
}
}
// Only restore per-account settings when the path is available
std::string per_account_name = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT,
LLAppViewer::instance()->getSettingsFilename("Default", "PerAccount"));
if (!per_account_name.empty())
{
// Get path and file names to the relevant settings files
std::string userlower = gDirUtilp->getBaseFileName(gDirUtilp->getLindenUserDir(), false);
std::string backup_per_account_folder = dir_name + gDirUtilp->getDirDelimiter() + userlower;
std::string backup_per_account_name = gDirUtilp->getExpandedFilename(LL_PATH_NONE, backup_per_account_folder,
LLAppViewer::instance()->getSettingsFilename("Default", "PerAccount"));
if (gSavedSettings.getBOOL("RestorePerAccountSettings"))
{
// run restore on per-account controls
LL_INFOS("SettingsBackup") << "restoring per account settings" << LL_ENDL;
gSavedPerAccountSettings.loadFromFile(backup_per_account_name);
LL_INFOS("SettingsBackup") << "saving per account settings" << LL_ENDL;
gSavedPerAccountSettings.saveToFile(per_account_name, TRUE);
}
// Get scroll list control that holds the list of per account files
LLScrollListCtrl* perAccountScrollList = getChild<LLScrollListCtrl>("restore_per_account_files_list");
// Pull out all data
std::vector<LLScrollListItem*> perAccountFileList = perAccountScrollList->getAllData();
// Go over each entry
for (S32 index = 0; index < perAccountFileList.size(); index++)
{
// Get the next item in the list
LLScrollListItem* item = perAccountFileList[index];
// Look at the first column and make sure it's a checkbox control
LLScrollListCheck* checkbox = dynamic_cast<LLScrollListCheck*>(item->getColumn(0));
if (!checkbox)
continue;
// Only restore if this item is checked on
if (checkbox->getCheckBox()->getValue().asBoolean())
{
// Get the path to restore for this item
std::string file = item->getColumn(2)->getValue().asString();
LL_INFOS("SettingsBackup") << "copying per account file " << file << LL_ENDL;
copy_prefs_file(
gDirUtilp->getExpandedFilename(LL_PATH_NONE, backup_per_account_folder, file),
gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, file));
}
}
// toolbars get overwritten when LLToolbarView is destroyed, so make sure
// the toolbars are updated here already
LL_INFOS("SettingsBackup") << "clearing toolbars" << LL_ENDL;
gToolBarView->clearToolbars();
LL_INFOS("SettingsBackup") << "reloading toolbars" << LL_ENDL;
gToolBarView->loadToolbars(FALSE);
#ifdef OPENSIM
if (LLGridManager::instance().isInOpenSim())
{
LL_INFOS("SettingsBackup") << "reloading group mute list" << LL_ENDL;
exoGroupMuteList::instance().loadMuteList();
}
#endif
LLPanelMainInventory::sSaveFilters = false;
}
// Get scroll list control that holds the list of global folders
LLScrollListCtrl* globalFoldersScrollList = getChild<LLScrollListCtrl>("restore_global_folders_list");
// Pull out all data
std::vector<LLScrollListItem*> globalFoldersList = globalFoldersScrollList->getAllData();
// Go over each entry
for (S32 index = 0; index < globalFoldersList.size(); index++)
{
// Get the next item in the list
LLScrollListItem* item = globalFoldersList[index];
// Look at the first column and make sure it's a checkbox control
LLScrollListCheck* checkbox = dynamic_cast<LLScrollListCheck*>(item->getColumn(0));
if (!checkbox)
continue;
// Only restore if this item is checked on
if (checkbox->getCheckBox()->getValue().asBoolean())
{
// Get the path to restore for this item
std::string folder = item->getColumn(2)->getValue().asString();
std::string folder_name = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, folder) + gDirUtilp->getDirDelimiter();
std::string backup_folder_name = gDirUtilp->getExpandedFilename(LL_PATH_NONE, dir_name, folder) + gDirUtilp->getDirDelimiter();
LL_INFOS("SettingsBackup") << "restoring global folder: " << folder_name << LL_ENDL;
// create folder if it's not there already
LLFile::mkdir(folder_name.c_str());
std::string file_name;
while (gDirUtilp->getNextFileInDir(backup_folder_name, "*", file_name))
{
LL_INFOS("SettingsBackup") << "found entry: " << backup_folder_name + file_name << LL_ENDL;
// only restore files, not subfolders
if (LLFile::isfile(backup_folder_name + file_name.c_str()))
{
copy_prefs_file(backup_folder_name + file_name, folder_name + file_name);
}
else
{
LL_INFOS("SettingsBackup") << "skipping subfolder " << backup_folder_name + file_name << LL_ENDL;
}
}
}
}
// <FS:CR> Set this true so we can update newer settings with their deprecated counterparts on next launch
gSavedSettings.setBOOL("FSFirstRunAfterSettingsRestore", TRUE);
// Tell the user we have finished restoring settings and the viewer must shut down
LLNotificationsUtil::add("RestoreFinished", LLSD(), LLSD(), boost::bind(&FSPanelPreferenceBackup::onQuitConfirmed, this, _1, _2));
}
// User confirmed the shutdown and we proceed
void FSPanelPreferenceBackup::onQuitConfirmed(const LLSD& notification,const LLSD& response)
{
// Make sure the viewer will not save any settings on exit, so our copied files will survive
LLAppViewer::instance()->setSaveSettingsOnExit(FALSE);
// Quit the viewer so all gets saved immediately
LL_INFOS("SettingsBackup") << "setting to quit" << LL_ENDL;
LLAppViewer::instance()->requestQuit();
}
void FSPanelPreferenceBackup::onClickSelectAll()
{
doSelect(TRUE);
}
void FSPanelPreferenceBackup::onClickDeselectAll()
{
doSelect(FALSE);
}
void FSPanelPreferenceBackup::doSelect(BOOL all)
{
// Get scroll list control that holds the list of global files
LLScrollListCtrl* globalScrollList = getChild<LLScrollListCtrl>("restore_global_files_list");
// Get scroll list control that holds the list of per account files
LLScrollListCtrl* perAccountScrollList = getChild<LLScrollListCtrl>("restore_per_account_files_list");
// Get scroll list control that holds the list of global folders
LLScrollListCtrl* globalFoldersScrollList = getChild<LLScrollListCtrl>("restore_global_folders_list");
applySelection(globalScrollList, all);
applySelection(perAccountScrollList, all);
applySelection(globalFoldersScrollList, all);
}
void FSPanelPreferenceBackup::applySelection(LLScrollListCtrl* control, BOOL all)
{
// Pull out all data
std::vector<LLScrollListItem*> itemList = control->getAllData();
// Go over each entry
for (S32 index = 0; index < itemList.size(); index++)
{
// Get the next item in the list
LLScrollListItem* item = itemList[index];
// Check/uncheck the box only when the item is enabled
if (item->getEnabled())
{
// Look at the first column and make sure it's a checkbox control
LLScrollListCheck* checkbox = dynamic_cast<LLScrollListCheck*>(item->getColumn(0));
if (checkbox)
{
checkbox->getCheckBox()->setValue(all);
}
}
}
}
// </FS:Zi>
// <CV:David>
void LLFloaterPreference::onChangeOutputType()
{
if (gStereoscopic3DEnabled)
{
LL_INFOS() << "Stereoscopic 3D: Leave stereoscopic 3D mode" << LL_ENDL;
}
gStereoscopic3DEnabled = FALSE;
gSavedSettings.setBOOL("Stereoscopic3DEnabled", gStereoscopic3DEnabled);
gRift3DEnabled = FALSE;
gSavedSettings.setBOOL("Rift3DEnabled", gRift3DEnabled);
}
void LLFloaterPreference::onClickResetEyeSeparation()
{
gSavedSettings.setF32("EyeSeparation", 0.065f);
}
void LLFloaterPreference::onClickResetScreenDistance()
{
gSavedSettings.setF32("ScreenDistance", 1.6f);
}
void LLFloaterPreference::onChangeRiftOperationMode()
{
U32 riftOperationMode = getChild<LLRadioGroup>("RiftOperationMode")->getValue().asInteger();
gRiftStanding = riftOperationMode == RIFT_OPERATE_STANDING;
LL_INFOS() << "Oculus Rift: Operation mode = " << riftOperationMode << LL_ENDL;
}
void LLFloaterPreference::onRiftStrafeEnable()
{
gRiftStrafe = getChild<LLCheckBoxCtrl>("RiftStrafe")->getValue().asBoolean();
LL_INFOS() << "Oculus Rift: Strafe = " << gRiftStrafe << LL_ENDL;
}
void LLFloaterPreference::onRiftHeadReorientsEnable()
{
gRiftHeadReorients = getChild<LLCheckBoxCtrl>("RiftHeadReorients")->getValue().asBoolean();
LL_INFOS() << "Oculus Rift: Head reorients = " << gRiftHeadReorients << LL_ENDL;
}
void LLFloaterPreference::onChangeRiftHeadReorientsAfter()
{
gRiftHeadReorientsAfter = getChild<LLSliderCtrl>("RiftHeadReorientsAfter")->getValue().asInteger();
}
void LLFloaterPreference::onClickResetRiftHeadReorientsAfter()
{
gSavedSettings.setU32("RiftHeadReorientsAfter", RIFT_HEAD_REORIENTS_AFTER_DEFAULT);
gRiftHeadReorientsAfter = RIFT_HEAD_REORIENTS_AFTER_DEFAULT;
}
void LLFloaterPreference::onChangeRiftHeadReorientsSpeed()
{
gRiftHeadReorientsSpeed = getChild<LLSliderCtrl>("RiftHeadReorientsSpeed")->getValue().asInteger();
}
void LLFloaterPreference::onClickResetRiftHeadReorientsSpeed()
{
gSavedSettings.setU32("RiftHeadReorientsSpeed", RIFT_HEAD_REORIENTS_SPEED_DEFAULT);
gRiftHeadReorientsSpeed = RIFT_HEAD_REORIENTS_SPEED_DEFAULT;
}
void LLFloaterPreference::onClickResetRiftUIDepth()
{
gSavedSettings.setU32("RiftUIDepth", 50);
}
void LLFloaterPreference::onClickResetRiftFOVMultiplier()
{
gSavedSettings.setF32("RiftFOVMultiplier", 1.0f);
}
void LLFloaterPreference::onClickResetRiftPixelDensity()
{
gSavedSettings.setF32("RiftPixelDensity", 1.0f);
}
void LLFloaterPreference::onChangeRiftMouseMode()
{
U32 riftMouseMode = getChild<LLRadioGroup>("RiftMouseMode")->getValue().asInteger();
gRiftMouseCursor = riftMouseMode == RIFT_MOUSE_CURSOR;
LL_INFOS() << "Oculus Rift: Mouse mode = " << riftMouseMode << LL_ENDL;
}
void LLFloaterPreference::onRiftMouseHorizontalEnable()
{
gRiftMouseHorizontal = getChild<LLCheckBoxCtrl>("RiftMouseHorizontal")->getValue().asBoolean();
LL_INFOS() << "Oculus Rift: Mouse horizontal = " << gRiftMouseHorizontal << LL_ENDL;
}
void LLFloaterPreference::onRiftHmdSettingsChanged()
{
}
// </CV:David>
// <CV:David>
#if LL_WINDOWS
void LLFloaterPreference::onKinectEnable()
{
if (getChild<LLCheckBoxCtrl>("KinectEnabled")->getValue().asBoolean())
{
if (!gKinectController)
{
gKinectController = new CASKinectController(gSavedSettings.getBOOL("KinectSwapFlyUpAndFlyDown"));
if (!gKinectController->kinectConfigured())
{
gSavedSettings.setBOOL("KinectEnabled", FALSE);
LLNotificationsUtil::add("KinectNotInitialized");
delete gKinectController;
gKinectController = NULL;
}
}
}
else
{
if (gKinectController)
{
delete gKinectController;
gKinectController = NULL;
}
}
getChild<LLUICtrl>("KinectSensitivity")->setEnabled(gKinectController != NULL);
getChild<LLUICtrl>("ResetKinectSensitivity")->setEnabled(gKinectController != NULL);
getChild<LLUICtrl>("KinectSwapFlyUpAndFlyDown")->setEnabled(gKinectController != NULL);
}
void LLFloaterPreference::onClickResetKinectSensitivity()
{
gSavedSettings.setU32("KinectSensitivity", 5);
}
void LLFloaterPreference::onKinectSwapFlyUpAndFlyDown()
{
if (gKinectController)
{
gKinectController->swapFlyUpAndFlyDown(getChild<LLCheckBoxCtrl>("KinectSwapFlyUpAndFlyDown")->getValue().asBoolean());
}
}
#endif
// </CV:David>
// <FS:Kadah>
void LLFloaterPreference::loadFontPresetsFromDir(const std::string& dir, LLComboBox* font_selection_combo)
{
LLDirIterator dir_iter(dir, "*.xml");
while (1)
{
std::string file;
if (!dir_iter.next(file))
{
break; // no more files
}
//hack to deal with "fonts.xml"
if (file == "fonts.xml")
{
font_selection_combo->add("Deja Vu", file);
}
//hack to get "fonts_[name].xml" to "Name"
else
{
std::string fontpresetname = file.substr(6, file.length()-10);
LLStringUtil::replaceChar(fontpresetname, '_', ' ');
fontpresetname[0] = LLStringOps::toUpper(fontpresetname[0]);
font_selection_combo->add(fontpresetname, file);
}
}
}
void LLFloaterPreference::populateFontSelectionCombo()
{
LLComboBox* font_selection_combo = getChild<LLComboBox>("Fontsettingsfile");
if(font_selection_combo)
{
const std::string fontDir(gDirUtilp->getExpandedFilename(LL_PATH_FONTS, "", ""));
const std::string userfontDir(gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS , "fonts", ""));
// Load fonts.xmls from the install dir first then user_settings
loadFontPresetsFromDir(fontDir, font_selection_combo);
loadFontPresetsFromDir(userfontDir, font_selection_combo);
font_selection_combo->setValue(gSavedSettings.getString("FSFontSettingsFile"));
}
}
// </FS:Kadah>
// <FS:AW optional opensim support>
#ifdef OPENSIM
static LLPanelInjector<LLPanelPreferenceOpensim> t_pref_opensim("panel_preference_opensim");
LLPanelPreferenceOpensim::LLPanelPreferenceOpensim() : LLPanelPreference(),
mGridListControl(NULL)
{
mCommitCallbackRegistrar.add("Pref.ClearDebugSearchURL", boost::bind(&LLPanelPreferenceOpensim::onClickClearDebugSearchURL, this));
mCommitCallbackRegistrar.add("Pref.PickDebugSearchURL", boost::bind(&LLPanelPreferenceOpensim::onClickPickDebugSearchURL, this));
mCommitCallbackRegistrar.add("Pref.AddGrid", boost::bind(&LLPanelPreferenceOpensim::onClickAddGrid, this));
mCommitCallbackRegistrar.add("Pref.ClearGrid", boost::bind(&LLPanelPreferenceOpensim::onClickClearGrid, this));
mCommitCallbackRegistrar.add("Pref.RefreshGrid", boost::bind( &LLPanelPreferenceOpensim::onClickRefreshGrid, this));
mCommitCallbackRegistrar.add("Pref.RemoveGrid", boost::bind( &LLPanelPreferenceOpensim::onClickRemoveGrid, this));
mCommitCallbackRegistrar.add("Pref.SaveGrid", boost::bind(&LLPanelPreferenceOpensim::onClickSaveGrid, this));
}
BOOL LLPanelPreferenceOpensim::postBuild()
{
mEditorGridName = findChild<LLLineEditor>("name_edit");
mEditorGridURI = findChild<LLLineEditor>("grid_uri_edit");
mEditorLoginPage = findChild<LLLineEditor>("login_page_edit");
mEditorHelperURI = findChild<LLLineEditor>("helper_uri_edit");
mEditorWebsite = findChild<LLLineEditor>("website_edit");
mEditorSupport = findChild<LLLineEditor>("support_edit");
mEditorRegister = findChild<LLLineEditor>("register_edit");
mEditorPassword = findChild<LLLineEditor>("password_edit");
mEditorSearch = findChild<LLLineEditor>("search_edit");
mEditorGridMessage = findChild<LLLineEditor>("message_edit");
mGridListControl = getChild<LLScrollListCtrl>("grid_list");
mGridListControl->setCommitCallback(boost::bind(&LLPanelPreferenceOpensim::onSelectGrid, this));
refreshGridList();
return LLPanelPreference::postBuild();
}
void LLPanelPreferenceOpensim::onSelectGrid()
{
LLSD grid_info;
std::string grid = mGridListControl->getSelectedValue();
LLGridManager::getInstance()->getGridData(grid, grid_info);
mEditorGridName->setText(grid_info[GRID_LABEL_VALUE].asString());
mEditorGridURI->setText(grid_info[GRID_LOGIN_URI_VALUE][0].asString());
mEditorLoginPage->setText(grid_info[GRID_LOGIN_PAGE_VALUE].asString());
mEditorHelperURI->setText(grid_info[GRID_HELPER_URI_VALUE].asString());
mEditorWebsite->setText(grid_info["about"].asString());
mEditorSupport->setText(grid_info["help"].asString());
mEditorRegister->setText(grid_info[GRID_REGISTER_NEW_ACCOUNT].asString());
mEditorPassword->setText(grid_info[GRID_FORGOT_PASSWORD].asString());
mEditorSearch->setText(grid_info["search"].asString());
mEditorGridMessage->setText(grid_info["message"].asString());
}
void LLPanelPreferenceOpensim::apply()
{
LLGridManager::getInstance()->saveGridList();
}
void LLPanelPreferenceOpensim::cancel()
{
LLGridManager::getInstance()->resetGrids();
LLPanelLogin::updateServer();
}
void LLPanelPreferenceOpensim::onClickAddGrid()
{
std::string new_grid = gSavedSettings.getString("OpensimPrefsAddGrid");
if (!new_grid.empty())
{
getChild<LLUICtrl>("grid_management_panel")->setEnabled(FALSE);
LLGridManager::getInstance()->addGridListChangedCallback(boost::bind(&LLPanelPreferenceOpensim::addedGrid, this, _1));
LLGridManager::getInstance()->addGrid(new_grid);
}
}
void LLPanelPreferenceOpensim::addedGrid(bool success)
{
if (success)
{
onClickClearGrid();
}
refreshGridList(success);
}
// TODO: Save changes to grid entries
void LLPanelPreferenceOpensim::onClickSaveGrid()
{
LLSD grid_info;
grid_info[GRID_VALUE] = mGridListControl->getSelectedValue();
grid_info[GRID_LABEL_VALUE] = mEditorGridName->getValue();
grid_info[GRID_LOGIN_URI_VALUE][0] = mEditorGridURI->getValue();
grid_info[GRID_LOGIN_PAGE_VALUE] = mEditorLoginPage->getValue();
grid_info[GRID_HELPER_URI_VALUE] = mEditorHelperURI->getValue();
grid_info["about"] = mEditorWebsite->getValue();
grid_info["help"] = mEditorSupport->getValue();
grid_info[GRID_REGISTER_NEW_ACCOUNT] = mEditorRegister->getValue();
grid_info[GRID_FORGOT_PASSWORD] = mEditorPassword->getValue();
grid_info["search"] = mEditorSearch->getValue();
grid_info["message"] = mEditorGridMessage->getValue();
GridEntry* grid_entry = new GridEntry;
grid_entry->grid = grid_info;
grid_entry->set_current = false;
//getChild<LLUICtrl>("grid_management_panel")->setEnabled(FALSE);
//LLGridManager::getInstance()->addGridListChangedCallback(boost::bind(&LLPanelPreferenceOpensim::addedGrid, this, _1));
//LLGridManager::getInstance()->addGrid(grid_entry, LLGridManager::MANUAL);
}
void LLPanelPreferenceOpensim::onClickClearGrid()
{
gSavedSettings.setString("OpensimPrefsAddGrid", std::string());
}
void LLPanelPreferenceOpensim::onClickRefreshGrid()
{
std::string grid = mGridListControl->getSelectedValue();
getChild<LLUICtrl>("grid_management_panel")->setEnabled(FALSE);
LLGridManager::getInstance()->addGridListChangedCallback(boost::bind(&LLPanelPreferenceOpensim::refreshGridList, this, _1));
LLGridManager::getInstance()->reFetchGrid(grid);
}
void LLPanelPreferenceOpensim::onClickRemoveGrid()
{
std::string grid = mGridListControl->getSelectedValue();
LLSD args;
if (grid != LLGridManager::getInstance()->getGrid())
{
args["REMOVE_GRID"] = grid;
LLSD payload = grid;
LLNotificationsUtil::add("ConfirmRemoveGrid", args, payload, boost::bind(&LLPanelPreferenceOpensim::removeGridCB, this, _1, _2));
}
else
{
args["REMOVE_GRID"] = LLGridManager::getInstance()->getGridLabel();
LLNotificationsUtil::add("CanNotRemoveConnectedGrid", args);
}
}
bool LLPanelPreferenceOpensim::removeGridCB(const LLSD& notification, const LLSD& response)
{
const S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if (0 == option)
{
std::string grid = notification["payload"].asString();
getChild<LLUICtrl>("grid_management_panel")->setEnabled(FALSE);
/*mGridListChanged =*/ LLGridManager::getInstance()->addGridListChangedCallback(boost::bind(&LLPanelPreferenceOpensim::refreshGridList, this, _1));
LLGridManager::getInstance()->removeGrid(grid);
}
return false;
}
void LLPanelPreferenceOpensim::refreshGridList(bool success)
{
getChild<LLUICtrl>("grid_management_panel")->setEnabled(TRUE);
if (!mGridListControl)
{
LL_WARNS() << "No GridListControl - bug or out of memory" << LL_ENDL;
return;
}
mGridListControl->operateOnAll(LLCtrlListInterface::OP_DELETE);
mGridListControl->sortByColumnIndex(0, TRUE);
std::map<std::string, std::string> known_grids = LLGridManager::getInstance()->getKnownGrids();
std::map<std::string, std::string>::iterator grid_iter = known_grids.begin();
for(; grid_iter != known_grids.end(); grid_iter++)
{
if (!grid_iter->first.empty() && !grid_iter->second.empty())
{
LLURI login_uri = LLURI(LLGridManager::getInstance()->getLoginURI(grid_iter->first));
LLSD element;
const std::string connected_grid = LLGridManager::getInstance()->getGrid();
std::string style = "NORMAL";
if (connected_grid == grid_iter->first)
{
style = "BOLD";
}
int col = 0;
element["id"] = grid_iter->first;
element["columns"][col]["column"] = "grid_label";
element["columns"][col]["value"] = grid_iter->second;
element["columns"][col]["font"]["name"] = "SANSSERIF";
element["columns"][col]["font"]["style"] = style;
col++;
element["columns"][col]["column"] = "login_uri";
element["columns"][col]["value"] = login_uri.authority();
element["columns"][col]["font"]["name"] = "SANSSERIF";
element["columns"][col]["font"]["style"] = style;
mGridListControl->addElement(element);
}
}
}
void LLPanelPreferenceOpensim::onClickClearDebugSearchURL()
{
LLNotificationsUtil::add("ConfirmClearDebugSearchURL", LLSD(), LLSD(), callback_clear_debug_search);
}
void LLPanelPreferenceOpensim::onClickPickDebugSearchURL()
{
LLNotificationsUtil::add("ConfirmPickDebugSearchURL", LLSD(), LLSD(),callback_pick_debug_search );
}
#endif // OPENSIM
// <FS:AW optional opensim support>
// <FS:ND> Code to filter/search in the prefs panel
void LLFloaterPreference::onUpdateFilterTerm(bool force)
{
LLWString seachValue = utf8str_to_wstring( mFilterEdit->getValue() );
LLWStringUtil::toLower( seachValue );
if( !mSearchData || (mSearchData->mLastFilter == seachValue && !force))
return;
mSearchData->mLastFilter = seachValue;
if( !mSearchData->mRootTab )
return;
mSearchData->mRootTab->hightlightAndHide( seachValue );
LLTabContainer *pRoot = getChild< LLTabContainer >( "pref core" );
if( pRoot )
pRoot->selectFirstTab();
}
void collectChildren( LLView const *aView, nd::prefs::PanelDataPtr aParentPanel, nd::prefs::TabContainerDataPtr aParentTabContainer )
{
if( !aView )
return;
llassert_always( aParentPanel || aParentTabContainer );
LLView::child_list_const_iter_t itr = aView->beginChild();
LLView::child_list_const_iter_t itrEnd = aView->endChild();
while( itr != itrEnd )
{
LLView *pView = *itr;
nd::prefs::PanelDataPtr pCurPanelData = aParentPanel;
nd::prefs::TabContainerDataPtr pCurTabContainer = aParentTabContainer;
if( !pView )
continue;
LLPanel const *pPanel = dynamic_cast< LLPanel const *>( pView );
LLTabContainer const *pTabContainer = dynamic_cast< LLTabContainer const *>( pView );
nd::ui::SearchableControl const *pSCtrl = dynamic_cast< nd::ui::SearchableControl const *>( pView );
if( pTabContainer )
{
pCurPanelData.reset();
pCurTabContainer = nd::prefs::TabContainerDataPtr( new nd::prefs::TabContainerData );
pCurTabContainer->mTabContainer = const_cast< LLTabContainer *>( pTabContainer );
pCurTabContainer->mLabel = pTabContainer->getLabel();
pCurTabContainer->mPanel = 0;
if( aParentPanel )
aParentPanel->mChildPanel.push_back( pCurTabContainer );
if( aParentTabContainer )
aParentTabContainer->mChildPanel.push_back( pCurTabContainer );
}
else if( pPanel )
{
pCurTabContainer.reset();
pCurPanelData = nd::prefs::PanelDataPtr( new nd::prefs::PanelData );
pCurPanelData->mPanel = pPanel;
pCurPanelData->mLabel = pPanel->getLabel();
llassert_always( aParentPanel || aParentTabContainer );
if( aParentTabContainer )
aParentTabContainer->mChildPanel.push_back( pCurPanelData );
else if( aParentPanel )
aParentPanel->mChildPanel.push_back( pCurPanelData );
}
else if( pSCtrl && pSCtrl->getSearchText().size() )
{
nd::prefs::SearchableItemPtr item = nd::prefs::SearchableItemPtr( new nd::prefs::SearchableItem() );
item->mView = pView;
item->mCtrl = pSCtrl;
item->mLabel = utf8str_to_wstring( pSCtrl->getSearchText() );
LLWStringUtil::toLower( item->mLabel );
llassert_always( aParentPanel || aParentTabContainer );
if( aParentPanel )
aParentPanel->mChildren.push_back( item );
if( aParentTabContainer )
aParentTabContainer->mChildren.push_back( item );
}
collectChildren( pView, pCurPanelData, pCurTabContainer );
++itr;
}
}
void LLFloaterPreference::collectSearchableItems()
{
delete mSearchData;
mSearchData = 0;
LLTabContainer *pRoot = getChild< LLTabContainer >( "pref core" );
if( mFilterEdit && pRoot )
{
mSearchData = new nd::prefs::SearchData();
nd::prefs::TabContainerDataPtr pRootTabcontainer = nd::prefs::TabContainerDataPtr( new nd::prefs::TabContainerData );
pRootTabcontainer->mTabContainer = pRoot;
pRootTabcontainer->mLabel = pRoot->getLabel();
mSearchData->mRootTab = pRootTabcontainer;
collectChildren( this, nd::prefs::PanelDataPtr(), pRootTabcontainer );
}
}
// </FS:ND>
|
_Multiply::
; hMultiplier is one byte.
ld a, 8
ld b, a
xor a
ldh [hMultiplicand - 1], a
ldh [hMathBuffer + 1], a
ldh [hMathBuffer + 2], a
ldh [hMathBuffer + 3], a
ldh [hMathBuffer + 4], a
.loop
ldh a, [hMultiplier]
srl a
ldh [hMultiplier], a
jr nc, .next
ldh a, [hMathBuffer + 4]
ld c, a
ldh a, [hMultiplicand + 2]
add c
ldh [hMathBuffer + 4], a
ldh a, [hMathBuffer + 3]
ld c, a
ldh a, [hMultiplicand + 1]
adc c
ldh [hMathBuffer + 3], a
ldh a, [hMathBuffer + 2]
ld c, a
ldh a, [hMultiplicand]
adc c
ldh [hMathBuffer + 2], a
ldh a, [hMathBuffer + 1]
ld c, a
ldh a, [hMultiplicand - 1]
adc c
ldh [hMathBuffer + 1], a
.next
dec b
jr z, .done
; hMultiplicand <<= 1
ldh a, [hMultiplicand + 2]
add a
ldh [hMultiplicand + 2], a
ldh a, [hMultiplicand + 1]
rla
ldh [hMultiplicand + 1], a
ldh a, [hMultiplicand]
rla
ldh [hMultiplicand], a
ldh a, [hMultiplicand - 1]
rla
ldh [hMultiplicand - 1], a
jr .loop
.done
ldh a, [hMathBuffer + 4]
ldh [hProduct + 3], a
ldh a, [hMathBuffer + 3]
ldh [hProduct + 2], a
ldh a, [hMathBuffer + 2]
ldh [hProduct + 1], a
ldh a, [hMathBuffer + 1]
ldh [hProduct], a
ret
_Divide::
xor a
ldh [hMathBuffer], a
ldh [hMathBuffer + 1], a
ldh [hMathBuffer + 2], a
ldh [hMathBuffer + 3], a
ldh [hMathBuffer + 4], a
ld a, 9
ld e, a
.loop
ldh a, [hMathBuffer]
ld c, a
ldh a, [hDividend + 1]
sub c
ld d, a
ldh a, [hDivisor]
ld c, a
ldh a, [hDividend]
sbc c
jr c, .next
ldh [hDividend], a
ld a, d
ldh [hDividend + 1], a
ldh a, [hMathBuffer + 4]
inc a
ldh [hMathBuffer + 4], a
jr .loop
.next
ld a, b
cp 1
jr z, .done
ldh a, [hMathBuffer + 4]
add a
ldh [hMathBuffer + 4], a
ldh a, [hMathBuffer + 3]
rla
ldh [hMathBuffer + 3], a
ldh a, [hMathBuffer + 2]
rla
ldh [hMathBuffer + 2], a
ldh a, [hMathBuffer + 1]
rla
ldh [hMathBuffer + 1], a
dec e
jr nz, .next2
ld e, 8
ldh a, [hMathBuffer]
ldh [hDivisor], a
xor a
ldh [hMathBuffer], a
ldh a, [hDividend + 1]
ldh [hDividend], a
ldh a, [hDividend + 2]
ldh [hDividend + 1], a
ldh a, [hDividend + 3]
ldh [hDividend + 2], a
.next2
ld a, e
cp 1
jr nz, .okay
dec b
.okay
ldh a, [hDivisor]
srl a
ldh [hDivisor], a
ldh a, [hMathBuffer]
rra
ldh [hMathBuffer], a
jr .loop
.done
ldh a, [hDividend + 1]
ldh [hRemainder], a
ldh a, [hMathBuffer + 4]
ldh [hQuotient + 3], a
ldh a, [hMathBuffer + 3]
ldh [hQuotient + 2], a
ldh a, [hMathBuffer + 2]
ldh [hQuotient + 1], a
ldh a, [hMathBuffer + 1]
ldh [hQuotient], a
ret
|
; A266046: Real part of Q^n, where Q is the quaternion 2 + j + k.
; Submitted by Jon Maiga
; 1,2,2,-4,-28,-88,-184,-208,272,2336,7712,16832,21056,-16768,-193408,-673024,-1531648,-2088448,836096,15875072,58483712,138684416,203835392,-16764928,-1290072064,-5059698688,-12498362368,-19635257344,-3550855168,103608123392,435737624576,1121301757952,1870781284352,755314589696,-8203429347328,-37345604927488,-100161843625984,-176573744939008,-105323918000128,638146797633536,3184530698534912,8909242008338432,16529783842144256,12663683318546432,-48523969778679808,-270077979025997824
mov $2,1
lpb $0
sub $0,1
mul $3,2
add $3,$2
mul $2,3
sub $2,$3
lpe
mov $0,$2
|
DiglettsCaveRoute2_Object:
db $7d ; border block
def_warps
warp 2, 7, 0, LAST_MAP
warp 3, 7, 0, LAST_MAP
warp 4, 4, 0, DIGLETTS_CAVE
def_signs
def_objects
object SPRITE_FISHING_GURU, 3, 3, STAY, NONE, 1 ; person
def_warps_to DIGLETTS_CAVE_ROUTE_2
|
/**
* @file Board_TTGO_Tdisplay.hpp
* @author Kuba Andrýsek (email@kubaandrysek.cz)
* @brief Konfigurace TTGO T-display
* @date 2022-04-10
*
* @copyright Copyright (c) 2022 Kuba Andrýsek
*
*/
#define EPD_MOSI (23)
#define EPD_MISO (-1)
#define EPD_SCLK (18)
#define EPD_CS (5)
#define EPD_BUSY (4)
#define EPD_RSET (16)
#define EPD_DC (17)
#define SDCARD_CS (13)
#define SDCARD_MOSI (15)
#define SDCARD_MISO (2)
#define SDCARD_SCLK (14)
#define BUTTON_LEFT (37)
#define BUTTON_MIDDLE (38)
#define BUTTON_RIGHT (39)
#define IIS_WS (25)
#define IIS_BCK (26)
#define IIS_DOUT (19)
#define ICS43434_WS (33)
#define ICS43434_BCK (32)
#define ICS43434_DIN (27)
#define I2C_SDA (21)
#define I2C_SCL (22)
#define BUTTONS {37,38,39}
#define BUTTON_COUNT (3)
#define LED_PIN (22)
#define LED_ON (HIGH)
#define ADC_PIN (35)
// #define _HAS_ADC_DETECTED_
// #define _HAS_LED_
// #define _HAS_SPEAKER_
// #define _HAS_SDCARD_
|
//=================================================================================================
//
// MJP's DX11 Sample Framework
// http://mynameismjp.wordpress.com/
//
// All code and content licensed under Microsoft Public License (Ms-PL)
//
//=================================================================================================
#include "PCH.h"
#include "SpriteFont.h"
#include "Utility.h"
using namespace Gdiplus;
using std::wstring;
using std::vector;
namespace SampleFramework11
{
SpriteFont::SpriteFont()
: size(0),
texHeight(0),
spaceWidth(0),
charHeight(0)
{
}
SpriteFont::~SpriteFont()
{
}
void SpriteFont::Initialize(LPCWSTR fontName, float fontSize, UINT fontStyle, bool antiAliased, ID3D11Device* device)
{
size = fontSize;
TextRenderingHint hint = antiAliased ? TextRenderingHintAntiAliasGridFit : TextRenderingHintSingleBitPerPixelGridFit;
// Init GDI+
ULONG_PTR token = NULL;
GdiplusStartupInput startupInput (NULL, true, true);
GdiplusStartupOutput startupOutput;
GdiPlusCall(GdiplusStartup(&token, &startupInput, &startupOutput));
try
{
// Create the font
Gdiplus::Font font(fontName, fontSize, fontStyle, UnitPixel, NULL);
// Check for error during construction
GdiPlusCall(font.GetLastStatus());
// Create a temporary Bitmap and Graphics for figuring out the rough size required
// for drawing all of the characters
int size = static_cast<int>(fontSize * NumChars * 2) + 1;
Bitmap sizeBitmap(size, size, PixelFormat32bppARGB);
GdiPlusCall(sizeBitmap.GetLastStatus());
Graphics sizeGraphics(&sizeBitmap);
GdiPlusCall(sizeGraphics.GetLastStatus());
GdiPlusCall(sizeGraphics.SetTextRenderingHint(hint));
charHeight = font.GetHeight(&sizeGraphics) * 1.5f;
wchar allChars[NumChars + 1];
for(wchar i = 0; i < NumChars; ++i)
allChars[i] = i + StartChar;
allChars[NumChars] = 0;
RectF sizeRect;
GdiPlusCall(sizeGraphics.MeasureString(allChars, NumChars, &font, PointF(0, 0), &sizeRect));
int numRows = static_cast<int>(sizeRect.Width / TexWidth) + 1;
int texHeight = static_cast<int>(numRows * charHeight) + 1;
// Create a temporary Bitmap and Graphics for drawing the characters one by one
int tempSize = static_cast<int>(fontSize * 2);
Bitmap drawBitmap(tempSize, tempSize, PixelFormat32bppARGB);
GdiPlusCall(drawBitmap.GetLastStatus());
Graphics drawGraphics(&drawBitmap);
GdiPlusCall(drawGraphics.GetLastStatus());
GdiPlusCall(drawGraphics.SetTextRenderingHint(hint));
// Create a temporary Bitmap + Graphics for creating a full character set
Bitmap textBitmap (TexWidth, texHeight, PixelFormat32bppARGB);
GdiPlusCall(textBitmap.GetLastStatus());
Graphics textGraphics (&textBitmap);
GdiPlusCall(textGraphics.GetLastStatus());
GdiPlusCall(textGraphics.Clear(Color(0, 255, 255, 255)));
GdiPlusCall(textGraphics.SetCompositingMode(CompositingModeSourceCopy));
// Solid brush for text rendering
SolidBrush brush (Color(255, 255, 255, 255));
GdiPlusCall(brush.GetLastStatus());
// Draw all of the characters, and copy them to the full character set
wchar charString [2];
charString[1] = 0;
int currentX = 0;
int currentY = 0;
for(uint64 i = 0; i < NumChars; ++i)
{
charString[0] = static_cast<wchar>(i + StartChar);
// Draw the character
GdiPlusCall(drawGraphics.Clear(Color(0, 255, 255, 255)));
GdiPlusCall(drawGraphics.DrawString(charString, 1, &font, PointF(0, 0), &brush));
// Figure out the amount of blank space before the character
int minX = 0;
for(int x = 0; x < tempSize; ++x)
{
for(int y = 0; y < tempSize; ++y)
{
Color color;
GdiPlusCall(drawBitmap.GetPixel(x, y, &color));
if(color.GetAlpha() > 0)
{
minX = x;
x = tempSize;
break;
}
}
}
// Figure out the amount of blank space after the character
int maxX = tempSize - 1;
for(int x = tempSize - 1; x >= 0; --x)
{
for(int y = 0; y < tempSize; ++y)
{
Color color;
GdiPlusCall(drawBitmap.GetPixel(x, y, &color));
if(color.GetAlpha() > 0)
{
maxX = x;
x = -1;
break;
}
}
}
int charWidth = maxX - minX + 1;
// Figure out if we need to move to the next row
if (currentX + charWidth >= TexWidth)
{
currentX = 0;
currentY += static_cast<int>(charHeight) + 1;
}
// Fill out the structure describing the character position
charDescs[i].X = static_cast<float>(currentX);
charDescs[i].Y = static_cast<float>(currentY);
charDescs[i].Width = static_cast<float>(charWidth);
charDescs[i].Height = static_cast<float>(charHeight);
// Copy the character over
int height = static_cast<int>(charHeight + 1);
GdiPlusCall(textGraphics.DrawImage(&drawBitmap, currentX, currentY, minX, 0, charWidth, height, UnitPixel));
currentX += charWidth + 1;
}
// Figure out the width of a space character
charString[0] = ' ';
charString[1] = 0;
GdiPlusCall(drawGraphics.MeasureString(charString, 1, &font, PointF(0, 0), &sizeRect));
spaceWidth = sizeRect.Width;
// Lock the bitmap for direct memory access
BitmapData bmData;
GdiPlusCall(textBitmap.LockBits(&Rect(0, 0, TexWidth, texHeight), ImageLockModeRead, PixelFormat32bppARGB, &bmData));
// Create a D3D texture, initalized with the bitmap data
D3D11_TEXTURE2D_DESC texDesc;
texDesc.Width = TexWidth;
texDesc.Height = texHeight;
texDesc.MipLevels = 1;
texDesc.ArraySize = 1;
texDesc.Format = DXGI_FORMAT_B8G8R8A8_UNORM;
texDesc.SampleDesc.Count = 1;
texDesc.SampleDesc.Quality = 0;
texDesc.Usage = D3D11_USAGE_IMMUTABLE;
texDesc.BindFlags = D3D11_BIND_SHADER_RESOURCE;
texDesc.CPUAccessFlags = 0;
texDesc.MiscFlags = 0;
D3D11_SUBRESOURCE_DATA data;
data.pSysMem = bmData.Scan0;
data.SysMemPitch = TexWidth * 4;
data.SysMemSlicePitch = 0;
DXCall(device->CreateTexture2D(&texDesc, &data, &texture));
GdiPlusCall(textBitmap.UnlockBits(&bmData));
// Create the shader resource view
D3D11_SHADER_RESOURCE_VIEW_DESC srDesc;
srDesc.Format = DXGI_FORMAT_B8G8R8A8_UNORM;
srDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D;
srDesc.Texture2D.MipLevels = 1;
srDesc.Texture2D.MostDetailedMip = 0;
DXCall(device->CreateShaderResourceView(texture, &srDesc, &srView));
}
catch (GdiPlusException e)
{
// Shutdown GDI+
if (token != NULL)
GdiplusShutdown(token);
throw e;
}
// Shutdown GDI+
GdiplusShutdown(token);
}
ID3D11ShaderResourceView* SpriteFont::SRView() const
{
return srView;
}
const SpriteFont::CharDesc* SpriteFont::CharDescriptors() const
{
return charDescs;
}
const SpriteFont::CharDesc& SpriteFont::GetCharDescriptor(wchar character) const
{
_ASSERT(character >= StartChar && character <= EndChar);
return charDescs[character - StartChar];
}
float SpriteFont::Size() const
{
return size;
}
UINT SpriteFont::TextureWidth() const
{
return TexWidth;
}
UINT SpriteFont::TextureHeight() const
{
return texHeight;
}
float SpriteFont::SpaceWidth() const
{
return spaceWidth;
}
float SpriteFont::CharHeight() const
{
return charHeight;
}
ID3D11Texture2D* SpriteFont::Texture() const
{
return texture;
}
Float2 SpriteFont::MeasureText(const wchar* text) const
{
Float2 size = Float2(0.0f, 0.0f);
Float2 curPos = Float2(0.0f, 0.0f);;
size_t length = wcslen(text);
for (uint64 i = 0; i < length; ++i)
{
wchar character = text[i];
if(character == ' ')
curPos.x += SpaceWidth();
else if(character == '\n')
{
curPos.y += CharHeight();
curPos.x = 0;
}
else
{
SpriteFont::CharDesc desc = GetCharDescriptor(character);
curPos.x += desc.Width + 1;
}
size.x = std::max(curPos.x, size.x);
size.y = std::max(curPos.y, size.y);
}
return size;
}
} |
_main:
;ledchase.c,2 :: void main()
;ledchase.c,4 :: unsigned char j=0b00000001; // aparentemente todas as variaveis devem ser declaradas no inicio da main ou do lado de fora, antes da main,
MOVLW 1
MOVWF main_j_L0+0
;ledchase.c,6 :: TRISC =0; // Configure PORTB as output
CLRF TRISC+0
;ledchase.c,9 :: for(;;) // Endless loop
L_main0:
;ledchase.c,11 :: PORTC=j;
MOVF main_j_L0+0, 0
MOVWF PORTC+0
;ledchase.c,12 :: Delay_Ms(1000); // Wait 1 s
MOVLW 21
MOVWF R11, 0
MOVLW 75
MOVWF R12, 0
MOVLW 190
MOVWF R13, 0
L_main3:
DECFSZ R13, 1, 1
BRA L_main3
DECFSZ R12, 1, 1
BRA L_main3
DECFSZ R11, 1, 1
BRA L_main3
NOP
;ledchase.c,13 :: j=j<<1;
MOVF main_j_L0+0, 0
MOVWF R1
RLCF R1, 1
BCF R1, 0
MOVF R1, 0
MOVWF main_j_L0+0
;ledchase.c,14 :: if(j==0)j=1;
MOVF R1, 0
XORLW 0
BTFSS STATUS+0, 2
GOTO L_main4
MOVLW 1
MOVWF main_j_L0+0
L_main4:
;ledchase.c,15 :: }
GOTO L_main0
;ledchase.c,29 :: }
L_end_main:
GOTO $+0
; end of _main
|
/* Copyright (c) 2003, 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
#ifndef API_BROADCAST_HPP
#define API_BROADCAST_HPP
#include "SignalData.hpp"
struct ApiBroadcastRep
{
STATIC_CONST( SignalLength = 2 );
Uint32 gsn;
Uint32 minVersion;
Uint32 theData[1];
};
#endif
|
#include <boost/iostreams/filter/gzip.hpp>
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/nacl/renderer/plugin/pnacl_coordinator.h"
#include <algorithm>
#include <sstream>
#include <utility>
#include "base/logging.h"
#include "components/nacl/renderer/plugin/plugin.h"
#include "components/nacl/renderer/plugin/plugin_error.h"
#include "components/nacl/renderer/plugin/pnacl_translate_thread.h"
#include "components/nacl/renderer/plugin/service_runtime.h"
#include "components/nacl/renderer/plugin/temporary_file.h"
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_errors.h"
namespace plugin {
namespace {
std::string GetArchitectureAttributes(Plugin* plugin) {
pp::Var attrs_var(pp::PASS_REF,
plugin->nacl_interface()->GetCpuFeatureAttrs());
return attrs_var.AsString();
}
void DidCacheHit(void* user_data, PP_FileHandle nexe_file_handle) {
PnaclCoordinator* coordinator = static_cast<PnaclCoordinator*>(user_data);
coordinator->BitcodeStreamCacheHit(nexe_file_handle);
}
void DidCacheMiss(void* user_data, int64_t expected_pexe_size,
PP_FileHandle temp_nexe_file) {
PnaclCoordinator* coordinator = static_cast<PnaclCoordinator*>(user_data);
coordinator->BitcodeStreamCacheMiss(expected_pexe_size,
temp_nexe_file);
}
void DidStreamData(void* user_data, const void* stream_data, int32_t length) {
PnaclCoordinator* coordinator = static_cast<PnaclCoordinator*>(user_data);
coordinator->BitcodeStreamGotData(stream_data, length);
}
void DidFinishStream(void* user_data, int32_t pp_error) {
PnaclCoordinator* coordinator = static_cast<PnaclCoordinator*>(user_data);
coordinator->BitcodeStreamDidFinish(pp_error);
}
PPP_PexeStreamHandler kPexeStreamHandler = {
&DidCacheHit,
&DidCacheMiss,
&DidStreamData,
&DidFinishStream
};
} // namespace
PnaclCoordinator* PnaclCoordinator::BitcodeToNative(
Plugin* plugin,
const std::string& pexe_url,
const PP_PNaClOptions& pnacl_options,
const pp::CompletionCallback& translate_notify_callback) {
PLUGIN_PRINTF(("PnaclCoordinator::BitcodeToNative (plugin=%p, pexe=%s)\n",
static_cast<void*>(plugin), pexe_url.c_str()));
PnaclCoordinator* coordinator =
new PnaclCoordinator(plugin, pexe_url,
pnacl_options,
translate_notify_callback);
GetNaClInterface()->SetPNaClStartTime(plugin->pp_instance());
int cpus = plugin->nacl_interface()->GetNumberOfProcessors();
coordinator->num_threads_ = std::min(4, std::max(1, cpus));
if (pnacl_options.use_subzero) {
coordinator->split_module_count_ = 1;
} else {
coordinator->split_module_count_ = coordinator->num_threads_;
}
// First start a network request for the pexe, to tickle the component
// updater's On-Demand resource throttler, and to get Last-Modified/ETag
// cache information. We can cancel the request later if there's
// a bitcode->nexe cache hit.
coordinator->OpenBitcodeStream();
return coordinator;
}
PnaclCoordinator::PnaclCoordinator(
Plugin* plugin,
const std::string& pexe_url,
const PP_PNaClOptions& pnacl_options,
const pp::CompletionCallback& translate_notify_callback)
: translate_finish_error_(PP_OK),
plugin_(plugin),
translate_notify_callback_(translate_notify_callback),
translation_finished_reported_(false),
compiler_subprocess_("compiler.nexe", NULL),
ld_subprocess_("linker.nexe", NULL),
pexe_url_(pexe_url),
pnacl_options_(pnacl_options),
architecture_attributes_(GetArchitectureAttributes(plugin)),
split_module_count_(0),
num_threads_(0),
error_already_reported_(false),
pexe_size_(0),
pexe_bytes_compiled_(0),
expected_pexe_size_(-1) {
callback_factory_.Initialize(this);
}
PnaclCoordinator::~PnaclCoordinator() {
PLUGIN_PRINTF(("PnaclCoordinator::~PnaclCoordinator (this=%p, "
"translate_thread=%p\n",
static_cast<void*>(this), translate_thread_.get()));
// Stopping the translate thread will cause the translate thread to try to
// run translation_complete_callback_ on the main thread. This destructor is
// running from the main thread, and by the time it exits, callback_factory_
// will have been destroyed. This will result in the cancellation of
// translation_complete_callback_, so no notification will be delivered.
if (translate_thread_.get() != NULL)
translate_thread_->AbortSubprocesses();
if (!translation_finished_reported_) {
plugin_->nacl_interface()->ReportTranslationFinished(
plugin_->pp_instance(), PP_FALSE, pnacl_options_.opt_level,
pnacl_options_.use_subzero, 0, 0, 0);
}
// Force deleting the translate_thread now. It must be deleted
// before any scoped_* fields hanging off of PnaclCoordinator
// since the thread may be accessing those fields.
// It will also be accessing obj_files_.
translate_thread_.reset(NULL);
for (size_t i = 0; i < obj_files_.size(); i++)
delete obj_files_[i];
}
PP_FileHandle PnaclCoordinator::TakeTranslatedFileHandle() {
DCHECK(temp_nexe_file_ != NULL);
return temp_nexe_file_->TakeFileHandle();
}
void PnaclCoordinator::ReportNonPpapiError(PP_NaClError err_code,
const std::string& message) {
ErrorInfo error_info;
error_info.SetReport(err_code, message);
plugin_->ReportLoadError(error_info);
ExitWithError();
}
void PnaclCoordinator::ReportPpapiError(PP_NaClError err_code,
int32_t pp_error,
const std::string& message) {
std::stringstream ss;
ss << "PnaclCoordinator: " << message << " (pp_error=" << pp_error << ").";
ErrorInfo error_info;
error_info.SetReport(err_code, ss.str());
plugin_->ReportLoadError(error_info);
ExitWithError();
}
void PnaclCoordinator::ExitWithError() {
PLUGIN_PRINTF(("PnaclCoordinator::ExitWithError\n"));
// Free all the intermediate callbacks we ever created.
// Note: this doesn't *cancel* the callbacks from the factories attached
// to the various helper classes (e.g., pnacl_resources). Thus, those
// callbacks may still run asynchronously. We let those run but ignore
// any other errors they may generate so that they do not end up running
// translate_notify_callback_, which has already been freed.
callback_factory_.CancelAll();
if (!error_already_reported_) {
error_already_reported_ = true;
translation_finished_reported_ = true;
plugin_->nacl_interface()->ReportTranslationFinished(
plugin_->pp_instance(), PP_FALSE, pnacl_options_.opt_level,
pnacl_options_.use_subzero, 0, 0, 0);
translate_notify_callback_.Run(PP_ERROR_FAILED);
}
}
// Signal that Pnacl translation completed normally.
void PnaclCoordinator::TranslateFinished(int32_t pp_error) {
PLUGIN_PRINTF(("PnaclCoordinator::TranslateFinished (pp_error=%"
NACL_PRId32 ")\n", pp_error));
// Bail out if there was an earlier error (e.g., pexe load failure),
// or if there is an error from the translation thread.
if (translate_finish_error_ != PP_OK || pp_error != PP_OK) {
plugin_->ReportLoadError(error_info_);
ExitWithError();
return;
}
// Send out one last progress event, to finish up the progress events
// that were delayed (see the delay inserted in BitcodeGotCompiled).
if (expected_pexe_size_ != -1) {
pexe_bytes_compiled_ = expected_pexe_size_;
GetNaClInterface()->DispatchEvent(plugin_->pp_instance(),
PP_NACL_EVENT_PROGRESS,
pexe_url_.c_str(),
PP_TRUE,
pexe_bytes_compiled_,
expected_pexe_size_);
}
int64_t nexe_size = temp_nexe_file_->GetLength();
// The nexe is written to the temp_nexe_file_. We must Reset() the file
// pointer to be able to read it again from the beginning.
temp_nexe_file_->Reset();
// Report to the browser that translation finished. The browser will take
// care of storing the nexe in the cache.
translation_finished_reported_ = true;
plugin_->nacl_interface()->ReportTranslationFinished(
plugin_->pp_instance(), PP_TRUE, pnacl_options_.opt_level,
pnacl_options_.use_subzero, nexe_size, pexe_size_,
translate_thread_->GetCompileTime());
NexeReadDidOpen(PP_OK);
}
void PnaclCoordinator::NexeReadDidOpen(int32_t pp_error) {
PLUGIN_PRINTF(("PnaclCoordinator::NexeReadDidOpen (pp_error=%"
NACL_PRId32 ")\n", pp_error));
if (pp_error != PP_OK) {
if (pp_error == PP_ERROR_FILENOTFOUND) {
ReportPpapiError(PP_NACL_ERROR_PNACL_CACHE_FETCH_NOTFOUND,
pp_error,
"Failed to open translated nexe (not found).");
return;
}
if (pp_error == PP_ERROR_NOACCESS) {
ReportPpapiError(PP_NACL_ERROR_PNACL_CACHE_FETCH_NOACCESS,
pp_error,
"Failed to open translated nexe (no access).");
return;
}
ReportPpapiError(PP_NACL_ERROR_PNACL_CACHE_FETCH_OTHER,
pp_error,
"Failed to open translated nexe.");
return;
}
translate_notify_callback_.Run(PP_OK);
}
void PnaclCoordinator::OpenBitcodeStream() {
// Even though we haven't started downloading, create the translation
// thread object immediately. This ensures that any pieces of the file
// that get downloaded before the compilation thread is accepting
// SRPCs won't get dropped.
translate_thread_.reset(new PnaclTranslateThread());
if (translate_thread_ == NULL) {
ReportNonPpapiError(
PP_NACL_ERROR_PNACL_THREAD_CREATE,
"PnaclCoordinator: could not allocate translation thread.");
return;
}
GetNaClInterface()->StreamPexe(
plugin_->pp_instance(), pexe_url_.c_str(), pnacl_options_.opt_level,
pnacl_options_.use_subzero, &kPexeStreamHandler, this);
}
void PnaclCoordinator::BitcodeStreamCacheHit(PP_FileHandle handle) {
if (handle == PP_kInvalidFileHandle) {
ReportNonPpapiError(
PP_NACL_ERROR_PNACL_CREATE_TEMP,
std::string(
"PnaclCoordinator: Got bad temp file handle from GetNexeFd"));
BitcodeStreamDidFinish(PP_ERROR_FAILED);
return;
}
temp_nexe_file_.reset(new TempFile(plugin_, handle));
// Open it for reading as the cached nexe file.
NexeReadDidOpen(temp_nexe_file_->CheckValidity());
}
void PnaclCoordinator::BitcodeStreamCacheMiss(int64_t expected_pexe_size,
PP_FileHandle nexe_handle) {
// IMPORTANT: Make sure that PnaclResources::StartLoad() is only
// called after you receive a response to a request for a .pexe file.
//
// The component updater's resource throttles + OnDemand update/install
// should block the URL request until the compiler is present. Now we
// can load the resources (e.g. llc and ld nexes).
resources_.reset(new PnaclResources(plugin_,
PP_ToBool(pnacl_options_.use_subzero)));
CHECK(resources_ != NULL);
// The first step of loading resources: read the resource info file.
if (!resources_->ReadResourceInfo()) {
ExitWithError();
return;
}
// Second step of loading resources: call StartLoad to load pnacl-llc
// and pnacl-ld, based on the filenames found in the resource info file.
if (!resources_->StartLoad()) {
ReportNonPpapiError(
PP_NACL_ERROR_PNACL_RESOURCE_FETCH,
std::string("The Portable Native Client (pnacl) component is not "
"installed. Please consult chrome://components for more "
"information."));
return;
}
expected_pexe_size_ = expected_pexe_size;
for (int i = 0; i < split_module_count_; i++) {
PP_FileHandle obj_handle =
plugin_->nacl_interface()->CreateTemporaryFile(plugin_->pp_instance());
scoped_ptr<TempFile> temp_file(new TempFile(plugin_, obj_handle));
int32_t pp_error = temp_file->CheckValidity();
if (pp_error != PP_OK) {
ReportPpapiError(PP_NACL_ERROR_PNACL_CREATE_TEMP,
pp_error,
"Failed to open scratch object file.");
return;
} else {
obj_files_.push_back(temp_file.release());
}
}
temp_nexe_file_.reset(new TempFile(plugin_, nexe_handle));
// Open the nexe file for connecting ld and sel_ldr.
// Start translation when done with this last step of setup!
int32_t pp_error = temp_nexe_file_->CheckValidity();
if (pp_error != PP_OK) {
ReportNonPpapiError(
PP_NACL_ERROR_PNACL_CREATE_TEMP,
std::string(
"PnaclCoordinator: Got bad temp file handle from writing nexe"));
return;
}
LoadCompiler();
}
void PnaclCoordinator::BitcodeStreamGotData(const void* data, int32_t length) {
DCHECK(translate_thread_.get());
translate_thread_->PutBytes(data, length);
if (data && length > 0)
pexe_size_ += length;
}
void PnaclCoordinator::BitcodeStreamDidFinish(int32_t pp_error) {
PLUGIN_PRINTF(("PnaclCoordinator::BitcodeStreamDidFinish (pp_error=%"
NACL_PRId32 ")\n", pp_error));
if (pp_error != PP_OK) {
// Defer reporting the error and cleanup until after the translation
// thread returns, because it may be accessing the coordinator's
// objects or writing to the files.
translate_finish_error_ = pp_error;
if (pp_error == PP_ERROR_ABORTED) {
error_info_.SetReport(PP_NACL_ERROR_PNACL_PEXE_FETCH_ABORTED,
"PnaclCoordinator: pexe load failed (aborted).");
}
if (pp_error == PP_ERROR_NOACCESS) {
error_info_.SetReport(PP_NACL_ERROR_PNACL_PEXE_FETCH_NOACCESS,
"PnaclCoordinator: pexe load failed (no access).");
} else {
std::stringstream ss;
ss << "PnaclCoordinator: pexe load failed (pp_error=" << pp_error << ").";
error_info_.SetReport(PP_NACL_ERROR_PNACL_PEXE_FETCH_OTHER, ss.str());
}
if (translate_thread_->started())
translate_thread_->AbortSubprocesses();
else
TranslateFinished(pp_error);
} else {
// Compare download completion pct (100% now), to compile completion pct.
GetNaClInterface()->LogBytesCompiledVsDownloaded(
pnacl_options_.use_subzero, pexe_bytes_compiled_, pexe_size_);
translate_thread_->EndStream();
}
}
void PnaclCoordinator::BitcodeGotCompiled(int32_t pp_error,
int64_t bytes_compiled) {
DCHECK(pp_error == PP_OK);
pexe_bytes_compiled_ += bytes_compiled;
// Hold off reporting the last few bytes of progress, since we don't know
// when they are actually completely compiled. "bytes_compiled" only means
// that bytes were sent to the compiler.
if (expected_pexe_size_ != -1) {
if (!ShouldDelayProgressEvent()) {
GetNaClInterface()->DispatchEvent(plugin_->pp_instance(),
PP_NACL_EVENT_PROGRESS,
pexe_url_.c_str(),
PP_TRUE,
pexe_bytes_compiled_,
expected_pexe_size_);
}
} else {
GetNaClInterface()->DispatchEvent(plugin_->pp_instance(),
PP_NACL_EVENT_PROGRESS,
pexe_url_.c_str(),
PP_FALSE,
pexe_bytes_compiled_,
expected_pexe_size_);
}
}
pp::CompletionCallback PnaclCoordinator::GetCompileProgressCallback(
int64_t bytes_compiled) {
return callback_factory_.NewCallback(&PnaclCoordinator::BitcodeGotCompiled,
bytes_compiled);
}
void PnaclCoordinator::LoadCompiler() {
PLUGIN_PRINTF(("PnaclCoordinator::LoadCompiler"));
int64_t compiler_load_start_time = NaClGetTimeOfDayMicroseconds();
pp::CompletionCallback load_finished = callback_factory_.NewCallback(
&PnaclCoordinator::RunCompile, compiler_load_start_time);
PnaclResources::ResourceType compiler_type = pnacl_options_.use_subzero
? PnaclResources::SUBZERO
: PnaclResources::LLC;
// Transfer file_info ownership to the sel_ldr launcher.
PP_NaClFileInfo file_info = resources_->TakeFileInfo(compiler_type);
const std::string& url = resources_->GetUrl(compiler_type);
plugin_->LoadHelperNaClModule(url, file_info, &compiler_subprocess_,
load_finished);
}
void PnaclCoordinator::RunCompile(int32_t pp_error,
int64_t compiler_load_start_time) {
PLUGIN_PRINTF(
("PnaclCoordinator::RunCompile (pp_error=%" NACL_PRId32 ")\n", pp_error));
if (pp_error != PP_OK) {
ReportNonPpapiError(
PP_NACL_ERROR_PNACL_LLC_SETUP,
"PnaclCoordinator: Compiler process could not be created.");
return;
}
int64_t compiler_load_time_total =
NaClGetTimeOfDayMicroseconds() - compiler_load_start_time;
GetNaClInterface()->LogTranslateTime("NaCl.Perf.PNaClLoadTime.LoadCompiler",
compiler_load_time_total);
GetNaClInterface()->LogTranslateTime(
pnacl_options_.use_subzero
? "NaCl.Perf.PNaClLoadTime.LoadCompiler.Subzero"
: "NaCl.Perf.PNaClLoadTime.LoadCompiler.LLC",
compiler_load_time_total);
// Invoke llc followed by ld off the main thread. This allows use of
// blocking RPCs that would otherwise block the JavaScript main thread.
pp::CompletionCallback report_translate_finished =
callback_factory_.NewCallback(&PnaclCoordinator::TranslateFinished);
pp::CompletionCallback compile_finished =
callback_factory_.NewCallback(&PnaclCoordinator::LoadLinker);
CHECK(translate_thread_ != NULL);
translate_thread_->SetupState(
report_translate_finished, &compiler_subprocess_, &ld_subprocess_,
&obj_files_, num_threads_, temp_nexe_file_.get(),
&error_info_, &pnacl_options_, architecture_attributes_, this);
translate_thread_->RunCompile(compile_finished);
}
void PnaclCoordinator::LoadLinker(int32_t pp_error) {
PLUGIN_PRINTF(
("PnaclCoordinator::LoadLinker (pp_error=%" NACL_PRId32 ")\n", pp_error));
// Errors in the previous step would have skipped to TranslateFinished
// so we only expect PP_OK here.
DCHECK(pp_error == PP_OK);
if (pp_error != PP_OK) {
return;
}
ErrorInfo error_info;
int64_t ld_load_start_time = NaClGetTimeOfDayMicroseconds();
pp::CompletionCallback load_finished = callback_factory_.NewCallback(
&PnaclCoordinator::RunLink, ld_load_start_time);
// Transfer file_info ownership to the sel_ldr launcher.
PP_NaClFileInfo ld_file_info = resources_->TakeFileInfo(PnaclResources::LD);
plugin_->LoadHelperNaClModule(resources_->GetUrl(PnaclResources::LD),
ld_file_info, &ld_subprocess_, load_finished);
}
void PnaclCoordinator::RunLink(int32_t pp_error, int64_t ld_load_start_time) {
PLUGIN_PRINTF(
("PnaclCoordinator::RunLink (pp_error=%" NACL_PRId32 ")\n", pp_error));
if (pp_error != PP_OK) {
ReportNonPpapiError(
PP_NACL_ERROR_PNACL_LD_SETUP,
"PnaclCoordinator: Linker process could not be created.");
return;
}
GetNaClInterface()->LogTranslateTime(
"NaCl.Perf.PNaClLoadTime.LoadLinker",
NaClGetTimeOfDayMicroseconds() - ld_load_start_time);
translate_thread_->RunLink();
}
} // namespace plugin
|
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Author: kenton@google.com (Kenton Varda)
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
#include <google/protobuf/compiler/java/java_file.h>
#include <memory>
#include <set>
#include <google/protobuf/compiler/java/java_context.h>
#include <google/protobuf/compiler/java/java_enum.h>
#include <google/protobuf/compiler/java/java_enum_lite.h>
#include <google/protobuf/compiler/java/java_extension.h>
#include <google/protobuf/compiler/java/java_generator_factory.h>
#include <google/protobuf/compiler/java/java_helpers.h>
#include <google/protobuf/compiler/java/java_message.h>
#include <google/protobuf/compiler/java/java_name_resolver.h>
#include <google/protobuf/compiler/java/java_service.h>
#include <google/protobuf/compiler/java/java_shared_code_generator.h>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/stubs/strutil.h>
namespace google {
namespace protobuf {
namespace compiler {
namespace java {
namespace {
struct FieldDescriptorCompare {
bool operator()(const FieldDescriptor* f1, const FieldDescriptor* f2) const {
if (f1 == NULL) {
return false;
}
if (f2 == NULL) {
return true;
}
return f1->full_name() < f2->full_name();
}
};
typedef std::set<const FieldDescriptor*, FieldDescriptorCompare>
FieldDescriptorSet;
// Recursively searches the given message to collect extensions.
// Returns true if all the extensions can be recognized. The extensions will be
// appended in to the extensions parameter.
// Returns false when there are unknown fields, in which case the data in the
// extensions output parameter is not reliable and should be discarded.
bool CollectExtensions(const Message& message, FieldDescriptorSet* extensions) {
const Reflection* reflection = message.GetReflection();
// There are unknown fields that could be extensions, thus this call fails.
if (reflection->GetUnknownFields(message).field_count() > 0) return false;
std::vector<const FieldDescriptor*> fields;
reflection->ListFields(message, &fields);
for (int i = 0; i < fields.size(); i++) {
if (fields[i]->is_extension()) {
extensions->insert(fields[i]);
}
if (GetJavaType(fields[i]) == JAVATYPE_MESSAGE) {
if (fields[i]->is_repeated()) {
int size = reflection->FieldSize(message, fields[i]);
for (int j = 0; j < size; j++) {
const Message& sub_message =
reflection->GetRepeatedMessage(message, fields[i], j);
if (!CollectExtensions(sub_message, extensions)) return false;
}
} else {
const Message& sub_message = reflection->GetMessage(message, fields[i]);
if (!CollectExtensions(sub_message, extensions)) return false;
}
}
}
return true;
}
// Finds all extensions in the given message and its sub-messages. If the
// message contains unknown fields (which could be extensions), then those
// extensions are defined in alternate_pool.
// The message will be converted to a DynamicMessage backed by alternate_pool
// in order to handle this case.
void CollectExtensions(const FileDescriptorProto& file_proto,
const DescriptorPool& alternate_pool,
FieldDescriptorSet* extensions,
const TProtoStringType& file_data) {
if (!CollectExtensions(file_proto, extensions)) {
// There are unknown fields in the file_proto, which are probably
// extensions. We need to parse the data into a dynamic message based on the
// builder-pool to find out all extensions.
const Descriptor* file_proto_desc = alternate_pool.FindMessageTypeByName(
file_proto.GetDescriptor()->full_name());
GOOGLE_CHECK(file_proto_desc)
<< "Find unknown fields in FileDescriptorProto when building "
<< file_proto.name()
<< ". It's likely that those fields are custom options, however, "
"descriptor.proto is not in the transitive dependencies. "
"This normally should not happen. Please report a bug.";
DynamicMessageFactory factory;
std::unique_ptr<Message> dynamic_file_proto(
factory.GetPrototype(file_proto_desc)->New());
GOOGLE_CHECK(dynamic_file_proto.get() != NULL);
GOOGLE_CHECK(dynamic_file_proto->ParseFromString(file_data));
// Collect the extensions again from the dynamic message. There should be no
// more unknown fields this time, i.e. all the custom options should be
// parsed as extensions now.
extensions->clear();
GOOGLE_CHECK(CollectExtensions(*dynamic_file_proto, extensions))
<< "Find unknown fields in FileDescriptorProto when building "
<< file_proto.name()
<< ". It's likely that those fields are custom options, however, "
"those options cannot be recognized in the builder pool. "
"This normally should not happen. Please report a bug.";
}
}
// Our static initialization methods can become very, very large.
// So large that if we aren't careful we end up blowing the JVM's
// 64K bytes of bytecode/method. Fortunately, since these static
// methods are executed only once near the beginning of a program,
// there's usually plenty of stack space available and we can
// extend our methods by simply chaining them to another method
// with a tail call. This inserts the sequence call-next-method,
// end this one, begin-next-method as needed.
void MaybeRestartJavaMethod(io::Printer* printer, int* bytecode_estimate,
int* method_num, const char* chain_statement,
const char* method_decl) {
// The goal here is to stay under 64K bytes of jvm bytecode/method,
// since otherwise we hit a hardcoded limit in the jvm and javac will
// then fail with the error "code too large". This limit lets our
// estimates be off by a factor of two and still we're okay.
static const int bytesPerMethod = kMaxStaticSize;
if ((*bytecode_estimate) > bytesPerMethod) {
++(*method_num);
printer->Print(chain_statement, "method_num", StrCat(*method_num));
printer->Outdent();
printer->Print("}\n");
printer->Print(method_decl, "method_num", StrCat(*method_num));
printer->Indent();
*bytecode_estimate = 0;
}
}
} // namespace
FileGenerator::FileGenerator(const FileDescriptor* file, const Options& options,
bool immutable_api)
: file_(file),
java_package_(FileJavaPackage(file, immutable_api)),
message_generators_(file->message_type_count()),
extension_generators_(file->extension_count()),
context_(new Context(file, options)),
name_resolver_(context_->GetNameResolver()),
options_(options),
immutable_api_(immutable_api) {
classname_ = name_resolver_->GetFileClassName(file, immutable_api);
generator_factory_.reset(new ImmutableGeneratorFactory(context_.get()));
for (int i = 0; i < file_->message_type_count(); ++i) {
message_generators_[i].reset(
generator_factory_->NewMessageGenerator(file_->message_type(i)));
}
for (int i = 0; i < file_->extension_count(); ++i) {
extension_generators_[i].reset(
generator_factory_->NewExtensionGenerator(file_->extension(i)));
}
}
FileGenerator::~FileGenerator() {}
bool FileGenerator::Validate(TProtoStringType* error) {
// Check that no class name matches the file's class name. This is a common
// problem that leads to Java compile errors that can be hard to understand.
// It's especially bad when using the java_multiple_files, since we would
// end up overwriting the outer class with one of the inner ones.
if (name_resolver_->HasConflictingClassName(file_, classname_,
NameEquality::EXACT_EQUAL)) {
error->assign(file_->name());
error->append(
": Cannot generate Java output because the file's outer class name, "
"\"");
error->append(classname_);
error->append(
"\", matches the name of one of the types declared inside it. "
"Please either rename the type or use the java_outer_classname "
"option to specify a different outer class name for the .proto file.");
return false;
}
// Similar to the check above, but ignore the case this time. This is not a
// problem on Linux, but will lead to Java compile errors on Windows / Mac
// because filenames are case-insensitive on those platforms.
if (name_resolver_->HasConflictingClassName(
file_, classname_, NameEquality::EQUAL_IGNORE_CASE)) {
GOOGLE_LOG(WARNING)
<< file_->name() << ": The file's outer class name, \"" << classname_
<< "\", matches the name of one of the types declared inside it when "
<< "case is ignored. This can cause compilation issues on Windows / "
<< "MacOS. Please either rename the type or use the "
<< "java_outer_classname option to specify a different outer class "
<< "name for the .proto file to be safe.";
}
// Print a warning if optimize_for = LITE_RUNTIME is used.
if (file_->options().optimize_for() == FileOptions::LITE_RUNTIME &&
!options_.enforce_lite) {
GOOGLE_LOG(WARNING)
<< "The optimize_for = LITE_RUNTIME option is no longer supported by "
<< "protobuf Java code generator and is ignored--protoc will always "
<< "generate full runtime code for Java. To use Java Lite runtime, "
<< "users should use the Java Lite plugin instead. See:\n"
<< " "
"https://github.com/protocolbuffers/protobuf/blob/master/java/"
"lite.md";
}
return true;
}
void FileGenerator::Generate(io::Printer* printer) {
// We don't import anything because we refer to all classes by their
// fully-qualified names in the generated source.
printer->Print(
"// Generated by the protocol buffer compiler. DO NOT EDIT!\n"
"// source: $filename$\n"
"\n",
"filename", file_->name());
if (!java_package_.empty()) {
printer->Print(
"package $package$;\n"
"\n",
"package", java_package_);
}
PrintGeneratedAnnotation(
printer, '$', options_.annotate_code ? classname_ + ".java.pb.meta" : "");
printer->Print(
"$deprecation$public final class $classname$ {\n"
" private $ctor$() {}\n",
"deprecation",
file_->options().deprecated() ? "@java.lang.Deprecated " : "",
"classname", classname_, "ctor", classname_);
printer->Annotate("classname", file_->name());
printer->Indent();
// -----------------------------------------------------------------
printer->Print(
"public static void registerAllExtensions(\n"
" com.google.protobuf.ExtensionRegistryLite registry) {\n");
printer->Indent();
for (int i = 0; i < file_->extension_count(); i++) {
extension_generators_[i]->GenerateRegistrationCode(printer);
}
for (int i = 0; i < file_->message_type_count(); i++) {
message_generators_[i]->GenerateExtensionRegistrationCode(printer);
}
printer->Outdent();
printer->Print("}\n");
if (HasDescriptorMethods(file_, context_->EnforceLite())) {
// Overload registerAllExtensions for the non-lite usage to
// redundantly maintain the original signature (this is
// redundant because ExtensionRegistryLite now invokes
// ExtensionRegistry in the non-lite usage). Intent is
// to remove this in the future.
printer->Print(
"\n"
"public static void registerAllExtensions(\n"
" com.google.protobuf.ExtensionRegistry registry) {\n"
" registerAllExtensions(\n"
" (com.google.protobuf.ExtensionRegistryLite) registry);\n"
"}\n");
}
// -----------------------------------------------------------------
if (!MultipleJavaFiles(file_, immutable_api_)) {
for (int i = 0; i < file_->enum_type_count(); i++) {
if (HasDescriptorMethods(file_, context_->EnforceLite())) {
EnumGenerator(file_->enum_type(i), immutable_api_, context_.get())
.Generate(printer);
} else {
EnumLiteGenerator(file_->enum_type(i), immutable_api_, context_.get())
.Generate(printer);
}
}
for (int i = 0; i < file_->message_type_count(); i++) {
message_generators_[i]->GenerateInterface(printer);
message_generators_[i]->Generate(printer);
}
if (HasGenericServices(file_, context_->EnforceLite())) {
for (int i = 0; i < file_->service_count(); i++) {
std::unique_ptr<ServiceGenerator> generator(
generator_factory_->NewServiceGenerator(file_->service(i)));
generator->Generate(printer);
}
}
}
// Extensions must be generated in the outer class since they are values,
// not classes.
for (int i = 0; i < file_->extension_count(); i++) {
extension_generators_[i]->Generate(printer);
}
// Static variables. We'd like them to be final if possible, but due to
// the JVM's 64k size limit on static blocks, we have to initialize some
// of them in methods; thus they cannot be final.
int static_block_bytecode_estimate = 0;
for (int i = 0; i < file_->message_type_count(); i++) {
message_generators_[i]->GenerateStaticVariables(
printer, &static_block_bytecode_estimate);
}
printer->Print("\n");
if (HasDescriptorMethods(file_, context_->EnforceLite())) {
if (immutable_api_) {
GenerateDescriptorInitializationCodeForImmutable(printer);
} else {
GenerateDescriptorInitializationCodeForMutable(printer);
}
} else {
printer->Print("static {\n");
printer->Indent();
int bytecode_estimate = 0;
int method_num = 0;
for (int i = 0; i < file_->message_type_count(); i++) {
bytecode_estimate +=
message_generators_[i]->GenerateStaticVariableInitializers(printer);
MaybeRestartJavaMethod(
printer, &bytecode_estimate, &method_num,
"_clinit_autosplit_$method_num$();\n",
"private static void _clinit_autosplit_$method_num$() {\n");
}
printer->Outdent();
printer->Print("}\n");
}
printer->Print(
"\n"
"// @@protoc_insertion_point(outer_class_scope)\n");
printer->Outdent();
printer->Print("}\n");
}
void FileGenerator::GenerateDescriptorInitializationCodeForImmutable(
io::Printer* printer) {
printer->Print(
"public static com.google.protobuf.Descriptors.FileDescriptor\n"
" getDescriptor() {\n"
" return descriptor;\n"
"}\n"
"private static $final$ com.google.protobuf.Descriptors.FileDescriptor\n"
" descriptor;\n"
"static {\n",
// TODO(dweis): Mark this as final.
"final", "");
printer->Indent();
SharedCodeGenerator shared_code_generator(file_, options_);
shared_code_generator.GenerateDescriptors(printer);
int bytecode_estimate = 0;
int method_num = 0;
for (int i = 0; i < file_->message_type_count(); i++) {
bytecode_estimate +=
message_generators_[i]->GenerateStaticVariableInitializers(printer);
MaybeRestartJavaMethod(
printer, &bytecode_estimate, &method_num,
"_clinit_autosplit_dinit_$method_num$();\n",
"private static void _clinit_autosplit_dinit_$method_num$() {\n");
}
for (int i = 0; i < file_->extension_count(); i++) {
bytecode_estimate +=
extension_generators_[i]->GenerateNonNestedInitializationCode(printer);
MaybeRestartJavaMethod(
printer, &bytecode_estimate, &method_num,
"_clinit_autosplit_dinit_$method_num$();\n",
"private static void _clinit_autosplit_dinit_$method_num$() {\n");
}
// Proto compiler builds a DescriptorPool, which holds all the descriptors to
// generate, when processing the ".proto" files. We call this DescriptorPool
// the parsed pool (a.k.a. file_->pool()).
//
// Note that when users try to extend the (.*)DescriptorProto in their
// ".proto" files, it does not affect the pre-built FileDescriptorProto class
// in proto compiler. When we put the descriptor data in the file_proto, those
// extensions become unknown fields.
//
// Now we need to find out all the extension value to the (.*)DescriptorProto
// in the file_proto message, and prepare an ExtensionRegistry to return.
//
// To find those extensions, we need to parse the data into a dynamic message
// of the FileDescriptor based on the builder-pool, then we can use
// reflections to find all extension fields
FileDescriptorProto file_proto;
file_->CopyTo(&file_proto);
TProtoStringType file_data;
file_proto.SerializeToString(&file_data);
FieldDescriptorSet extensions;
CollectExtensions(file_proto, *file_->pool(), &extensions, file_data);
if (extensions.size() > 0) {
// Must construct an ExtensionRegistry containing all existing extensions
// and use it to parse the descriptor data again to recognize extensions.
printer->Print(
"com.google.protobuf.ExtensionRegistry registry =\n"
" com.google.protobuf.ExtensionRegistry.newInstance();\n");
FieldDescriptorSet::iterator it;
for (it = extensions.begin(); it != extensions.end(); it++) {
std::unique_ptr<ExtensionGenerator> generator(
generator_factory_->NewExtensionGenerator(*it));
bytecode_estimate += generator->GenerateRegistrationCode(printer);
MaybeRestartJavaMethod(
printer, &bytecode_estimate, &method_num,
"_clinit_autosplit_dinit_$method_num$(registry);\n",
"private static void _clinit_autosplit_dinit_$method_num$(\n"
" com.google.protobuf.ExtensionRegistry registry) {\n");
}
printer->Print(
"com.google.protobuf.Descriptors.FileDescriptor\n"
" .internalUpdateFileDescriptor(descriptor, registry);\n");
}
// Force descriptor initialization of all dependencies.
for (int i = 0; i < file_->dependency_count(); i++) {
if (ShouldIncludeDependency(file_->dependency(i), true)) {
TProtoStringType dependency =
name_resolver_->GetImmutableClassName(file_->dependency(i));
printer->Print("$dependency$.getDescriptor();\n", "dependency",
dependency);
}
}
printer->Outdent();
printer->Print("}\n");
}
void FileGenerator::GenerateDescriptorInitializationCodeForMutable(
io::Printer* printer) {
printer->Print(
"public static com.google.protobuf.Descriptors.FileDescriptor\n"
" getDescriptor() {\n"
" return descriptor;\n"
"}\n"
"private static final com.google.protobuf.Descriptors.FileDescriptor\n"
" descriptor;\n"
"static {\n");
printer->Indent();
printer->Print(
"descriptor = $immutable_package$.$descriptor_classname$.descriptor;\n",
"immutable_package", FileJavaPackage(file_, true), "descriptor_classname",
name_resolver_->GetDescriptorClassName(file_));
for (int i = 0; i < file_->message_type_count(); i++) {
message_generators_[i]->GenerateStaticVariableInitializers(printer);
}
for (int i = 0; i < file_->extension_count(); i++) {
extension_generators_[i]->GenerateNonNestedInitializationCode(printer);
}
// Check if custom options exist. If any, try to load immutable classes since
// custom options are only represented with immutable messages.
FileDescriptorProto file_proto;
file_->CopyTo(&file_proto);
TProtoStringType file_data;
file_proto.SerializeToString(&file_data);
FieldDescriptorSet extensions;
CollectExtensions(file_proto, *file_->pool(), &extensions, file_data);
if (extensions.size() > 0) {
// Try to load immutable messages' outer class. Its initialization code
// will take care of interpreting custom options.
printer->Print(
"try {\n"
// Note that we have to load the immutable class dynamically here as
// we want the mutable code to be independent from the immutable code
// at compile time. It is required to implement dual-compile for
// mutable and immutable API in blaze.
" java.lang.Class<?> immutableClass = java.lang.Class.forName(\n"
" \"$immutable_classname$\");\n"
"} catch (java.lang.ClassNotFoundException e) {\n",
"immutable_classname", name_resolver_->GetImmutableClassName(file_));
printer->Indent();
// The immutable class can not be found. We try our best to collect all
// custom option extensions to interpret the custom options.
printer->Print(
"com.google.protobuf.ExtensionRegistry registry =\n"
" com.google.protobuf.ExtensionRegistry.newInstance();\n"
"com.google.protobuf.MessageLite defaultExtensionInstance = null;\n");
FieldDescriptorSet::iterator it;
for (it = extensions.begin(); it != extensions.end(); it++) {
const FieldDescriptor* field = *it;
TProtoStringType scope;
if (field->extension_scope() != NULL) {
scope = name_resolver_->GetMutableClassName(field->extension_scope()) +
".getDescriptor()";
} else {
scope = FileJavaPackage(field->file(), true) + "." +
name_resolver_->GetDescriptorClassName(field->file()) +
".descriptor";
}
if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
printer->Print(
"defaultExtensionInstance = com.google.protobuf.Internal\n"
" .getDefaultInstance(\"$class$\");\n"
"if (defaultExtensionInstance != null) {\n"
" registry.add(\n"
" $scope$.getExtensions().get($index$),\n"
" (com.google.protobuf.Message) defaultExtensionInstance);\n"
"}\n",
"scope", scope, "index", StrCat(field->index()), "class",
name_resolver_->GetImmutableClassName(field->message_type()));
} else {
printer->Print("registry.add($scope$.getExtensions().get($index$));\n",
"scope", scope, "index", StrCat(field->index()));
}
}
printer->Print(
"com.google.protobuf.Descriptors.FileDescriptor\n"
" .internalUpdateFileDescriptor(descriptor, registry);\n");
printer->Outdent();
printer->Print("}\n");
}
// Force descriptor initialization of all dependencies.
for (int i = 0; i < file_->dependency_count(); i++) {
if (ShouldIncludeDependency(file_->dependency(i), false)) {
TProtoStringType dependency =
name_resolver_->GetMutableClassName(file_->dependency(i));
printer->Print("$dependency$.getDescriptor();\n", "dependency",
dependency);
}
}
printer->Outdent();
printer->Print("}\n");
}
template <typename GeneratorClass, typename DescriptorClass>
static void GenerateSibling(
const TProtoStringType& package_dir, const TProtoStringType& java_package,
const DescriptorClass* descriptor, GeneratorContext* context,
std::vector<TProtoStringType>* file_list, bool annotate_code,
std::vector<TProtoStringType>* annotation_list, const TProtoStringType& name_suffix,
GeneratorClass* generator,
void (GeneratorClass::*pfn)(io::Printer* printer)) {
TProtoStringType filename =
package_dir + descriptor->name() + name_suffix + ".java";
file_list->push_back(filename);
TProtoStringType info_full_path = filename + ".pb.meta";
GeneratedCodeInfo annotations;
io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector(
&annotations);
std::unique_ptr<io::ZeroCopyOutputStream> output(context->Open(filename));
io::Printer printer(output.get(), '$',
annotate_code ? &annotation_collector : NULL);
printer.Print(
"// Generated by the protocol buffer compiler. DO NOT EDIT!\n"
"// source: $filename$\n"
"\n",
"filename", descriptor->file()->name());
if (!java_package.empty()) {
printer.Print(
"package $package$;\n"
"\n",
"package", java_package);
}
(generator->*pfn)(&printer);
if (annotate_code) {
std::unique_ptr<io::ZeroCopyOutputStream> info_output(
context->Open(info_full_path));
annotations.SerializeToZeroCopyStream(info_output.get());
annotation_list->push_back(info_full_path);
}
}
void FileGenerator::GenerateSiblings(
const TProtoStringType& package_dir, GeneratorContext* context,
std::vector<TProtoStringType>* file_list,
std::vector<TProtoStringType>* annotation_list) {
if (MultipleJavaFiles(file_, immutable_api_)) {
for (int i = 0; i < file_->enum_type_count(); i++) {
if (HasDescriptorMethods(file_, context_->EnforceLite())) {
EnumGenerator generator(file_->enum_type(i), immutable_api_,
context_.get());
GenerateSibling<EnumGenerator>(
package_dir, java_package_, file_->enum_type(i), context, file_list,
options_.annotate_code, annotation_list, "", &generator,
&EnumGenerator::Generate);
} else {
EnumLiteGenerator generator(file_->enum_type(i), immutable_api_,
context_.get());
GenerateSibling<EnumLiteGenerator>(
package_dir, java_package_, file_->enum_type(i), context, file_list,
options_.annotate_code, annotation_list, "", &generator,
&EnumLiteGenerator::Generate);
}
}
for (int i = 0; i < file_->message_type_count(); i++) {
if (immutable_api_) {
GenerateSibling<MessageGenerator>(
package_dir, java_package_, file_->message_type(i), context,
file_list, options_.annotate_code, annotation_list, "OrBuilder",
message_generators_[i].get(), &MessageGenerator::GenerateInterface);
}
GenerateSibling<MessageGenerator>(
package_dir, java_package_, file_->message_type(i), context,
file_list, options_.annotate_code, annotation_list, "",
message_generators_[i].get(), &MessageGenerator::Generate);
}
if (HasGenericServices(file_, context_->EnforceLite())) {
for (int i = 0; i < file_->service_count(); i++) {
std::unique_ptr<ServiceGenerator> generator(
generator_factory_->NewServiceGenerator(file_->service(i)));
GenerateSibling<ServiceGenerator>(
package_dir, java_package_, file_->service(i), context, file_list,
options_.annotate_code, annotation_list, "", generator.get(),
&ServiceGenerator::Generate);
}
}
}
}
TProtoStringType FileGenerator::GetKotlinClassname() {
return name_resolver_->GetFileClassName(file_, immutable_api_, true);
}
void FileGenerator::GenerateKotlinSiblings(
const TProtoStringType& package_dir, GeneratorContext* context,
std::vector<TProtoStringType>* file_list,
std::vector<TProtoStringType>* annotation_list) {
for (int i = 0; i < file_->message_type_count(); i++) {
const Descriptor* descriptor = file_->message_type(i);
MessageGenerator* generator = message_generators_[i].get();
auto open_file = [context](const TProtoStringType& filename) {
return std::unique_ptr<io::ZeroCopyOutputStream>(context->Open(filename));
};
TProtoStringType filename = package_dir + descriptor->name() + "Kt.kt";
file_list->push_back(filename);
TProtoStringType info_full_path = filename + ".pb.meta";
GeneratedCodeInfo annotations;
io::AnnotationProtoCollector<GeneratedCodeInfo> annotation_collector(
&annotations);
auto output = open_file(filename);
io::Printer printer(
output.get(), '$',
options_.annotate_code ? &annotation_collector : nullptr);
printer.Print(
"//Generated by the protocol buffer compiler. DO NOT EDIT!\n"
"// source: $filename$\n"
"\n",
"filename", descriptor->file()->name());
if (!java_package_.empty()) {
printer.Print(
"package $package$;\n"
"\n",
"package", java_package_);
}
generator->GenerateKotlinMembers(&printer);
generator->GenerateTopLevelKotlinMembers(&printer);
if (options_.annotate_code) {
auto info_output = open_file(info_full_path);
annotations.SerializeToZeroCopyStream(info_output.get());
annotation_list->push_back(info_full_path);
}
}
}
bool FileGenerator::ShouldIncludeDependency(const FileDescriptor* descriptor,
bool immutable_api) {
return true;
}
} // namespace java
} // namespace compiler
} // namespace protobuf
} // namespace google
|
; ----------------------------------------------------------------------------
; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and
; Amstrad CPC.
; ----------------------------------------------------------------------------
; ------------------
; 'set_border_color'
; ------------------
; Sets the border color.
;
; In A color.
; Saves DE, HL.
set_border_color
and 7
ld (border_color),a
out ($fe),a
ret
border_color .db 0
; ----------------------------
; 'scradr' Calc Screen Address
; ----------------------------
;
; In DE y,x position in characters.
; Out DE screen address.
; Saves HL, BC
; A screen address has the form 010B B000 LLLC CCCC and on entry we have
; 000B BLLL 000C CCCC.
scradr ld a,d
and 7
rrca
rrca
rrca
or e
ld e,a
ld a,d
and $18
or $40
ld d,a
ret
; -----------------
; 'set_char_color'
; -----------------
; Sets the char color for the next drawing operations.
;
; In A ink color + paper color [ + LIT ] [ + FLASH ]
; Saves BC, DE, HL.
set_char_color
ld (char_color),a
ret
char_color .db 0
; ----------------------------------
; 'drchrc' Draw Character With Color
; ----------------------------------
; Draws a character on the screen using the current char color.
;
; In HL address to 8 bytes of char data. DE y,x in chars.
; Saves A,C
drchrc push af
call scradr
; Draw character.
push de
ld b,8
drchrc1 ld a,(hl)
ld (de),a
inc hl
inc d
djnz drchrc1
pop hl
; Draw attribute.
ld a,h
rrca
rrca
rrca
and 7
or $58
ld h,a
ld a,(char_color)
ld (hl),a
pop af
ret
; ------------------------
; 'rand' Get Random Number
; ------------------------
; Returns a random byte.
;
; Out A random number.
; Saves HL, DE, BC.
rand
; ld a,r
; ret
; Run through the ROM using Random Pointer and take next value.
; From address $0500 seems more random.
push hl
ld a,(randp)
ld l,a
ld h,$05
inc a
ld (randp),a
ld a,(hl)
pop hl
ret
; This one is taken from the Internet. x(i+1)=(5*x(i)+1) mod 256
; To be tested later.
; ld a,seed
; ld b,a
; add a,a
; add a,a
; add a,b
; inc a
; 0-255. Incremented each time we call rand.
randp .db 0
; -------------
; 'install_irq'
; -------------
; Installs an interrupt routine and enables interrupts.
;
; In HL interrupt routine address.
install_irq
; Install a jump to our interrupt routine at address INTERR.
ld a,$c3
ld (INTERR),a
ld (INTERR+1),hl
; Create interrupt table and enable interrupts.
ld hl,INTTAB
ld bc,257
ld a,h
ld i,a
ld a,INTERR&255
call memset
im 2
ei
ret
; Interrupt JP address.
INTERR .equ $fdfd
INTTAB .equ $fe00
; ---------------------
; 'clrscr' Clear Screen
; ---------------------
; The screen is cleared and attributes are set to a color.
;
; In A color.
clrscr push af
ld hl,vram
ld bc,VRAMSZ
xor a
call memset
ld hl,aram
ld bc,ARAMSZ
pop af
call memset
ret
; ---------------------
; 'clrwin' Clear window
; ---------------------
; Clears some rect of the screen to a color.
;
; In A color. D,E y,x char coords. B,C height,width in chars.
clrwin
call set_char_color
; Get in HL the address of SPACE character in ROM.
ld hl,$3d00
clrwiny
; For all rows.
push bc
push de
clrwinx
; For all columns.
push de
push hl
call drchrc
pop hl
pop de
inc e
dec c
jr nz,clrwinx
; Next row.
pop de
pop bc
inc d
djnz clrwiny
ret
; ------
; 'beep'
; ------
; This is the ROM BEEPER routine, but we don't want it to enable
; interrupts at end and we use our own boder_color variable.
;
; In HL period = 437500 / note_freq - 29.5 (or - 30.125 says the ROM)
; DE duration = note_freq * secs
beep push ix
ld a,l
srl l
srl l
cpl
and $03
ld c,a
ld b,0
ld ix,beep1
add ix,bc
ld a,(border_color)
or $08
beep1 nop
nop
nop
inc b
inc c
beep5 dec c
jr nz,beep5
ld c,$3f
dec b
jp nz,beep5
xor $10
out ($fe),a
ld b,h
ld c,a
bit 4,a
jr nz,beep6
ld a,d
or e
jr z,beep7
ld a,c
ld c,l
dec de
jp (ix)
beep6 ld c,l
inc c
jp (ix)
beep7 pop ix
ret
; -----------------------
; 'romchar' ROM character
; -----------------------
; Returns the address of character data in ROM.
;
; In A character code between 32 and 127.
; Out HL address of character data.
; Saves BC, DE
romchar
; $3d00 is address of char 32 (space) in ROM.
sub 32
ld hl,$3d00
jp chadr
; -------------------------------
; 'atradr' VRAM Attribute Address
; -------------------------------
; Given position in characters, calculates the corresponding vram
; attribute adddress.
;
; In D,E y,x in character coordinates.
; Out DE vram attribute address.
; Saves HL, BC
; An attribute address has the form 010110BB LLLC CCCC and on entry
; we have 000B BLLL 000C CCCC .
atradr ld a,d
rrca
rrca
rrca
ld d,a
and $e0
or e
ld e,a
ld a,d
and 3
or $58
ld d,a
ret
; ---------------------
; 'pollk' Poll keyboard
; ---------------------
; Get the state of all rows in two buffers, rkeys and fkeys.
;
pollk
push ix
ld hl,skeys
ld de,rkeys
ld ix,fkeys
; In C we are going to rotate a 0 bit to select one of the 8 keyboard rows.
ld c,$fe
; 8 keyboard rows.
ld b,8
pollk1
; Reset first pressed keys.
ld (ix+0),0
; Save real keys in saved keys.
ld a,(de)
ld (hl),a
; Get row state.
ld a,c
in a,(KBPORT)
; Always 1 in 3 upper rows, just in case...
or $e0
; Complement, only 1 for pressed keys, and save in real keys buffer.
cpl
ld (de),a
; Calculate which keys are pressed and weren't the last time, and save in
; first pressed keys.
xor (hl)
ex de,hl
and (hl)
ex de,hl
ld (ix+0),a
; Next row.
inc hl
inc de
inc ix
rlc c
djnz pollk1
pop ix
ret
; Real state of keys for each of the 8 rows (bit set pressed).
rkeys .fill 8, 0
; Last frame keys state.
skeys .fill 8, 0
; First pressed keys. Keys that have been pressed and weren't last frame.
fkeys .fill 8, 0
; ------------------------------
; 'iskeyfp' Is key first pressed
; ------------------------------
; Checks if a key has been pressed this frame and wasn't last frame.
;
; In A bits aaaaa bbb, where b is keyboard row to check and aaaaa has one
; bit 1 and the rest 0 for the key we want to check.
; Out ZF=0 if the key is pressed.
; Saves BC, DE, HL.
iskeyfp push hl
ld hl,fkeys
call chkkey
pop hl
ret
; ---------
; 'keydown'
; ---------
; Checks if a key is pressed.
;
; In A bits aaaaa bbb, where b is keyboard row to check and aaaaa has one
; bit 1 and the rest 0 for the key we want to check.
; Out ZF=0 if the key is pressed.
; Saves BC, DE, HL.
keydown push hl
ld hl,rkeys
call chkkey
pop hl
ret
; ------------------
; 'chkkey' Check key
; ------------------
; Checks for a key in real keys or first pressed keys.
;
; In A bits aaaaa bbb, where b is keyboard row to check and aaaaa has one
; bit 1 and the rest 0 for the key we want to check.
; HL either rkeys or fkeys.
; Out ZF=0 if the key is pressed.
; Saves BC, DE.
chkkey push bc
push af
and 7
ld c,a
ld b,0
add hl,bc
pop af
rrca
rrca
rrca
and $1f
and (hl)
pop bc
ret
; --------
; 'getkey'
; --------
; Gets the keycode of a key that has been pressed and wasn't before.
;
; Out A 0 if no key first pressed, or key code if key first pressed.
; Saves BC, DE, HL.
getkey
push bc
push hl
ld hl,fkeys
ld b,8
getkey_loop
xor a
or (hl)
jr nz,getkey_any
inc hl
djnz getkey_loop
jr getkey_end
getkey_any
; A key was pressed, take first.
; Ultra trick to select the leftmost bit that is active and only leave it and
; reset the others.
ld c,a
dec a
and c
xor c
; Build key code (A << 3) | (8 - B)
rlca
rlca
rlca
ld c,a
ld a,8
sub b
or c
getkey_end
pop hl
pop bc
ret
; ------------------
; 'polli' Poll input
; ------------------
;
; This intends to be a faster way to check input than pollk, for
; gameplay. Uses rinput and finput to set only 8 actions that can be on or off.
; Handles joysticks and keyboard, being transparent to the code.
; 'poll_handler' must contain the function to call: poll_keyboard,
; poll_sinclair1, poll_kempston.
polli ld hl,(poll_handler)
jp (hl)
; Handler to set for keyboard or joysticks.
poll_handler .dw poll_keyboard
; Real state of inputs, first pressed inputs, saved inputs.
rinput .db 0
finput .db 0
sinput .db 0
; Key table to set by game (set_keys).
; Ordered as Kempston joystick.
keyt
.db %10111111, %00000100 ; K
.db %10111111, %00010000 ; H
.db %10111111, %00001000 ; J
.db %11011111, %00001000 ; U
.db %11111101, %00000001 ; A
.db %11111101, %00000010 ; S
.db 0, 0
.db 0, 0
; For the Sinclair Joystick, that maps on keys, we use this table.
; 'set_keys' modify this table as well.
; Ordered as Kempston joystick.
sincl1_keyt
.db %11101111, %00001000 ; 7
.db %11101111, %00010000 ; 6
.db %11101111, %00000100 ; 8
.db %11101111, %00000010 ; 9
.db %11101111, %00000001 ; 0
.db %11111101, %00000010 ; S
.db 0, 0
.db 0, 0
; ---------------
; 'poll_keyboard'
; ---------------
; Keyboard poll handler.
poll_keyboard
ld hl,keyt
jp poll_kb
; ----------------
; 'poll_sinclair1'
; ----------------
; Sinclair 1 joystick handler.
poll_sinclair1
ld hl,sincl1_keyt
jp poll_kb
; ---------
; 'poll_kb'
; ---------
; Checks keyboard.
; In HL table to check.
poll_kb call input_pre
ld e,0
ld bc,+(KEYTSZ<<8)+1
call poll_key_table
jp input_post
; ---------------
; 'poll_kempston'
; ---------------
; Kempston joystick handler.
poll_kempston
call input_pre
; Read kempston.
ld bc,31
in a,(c)
and $1f
ld e,a
; Don't poll the rest of keys if only need 5.
ld a,KEYTSZ
cp 5
jp z,input_post
; Poll the rest of keys.
ld hl,keyt+10
ld bc,+((KEYTSZ-5)<<8)+(1<<5)
call poll_key_table
jp input_post
; ----------------
; 'poll_key_table'
; ----------------
;
; In HL key table. C first bit to set in inputs. B n keys to check.
; E should be 0 on entry or already contain some bits on.
; Out E with bits set on keys pressed.
poll_key_table
; Read row.
ld a,(hl)
in a,(KBPORT)
inc hl
cpl
; Check specific key.
and (hl)
inc hl
jr z,poll_key_table_2
; The key is on, set bit in e.
ld a,e
or c
ld e,a
poll_key_table_2
; Next key.
rlc c
djnz poll_key_table
ret
; -----------
; 'input_pre'
; -----------
input_pre
; Reset first pressed input.
xor a
ld (finput),a
; Save input.
ld a,(rinput)
ld (sinput),a
ret
; ------------
; 'input_post'
; ------------
;
; In E bits set for active inputs.
input_post
; Set the real key states.
ld a,e
ld (rinput),a
; Set keys first pressed.
ld hl,sinput
xor (hl)
ld hl,rinput
and (hl)
ld (finput),a
ret
; ----------
; 'set_keys'
; ----------
; Sets the keys to use for gameplay (in keyt and sincl_keyt).
;
; In HL list of keycodes ordered as in kempston joystick.
set_keys
ld de,keyt
ld c,KEYTSZ
set_keys_loop
ld a,(hl)
; Select bits for row number (0-7).
and 7
; Set row numer from 1-8.
inc a
; We will rotate row times.
ld b,a
; Put leftmost bit 0.
ld a,$7f
set_keys_rotate
; Calculate row, all bits 1 except the numbered B.
rlca
djnz set_keys_rotate
; Set in table the row.
ld (de),a
inc de
; Now set the key code.
ld a,(hl)
rrca
rrca
rrca
and $1f
; Load in table.
ld (de),a
inc de
; Next key.
inc hl
dec c
jr nz,set_keys_loop
; Now, copy in sinclair joystick table.
ld hl,keyt+10
ld de,sincl1_keyt+10
ld bc,6
ldir
ret
; ---------------
; 'kc2char'
; ---------------
; Transforms a keycode into a character code.
;
; In A keycode.
; Out A character code.
; Saves BC.
kc2char
; The 3 lower bits complemented.
ld e,a
cpl
and 7
ld d,a
; For the upper 5 bits, we must see where the bit set is.
ld a,e
ld e,255
kc2char_count
rlca
inc e
jr nc,kc2char_count
ld a,e
rlca
rlca
rlca
or d
; Get character code form ROM table at $0205.
ld e,a
ld d,0
ld hl,$0205
add hl,de
ld a,(hl)
ret
; ----------------------------
; 'preimt' Prepare Image Table
; ----------------------------
; Prepares an Image Table. Takes the first image, copies into the second
; with one extra column on the right, shifts one pixel left this second
; one and builds the rest each one shifted one more position to the
; right.
;
; In HL Image Table pointer.
preimt
; Set IX as Image Table.
push hl
pop ix
; Get first image address.
ld e,(hl)
inc hl
ld d,(hl)
ex de,hl
; Expand first image into second.
inc ix
inc ix
ld e,(ix+0)
ld d,(ix+1)
push de
ld a,1
call cppad
pop hl
; Rotate once, then copy and rotate.
ld b,7
push bc
jr preimt1
; Copy.
preimt2 push bc
inc ix
inc ix
ld e,(ix+0)
ld d,(ix+1)
push de
xor a
call cppad
pop hl
; Rotate.
preimt1 push hl
call rotar
pop hl
pop bc
djnz preimt2
ret
; --------------------
; 'rotar' Rotate Right
; --------------------
; Shifts an image one pixel to the right.
;
; In HL Image address.
rotar
; Load B width, C height.
ld b,(hl)
inc hl
ld c,(hl)
inc hl
; Shift each line to the right.
ld a,b
rotar2 or a
rotar1 rr (hl)
inc hl
djnz rotar1
ld b,a
dec c
jr nz,rotar2
ret
#include "ay.asm"
#include "bbuf_zx.asm"
#include "bbuf.asm"
|
/*!
* Copyright (c) 2016 by Contributors
* \file symbol.hpp
* \brief implementation of the symbol
* \author Zhang Chen, Chuntao Hong
*/
#ifndef MXNETCPP_SYMBOL_HPP
#define MXNETCPP_SYMBOL_HPP
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "logging.h"
#include "symbol.h"
namespace mxnet {
namespace cpp {
OpMap *Symbol::op_map_ = new OpMap();
Symbol::Symbol(SymbolHandle handle) {
blob_ptr_ = std::make_shared<SymBlob>(handle);
}
Symbol::Symbol(const std::string &name) {
SymbolHandle handle;
CHECK_EQ(MXSymbolCreateVariable(name.c_str(), &(handle)), 0);
blob_ptr_ = std::make_shared<SymBlob>(handle);
}
Symbol Symbol::Variable(const std::string &name) { return Symbol(name); }
Symbol Symbol::operator[](int index) {
SymbolHandle out;
MXSymbolGetOutput(GetHandle(), index, &out);
return Symbol(out);
}
Symbol Symbol::operator[](const std::string &index) {
auto outputs = ListOutputs();
for (mx_uint i = 0; i < outputs.size(); ++i) {
if (outputs[i] == index) {
return (*this)[i];
}
}
LOG_FATAL.stream() << "Cannot find output that matches name " << index;
return (*this)[0];
}
Symbol Symbol::Group(const std::vector<Symbol> &symbols) {
SymbolHandle out;
std::vector<SymbolHandle> handle_list;
for (const auto &t : symbols) {
handle_list.push_back(t.GetHandle());
}
MXSymbolCreateGroup(handle_list.size(), handle_list.data(), &out);
return Symbol(out);
}
Symbol Symbol::Load(const std::string &file_name) {
SymbolHandle handle;
CHECK_EQ(MXSymbolCreateFromFile(file_name.c_str(), &(handle)), 0);
return Symbol(handle);
}
Symbol Symbol::LoadJSON(const std::string &json_str) {
SymbolHandle handle;
CHECK_EQ(MXSymbolCreateFromJSON(json_str.c_str(), &(handle)), 0);
return Symbol(handle);
}
void Symbol::Save(const std::string &file_name) {
CHECK_EQ(MXSymbolSaveToFile(GetHandle(), file_name.c_str()), 0);
}
std::string Symbol::ToJSON() {
const char *out_json;
CHECK_EQ(MXSymbolSaveToJSON(GetHandle(), &out_json), 0);
return std::string(out_json);
}
Symbol Symbol::GetInternals() const {
SymbolHandle handle;
CHECK_EQ(MXSymbolGetInternals(GetHandle(), &handle), 0);
return Symbol(handle);
}
Symbol::Symbol(const std::string &operator_name, const std::string &name,
std::vector<const char *> input_keys,
std::vector<SymbolHandle> input_values,
std::vector<const char *> config_keys,
std::vector<const char *> config_values) {
SymbolHandle handle;
AtomicSymbolCreator creator = op_map_->GetSymbolCreator(operator_name);
MXSymbolCreateAtomicSymbol(creator, config_keys.size(), config_keys.data(),
config_values.data(), &handle);
MXSymbolCompose(handle, operator_name.c_str(), input_keys.size(),
input_keys.data(), input_values.data());
blob_ptr_ = std::make_shared<SymBlob>(handle);
}
Symbol Symbol::Copy() const {
SymbolHandle handle;
CHECK_EQ(MXSymbolCopy(GetHandle(), &handle), 0);
return Symbol(handle);
}
std::vector<std::string> Symbol::ListArguments() const {
std::vector<std::string> ret;
mx_uint size;
const char **sarr;
MXSymbolListArguments(GetHandle(), &size, &sarr);
for (mx_uint i = 0; i < size; ++i) {
ret.push_back(std::string(sarr[i]));
}
return ret;
}
std::vector<std::string> Symbol::ListOutputs() const {
std::vector<std::string> ret;
mx_uint size;
const char **sarr;
MXSymbolListOutputs(GetHandle(), &size, &sarr);
for (mx_uint i = 0; i < size; ++i) {
ret.push_back(std::string(sarr[i]));
}
return ret;
}
std::vector<std::string> Symbol::ListAuxiliaryStates() const {
std::vector<std::string> ret;
mx_uint size;
const char **sarr;
MXSymbolListAuxiliaryStates(GetHandle(), &size, &sarr);
for (mx_uint i = 0; i < size; ++i) {
ret.push_back(std::string(sarr[i]));
}
return ret;
}
void Symbol::InferShape(
const std::map<std::string, std::vector<mx_uint> > &arg_shapes,
std::vector<std::vector<mx_uint> > *in_shape,
std::vector<std::vector<mx_uint> > *aux_shape,
std::vector<std::vector<mx_uint> > *out_shape) const {
std::vector<const char *> keys;
std::vector<mx_uint> arg_ind_ptr;
std::vector<mx_uint> arg_shape_data;
for (const auto &arg : arg_shapes) {
keys.push_back(arg.first.c_str());
arg_ind_ptr.push_back(arg_shape_data.size());
for (auto i : arg.second) {
arg_shape_data.push_back(i);
}
}
arg_ind_ptr.push_back(arg_shape_data.size());
mx_uint in_shape_size;
const mx_uint *in_shape_ndim;
const mx_uint **in_shape_data;
mx_uint out_shape_size;
const mx_uint *out_shape_ndim;
const mx_uint **out_shape_data;
mx_uint aux_shape_size;
const mx_uint *aux_shape_ndim;
const mx_uint **aux_shape_data;
int complete;
CHECK_EQ(MXSymbolInferShape(GetHandle(), keys.size(), keys.data(),
arg_ind_ptr.data(), arg_shape_data.data(),
&in_shape_size, &in_shape_ndim, &in_shape_data,
&out_shape_size, &out_shape_ndim, &out_shape_data,
&aux_shape_size, &aux_shape_ndim, &aux_shape_data,
&complete),
0);
if (complete) {
for (mx_uint i = 0; i < in_shape_size; ++i) {
in_shape->push_back(std::vector<mx_uint>());
for (mx_uint j = 0; j < in_shape_ndim[i]; ++j) {
(*in_shape)[i].push_back(in_shape_data[i][j]);
}
}
for (mx_uint i = 0; i < aux_shape_size; ++i) {
aux_shape->push_back(std::vector<mx_uint>());
for (mx_uint j = 0; j < aux_shape_ndim[i]; ++j) {
(*aux_shape)[i].push_back(aux_shape_data[i][j]);
}
}
for (mx_uint i = 0; i < out_shape_size; ++i) {
out_shape->push_back(std::vector<mx_uint>());
for (mx_uint j = 0; j < out_shape_ndim[i]; ++j) {
(*out_shape)[i].push_back(out_shape_data[i][j]);
}
}
}
}
void Symbol::InferExecutorArrays(
const Context &context, std::vector<NDArray> *arg_arrays,
std::vector<NDArray> *grad_arrays, std::vector<OpReqType> *grad_reqs,
std::vector<NDArray> *aux_arrays,
const std::map<std::string, NDArray> &args_map,
const std::map<std::string, NDArray> &arg_grad_store,
const std::map<std::string, OpReqType> &grad_req_type,
const std::map<std::string, NDArray> &aux_map) const {
const auto arg_name_list = ListArguments();
std::vector<std::vector<mx_uint> > in_shapes, aux_shapes, out_shapes;
std::map<std::string, std::vector<mx_uint> > arg_shapes;
for (const auto &arg_name : arg_name_list) {
auto iter = args_map.find(arg_name);
if (iter != args_map.end()) {
arg_shapes[arg_name] = iter->second.GetShape();
}
}
InferShape(arg_shapes, &in_shapes, &aux_shapes, &out_shapes);
for (size_t i = 0; i < in_shapes.size(); ++i) {
const auto &shape = in_shapes[i];
const auto &arg_name = arg_name_list[i];
auto iter_arg = args_map.find(arg_name);
if (iter_arg != args_map.end()) {
arg_arrays->push_back(iter_arg->second);
} else {
arg_arrays->push_back(NDArray(shape, context, false));
NDArray::SampleGaussian(0, 1, &arg_arrays->back());
}
auto iter_grad = arg_grad_store.find(arg_name);
if (iter_grad != arg_grad_store.end()) {
grad_arrays->push_back(iter_grad->second);
} else {
grad_arrays->push_back(NDArray(shape, context, false));
}
auto iter_req = grad_req_type.find(arg_name);
if (iter_req != grad_req_type.end()) {
grad_reqs->push_back(iter_req->second);
} else {
grad_reqs->push_back(OpReqType::kWriteTo);
}
}
const auto aux_name_list = ListAuxiliaryStates();
for (size_t i = 0; i < aux_shapes.size(); ++i) {
const auto &shape = aux_shapes[i];
const auto &aux_name = aux_name_list[i];
auto iter_aux = aux_map.find(aux_name);
if (iter_aux != aux_map.end()) {
aux_arrays->push_back(iter_aux->second);
} else {
aux_arrays->push_back(NDArray(shape, context, false));
NDArray::SampleGaussian(0, 1, &aux_arrays->back());
}
}
}
void Symbol::InferArgsMap(
const Context &context, std::map<std::string, NDArray> *args_map,
const std::map<std::string, NDArray> &known_args) const {
const auto arg_name_list = ListArguments();
std::vector<std::vector<mx_uint> > in_shapes, aux_shapes, out_shapes;
std::map<std::string, std::vector<mx_uint> > arg_shapes;
for (const auto &arg_name : arg_name_list) {
auto iter = known_args.find(arg_name);
if (iter != known_args.end()) {
arg_shapes[arg_name] = iter->second.GetShape();
}
}
InferShape(arg_shapes, &in_shapes, &aux_shapes, &out_shapes);
for (size_t i = 0; i < in_shapes.size(); ++i) {
const auto &shape = in_shapes[i];
const auto &arg_name = arg_name_list[i];
auto iter_arg = known_args.find(arg_name);
if (iter_arg != known_args.end()) {
(*args_map)[arg_name] = iter_arg->second;
} else {
(*args_map)[arg_name] = NDArray(shape, context, false);
NDArray::SampleGaussian(0, 1, &(*args_map)[arg_name]);
}
}
}
Executor *Symbol::SimpleBind(
const Context &context, const std::map<std::string, NDArray> &args_map,
const std::map<std::string, NDArray> &arg_grad_store,
const std::map<std::string, OpReqType> &grad_req_type,
const std::map<std::string, NDArray> &aux_map) {
std::vector<NDArray> arg_arrays;
std::vector<NDArray> grad_arrays;
std::vector<OpReqType> grad_reqs;
std::vector<NDArray> aux_arrays;
InferExecutorArrays(context, &arg_arrays, &grad_arrays, &grad_reqs,
&aux_arrays, args_map, arg_grad_store, grad_req_type,
aux_map);
return new Executor(*this, context, arg_arrays, grad_arrays, grad_reqs,
aux_arrays);
}
Executor *Symbol::Bind(const Context &context,
const std::vector<NDArray> &arg_arrays,
const std::vector<NDArray> &grad_arrays,
const std::vector<OpReqType> &grad_reqs,
const std::vector<NDArray> &aux_arrays) {
return new Executor(*this, context, arg_arrays, grad_arrays, grad_reqs,
aux_arrays);
}
} // namespace cpp
} // namespace mxnet
#endif // MXNETCPP_SYMBOL_HPP
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1d727, %r15
nop
nop
nop
nop
add %r11, %r11
movw $0x6162, (%r15)
sub $46448, %r10
lea addresses_A_ht+0xd405, %rcx
nop
add $50272, %r13
movb $0x61, (%rcx)
nop
nop
nop
nop
sub %rdx, %rdx
lea addresses_UC_ht+0x1596f, %rsi
lea addresses_A_ht+0x131cb, %rdi
clflush (%rsi)
nop
nop
and $61000, %r15
mov $98, %rcx
rep movsq
nop
nop
nop
nop
xor %rdx, %rdx
lea addresses_WT_ht+0x13e9f, %rdx
nop
add $3014, %rdi
mov (%rdx), %r10d
nop
nop
nop
xor $42167, %r15
lea addresses_normal_ht+0x7427, %rsi
lea addresses_UC_ht+0xd347, %rdi
nop
nop
nop
nop
sub %r13, %r13
mov $1, %rcx
rep movsb
sub $38499, %r11
lea addresses_UC_ht+0x15197, %rsi
nop
nop
dec %rdx
mov $0x6162636465666768, %r15
movq %r15, %xmm0
vmovups %ymm0, (%rsi)
cmp %r10, %r10
lea addresses_D_ht+0x7b73, %rsi
lea addresses_WC_ht+0x23a7, %rdi
nop
nop
nop
nop
nop
add %r15, %r15
mov $36, %rcx
rep movsb
nop
nop
nop
nop
xor %r15, %r15
lea addresses_UC_ht+0x6acf, %rdx
nop
nop
nop
add %rcx, %rcx
mov (%rdx), %di
nop
nop
nop
nop
sub $4825, %r13
lea addresses_WT_ht+0x1d867, %rsi
lea addresses_WT_ht+0x12727, %rdi
nop
nop
nop
nop
nop
sub $15568, %rdx
mov $102, %rcx
rep movsl
nop
nop
xor %r15, %r15
lea addresses_WT_ht+0x19467, %rsi
lea addresses_UC_ht+0x62e7, %rdi
nop
add %r10, %r10
mov $42, %rcx
rep movsb
nop
nop
nop
nop
nop
sub $29688, %r13
lea addresses_UC_ht+0x1df27, %rsi
nop
nop
nop
nop
nop
add $22934, %rdi
movb $0x61, (%rsi)
nop
xor $49669, %rdi
lea addresses_WT_ht+0x15155, %rsi
lea addresses_UC_ht+0x45a7, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
sub $55080, %r10
mov $97, %rcx
rep movsb
nop
nop
nop
dec %r11
lea addresses_WC_ht+0x1c5f4, %r13
nop
and $15733, %rcx
movb (%r13), %r15b
nop
nop
nop
nop
nop
add $49470, %r13
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r15
pop %r13
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r8
push %r9
push %rax
push %rbx
push %rsi
// Store
lea addresses_UC+0x12ac7, %r8
nop
nop
nop
nop
nop
and $53453, %r14
mov $0x5152535455565758, %rsi
movq %rsi, %xmm3
movups %xmm3, (%r8)
nop
nop
sub $5769, %r9
// Faulty Load
lea addresses_RW+0x15b27, %rbx
dec %r13
mov (%rbx), %r9d
lea oracles, %rsi
and $0xff, %r9
shlq $12, %r9
mov (%rsi,%r9,1), %r9
pop %rsi
pop %rbx
pop %rax
pop %r9
pop %r8
pop %r14
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 3, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 3, 'same': True, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 4, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 4, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 1, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'32': 21829}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
|
; void z80_outp_callee(uint16_t port, uint8_t data)
SECTION code_clib
SECTION code_z80
PUBLIC _z80_outp_callee
EXTERN asm_z80_outp
_z80_outp_callee:
pop af
pop bc
pop hl
push af
jp asm_z80_outp
|
!macro reserve_int {
!fill int_sizeof, $00
}
!macro reserve_int64 {
!fill int64_sizeof, $00
}
!macro reserve_long {
!fill long_sizeof, $00
}
!macro reserve_ptr {
!fill ptr_sizeof, $00
}
!macro reserve_short {
!fill short_sizeof, $00
}
!macro BasicUpstart65 {
* = $2001
!byte $16,$20 ;End of command marker (first byte after the 00 terminator)
!byte $0a,$00 ;10
!byte $fe,$02,$30,$3a ;BANK 0:
!byte $9e ;SYS
!text "$202C"
!byte $3a, $8f ;:REM
!fill 21, $14
!text "BAS", $00
!byte $00,$00 ;End of basic terminators
.start:
}
!macro enable_40mhz {
lda #65
sta $00
}
!macro RunDMAJob .JobPointer {
lda #(.JobPointer >> 16)
sta $D702
sta $D704
lda #>.JobPointer
sta $D701
lda #<.JobPointer
sta $D705
}
!macro DMAFillJob .SourceByte, .Destination, .Length, .Chain {
!byte $00
!if (.Chain) {
!byte $07
} else {
!byte $03
}
!word .Length
!word .SourceByte
!byte $00
!word .Destination & $FFFF
!byte ((.Destination >> 16) & $0F)
!if (.Chain) {
!word $0000
}
}
!macro DMACopyJob .Source, .Destination, .Length, .Chain, .Backwards {
!byte $00 //No more options
!if(.Chain) {
!byte $04 //Copy and chain
} else {
!byte $00 //Copy and last request
}
!set .backByte = 0
!if(.Backwards) {
!set .backByte = $40
!set .Source = .Source + .Length - 1
!set .Destination = .Destination + .Length - 1
}
!word .Length //Size of Copy
!word .Source & $ffff
!byte (.Source >> 16) + .backByte
!word .Destination & $ffff
!byte ((.Destination >> 16) & $0f) + .backByte
!if(.Chain) {
!word $0000
}
}
!macro short_copy .source, .destination, .length {
ldx #.length
- lda .source, x
sta .destination, x
dex
bpl -
}
!macro long_fill .destination, .length {
lda #<.length
sta fill_dma + 2
lda #>.length
sta fill_dma + 3
lda .destination
sta fill_dma + 7
lda .destination + 1
sta fill_dma + 8
+RunDMAJob fill_dma
}
!macro long_copy .source, .destination, .length {
lda #<.length
sta copy_dma + 2
lda #>.length
sta copy_dma + 3
lda #<.source
sta copy_dma + 4
lda #>.source
sta copy_dma + 5
lda #<.destination
sta copy_dma + 7
lda #>.destination
sta copy_dma + 8
+RunDMAJob copy_dma
}
!macro set_zp .zp, .ptr {
lda .ptr
sta .zp
lda .ptr + 1
sta .zp + 1
}
!macro copy_word .src, .dst {
lda .src
sta .dst
lda .src + 1
sta .dst + 1
}
!macro store_word .value, .destination {
lda #<.value
sta .destination
lda #>.value
sta .destination + 1
}
!macro store_word_to_zp_offset .value, .zp, .offset {
ldy #.offset
lda #<.value
sta (.zp), y
iny
lda #>.value
sta (.zp), y
}
!macro store_word_to_zp_y .value, .zp {
iny
lda #<.value
sta (.zp), y
iny
lda #>.value
sta (.zp), y
}
!macro copy_ptr .ptr, .destination {
lda .ptr
sta .destination
lda .ptr + 1
sta .destination + 1
}
!macro copy_word_to_zp_offset .source, .zp, .offset {
ldy #.offset
lda .source
sta (.zp), y
iny
lda .source + 1
sta (.zp), y
}
!macro copy_word_to_zp_y .source, .zp {
iny
lda .source
sta (.zp), y
iny
lda .source + 1
sta (.zp), y
}
!macro copy_long_to_zp .source, .zp, .length {
ldy #.length
- lda .source, y
sta (.zp), y
dey
bpl -
}
!macro copy_word_from_zp_offset .zp, .destination, .offset {
ldy #.offset
lda (.zp), y
sta .destination
iny
lda (.zp), y
sta .destination + 1
}
!macro copy_word_from_zp_y .zp, .destination {
iny
lda (.zp), y
sta .destination
iny
lda (.zp), y
sta .destination + 1
}
|
;===============================================================================
; Copyright 2014-2020 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;===============================================================================
;
;
; Purpose: Cryptography Primitive.
; Rijndael Key Expansion Support
;
; Content:
; SubsDword_8uT()
;
;
%include "asmdefs.inc"
%include "ia_emm.inc"
%if (_IPP >= _IPP_W7)
segment .text align=IPP_ALIGN_FACTOR
%xdefine CACHE_LINE_SIZE (64)
;***************************************************************
;* Purpose: Mitigation of the Key Expansion procedure
;*
;* Ipp32u Touch_SubsDword_8uT(Ipp32u inp,
;* const Ipp8u* pTbl,
;* int tblBytes)
;***************************************************************
align IPP_ALIGN_FACTOR
IPPASM Touch_SubsDword_8uT,PUBLIC
USES_GPR esi,edi,ebx
%xdefine inp [esp + ARG_1 + 0*sizeof(dword)] ; input dword
%xdefine pTbl [esp + ARG_1 + 1*sizeof(dword)] ; Rijndael's S-box
%xdefine tblLen [esp + ARG_1 + 2*sizeof(dword)] ; length of table (bytes)
mov esi, pTbl ; tbl address and
mov edx, tblLen ; length
xor ecx, ecx
.touch_tbl:
mov eax, [esi+ecx]
add ecx, CACHE_LINE_SIZE
cmp ecx, edx
jl .touch_tbl
mov edx, inp
mov eax, edx
and eax, 0FFh ; b[0]
movzx eax, BYTE [esi+eax]
shr edx, 8
mov ebx, edx
and ebx, 0FFh ; b[1]
movzx ebx, BYTE [esi+ebx]
shl ebx, 8
shr edx, 8
mov ecx, edx
and ecx, 0FFh ; b[2]
movzx ecx, BYTE [esi+ecx]
shl ecx, 16
shr edx, 8
movzx edx, BYTE [esi+edx]
shl edx, 24
or eax, ebx
or eax, ecx
or eax, edx
REST_GPR
ret
ENDFUNC Touch_SubsDword_8uT
%endif
|
//==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//==================================================================================================
#ifndef BOOST_SIMD_ARCH_COMMON_SCALAR_FUNCTION_FPCLASSIFY_HPP_INCLUDED
#define BOOST_SIMD_ARCH_COMMON_SCALAR_FUNCTION_FPCLASSIFY_HPP_INCLUDED
#include <boost/simd/function/std.hpp>
#include <boost/simd/detail/dispatch/function/overload.hpp>
#include <boost/simd/detail/dispatch/meta/as_integer.hpp>
#include <boost/config.hpp>
#include <cmath>
namespace boost { namespace simd { namespace ext
{
namespace bd = boost::dispatch;
namespace bs = boost::simd;
BOOST_DISPATCH_OVERLOAD ( fpclassify_
, (typename A0)
, bd::cpu_
, bd::scalar_< bd::floating_<A0> >
)
{
BOOST_FORCEINLINE bd::as_integer_t<A0> operator() (A0 a0) const BOOST_NOEXCEPT
{
return std::fpclassify(a0);
}
};
BOOST_DISPATCH_OVERLOAD ( fpclassify_
, (typename A0)
, bd::cpu_
, bs::std_tag
, bd::scalar_< bd::floating_<A0> >
)
{
BOOST_FORCEINLINE int operator() (const std_tag &, A0 a0) const BOOST_NOEXCEPT
{
return std::fpclassify(a0);
}
};
} } }
#endif
|
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
include errcodes.i
public pj_dnext
; Boolean pj_dnext(void);
pj_dnext proc near
mov ah,4fh
int 21h
jc jsnbad
mov eax,1
jmp jsnret
jsnbad:
xor eax,eax ;zero out result
jsnret:
ret
pj_dnext endp
code ends
end
|
; $Id: tstAsmStructsAsm.asm $
;; @file
; Assembly / C structure layout testcase.
;
; Make yasm/nasm create absolute symbols for the structure definition
; which we can parse and make code from using objdump and sed.
;
;
; Copyright (C) 2006-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (GPL) as published by the Free Software
; Foundation, in version 2 as it comes in the "COPYING" file of the
; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
;
%ifdef RT_ARCH_AMD64
BITS 64
%endif
%include "CPUMInternal.mac"
%include "HMInternal.mac"
%include "TRPMInternal.mac"
%include "VMMInternal.mac"
%include "VBox/vmm/cpum.mac"
%include "VBox/vmm/vm.mac"
%include "VBox/vmm/hm_vmx.mac"
%include "VBox/sup.mac"
%include "VMMSwitcher.mac"
%ifdef DO_GLOBALS
%include "tstAsmStructsAsm.mac"
%endif
.text
.data
.bss
|
100 ;***********************
110 ;* 26K BITS PER SECOND *
120 ;* SAMPLER FOR THE *
130 ;* COVOX VOICE MASTER *
140 ;* BY STEVE GOLDSMITH *
150 ;* (C) 1988 *
160 ;***********************
170 ;
180 PORTA1 = $DC00 ;CIA #1 DATA PORT REGISTER A
190 DDRA1 = $DC02 ;CIA #1 DATA DIRECTION REGISTER PORT A
200 VIC2CR = $D011 ; VIC 2 CONTROL REGISTER
210 VOLUME = $D418 ;SID MASTER VOLUME CONTROL
220 SAMPLE = $F7 ;WHERE SOUND IS RECORDED TO OR PLAYED FROM
230 FBYTE = $F9 ;FREQ BYTE
240 MAXREC = $FA ;MAX # OF BLOCKS YOU CAN RECORD
250 MS5 = $FB ;5 MICRO SEC DELAY NUMBER
260 BITCNT = $FC ;BIT COUNT
270 ;
280 * = $C000 ;START OF PROGRAM
290 ;
300 LDA #$00 ;RECORD SOUND
310 STA SAMPLE
320 LDA #$08
330 STA SAMPLE+1 ;SAMPLE STARTS AT $0800
340 LDA #$80 ;RECORD $80 BLOCKS
350 STA MAXREC
360 JSR RECORD
370 RTS
380 LDA #$00 ;PLAY SOUND THROUGH SID
390 STA LOOP9+1
400 LDA #$08
410 STA LOOP9+2 ;SAMPLE STARTS AT $0800
420 LDA #$80
430 STA MAXREC ;PLAY $80 BLOCKS
440 JSR PLAY
450 RTS
460 ;
470 ;RECORD SOUND FROM DIGITIZER
480 ;
490 RECORD SEI ;DISABLE IRQ INTERRUPT
500 LDA %10001000
510 STA DDRA1 ;SET BITS 3&7 TO OUTPUTS AND THE REST TO INPUTS
520 LDA #$00
530 TAX ;INITILIZE FREQ BYTE
540 TAY ;INITILIZE BYTE COUNTER
550 STA PORTA1 ;INITILIZE DIGITIZER
560 LOOP1 LDA PORTA1
570 AND %00010000 ;WAIT FOR AMPLE VOLUME TO START RECORDING
580 BNE LOOP1
590 LDA VIC2CR
600 AND %11101111 ;BLANK SCREEN
610 STA VIC2CR
620 LDA #$08
630 STA BITCNT
640 LOOP4 DEC MS5 ;- 7 MICRO SEC DELAY
650 NOP ;-
660 LOOP6 STX FBYTE ;0 FREQ BYTE
670 LDX BITCNT ;# OF BITS TO COUNT
680 LOOP3 LDA PORTA1 ;READ DATA PORT
690 AND #$01 ;GET FREQ BIT
700 ORA FBYTE ;ADD IT TO FREQ BYTE
710 DEX ;COUNT DOWN # OF BITS LEFT
720 BEQ LOOP2
730 ASL A ;MAKE ROOM FOR NEXT FREQ BIT
740 STA FBYTE
750 DEC MS5 ;-
760 DEC MS5 ; -
770 DEC MS5 ; - 17 MICRO SEC DELAY
780 NOP ;-
790 JMP LOOP3
800 LOOP2 STA (SAMPLE),Y
810 INY ;SEE IF AT END OF MEM PAGE
820 BNE LOOP4
830 INC SAMPLE+1 ;SET UP FOR NEXT PAGE
840 BPL LOOP6
850 LDA VIC2CR
860 ORA %00010000 ;TURN SCREEN ON
870 STA VIC2CR
880 LDA #$FF
890 STA DDRA1 ;RESTORE TO KEYBOARD OUTPUT
900 CLI ;RESTORE IRQ INTERRUPT
910 RTS
920 ;
930 ;PLAY SOUND FROM MEMORY
940 ;
950 PLAY SEI ;DISABLE IRQ INTERRUPT
960 LDA VIC2CR
970 AND %11101111 ;BLANK SCREEN
980 STA VIC2CR
990 LDX #$00 ;BYTE COUNTER
1000 LOOP7 NOP ;-
1010 NOP ; -
1020 NOP ; - 8 SEC TIME DELAY
1030 NOP ;-
1040 LOOP8 LDY #$08 ;BIT COUNTER
1050 LOOP9 ROL $FFFF,X ;THIS HAS A SELF MODIFING ADDRESS
1060 BCC LOOP13
1070 LDA #$0F
1080 JMP LOOP10
1090 LOOP13 NOP ;2 MICRO SEC DELAY
1100 LDA #$00
1110 LOOP10 STA VOLUME
1120 DEY
1130 BEQ LOOP11
1140 DEC MS5 ;-
1150 NOP ; -
1160 NOP ; - 13 MICRO MICRO SEC DELAY
1170 NOP ; -
1180 NOP ;-
1190 JMP LOOP9
1200 LOOP11 INX
1210 BNE LOOP7
1220 INC LOOP9+2
1230 BPL LOOP8
1240 LDA VIC2CR
1250 ORA %00010000 ;TURN SCREEN ON
1260 STA VIC2CR
1270 CLI ;RESTORE IRQ INTERRUPT
1280 RTS
1290 :E
|
MACRO PRINT msg
PUSHALL
ld hl, .message
call printmsg
jr .done
.message:
db msg,0
.done:
POPALL
ENDM
MACRO STORENEXTREG regno, addr
ld bc, 0x243B ; nextreg select
ld a, regno
out (c), a
inc b ; nextreg i/o
in a, (c)
ld (addr), a
ENDM
MACRO RESTORENEXTREG regno, addr
ld a, (addr)
nextreg regno, a
ENDM
MACRO STORENEXTREGMASK regno, addr, mask
ld bc, 0x243B ; nextreg select
ld a, regno
out (c), a
inc b ; nextreg i/o
in a, (c)
and mask
ld (addr), a
ENDM
MACRO PUSHALL
push af
push bc
push de
push hl
push ix
push iy
ex af, af'
exx
push af
push bc
push de
push hl
ENDM
MACRO POPALL
pop hl
pop de
pop bc
pop af
exx
ex af,af'
pop iy
pop ix
pop hl
pop de
pop bc
pop af
ENDM
PORT_ULA_CONTROL EQU 0xfe
PORT_KEMPSTON1 EQU 0x1f
PORT_KEMPSTON2 EQU 0x37
PORT_NEXTREG_SELECT EQU 0x243B
PORT_NEXTREG_IO EQU 0x253B
PORT_KEYROW1 EQU 0xfefe
PORT_KEYROW2 EQU 0xfdfe
PORT_KEYROW3 EQU 0xfbfe
PORT_KEYROW4 EQU 0xf7fe
PORT_KEYROW5 EQU 0xeffe
PORT_KEYROW6 EQU 0xdffe
PORT_KEYROW7 EQU 0xbffe
PORT_KEYROW8 EQU 0x7ffe
PORT_I2C_CLOCK EQU 0x103b
PORT_I2C_DATA EQU 0x113b
PORT_LAYER2_ACCESS EQU 0x123b
PORT_UART_TX EQU 0x133b
PORT_UART_RX EQU 0x143b
PORT_UART_CONTROL EQU 0x153b
PORT_PLUS3_MEMORY_PAGING EQU 0x1ffd
PORT_SPRITE_STATUS EQU 0x303b
PORT_SPRITE_SLOT_SELECT EQU 0x303b
PORT_MEMORY_PAGING_CONTROL EQU 0x7ffd
PORT_MEMORY_BANK_SELECT EQU 0xdffd
PORT_KEMPSTON_MOUSE_BUTTONS EQU 0xfadf
PORT_KEMPSTON_MOUSE_X EQU 0xfbdf
PORT_KEMPSTON_MOUSE_Y EQU 0xffdf
PORT_SOUND_CHIP_REGWRITE EQU 0xbffd
PORT_TURBOSOUND_NEXT_CONTROL EQU 0xfffd
PORT_MB02_DMA EQU 0x0b
PORT_SPRITE_ATTRIBUTE_UPLOAD EQU 0x57
PORT_SPRITE_PATTERN_UPLOAD EQU 0x5b
PORT_DATAGEAR_DMA EQU 0x6b
PORT_SPECDRUM_DAC EQU 0xdf
PORT_TIMEX_VIDEO_MODE_CONTROL EQU 0xff
NEXTREG_MACHINE_ID EQU 0x00
NEXTREG_CORE_VERSION EQU 0x01
NEXTREG_NEXT_RESET EQU 0x02
NEXTREG_MACHINE_TYPE EQU 0x03
NEXTREG_CONFIG_MAP EQU 0x04
NEXTREG_PERIPHERAL1 EQU 0x05
NEXTREG_PERIPHERAL2 EQU 0x06
NEXTREG_CPU_SPEED EQU 0x07
NEXTREG_PERIPHERAL3 EQU 0x08
NEXTREG_PERIPHERAL4 EQU 0x09
NEXTREG_PERIPHERAL5 EQU 0x0a
NEXTREG_CORE_VERSION_MINOR EQU 0x0e
NEXTREG_ANTIBRICK EQU 0x10
NEXTREG_VIDEO_TIMING EQU 0x11
NEXTREG_LAYER2_RAMPAGE EQU 0x12
NEXTREG_LAYER2_RAMSHADOWPAGE EQU 0x13
NEXTREG_GENERAL_TRANSPARENCY EQU 0x14
NEXTREG_SPRITE_AND_LAYERS EQU 0x15
NEXTREG_LAYER2_X EQU 0x16
NEXTREG_LAYER2_Y EQU 0x17
NEXTREG_CLIP_LAYER2 EQU 0x18
NEXTREG_CLIP_SPRITES EQU 0x19
NEXTREG_CLIP_ULA EQU 0x1a
NEXTREG_CLIP_TILEMAP EQU 0x1b
NEXTREG_CLIP_CONTROL EQU 0x1c
NEXTREG_VIDEOLINE_MSB EQU 0x1e
NEXTREG_VIDEOLINE_LSB EQU 0x1f
NEXTREG_VIDEOLINE_INTERRUPT_CONTROL EQU 0x22
NEXTREG_VIDEOLINE_INTERRUPT_VALUE EQU 0x23
NEXTREG_ULA_X_OFFSET EQU 0x26
NEXTREG_ULA_Y_OFFSET EQU 0x27
NEXTREG_KEYMAP_HIGH_ADDRESS EQU 0x28
NEXTREG_KEYMAP_LOW_ADDRESS EQU 0x29
NEXTREG_KEYMAP_HIGH_DATA EQU 0x2a
NEXTREG_KEYMAP_LOW_DATA EQU 0x2b
NEXTREG_DAC_B_MIRROR EQU 0x2c
NEXTREG_DAC_AD_MIRROR EQU 0x2d
NEXTREG_DAC_C_MIRROR EQU 0x2e
NEXTREG_TILEMAP_OFFSET_X_MSB EQU 0x2f
NEXTREG_TILEMAP_OFFSET_X_LSB EQU 0x30
NEXTREG_TILEMAP_OFFSET_Y EQU 0x31
NEXTREG_LORES_X_OFFSET EQU 0x32
NEXTREG_LORES_Y_OFFSET EQU 0x33
NEXTREG_SPRITE_PORT_MIRROR_INDEX EQU 0x34
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_0 EQU 0x35
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_1 EQU 0x36
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_2 EQU 0x37
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_3 EQU 0x38
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_4 EQU 0x39
NEXTREG_PALETTE_INDEX EQU 0x40
NEXTREG_PALETTE_VALUE EQU 0x41
NEXTREG_ENHANCED_ULA_INK_COLOR_MASK EQU 0x42
NEXTREG_ENHANCED_ULA_CONTROL EQU 0x43
NEXTREG_ENHANCED_ULA_PALETTE_EXTENSION EQU 0x44
NEXTREG_TRANSPARENCY_COLOR_FALLBACK EQU 0x4a
NEXTREG_SPRITES_TRANSPARENCY_INDEX EQU 0x4b
NEXTREG_TILEMAP_TRANSPARENCY_INDEX EQU 0x4c
NEXTREG_MMU0 EQU 0x50
NEXTREG_MMU1 EQU 0x51
NEXTREG_MMU2 EQU 0x52
NEXTREG_MMU3 EQU 0x53
NEXTREG_MMU4 EQU 0x54
NEXTREG_MMU5 EQU 0x55
NEXTREG_MMU6 EQU 0x56
NEXTREG_MMU7 EQU 0x57
NEXTREG_COPPER_DATA EQU 0x60
NEXTREG_COPPER_CONTROL_LOW EQU 0x61
NEXTREG_COPPER_CONTROL_HIGH EQU 0x62
NEXTREG_COPPER_DATA_16BIT_WRITE EQU 0x63
NEXTREG_VERTICAL_CIDEO_LINE_OFFSET EQU 0x64
NEXTREG_ULA_CONTROL EQU 0x68
NEXTREG_DISPLAY_CONTROL_1 EQU 0x69
NEXTREG_LORES_CONTROL EQU 0x6a
NEXTREG_TILEMAP_CONTROL EQU 0x6b
NEXTREG_DEFAULT_TILEMAP_ATTRIBUTE EQU 0x6c
NEXTREG_TILEMAP_BASE_ADDRESS EQU 0x6e
NEXTREG_TILE_DEFINITIONS_BASE_ADDRESS EQU 0x6f
NEXTREG_LAYER2_CONTROL EQU 0x70
NEXTREG_LAYER2_X_OFFSET_MSB EQU 0x71
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_0_INC EQU 0x75
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_1_INC EQU 0x76
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_2_INC EQU 0x77
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_3_INC EQU 0x78
NEXTREG_SPRITE_PORT_MIRROR_ATTRIBUTE_4_INC EQU 0x79
NEXTREG_USER_STORAGE_0 EQU 0x7f
NEXTREG_EXPANSION_BUS_ENABLE EQU 0x80
NEXTREG_EXPANSION_BUS_CONTROL EQU 0x81
NEXTREG_INTERNAL_PORT_DECODING_B0 EQU 0x82
NEXTREG_INTERNAL_PORT_DECODING_B8 EQU 0x83
NEXTREG_INTERNAL_PORT_DECODING_B16 EQU 0x84
NEXTREG_INTERNAL_PORT_DECODING_B24 EQU 0x85
NEXTREG_EXPANSION_PORT_DECODING_B0 EQU 0x86
NEXTREG_EXPANSION_PORT_DECODING_B8 EQU 0x87
NEXTREG_EXPANSION_PORT_DECODING_B16 EQU 0x88
NEXTREG_EXPANSION_PORT_DECODING_B24 EQU 0x89
NEXTREG_EXPANSION_PORT_BUS_IO_PROPAGETE EQU 0x8a
NEXTREG_ALTERNATE_ROM EQU 0x8c
NEXTREG_MEMORY_MAPPING EQU 0x8e
NEXTREG_PI_GPIO_OUTPUT_ENABLE_0 EQU 0x90
NEXTREG_PI_GPIO_OUTPUT_ENABLE_1 EQU 0x91
NEXTREG_PI_GPIO_OUTPUT_ENABLE_2 EQU 0x92
NEXTREG_PI_GPIO_OUTPUT_ENABLE_3 EQU 0x93
NEXTREG_PI_GPIO_0 EQU 0x98
NEXTREG_PI_GPIO_1 EQU 0x99
NEXTREG_PI_GPIO_2 EQU 0x9a
NEXTREG_PI_GPIO_3 EQU 0x9b
NEXTREG_PI_PERIPHERAL_ENABLE EQU 0xa0
NEXTREG_PI_I2S_AUDIO_CONTROL EQU 0xa2
NEXTREG_PI_I2S_CLOCK_DIVIDE EQU 0xa3
NEXTREG_ESP_WIFI_GPIO_OUTPUT EQU 0xa8
NEXTREG_ESP_WIFI_GPIO EQU 0xa9
NEXTREG_EXTENDED_KEYS_0 EQU 0xb0
NEXTREG_EXTENDED_KEYS_1 EQU 0xb1
NEXTREG_DIVMMC_TRAP_ENABLE_1 EQU 0xb2
NEXTREG_DIVMMC_TRAP_ENABLE_2 EQU 0xb4
|
lda {c1},x
cmp #<{c2}
lda {c1}+1,x
sbc #>{c2}
bvc !+
eor #$80
!:
bmi {la1} |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/dns/host_resolver_proc.h"
#include "build/build_config.h"
#include "base/logging.h"
#include "base/sys_byteorder.h"
#include "base/threading/scoped_blocking_call.h"
#include "net/base/address_list.h"
#include "net/base/net_errors.h"
#include "net/base/sys_addrinfo.h"
#include "net/dns/dns_reloader.h"
#include "net/dns/dns_util.h"
#include "net/dns/host_resolver.h"
#if defined(OS_OPENBSD)
#define AI_ADDRCONFIG 0
#endif
namespace net {
namespace {
bool IsAllLocalhostOfOneFamily(const struct addrinfo* ai) {
bool saw_v4_localhost = false;
bool saw_v6_localhost = false;
for (; ai != nullptr; ai = ai->ai_next) {
switch (ai->ai_family) {
case AF_INET: {
const struct sockaddr_in* addr_in =
reinterpret_cast<struct sockaddr_in*>(ai->ai_addr);
if ((base::NetToHost32(addr_in->sin_addr.s_addr) & 0xff000000) ==
0x7f000000)
saw_v4_localhost = true;
else
return false;
break;
}
case AF_INET6: {
const struct sockaddr_in6* addr_in6 =
reinterpret_cast<struct sockaddr_in6*>(ai->ai_addr);
if (IN6_IS_ADDR_LOOPBACK(&addr_in6->sin6_addr))
saw_v6_localhost = true;
else
return false;
break;
}
default:
NOTREACHED();
return false;
}
}
return saw_v4_localhost != saw_v6_localhost;
}
} // namespace
HostResolverProc* HostResolverProc::default_proc_ = nullptr;
HostResolverProc::HostResolverProc(HostResolverProc* previous) {
SetPreviousProc(previous);
// Implicitly fall-back to the global default procedure.
if (!previous)
SetPreviousProc(default_proc_);
}
HostResolverProc::~HostResolverProc() = default;
int HostResolverProc::ResolveUsingPrevious(
const std::string& host,
AddressFamily address_family,
HostResolverFlags host_resolver_flags,
AddressList* addrlist,
int* os_error) {
if (previous_proc_.get()) {
return previous_proc_->Resolve(
host, address_family, host_resolver_flags, addrlist, os_error);
}
// Final fallback is the system resolver.
return SystemHostResolverCall(host, address_family, host_resolver_flags,
addrlist, os_error);
}
void HostResolverProc::SetPreviousProc(HostResolverProc* proc) {
HostResolverProc* current_previous = previous_proc_.get();
previous_proc_ = nullptr;
// Now that we've guaranteed |this| is the last proc in a chain, we can
// detect potential cycles using GetLastProc().
previous_proc_ = (GetLastProc(proc) == this) ? current_previous : proc;
}
void HostResolverProc::SetLastProc(HostResolverProc* proc) {
GetLastProc(this)->SetPreviousProc(proc);
}
// static
HostResolverProc* HostResolverProc::GetLastProc(HostResolverProc* proc) {
if (proc == nullptr)
return nullptr;
HostResolverProc* last_proc = proc;
while (last_proc->previous_proc_.get() != nullptr)
last_proc = last_proc->previous_proc_.get();
return last_proc;
}
// static
HostResolverProc* HostResolverProc::SetDefault(HostResolverProc* proc) {
HostResolverProc* old = default_proc_;
default_proc_ = proc;
return old;
}
// static
HostResolverProc* HostResolverProc::GetDefault() {
return default_proc_;
}
int SystemHostResolverCall(const std::string& host,
AddressFamily address_family,
HostResolverFlags host_resolver_flags,
AddressList* addrlist,
int* os_error) {
// |host| should be a valid domain name. HostResolverImpl::Resolve has checks
// to fail early if this is not the case.
DCHECK(IsValidDNSDomain(host));
if (os_error)
*os_error = 0;
struct addrinfo* ai = nullptr;
struct addrinfo hints = {0};
switch (address_family) {
case ADDRESS_FAMILY_IPV4:
hints.ai_family = AF_INET;
break;
case ADDRESS_FAMILY_IPV6:
hints.ai_family = AF_INET6;
break;
case ADDRESS_FAMILY_UNSPECIFIED:
hints.ai_family = AF_UNSPEC;
break;
default:
NOTREACHED();
hints.ai_family = AF_UNSPEC;
}
#if defined(OS_WIN)
// DO NOT USE AI_ADDRCONFIG ON WINDOWS.
//
// The following comment in <winsock2.h> is the best documentation I found
// on AI_ADDRCONFIG for Windows:
// Flags used in "hints" argument to getaddrinfo()
// - AI_ADDRCONFIG is supported starting with Vista
// - default is AI_ADDRCONFIG ON whether the flag is set or not
// because the performance penalty in not having ADDRCONFIG in
// the multi-protocol stack environment is severe;
// this defaulting may be disabled by specifying the AI_ALL flag,
// in that case AI_ADDRCONFIG must be EXPLICITLY specified to
// enable ADDRCONFIG behavior
//
// Not only is AI_ADDRCONFIG unnecessary, but it can be harmful. If the
// computer is not connected to a network, AI_ADDRCONFIG causes getaddrinfo
// to fail with WSANO_DATA (11004) for "localhost", probably because of the
// following note on AI_ADDRCONFIG in the MSDN getaddrinfo page:
// The IPv4 or IPv6 loopback address is not considered a valid global
// address.
// See http://crbug.com/5234.
//
// OpenBSD does not support it, either.
hints.ai_flags = 0;
#else
hints.ai_flags = AI_ADDRCONFIG;
#endif
// On Linux AI_ADDRCONFIG doesn't consider loopback addreses, even if only
// loopback addresses are configured. So don't use it when there are only
// loopback addresses.
if (host_resolver_flags & HOST_RESOLVER_LOOPBACK_ONLY)
hints.ai_flags &= ~AI_ADDRCONFIG;
if (host_resolver_flags & HOST_RESOLVER_CANONNAME)
hints.ai_flags |= AI_CANONNAME;
// Restrict result set to only this socket type to avoid duplicates.
hints.ai_socktype = SOCK_STREAM;
// This function can block for a long time. Use ScopedBlockingCall to increase
// the current thread pool's capacity and thus avoid reducing CPU usage by the
// current process during that time.
base::ScopedBlockingCall scoped_blocking_call(FROM_HERE,
base::BlockingType::WILL_BLOCK);
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) && \
!defined(OS_ANDROID) && !defined(OS_FUCHSIA)
DnsReloaderMaybeReload();
#endif
int err = getaddrinfo(host.c_str(), nullptr, &hints, &ai);
bool should_retry = false;
// If the lookup was restricted (either by address family, or address
// detection), and the results where all localhost of a single family,
// maybe we should retry. There were several bugs related to these
// issues, for example http://crbug.com/42058 and http://crbug.com/49024
if ((hints.ai_family != AF_UNSPEC || hints.ai_flags & AI_ADDRCONFIG) &&
err == 0 && IsAllLocalhostOfOneFamily(ai)) {
if (host_resolver_flags & HOST_RESOLVER_DEFAULT_FAMILY_SET_DUE_TO_NO_IPV6) {
hints.ai_family = AF_UNSPEC;
should_retry = true;
}
if (hints.ai_flags & AI_ADDRCONFIG) {
hints.ai_flags &= ~AI_ADDRCONFIG;
should_retry = true;
}
}
if (should_retry) {
if (ai != nullptr) {
freeaddrinfo(ai);
ai = nullptr;
}
err = getaddrinfo(host.c_str(), nullptr, &hints, &ai);
}
if (err) {
#if defined(OS_WIN)
err = WSAGetLastError();
#endif
// Return the OS error to the caller.
if (os_error)
*os_error = err;
// If the call to getaddrinfo() failed because of a system error, report
// it separately from ERR_NAME_NOT_RESOLVED.
#if defined(OS_WIN)
if (err != WSAHOST_NOT_FOUND && err != WSANO_DATA)
return ERR_NAME_RESOLUTION_FAILED;
#elif defined(OS_POSIX) && !defined(OS_FREEBSD)
if (err != EAI_NONAME && err != EAI_NODATA)
return ERR_NAME_RESOLUTION_FAILED;
#endif
return ERR_NAME_NOT_RESOLVED;
}
#if defined(OS_ANDROID)
// Workaround for Android's getaddrinfo leaving ai==NULL without an error.
// http://crbug.com/134142
if (ai == NULL)
return ERR_NAME_NOT_RESOLVED;
#endif
*addrlist = AddressList::CreateFromAddrinfo(ai);
freeaddrinfo(ai);
return OK;
}
SystemHostResolverProc::SystemHostResolverProc() : HostResolverProc(nullptr) {}
int SystemHostResolverProc::Resolve(const std::string& hostname,
AddressFamily address_family,
HostResolverFlags host_resolver_flags,
AddressList* addr_list,
int* os_error) {
return SystemHostResolverCall(hostname,
address_family,
host_resolver_flags,
addr_list,
os_error);
}
SystemHostResolverProc::~SystemHostResolverProc() = default;
const base::TimeDelta ProcTaskParams::kDnsDefaultUnresponsiveDelay =
base::TimeDelta::FromSeconds(6);
ProcTaskParams::ProcTaskParams(HostResolverProc* resolver_proc,
size_t in_max_retry_attempts)
: resolver_proc(resolver_proc),
max_retry_attempts(in_max_retry_attempts),
unresponsive_delay(kDnsDefaultUnresponsiveDelay),
retry_factor(2) {
// Maximum of 4 retry attempts for host resolution.
static const size_t kDefaultMaxRetryAttempts = 4u;
if (max_retry_attempts == HostResolver::ManagerOptions::kDefaultRetryAttempts)
max_retry_attempts = kDefaultMaxRetryAttempts;
}
ProcTaskParams::ProcTaskParams(const ProcTaskParams& other) = default;
ProcTaskParams::~ProcTaskParams() = default;
} // namespace net
|
; ===============================================================
; Dec 2013
; ===============================================================
;
; char *strrev(char *s)
;
; Reverse string in place.
;
; ===============================================================
SECTION code_clib
SECTION code_string
PUBLIC asm_strrev
EXTERN __str_locate_nul
asm_strrev:
; enter: hl = char *s
;
; exit : hl = char *s (reversed)
; bc = 0
;
; uses : af, bc, de
; find end of string and string length
ld e,l
ld d,h ; de = char *s
call __str_locate_nul ; bc = -strlen(s) - 1
dec hl ; hl = ptr to char prior to terminating 0
push de ; save char *s
IF __CPU_INTEL__
ld a,b
rla
ld a,b
rra
cpl
ld b,a
ld a,c
rra
cpl
ld c,a
ELSE
ld a,b ; bc = ceil(-((-strlen-1)/2)-1)
sra a ; = ceil((strlen-1)/2)
rr c ; -1 maps to 0 (strlen = 0)
cpl ; -2 maps to 0 (strlen = 1)
ld b,a ; -3 maps to 1 (strlen = 2)
ld a,c ; -4 maps to 1 (strlen = 3)
cpl ; etc, yields number of chars to swap
ld c,a
ENDIF
or b
jr z, exit ; if numswaps == 0, exit
loop:
ld a,(de) ; char at front of s
IF __CPU_GBZ80__
push af
ld a,(hl)
ld (de),a
inc de
dec bc
pop af
ld (hl-),a
ld a,b
or c
jp nz,loop
ELSE
ldi ; char at rear written to front of s
dec hl
ld (hl),a ; char from front written to rear of s
dec hl
jp pe, loop
ENDIF
exit:
pop hl ; hl = char *s
ret
|
IDD_DLGMENUEDIT equ 1500
IDC_EDTITEMCAPTION equ 2512
IDC_HOTMENU equ 2513
IDC_EDTITEMNAME equ 2516
IDC_EDTITEMID equ 2518
IDC_EDTHELPID equ 2529
IDC_BTNADD equ 2532
IDC_BTNINSERT equ 2519
IDC_BTNDELETE equ 2520
IDC_BTNL equ 2521
IDC_BTNR equ 2522
IDC_BTNU equ 2523
IDC_BTND equ 2524
IDC_BTNMNUPREVIEW equ 2503
IDC_LSTMNU equ 2525
IDC_CHKCHECKED equ 2526
IDC_CHKGRAYED equ 2527
IDC_CHKRIGHTALIGN equ 2500
IDC_CHKRADIO equ 2509
IDC_CHKOWNERDRAW equ 2530
IDD_DLGMNUPREVIEW equ 1510
.data
szMnuErr db 'Menu skipped a level.',0
szMnuName db 'IDR_MENU',0
szMnuItemName db 'IDM_',0
szShift db 'Shift+',0
szCtrl db 'Ctrl+',0
szAlt db 'Alt+',0
szCsrLeft db 'Left',0
hMnuMem dd 0
nMnuInx dd 0
fMnuSel dd FALSE
MnuTabs dd 135,140,145,150,155,160
.data?
lpOldHotProc dd ?
fHotFocus dd ?
lpOldNameEditProc dd ?
.code
MnuSaveDefine proc uses esi,lpName:DWORD,lpID:DWORD
LOCAL buffer[16]:BYTE
LOCAL val:DWORD
mov esi,lpName
mov al,[esi]
.if al
mov esi,lpID
mov eax,[esi]
.if eax
invoke ExportName,lpName,eax,edi
lea edi,[edi+eax]
.endif
.endif
ret
MnuSaveDefine endp
MnuSpc proc val:DWORD
push eax
push ecx
mov eax,val
inc eax
add eax,eax
mov ecx,eax
mov al,' '
rep stosb
pop ecx
pop eax
ret
MnuSpc endp
MnuSaveAccel proc uses esi edi,nAccel:DWORD,lpDest:DWORD
mov esi,nAccel
mov edi,lpDest
shr esi,9
.if CARRY?
invoke SaveStr,edi,offset szShift
add edi,eax
.endif
shr esi,1
.if CARRY?
invoke SaveStr,edi,offset szCtrl
add edi,eax
.endif
shr esi,1
.if CARRY?
invoke SaveStr,edi,offset szAlt
add edi,eax
.endif
mov eax,nAccel
movzx eax,al
.if eax>='A' && eax<='Z' || eax>='0' && eax<='9' ; *** MOD 0...9 added
stosb
.elseif eax==VK_LEFT
invoke SaveStr,edi,offset szCsrLeft
add edi,eax
.elseif eax>=VK_F1 && eax<=VK_F12
mov byte ptr [edi],'F'
inc edi
sub eax,VK_F1-1
invoke ResEdBinToDec,eax,edi
invoke strlen,edi
lea edi,[edi+eax]
.endif
mov byte ptr [edi],0
mov eax,edi
sub eax,lpDest
ret
MnuSaveAccel endp
ExportMenuNames proc uses esi edi,hMem:DWORD
invoke xGlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,256*1024
mov edi,eax
invoke GlobalLock,edi
push edi
mov esi,hMem
invoke MnuSaveDefine,addr (MNUHEAD ptr [esi]).menuname,addr (MNUHEAD ptr [esi]).menuid
add esi,sizeof MNUHEAD
@@:
mov eax,(MNUITEM ptr [esi]).itemflag
.if eax
.if eax!=-1
invoke MnuSaveDefine,addr (MNUITEM ptr [esi]).itemname,addr (MNUITEM ptr [esi]).itemid
.endif
add esi,sizeof MNUITEM
jmp @b
.endif
pop eax
ret
ExportMenuNames endp
MnuSaveItemEx proc uses ebx,lpItem:DWORD,fPopUp:DWORD
LOCAL val:DWORD
invoke SaveStr,edi,lpItem
add edi,eax
mov al,' '
stosb
mov al,22h
stosb
.if byte ptr (MNUITEM ptr [esi]).itemcaption!='-'
invoke SaveText,edi,addr (MNUITEM ptr [esi]).itemcaption
add edi,eax
.endif
mov eax,(MNUITEM ptr [esi]).shortcut
.if eax
mov val,eax
mov ax,'t\'
stosw
invoke MnuSaveAccel,val,edi
add edi,eax
.endif
mov al,22h
stosb
mov ebx,edi
mov al,','
stosb
mov al,(MNUITEM ptr [esi]).itemname
.if !al
m2m val,(MNUITEM ptr [esi]).itemid
.if val!=0 && val!=-1
invoke SaveVal,val,FALSE
mov ebx,edi
.endif
.else
invoke SaveStr,edi,addr (MNUITEM ptr [esi]).itemname
add edi,eax
mov ebx,edi
.endif
mov al,','
stosb
;MFT_
mov edx,(MNUITEM ptr [esi]).ntype
.if byte ptr (MNUITEM ptr [esi]).itemcaption=='-'
or edx,MFT_SEPARATOR
.endif
.if edx
invoke SaveHexVal,edx,FALSE
mov ebx,edi
.endif
mov al,','
stosb
;MFS_
mov eax,(MNUITEM ptr [esi]).nstate
.if eax
invoke SaveHexVal,eax,FALSE
mov ebx,edi
.endif
.if fPopUp
;HelpID
mov al,','
stosb
mov eax,(MNUITEM ptr [esi]).helpid
.if eax
invoke SaveVal,eax,FALSE
mov ebx,edi
.endif
.endif
mov edi,ebx
Ex:
mov ax,0A0Dh
stosw
ret
MnuSaveItemEx endp
MenuSkippedLevel proc uses esi,lpMenu:DWORD
LOCAL buffer[256]:BYTE
mov esi,lpMenu
invoke lstrcpy,addr buffer,addr [esi].MNUHEAD.menuname
invoke lstrcat,addr buffer,addr szCrLf
invoke lstrcat,addr buffer,addr szMnuErr
invoke MessageBox,hDEd,addr buffer,addr szAppName,MB_OK or MB_ICONERROR
mov fMenuErr,TRUE
ret
MenuSkippedLevel endp
ExportMenuEx proc uses esi edi,hMem:DWORD
LOCAL val:DWORD
LOCAL level:DWORD
invoke xGlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,256*1024
mov edi,eax
invoke GlobalLock,edi
push edi
mov esi,hMem
mov al,(MNUHEAD ptr [esi]).menuname
.if al
invoke SaveStr,edi,addr (MNUHEAD ptr [esi]).menuname
add edi,eax
.else
m2m val,(MNUHEAD ptr [esi]).menuid
invoke SaveVal,val,FALSE
.endif
mov al,' '
stosb
invoke SaveStr,edi,addr szMENUEX
add edi,eax
mov ax,0A0Dh
stosw
.if [esi].MNUHEAD.lang.lang || [esi].MNUHEAD.lang.sublang
invoke SaveLanguage,addr [esi].MNUHEAD.lang,edi
add edi,eax
.endif
invoke SaveStr,edi,addr szBEGIN
add edi,eax
mov ax,0A0Dh
stosw
mov level,0
add esi,sizeof MNUHEAD
Nx:
mov eax,(MNUITEM ptr [esi]).itemflag
.if eax
.if eax!=-1
mov eax,(MNUITEM ptr [esi]).level
.if eax!=level
invoke MenuSkippedLevel,hMem
jmp MnExEx
.endif
push esi
@@:
add esi,sizeof MNUITEM
mov eax,(MNUITEM ptr [esi]).itemflag
.if eax
.if eax==-1
jmp @b
.endif
mov eax,(MNUITEM ptr [esi]).level
.endif
mov val,eax
pop esi
invoke MnuSpc,level
.if eax>level
invoke MnuSaveItemEx,addr szPOPUP,TRUE
.else
invoke MnuSaveItemEx,addr szMENUITEM,FALSE
.endif
mov eax,val
.if eax>level
sub eax,level
.if eax!=1
invoke MenuSkippedLevel,hMem
jmp MnExEx
.endif
invoke MnuSpc,level
m2m level,val
invoke SaveStr,edi,addr szBEGIN
add edi,eax
mov ax,0A0Dh
stosw
.elseif eax<level
@@:
mov eax,val
.if eax!=level
dec level
invoke MnuSpc,level
invoke SaveStr,edi,addr szEND
add edi,eax
mov ax,0A0Dh
stosw
jmp @b
.endif
.endif
add esi,sizeof MNUITEM
jmp Nx
.endif
.endif
invoke SaveStr,edi,addr szEND
add edi,eax
mov eax,0A0Dh
stosw
stosd
pop eax
ret
MnExEx:
pop edi
invoke GlobalUnlock,edi
invoke GlobalFree,edi
xor eax,eax
ret
ExportMenuEx endp
MnuSaveItem proc uses ebx,lpItem:DWORD,fPopUp:DWORD
LOCAL val:DWORD
invoke SaveStr,edi,lpItem
add edi,eax
mov al,' '
stosb
.if byte ptr (MNUITEM ptr [esi]).itemcaption=='-' || byte ptr (MNUITEM ptr [esi]).itemcaption==0
invoke SaveStr,edi,offset szSEPARATOR
add edi,eax
.else
mov al,22h
stosb
invoke SaveText,edi,addr (MNUITEM ptr [esi]).itemcaption
add edi,eax
mov eax,(MNUITEM ptr [esi]).shortcut
.if eax
mov val,eax
mov ax,'t\'
stosw
invoke MnuSaveAccel,val,edi
add edi,eax
.endif
mov al,22h
stosb
.if !fPopUp
mov ebx,edi
mov al,','
stosb
mov al,(MNUITEM ptr [esi]).itemname
.if !al
m2m val,(MNUITEM ptr [esi]).itemid
.if val!=0 && val!=-1
invoke SaveVal,val,FALSE
mov ebx,edi
.endif
.else
invoke SaveStr,edi,addr (MNUITEM ptr [esi]).itemname
add edi,eax
mov ebx,edi
.endif
.endif
mov eax,(MNUITEM ptr [esi]).nstate
and eax,MFS_CHECKED
.if eax==MFS_CHECKED
mov al,','
stosb
invoke SaveStr,edi,offset szCHECKED
add edi,eax
.endif
mov eax,(MNUITEM ptr [esi]).nstate
and eax,MFS_GRAYED
.if eax==MFS_GRAYED
mov al,','
stosb
invoke SaveStr,edi,offset szGRAYED
add edi,eax
.endif
mov eax,(MNUITEM ptr [esi]).ntype
and eax,MFT_RIGHTJUSTIFY
.if eax==MFT_RIGHTJUSTIFY
mov al,','
stosb
invoke SaveStr,edi,offset szHELP
add edi,eax
.endif
.endif
mov ax,0A0Dh
stosw
ret
MnuSaveItem endp
ExportMenu proc uses esi edi,hMem:DWORD
LOCAL val:DWORD
LOCAL level:DWORD
mov fMenuErr,FALSE
invoke xGlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,256*1024
mov edi,eax
invoke GlobalLock,edi
push edi
mov esi,hMem
mov al,(MNUHEAD ptr [esi]).menuname
.if al
invoke SaveStr,edi,addr (MNUHEAD ptr [esi]).menuname
add edi,eax
.else
m2m val,(MNUHEAD ptr [esi]).menuid
invoke SaveVal,val,FALSE
.endif
mov al,' '
stosb
invoke SaveStr,edi,addr szMENU
add edi,eax
mov ax,0A0Dh
stosw
.if [esi].MNUHEAD.lang.lang || [esi].MNUHEAD.lang.sublang
invoke SaveLanguage,addr (MNUHEAD ptr [esi]).lang,edi
add edi,eax
.endif
invoke SaveStr,edi,addr szBEGIN
add edi,eax
mov ax,0A0Dh
stosw
mov level,0
add esi,sizeof MNUHEAD
Nx:
mov eax,(MNUITEM ptr [esi]).itemflag
.if eax
.if eax!=-1
mov eax,(MNUITEM ptr [esi]).level
.if eax!=level
invoke MenuSkippedLevel,hMem
jmp MnExEx
.endif
push esi
@@:
add esi,sizeof MNUITEM
mov eax,(MNUITEM ptr [esi]).itemflag
.if eax
.if eax==-1
jmp @b
.endif
mov eax,(MNUITEM ptr [esi]).level
.endif
mov val,eax
pop esi
invoke MnuSpc,level
.if eax>level
invoke MnuSaveItem,addr szPOPUP,TRUE
.else
invoke MnuSaveItem,addr szMENUITEM,FALSE
.endif
mov eax,val
.if eax>level
sub eax,level
.if eax!=1
invoke MenuSkippedLevel,hMem
jmp MnExEx
.endif
invoke MnuSpc,level
m2m level,val
invoke SaveStr,edi,addr szBEGIN
add edi,eax
mov ax,0A0Dh
stosw
.elseif eax<level
@@:
mov eax,val
.if eax!=level
dec level
invoke MnuSpc,level
invoke SaveStr,edi,addr szEND
add edi,eax
mov ax,0A0Dh
stosw
jmp @b
.endif
.endif
add esi,sizeof MNUITEM
jmp Nx
.endif
.endif
invoke SaveStr,edi,addr szEND
add edi,eax
mov eax,0A0Dh
stosw
stosd
pop eax
ret
MnExEx:
pop edi
invoke GlobalUnlock,edi
invoke GlobalFree,edi
xor eax,eax
ret
ExportMenu endp
MnuGetFreeMem proc uses esi
mov esi,hMnuMem
add esi,sizeof MNUHEAD
sub esi,sizeof MNUITEM
@@:
add esi,sizeof MNUITEM
mov eax,(MNUITEM ptr [esi]).itemflag
.if eax==-1
xor eax,eax
.endif
or eax,eax
jne @b
mov eax,esi
ret
MnuGetFreeMem endp
MnuGetFreeID proc uses esi
LOCAL nId:DWORD
mov esi,hMnuMem
m2m nId,(MNUHEAD ptr [esi]).startid
add esi,sizeof MNUHEAD
sub esi,sizeof MNUITEM
@@:
add esi,sizeof MNUITEM
mov eax,(MNUITEM ptr [esi]).itemflag
cmp eax,-1
je @b
.if eax
mov eax,(MNUITEM ptr [esi]).itemid
.if eax==nId
inc nId
mov esi,hMnuMem
add esi,sizeof MNUHEAD
sub esi,sizeof MNUITEM
.endif
jmp @b
.endif
mov eax,nId
ret
MnuGetFreeID endp
MnuGetMem proc uses esi,hWin:HWND
LOCAL val:DWORD
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETCURSEL,0,0
mov nMnuInx,eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,nMnuInx,0
.if !eax
.if fMnuSel==FALSE
invoke MnuGetFreeMem
mov esi,eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETITEMDATA,nMnuInx,esi
mov (MNUITEM ptr [esi]).itemflag,1
invoke GetDlgItemText,hWin,IDC_EDTITEMCAPTION,addr (MNUITEM ptr [esi]).itemcaption,64
invoke GetDlgItemText,hWin,IDC_EDTITEMNAME,addr (MNUITEM ptr [esi]).itemname,MaxName
invoke GetDlgItemInt,hWin,IDC_EDTITEMID,addr val,FALSE
m2m (MNUITEM ptr [esi]).itemid,eax
mov eax,nMnuInx
.if eax
dec eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,eax,0
mov eax,[eax].MNUITEM.level
mov [esi].MNUITEM.level,eax
.endif
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETCOUNT,0,0
.if eax
dec eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,eax,0
.if eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_ADDSTRING,0,addr szNULL
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETITEMDATA,eax,0
.endif
.endif
mov eax,esi
.endif
.endif
ret
MnuGetMem endp
MenuUpdateMem proc uses esi edi,hWin:HWND
LOCAL hMem:DWORD
LOCAL nInx:DWORD
invoke xGlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,MaxMem
mov hMem,eax
invoke GlobalLock,hMem
mov esi,hMnuMem
mov edi,hMem
mov ecx,sizeof MNUHEAD
rep movsb
mov nInx,0
@@:
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,nInx,0
.if eax!=LB_ERR
.if eax
mov esi,eax
mov eax,(MNUITEM ptr [esi]).itemflag
.if eax!=-1
mov ecx,sizeof MNUITEM
rep movsb
.endif
.endif
inc nInx
jmp @b
.endif
mov eax,hMem
ret
MenuUpdateMem endp
MenuUpdate proc uses esi edi,hWin:HWND
LOCAL hMem:DWORD
LOCAL nInx:DWORD
invoke MenuUpdateMem,hWin
mov hMem,eax
mov esi,hMem
mov edi,hMnuMem
mov ecx,MaxMem/4
rep movsd
invoke GlobalUnlock,hMem
invoke GlobalFree,hMem
mov esi,hMnuMem
lea esi,[esi+sizeof MNUHEAD]
mov nInx,0
@@:
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,nInx,0
.if eax!=LB_ERR
.if eax && eax!=-1
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETITEMDATA,nInx,esi
lea esi,[esi+sizeof MNUITEM]
.endif
inc nInx
jmp @b
.endif
ret
MenuUpdate endp
HotProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM, lParam:LPARAM
LOCAL msg:MSG
mov eax,uMsg
.if eax==WM_SETFOCUS
invoke CallWindowProc,lpOldHotProc,hWin,uMsg,wParam,lParam
mov fHotFocus,TRUE
.while fHotFocus
invoke GetMessage,addr msg,NULL,0,0
.BREAK .if !eax
invoke IsDialogMessage,hDialog,addr msg
.if !eax
invoke TranslateMessage,addr msg
invoke DispatchMessage,addr msg
.endif
.endw
.elseif eax==WM_KILLFOCUS
mov fHotFocus,FALSE
.else
invoke CallWindowProc,lpOldHotProc,hWin,uMsg,wParam,lParam
.endif
ret
HotProc endp
ItemNameEditProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM, lParam:LPARAM
LOCAL msg:MSG
mov eax,uMsg
.if eax==WM_CHAR
invoke IsCharAlphaNumeric,wParam
mov edx,wParam
.if !eax && edx!='_' && edx!=VK_BACK && edx!=01h && edx!=03h && edx!=16h && edx!=1Ah
xor eax,eax
jmp Ex
.endif
.endif
invoke CallWindowProc,lpOldNameEditProc,hWin,uMsg,wParam,lParam
Ex:
ret
ItemNameEditProc endp
DlgMnuPreviewProc proc uses esi edi,hWin:HWND,uMsg:UINT,wParam:WPARAM, lParam:LPARAM
mov eax,uMsg
.if eax==WM_INITDIALOG
invoke MakeMnuBar,lParam
invoke SetMenu,hWin,eax
.elseif eax==WM_CLOSE
invoke GetMenu,hWin
invoke DestroyMenu,eax
invoke EndDialog,hWin,wParam
.elseif eax==WM_COMMAND
mov edx,wParam
movzx eax,dx
shr edx,16
.if edx==BN_CLICKED
.if eax==IDCANCEL
invoke SendMessage,hWin,WM_CLOSE,FALSE,0
.endif
.endif
.elseif eax==WM_SIZE
invoke GetDlgItem,hWin,IDCANCEL
mov edx,lParam
movzx ecx,dx
shr edx,16
sub ecx,66
sub edx,23
invoke MoveWindow,eax,ecx,edx,64,21,TRUE
.else
mov eax,FALSE
ret
.endif
mov eax,TRUE
ret
DlgMnuPreviewProc endp
DlgMenuEditProc proc uses esi edi,hWin:HWND,uMsg:UINT,wParam:WPARAM, lParam:LPARAM
LOCAL hCtl:DWORD
LOCAL buffer[64]:byte
LOCAL buffer1[256]:byte
LOCAL val:DWORD
LOCAL rect:RECT
LOCAL hMem:DWORD
mov eax,uMsg
.if eax==WM_INITDIALOG
mov eax,lParam
mov hMnuMem,eax
invoke SendDlgItemMessage,hWin,IDC_EDTITEMCAPTION,EM_LIMITTEXT,63,0
invoke SendDlgItemMessage,hWin,IDC_EDTITEMNAME,EM_LIMITTEXT,MaxName-1,0
invoke SendDlgItemMessage,hWin,IDC_EDTITEMID,EM_LIMITTEXT,5,0
invoke SendDlgItemMessage,hWin,IDC_EDTHELPID,EM_LIMITTEXT,5,0
invoke GetDlgItem,hWin,IDC_BTNL
mov hCtl,eax
invoke ImageList_GetIcon,hMnuIml,0,ILD_NORMAL
invoke SendMessage,hCtl,BM_SETIMAGE,IMAGE_ICON,eax
invoke GetDlgItem,hWin,IDC_BTNR
mov hCtl,eax
invoke ImageList_GetIcon,hMnuIml,1,ILD_NORMAL
invoke SendMessage,hCtl,BM_SETIMAGE,IMAGE_ICON,eax
invoke GetDlgItem,hWin,IDC_BTNU
mov hCtl,eax
invoke ImageList_GetIcon,hMnuIml,2,ILD_NORMAL
invoke SendMessage,hCtl,BM_SETIMAGE,IMAGE_ICON,eax
invoke GetDlgItem,hWin,IDC_BTND
mov hCtl,eax
invoke ImageList_GetIcon,hMnuIml,3,ILD_NORMAL
invoke SendMessage,hCtl,BM_SETIMAGE,IMAGE_ICON,eax
mov esi,hMnuMem
invoke GetDlgItem,hWin,IDC_LSTMNU
mov hCtl,eax
invoke SendMessage,hCtl,LB_SETTABSTOPS,6,addr MnuTabs
add esi,sizeof MNUHEAD
mov nMnuInx,0
@@:
mov eax,(MNUITEM ptr [esi]).itemflag
.if eax
invoke SendMessage,hCtl,LB_INSERTSTRING,nMnuInx,addr szNULL
invoke SendMessage,hCtl,LB_SETITEMDATA,nMnuInx,esi
invoke SendMessage,hCtl,LB_SETCURSEL,nMnuInx,0
mov eax,LBN_SELCHANGE
shl eax,16
or eax,IDC_LSTMNU
invoke SendMessage,hWin,WM_COMMAND,eax,0
add esi,sizeof MNUITEM
inc nMnuInx
jmp @b
.endif
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_ADDSTRING,0,addr szNULL
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETITEMDATA,eax,0
;=================================
; *** MOD 22.1.2012 width 800 pixel for HSCROLLBAR
invoke SendDlgItemMessage, hWin, IDC_LSTMNU, LB_SETHORIZONTALEXTENT, 800, 0
; ================================
mov nMnuInx,0
invoke SendMessage,hCtl,LB_SETCURSEL,nMnuInx,0
mov eax,LBN_SELCHANGE
shl eax,16
or eax,IDC_LSTMNU
invoke SendMessage,hWin,WM_COMMAND,eax,0
mov esi,hMnuMem
mov lpResType,offset szMENU
lea eax,[esi].MNUHEAD.menuname
mov lpResName,eax
lea eax,[esi].MNUHEAD.menuid
mov lpResID,eax
lea eax,[esi].MNUHEAD.startid
mov lpResStartID,eax
lea eax,[esi].MNUHEAD.lang
mov lpResLang,eax
lea eax,[esi].MNUHEAD.menuex
mov lpResMenuEx,eax
invoke PropertyList,-7
mov fNoScroll,TRUE
invoke ShowScrollBar,hDEd,SB_BOTH,FALSE
invoke SendMessage,hWin,WM_SIZE,0,0
mov fDialogChanged,FALSE
invoke GetDlgItem,hWin,IDC_HOTMENU
invoke SetWindowLong,eax,GWL_WNDPROC,offset HotProc
mov lpOldHotProc,eax
invoke GetDlgItem,hWin,IDC_EDTITEMNAME
invoke SetWindowLong,eax,GWL_WNDPROC,offset ItemNameEditProc
mov lpOldNameEditProc,eax
.elseif eax==WM_CLOSE
mov fNoScroll,FALSE
invoke ShowScrollBar,hDEd,SB_BOTH,TRUE
invoke DestroyWindow,hWin
.elseif eax==WM_COMMAND
mov edx,wParam
movzx eax,dx
shr edx,16
.if edx==BN_CLICKED
.if eax==IDCANCEL
invoke SendMessage,hWin,WM_CLOSE,FALSE,0
invoke PropertyList,0
.elseif eax==IDOK
invoke GetWindowLong,hWin,GWL_USERDATA
mov esi,eax
invoke GetProjectItemName,esi,addr buffer1
invoke SetProjectItemName,esi,addr buffer1
.if fDialogChanged
mov fDialogChanged,FALSE
invoke MenuUpdate,hWin
invoke SendMessage,hRes,PRO_SETMODIFY,TRUE,0
.endif
.elseif eax==IDC_BTNL
invoke MnuGetMem,hWin
.if eax
mov esi,eax
mov eax,(MNUITEM ptr[esi]).level
.if eax
dec (MNUITEM ptr[esi]).level
invoke SendMessage,hWin,WM_COMMAND,(EN_CHANGE shl 16) or IDC_EDTITEMCAPTION,0
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_BTNR
invoke MnuGetMem,hWin
.if eax
mov esi,eax
mov eax,(MNUITEM ptr[esi]).level
.if eax<5
inc (MNUITEM ptr[esi]).level
invoke SendMessage,hWin,WM_COMMAND,(EN_CHANGE shl 16) or IDC_EDTITEMCAPTION,0
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_BTNU
.if nMnuInx
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,nMnuInx,0
.if eax
mov esi,eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_DELETESTRING,nMnuInx,0
dec nMnuInx
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_INSERTSTRING,nMnuInx,addr szNULL
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETITEMDATA,nMnuInx,esi
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETCURSEL,nMnuInx,0
invoke SendMessage,hWin,WM_COMMAND,(LBN_SELCHANGE shl 16) or IDC_LSTMNU,0
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_BTND
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETCOUNT,0,0
dec eax
.if eax!=nMnuInx
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,nMnuInx,0
.if eax
mov esi,eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_DELETESTRING,nMnuInx,0
inc nMnuInx
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_INSERTSTRING,nMnuInx,addr szNULL
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETITEMDATA,nMnuInx,esi
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETCURSEL,nMnuInx,0
invoke SendMessage,hWin,WM_COMMAND,(LBN_SELCHANGE shl 16) or IDC_LSTMNU,0
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_BTNADD
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETCOUNT,0,0
dec eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETCURSEL,eax,0
invoke SendMessage,hWin,WM_COMMAND,(LBN_SELCHANGE shl 16) or IDC_LSTMNU,0
mov fDialogChanged,TRUE
.elseif eax==IDC_BTNINSERT
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETCURSEL,0,0
mov nMnuInx,eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,eax,0
.if eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_INSERTSTRING,nMnuInx,addr szNULL
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETCURSEL,nMnuInx,0
invoke SendMessage,hWin,WM_COMMAND,(LBN_SELCHANGE shl 16) or IDC_LSTMNU,0
mov fDialogChanged,TRUE
.endif
.elseif eax==IDC_BTNDELETE
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETCOUNT,0,0
dec eax
.if eax!=nMnuInx
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,nMnuInx,0
.if eax
mov esi,eax
mov (MNUITEM ptr [esi]).itemflag,-1
mov fDialogChanged,TRUE
.endif
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_DELETESTRING,nMnuInx,0
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETCURSEL,nMnuInx,0
.if eax!=LB_ERR
invoke SendMessage,hWin,WM_COMMAND,(LBN_SELCHANGE shl 16) or IDC_LSTMNU,0
.endif
.endif
.elseif eax==IDC_BTNMNUPREVIEW
invoke MenuUpdateMem,hWin
mov hMem,eax
invoke DialogBoxParam,hInstance,IDD_DLGMNUPREVIEW,hWin,addr DlgMnuPreviewProc,hMem
invoke GlobalUnlock,hMem
invoke GlobalFree,hMem
.elseif eax==IDC_CHKCHECKED
invoke MnuGetMem,hWin
.if eax
mov esi,eax
and (MNUITEM ptr [esi]).nstate,-1 xor MFS_CHECKED
invoke SendDlgItemMessage,hWin,IDC_CHKCHECKED,BM_GETCHECK,0,0
.if eax==BST_CHECKED
or (MNUITEM ptr [esi]).nstate,MFS_CHECKED
.endif
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_CHKGRAYED
invoke MnuGetMem,hWin
.if eax
mov esi,eax
and (MNUITEM ptr [esi]).nstate,-1 xor MFS_GRAYED
invoke SendDlgItemMessage,hWin,IDC_CHKGRAYED,BM_GETCHECK,0,0
.if eax==BST_CHECKED
or (MNUITEM ptr [esi]).nstate,MFS_GRAYED
.endif
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_CHKRIGHTALIGN
invoke MnuGetMem,hWin
.if eax
mov esi,eax
and (MNUITEM ptr [esi]).ntype,-1 xor MFT_RIGHTJUSTIFY
invoke SendDlgItemMessage,hWin,IDC_CHKRIGHTALIGN,BM_GETCHECK,0,0
.if eax==BST_CHECKED
or (MNUITEM ptr [esi]).ntype,MFT_RIGHTJUSTIFY
.endif
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_CHKRADIO
invoke MnuGetMem,hWin
.if eax
mov esi,eax
and (MNUITEM ptr [esi]).ntype,-1 xor MFT_RADIOCHECK
invoke SendDlgItemMessage,hWin,IDC_CHKRADIO,BM_GETCHECK,0,0
.if eax==BST_CHECKED
or (MNUITEM ptr [esi]).ntype,MFT_RADIOCHECK
.endif
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_CHKOWNERDRAW
invoke MnuGetMem,hWin
.if eax
mov esi,eax
and (MNUITEM ptr [esi]).ntype,-1 xor MFT_OWNERDRAW
invoke SendDlgItemMessage,hWin,IDC_CHKOWNERDRAW,BM_GETCHECK,0,0
.if eax==BST_CHECKED
or (MNUITEM ptr [esi]).ntype,MFT_OWNERDRAW
.endif
.endif
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif edx==EN_CHANGE
.if eax==IDC_EDTITEMCAPTION
invoke MnuGetMem,hWin
.if eax
mov esi,eax
invoke GetDlgItemText,hWin,IDC_EDTITEMCAPTION,addr buffer,64
invoke strcpy,addr (MNUITEM ptr [esi]).itemcaption,addr buffer
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_DELETESTRING,nMnuInx,0
lea edi,buffer1
mov ecx,(MNUITEM ptr [esi]).level
.if ecx
mov al,'<'
mov ah,'>' ; *** MOD 21.1.2012
@@:
stosw
;stosb
loop @b
.endif
invoke strcpy,edi,addr buffer
invoke SendDlgItemMessage,hWin,IDC_HOTMENU,HKM_GETHOTKEY,0,0
.if al
mov word ptr buffer,VK_TAB
mov edx,eax
invoke MnuSaveAccel,edx,addr buffer[1]
invoke strcat,addr buffer1,addr buffer
.endif
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_INSERTSTRING,nMnuInx,addr buffer1
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETITEMDATA,nMnuInx,esi
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_SETCURSEL,nMnuInx,0
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_EDTITEMNAME
invoke MnuGetMem,hWin
.if eax
mov esi,eax
invoke GetDlgItemText,hWin,IDC_EDTITEMNAME,addr (MNUITEM ptr [esi]).itemname,MaxName
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_EDTITEMID
invoke MnuGetMem,hWin
.if eax
mov esi,eax
invoke GetDlgItemInt,hWin,IDC_EDTITEMID,addr val,FALSE
mov (MNUITEM ptr [esi]).itemid,eax
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_EDTHELPID
invoke MnuGetMem,hWin
.if eax
mov esi,eax
invoke GetDlgItemInt,hWin,IDC_EDTHELPID,addr val,FALSE
mov (MNUITEM ptr [esi]).helpid,eax
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.elseif eax==IDC_HOTMENU
invoke MnuGetMem,hWin
.if eax
mov esi,eax
invoke SendDlgItemMessage,hWin,IDC_HOTMENU,HKM_GETHOTKEY,0,0
mov (MNUITEM ptr [esi]).shortcut,eax
PrintHex eax
invoke SendMessage,hWin,WM_COMMAND,(EN_CHANGE shl 16) or IDC_EDTITEMCAPTION,0
.if !fMnuSel
mov fDialogChanged,TRUE
.endif
.endif
.endif
.elseif edx==LBN_SELCHANGE
.if eax==IDC_LSTMNU
mov fMnuSel,TRUE
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETCURSEL,0,0
mov nMnuInx,eax
invoke SendDlgItemMessage,hWin,IDC_LSTMNU,LB_GETITEMDATA,nMnuInx,0
.if !eax
invoke SendDlgItemMessage,hWin,IDC_HOTMENU,HKM_SETHOTKEY,0,0
invoke SetDlgItemText,hWin,IDC_EDTITEMCAPTION,addr szNULL
invoke SetDlgItemText,hWin,IDC_EDTITEMNAME,addr szMnuItemName
invoke MnuGetFreeID
invoke SetDlgItemInt,hWin,IDC_EDTITEMID,eax,FALSE
invoke SetDlgItemInt,hWin,IDC_EDTHELPID,0,FALSE
invoke SendDlgItemMessage,hWin,IDC_CHKCHECKED,BM_SETCHECK,BST_UNCHECKED,0
invoke SendDlgItemMessage,hWin,IDC_CHKGRAYED,BM_SETCHECK,BST_UNCHECKED,0
invoke SendDlgItemMessage,hWin,IDC_CHKRIGHTALIGN,BM_SETCHECK,BST_UNCHECKED,0
invoke SendDlgItemMessage,hWin,IDC_CHKRADIO,BM_SETCHECK,BST_UNCHECKED,0
invoke SendDlgItemMessage,hWin,IDC_CHKOWNERDRAW,BM_SETCHECK,BST_UNCHECKED,0
.else
mov esi,eax
invoke SendDlgItemMessage,hWin,IDC_HOTMENU,HKM_SETHOTKEY,(MNUITEM ptr [esi]).shortcut,0
invoke SetDlgItemText,hWin,IDC_EDTITEMCAPTION,addr (MNUITEM ptr [esi]).itemcaption
invoke SetDlgItemText,hWin,IDC_EDTITEMNAME,addr (MNUITEM ptr [esi]).itemname
invoke SetDlgItemInt,hWin,IDC_EDTITEMID,(MNUITEM ptr [esi]).itemid,FALSE
invoke SetDlgItemInt,hWin,IDC_EDTHELPID,(MNUITEM ptr [esi]).helpid,FALSE
mov eax,(MNUITEM ptr [esi]).nstate
and eax,MFS_CHECKED
.if eax==MFS_CHECKED
mov eax,BST_CHECKED
.else
mov eax,BST_UNCHECKED
.endif
invoke SendDlgItemMessage,hWin,IDC_CHKCHECKED,BM_SETCHECK,eax,0
mov eax,(MNUITEM ptr [esi]).nstate
and eax,MFS_GRAYED
.if eax==MFS_GRAYED
mov eax,BST_CHECKED
.else
mov eax,BST_UNCHECKED
.endif
invoke SendDlgItemMessage,hWin,IDC_CHKGRAYED,BM_SETCHECK,eax,0
mov eax,(MNUITEM ptr [esi]).ntype
and eax,MFT_RIGHTJUSTIFY
.if eax==MFT_RIGHTJUSTIFY
mov eax,BST_CHECKED
.else
mov eax,BST_UNCHECKED
.endif
invoke SendDlgItemMessage,hWin,IDC_CHKRIGHTALIGN,BM_SETCHECK,eax,0
mov eax,(MNUITEM ptr [esi]).ntype
and eax,MFT_RADIOCHECK
.if eax==MFT_RADIOCHECK
mov eax,BST_CHECKED
.else
mov eax,BST_UNCHECKED
.endif
invoke SendDlgItemMessage,hWin,IDC_CHKRADIO,BM_SETCHECK,eax,0
mov eax,(MNUITEM ptr [esi]).ntype
and eax,MFT_OWNERDRAW
.if eax==MFT_OWNERDRAW
mov eax,BST_CHECKED
.else
mov eax,BST_UNCHECKED
.endif
invoke SendDlgItemMessage,hWin,IDC_CHKOWNERDRAW,BM_SETCHECK,eax,0
.endif
mov fMnuSel,FALSE
.endif
.endif
.elseif eax==WM_SIZE
invoke SendMessage,hDEd,WM_VSCROLL,SB_THUMBTRACK,0
invoke SendMessage,hDEd,WM_HSCROLL,SB_THUMBTRACK,0
invoke GetClientRect,hDEd,addr rect
mov rect.left,3
mov rect.top,3
sub rect.right,6
sub rect.bottom,6
invoke MoveWindow,hWin,rect.left,rect.top,rect.right,rect.bottom,TRUE
; MOD 22.1.2012 =============================
; invoke GetClientRect,hWin,addr rect
; invoke GetDlgItem,hWin,IDC_LSTMNU
; mov hCtl,eax
; mov rect.left,12 ; move doesnt work
; mov rect.top,170
; mov rect.right,305
; sub rect.bottom,170+12
; invoke MoveWindow,hCtl,rect.left,rect.top,rect.right,rect.bottom,TRUE
; ===========================================
.else
mov eax,FALSE
ret
.endif
mov eax,TRUE
ret
DlgMenuEditProc endp
CreateMnu proc uses ebx esi edi,hWin:HWND,lpProItemMem:DWORD
mov eax,lpProItemMem
.if !eax
invoke xGlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT,MaxMem
mov esi,eax
invoke GlobalLock,esi
invoke strcpy,addr (MNUHEAD ptr [esi]).menuname,addr szMnuName
invoke GetUnikeName,addr (MNUHEAD ptr [esi]).menuname
invoke GetFreeProjectitemID,TPE_MENU
mov (MNUHEAD ptr [esi]).menuid,eax
inc eax
mov (MNUHEAD ptr [esi]).startid,eax
invoke CreateDialogParam,hInstance,IDD_DLGMENUEDIT,hWin,addr DlgMenuEditProc,esi
mov hDialog,eax
mov fDialogChanged,TRUE
mov eax,esi
.else
mov esi,lpProItemMem
mov esi,[esi].PROJECT.hmem
invoke CreateDialogParam,hInstance,IDD_DLGMENUEDIT,hWin,addr DlgMenuEditProc,esi
mov hDialog,eax
invoke SetWindowLong,hDialog,GWL_USERDATA,lpProItemMem
mov eax,esi
.endif
ret
CreateMnu endp
|
; A153058: a(0)=4; a(n)=n^2+a(n-1) for n>0.
; 4,5,9,18,34,59,95,144,208,289,389,510,654,823,1019,1244,1500,1789,2113,2474,2874,3315,3799,4328,4904,5529,6205,6934,7718,8559,9459,10420,11444,12533,13689,14914,16210,17579,19023,20544,22144,23825,25589,27438,29374,31399,33515,35724,38028,40429,42929,45530,48234,51043,53959,56984,60120,63369,66733,70214,73814,77535,81379,85348,89444,93669,98025,102514,107138,111899,116799,121840,127024,132353,137829,143454,149230,155159,161243,167484,173884,180445,187169,194058,201114,208339,215735,223304
mul $0,-2
bin $0,3
sub $1,$0
div $1,4
add $1,4
mov $0,$1
|
;
; Amstrad CPC Specific libraries
;
; Stefano Bodrato - May 2008
;
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; This function is linked only in the CP/M extension version
; it calls the ROM functions as the base cpc firmware interposer
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; Used internally only
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
;
; $Id: cpmfirmware.asm,v 1.4 2016-06-10 21:12:36 dom Exp $
;
SECTION code_clib
PUBLIC firmware
.firmware
jp fwjp_setup ; <- Self modifying code
; This part is run only one time, to setup the above entry
.fwjp_setup
ld hl,$be9b ;; Set up Enter_firmware
ld (firmware+1),hl ;; for CP/M 2.1 - 2.2
ld c,$0c ;; BDOS function get CP/M version
call 5
ld a,l ;; CP/M Version
cp $31 ;; C/PM + (C/PM 3.1)?
jr nz,cpmtst2
ld hl,($0001)
ld de,$0057
add hl,de
ld (firmware+1),hl
.cpmtst2
jr firmware
|
/*
* Keypad Matrix 4x4
*
* org: 6/24/2014
* auth: Nels "Chip" Pearson
*
* Target: I2C Demo Board w/ display and keypad I/O, 20MHz
*
* Usage:
* .include key_matrix_4x4.asm
*
* Resources
* kms_buff: ; Key Matrix Scan last valid data buffer
* ; d3:0 = data..d7: 0=old..1=new
* kms_state: ; scan state. 0:idle 1:debounce
* kms_db_cnt: ; debounce wait counter
* IO
* GPIOR0.GPIOR01 key scan tic1ms flag
*
*/
.equ COL0 = PORTD0
.equ COL1 = PORTD1
.equ COL2 = PORTD2
.equ COL3 = PORTD3
.equ ROW0 = PORTD4
.equ ROW1 = PORTD5
.equ ROW2 = PORTD6
.equ ROW3 = PORTD7
.equ COL_MASK = (1<<COL3 | 1<<COL2 | 1<<COL1 | 1<<COL0) ; 00001111
.equ KMS_DB_WAIT = 0x0A ; scan wait 10 ms
.DSEG
kms_buff: .BYTE 1 ; Key Matrix Scan last valid data buffer
; d3:0 = data..d7: 0=old..1=new
kms_state: .BYTE 1 ; scan state. 0:idle 1:debounce
kms_db_cnt: .BYTE 1 ; debounce wait counter
.CSEG
/* Initialize Key Pad Service
* input reg: none
* output reg: none
*/
key_pad_init:
call key_pad_init_io
;
clr R16
sts kms_buff, R16
sts kms_state, R16
sts kms_db_cnt, R16
;
ret
/*
* Initialize IO for Key Pad
* input reg: none
* output reg: none
*
* Set Port D control reg for PD3-PD0 as inputs
*
* NOTE: PORTC shared with key pad scan. ALWAYS call this for each scan.
*/
key_pad_init_io:
// Configure 4 inputs and 4 outputs
ldi R16, (1<<ROW3 | 1<<ROW2 | 1<<ROW1 | 1<<ROW0) ; out:1, in:0
out DDRD, R16 ; set 7-4 ouput (1), 3-0 input (0) w/pullup
// Set 0-3 as input w/pullup...4-7 as HIGH
ser R16
out PORTD, R16
;
ret
/*
* Service Key Pad
* input reg: none
* output reg: R17 - Data
* R18 - Data valid. 0:new..1:old data
* Process
* This code is called in a fast loop (<1ms) and is self timed.
* State
* 0: Scan for any key press -> Update data, New=1, state=1
* 1: Key down. Wait for ALL Key up -> Set db_count, state=2
* 2: Key up. Wait for debounce delay -> state=0. IF any key down -> state=1
*/
key_pad_service:
// Only service every 10 ms
sbis GPIOR0, KPAD_1MS_TIC
rjmp kps_skip01 ; return OLD data
; service time delay. dec count
cbi GPIOR0, KPAD_1MS_TIC ; clear tic1ms flag. interrupt sets it.
;
lds R16, kms_db_cnt
dec R16
sts kms_db_cnt, R16
breq kps_skip02 ; run service
rjmp kps_skip01 ; return OLD data
;
kps_skip02:
ldi R17, KMS_DB_WAIT ; reset delay count
sts kms_db_cnt, R17
// Run servcice
; switch(state)
lds R16, kms_state
tst R16
breq kps_skip00 ; case 0?
dec R16
breq kps_skip10 ; case 1?
dec R16
breq kps_skip20 ; case 2?
; default
clr R16
sts kms_state, R16 ; reset..was invalid
rjmp kps_skip01 ; return OLD data
; case: 0
kps_skip00:
call key_pad_scan
tst R18
brne kps_skip01
// store the valid data
sts kms_buff, R17
ldi R16, $1 ; set state=1
sts kms_state, R16
ret ; EXIT..R18 already = 0
; case: 1
kps_skip10:
call key_pad_scan
tst R18
breq kps_skip01 ; key still pressed. Return OLD data.
; key Up
ldi R16, $2 ; set state=2
sts kms_state, R16
rjmp kps_skip01 ; return OLD data
; case: 2
// key up for entire delay time or go back to state=1
kps_skip20:
call key_pad_scan
tst R18
breq kps_skip01 ; still down. return OLD data
; debounce completed. Return to state=0
clr R16
sts kms_state, R16
; ; return OLD data
kps_skip01:
// return old data
lds R17, kms_buff
ldi R18, 1 ; OLD data
ret ; EXIT
/*
* Scan Key Pad
* input reg: none
* output reg: R17 - Data
* R18 - Data valid. 0:valid..1:no data
*
* subcnt = 0
* step through rows
* if !(COL & COL_MASK) != 0 then
* val_cnt = R18 << 2 base from row
* COL>>1 test LSB in Carry Bit
* if COL != 0
* ++sub_cnt
* loop back to shift
* else found bit
* row<<2 + sub_cnt = key number.
* NOTE: Could also decrement to speed up end test.
*/
key_pad_scan:
call key_pad_init_io
ldi R17, (1<<ROW0) ; select row
clr R18 ; row counter = 0
clr R19 ; sub_cnt = 0
kps000:
// scan row
com R17 ; generate scan pattern. 0 on row to scan.
out PORTD, R17 ; set ROWn low
com R17 ; restore
in R16, PIND ; read columns
com R16 ; complement..only 1 bit shoud be set if only 1 key pressed
andi R16, COL_MASK ; mask out col bits
// test for key press
tst R16
brne kps001 ; found a key..skip to process it
// try next row
lsl R17
inc R18 ; ++row_cnt
sbrs R18, $2 ; at 4?
rjmp kps000 ; loop back
ldi R18, $1 ; no data
ret ; EXIT
;
kps001:
// key pressed
lsr R16 ; COL>>1
tst R16
breq kps002 ; skip if 0..create key value
inc R19 ; ++sub_cnt
rjmp kps001 ; try next bit
;
// key decode
kps002:
lsl R18 ; x2
lsl R18 ; x4
add R18, R19 ; row<<2 + sub_cnt
mov R17, R18 ; save data
clr R18 ; data valid
ret
/*
* Translate Key Code to Key Cap
* input reg: R17 - Key Code
* output reg: R17 - Key Cap Value
* resources: TEMP, R21
*
* Use offset read lookup table element
*/
key_pad_trans:
andi R17, $0F ; mask off valid data..could test
ldi ZH, high(key_pad_table<<1) ; Initialize Z pointer
ldi ZL, low(key_pad_table<<1)
add ZL, R17 ; add offset
clr R16
adc ZH, R16 ; propigate carry bit
lpm R17, Z ; Load pattern
; memory pointed to by Z (r31:r30)
ret
key_pad_table:
.db 0x0D, 0x0E ; 0, 1 -> D, #(E)
.db 0x00, 0x0F ; 2, 3 -> 0, *(F)
.db 0x0C, 0x09 ; 4, 5 -> C, 9
.db 0x08, 0x07 ; 6, 7 -> 8, 7
.db 0x0B, 0x06 ; 8, 9 -> B, 6
.db 0x05, 0x04 ; A, B -> 5, 4
.db 0x0A, 0x03 ; C, D -> A, 3
.db 0x02, 0x01 ; E, F -> 2, 1
|
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF
;TEST_FILE_META_END
; AND8ri
mov ah, 0xcd
;TEST_BEGIN_RECORDING
and ah, 0x3
;TEST_END_RECORDING
|
MonPartyData:
; MON = 0
; BALL_M = 1
; HELIX = 2
; FAIRY = 3
; BIRD_M = 4
; WATER = 5
; BUG = 6
; GRASS = 7
; SNAKE = 8
; QUADRUPED = 9
; PIKACHU = A
dn SPRITE_GRASS, SPRITE_GRASS ;Bulbasaur/Ivysaur
dn SPRITE_GRASS, SPRITE_MON ;Venusaur/Charmander
dn SPRITE_MON, SPRITE_MON ;Charmeleon/Charizard
dn SPRITE_WATER, SPRITE_WATER ;Squirtle/Wartortle
dn SPRITE_WATER, SPRITE_BUG ;Blastoise/Caterpie
dn SPRITE_BUG, SPRITE_BUG ;Metapod/Butterfree
dn SPRITE_BUG, SPRITE_BUG ;Weedle/Kakuna
dn SPRITE_BUG, SPRITE_BIRD_M ;Beedrill/Pidgey
dn SPRITE_BIRD_M, SPRITE_BIRD_M ;Pidgeotto/Pidgeot
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Rattata/Raticate
dn SPRITE_BIRD_M, SPRITE_BIRD_M ;Spearow/Fearow
dn SPRITE_SNAKE, SPRITE_SNAKE ;Ekans/Arbok
dn SPRITE_PIKACHU_FAMILY, SPRITE_PIKACHU_FAMILY ;Pikachu/Raichu
dn SPRITE_MON, SPRITE_MON ;Sandshrew/Sandslash
dn SPRITE_MON, SPRITE_MON ;NidoranF/Nidorina
dn SPRITE_MON, SPRITE_MON ;Nidoqueen/NidoranM
dn SPRITE_MON, SPRITE_MON ;Nidorino/Nidoking
dn SPRITE_FAIRY, SPRITE_FAIRY ;Clefairy/Clefable
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Vulpix/Ninetales
dn SPRITE_FAIRY, SPRITE_FAIRY ;Jigglypuff/Wigglytuff
dn SPRITE_MON, SPRITE_MON ;Zubat/Golbat
dn SPRITE_GRASS, SPRITE_GRASS ;Oddish/Gloom
dn SPRITE_GRASS, SPRITE_BUG ;Vileplume/Paras
dn SPRITE_BUG, SPRITE_BUG ;Parasect/Venonat
dn SPRITE_BUG, SPRITE_MON ;Venomoth/Diglett
dn SPRITE_MON, SPRITE_MON ;Dugtrio/Meowth
dn SPRITE_MON, SPRITE_MON ;Persian/Psyduck
dn SPRITE_MON, SPRITE_MON ;Golduck/Mankey
dn SPRITE_MON, SPRITE_QUADRUPED ;Primeape/Growlithe
dn SPRITE_QUADRUPED, SPRITE_MON ;Arcanine/Poliwag
dn SPRITE_MON, SPRITE_MON ;Poliwhirl/Poliwrath
dn SPRITE_MON, SPRITE_MON ;Abra/Kadabra
dn SPRITE_MON, SPRITE_MON ;Alakazam/Machop
dn SPRITE_MON, SPRITE_MON ;Machoke/Machamp
dn SPRITE_GRASS, SPRITE_GRASS ;Bellsprout/Weepinbell
dn SPRITE_GRASS, SPRITE_WATER ;Victreebel/Tentacool
dn SPRITE_WATER, SPRITE_MON ;Tentacruel/Geodude
dn SPRITE_MON, SPRITE_MON ;Graveler/Golem
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Ponyta/Rapidash
dn SPRITE_QUADRUPED, SPRITE_MON ;Slowpoke/Slowbro
dn SPRITE_BALL_M, SPRITE_BALL_M ;Magnemite/Magneton
dn SPRITE_BIRD_M, SPRITE_BIRD_M ;Farfetch'd/Doduo
dn SPRITE_BIRD_M, SPRITE_WATER ;Dodrio/Seel
dn SPRITE_WATER, SPRITE_MON ;Dewgong/Grimer
dn SPRITE_MON, SPRITE_HELIX ;Muk/Shellder
dn SPRITE_HELIX, SPRITE_MON ;Cloyster/Gastly
dn SPRITE_MON, SPRITE_MON ;Haunter/Gengar
dn SPRITE_SNAKE, SPRITE_MON ;Onix/Drowzee
dn SPRITE_MON, SPRITE_WATER ;Hypno/Krabby
dn SPRITE_WATER, SPRITE_BALL_M ;Kingler/Voltorb
dn SPRITE_BALL_M, SPRITE_GRASS ;Electrode/Exeggcute
dn SPRITE_GRASS, SPRITE_MON ;Exeggutor/Cubone
dn SPRITE_MON, SPRITE_MON ;Marowak/Hitmonlee
dn SPRITE_MON, SPRITE_MON ;Hitmonchan/Lickitung
dn SPRITE_MON, SPRITE_MON ;Koffing/Weezing
dn SPRITE_QUADRUPED, SPRITE_MON ;Rhyhorn/Rhydon
dn SPRITE_FAIRY, SPRITE_GRASS ;Chansey/Tangela
dn SPRITE_MON, SPRITE_WATER ;Kangaskhan/Horsea
dn SPRITE_WATER, SPRITE_WATER ;Seadra/Goldeen
dn SPRITE_WATER, SPRITE_HELIX ;Seaking/Staryu
dn SPRITE_HELIX, SPRITE_MON ;Starmie/Mr.Mime
dn SPRITE_BUG, SPRITE_MON ;Scyther/Jynx
dn SPRITE_MON, SPRITE_MON ;Electabuzz/Magmar
dn SPRITE_BUG, SPRITE_QUADRUPED ;Pinsir/Tauros
dn SPRITE_WATER, SPRITE_SNAKE ;Magikarp/Gyarados
dn SPRITE_WATER, SPRITE_MON ;Lapras/Ditto
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Eevee/Vaporeon
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Jolteon/Flareon
dn SPRITE_MON, SPRITE_HELIX ;Porygon/Omanyte
dn SPRITE_HELIX, SPRITE_HELIX ;Omastar/Kabuto
dn SPRITE_HELIX, SPRITE_BIRD_M ;Kabutops/Aerodactyl
dn SPRITE_MON, SPRITE_BIRD_M ;Snorlax/Articuno
dn SPRITE_BIRD_M, SPRITE_BIRD_M ;Zapdos/Moltres
dn SPRITE_SNAKE, SPRITE_SNAKE ;Dratini/Dragonair
dn SPRITE_SNAKE, SPRITE_MON ;Dragonite/Mewtwo
dn SPRITE_MON, SPRITE_FAIRY ;Mew/Togepi
dn SPRITE_FAIRY, SPRITE_FAIRY ;Togetic/Togekiss
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Houndour/Houndoom
dn SPRITE_BUG, SPRITE_BIRD_M ;Heracross/CROBAT
dn SPRITE_MON, SPRITE_MON ;sneasels ' rearranged things, need to fix eventually >_>
dn SPRITE_BIRD_M, SPRITE_FAIRY ;SKARM,Mis
dn SPRITE_FAIRY, SPRITE_QUADRUPED ;Mismagius,Miltank
dn SPRITE_WATER, SPRITE_WATER ;Chinchou,Lanturn
dn SPRITE_QUADRUPED,SPRITE_QUADRUPED;SPRITE_SNAKE, SPRITE_SNAKE ;wasSlugma,Mag
dn SPRITE_MON, SPRITE_MON ;Ty,Hitmon
dn SPRITE_BIRD_M, SPRITE_BIRD_M ;Murkrow,Hon
dn SPRITE_PIKACHU_FAMILY, SPRITE_PIKACHU_FAMILY ;Marill,Azu
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Swinn,Pilo
dn SPRITE_QUADRUPED, SPRITE_MON ;Mamo,Woop
dn SPRITE_MON, SPRITE_BUG ;Quags,Yanm
dn SPRITE_BUG, SPRITE_MON ;Yan,Pory
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Phanpy,Don
dn SPRITE_MON, SPRITE_MON ;Gligar,g
dn SPRITE_MON, SPRITE_MON ;Teddy,ursa
dn SPRITE_FAIRY, SPRITE_FAIRY ;snubb,gran
dn SPRITE_MON, SPRITE_MON ;larv,pup
dn SPRITE_MON, SPRITE_QUADRUPED ;tyr,absol
dn SPRITE_HELIX, SPRITE_BIRD_M ;corsola,hoothoot
dn SPRITE_BIRD_M, SPRITE_SNAKE ;noctowl,salandit
dn SPRITE_SNAKE, SPRITE_GRASS ;sun,hop
dn SPRITE_GRASS, SPRITE_GRASS ;hop skiploom
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;meep,meep2
dn SPRITE_QUADRUPED, SPRITE_BIRD_M;amphi,natu
dn SPRITE_BIRD_M, SPRITE_WATER;XATU, REMORAID
dn SPRITE_WATER, SPRITE_QUADRUPED ;oct,RIME
dn SPRITE_BIRD_M, SPRITE_WATER ;SIRFETCHD,qwilfish
dn SPRITE_SNAKE, SPRITE_QUADRUPED ;dun,gira
dn SPRITE_MON, SPRITE_MON;riolu,lucario
dn SPRITE_GRASS, SPRITE_WATER ;sudo poli
dn SPRITE_WATER, SPRITE_GRASS ;slow,belloss,
dn SPRITE_WATER, SPRITE_FAIRY ;kingdra,blissey
dn SPRITE_BALL_M, SPRITE_MON ;blissey/pory
dn SPRITE_MON, SPRITE_BALL_M ;/magmor/telect
dn SPRITE_MON, SPRITE_GRASS ;/magnez/ryp
dn SPRITE_MON, SPRITE_QUADRUPED ;tan/licky, ESPEON
dn SPRITE_QUADRUPED,SPRITE_QUADRUPED ;Eevee evos U/G
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED ;Eevee evos L/S
dn SPRITE_QUADRUPED, SPRITE_BUG ;sudo,scizor
dn SPRITE_SNAKE,SPRITE_QUADRUPED;steelix, ZIGZAGOON
dn SPRITE_QUADRUPED,SPRITE_MON;LINOONE, OBSTAGOON
dn SPRITE_BUG,SPRITE_BUG;SPINARA KARIADOS,
dn SPRITE_WATER,SPRITE_WATER; MANTYKE.MANTINE,
dn SPRITE_BUG,SPRITE_BUG; was AIPOM AMBIPOM,
dn SPRITE_MON,SPRITE_MON; MUNCHLAX SMEARGLE,
dn SPRITE_QUADRUPED, SPRITE_QUADRUPED; SUICUNE ENTEI
dn SPRITE_QUADRUPED, SPRITE_MON;. RAIKOU MEGA_CHARIZARD
; dn SPRITE_MON,SPRITE_GRASS;, MEGA_BLASTOISE MEGA_VENUSAUR
; dn SPRITE_MON ;wobbuffet
|
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="fd, buf, nbytes"/>
<%docstring>
Invokes the syscall read. See 'man 2 read' for more information.
Arguments:
fd(int): fd
buf(void): buf
nbytes(size_t): nbytes
</%docstring>
${syscall('SYS_read', fd, buf, nbytes)}
|
// -*- C++ -*- std::terminate, std::unexpected and friends.
// Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation
//
// This file is part of GCC.
//
// GCC is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.
//
// GCC is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with GCC; see the file COPYING. If not, write to
// the Free Software Foundation, 51 Franklin Street, Fifth Floor,
// Boston, MA 02110-1301, USA.
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
// this file and link it with other files to produce an executable, this
// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
#include "typeinfo"
#include "exception"
#include <cstdlib>
#include "unwind-cxx.h"
#include "exception_defines.h"
using namespace __cxxabiv1;
void
__cxxabiv1::__terminate (std::terminate_handler handler)
{
try {
handler ();
std::abort ();
} catch (...) {
std::abort ();
}
}
void
std::terminate ()
{
__terminate (__terminate_handler);
}
void
__cxxabiv1::__unexpected (std::unexpected_handler handler)
{
handler();
std::terminate ();
}
void
std::unexpected ()
{
__unexpected (__unexpected_handler);
}
std::terminate_handler
std::set_terminate (std::terminate_handler func) throw()
{
std::terminate_handler old = __terminate_handler;
__terminate_handler = func;
return old;
}
std::unexpected_handler
std::set_unexpected (std::unexpected_handler func) throw()
{
std::unexpected_handler old = __unexpected_handler;
__unexpected_handler = func;
return old;
}
|
; signed long __fs2ulong (float f)
SECTION code_fp_math48
PUBLIC cm48_sdccixp_ds2ulong
EXTERN cm48_sdccixp_dread1, am48_dfix32u
cm48_sdccixp_ds2ulong:
; double to unsigned long
;
; enter : stack = sdcc_float x, ret
;
; exit : dehl = (unsigned long)(x)
;
; uses : af, bc, de, hl, bc', de', hl'
call cm48_sdccixp_dread1 ; AC'= math48(x)
jp am48_dfix32u
|
; A106252: Number of positive integer triples (x,y,z), with x<=y<=z<=n, such that each of x,y and z divides the sum of the other two.
; 1,3,5,7,8,11,12,14,16,18,19,22,23,25,27,29,30,33,34,36,38,40,41,44,45,47,49,51,52,55,56,58,60,62,63,66,67,69,71,73,74,77,78,80,82,84,85,88,89,91,93,95,96,99,100,102,104,106,107,110,111,113,115,117,118,121,122
mov $1,32
add $1,$0
div $0,2
mul $0,8
mul $1,15
sub $1,$0
sub $1,478
div $1,6
add $1,1
|
; A169118: Number of reduced words of length n in Coxeter group on 9 generators S_i with relations (S_i)^2 = (S_i S_j)^26 = I.
; 1,9,72,576,4608,36864,294912,2359296,18874368,150994944,1207959552,9663676416,77309411328,618475290624,4947802324992,39582418599936,316659348799488,2533274790395904,20266198323167232,162129586585337856
seq $0,3951 ; Expansion of g.f.: (1+x)/(1-8*x).
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x36b8, %rcx
nop
nop
nop
nop
and %rax, %rax
mov (%rcx), %r13w
nop
nop
nop
nop
nop
xor %r12, %r12
lea addresses_WT_ht+0x8f31, %r14
sub $31792, %rcx
mov (%r14), %r9d
nop
xor %r14, %r14
lea addresses_WT_ht+0x6898, %rsi
lea addresses_A_ht+0x14a98, %rdi
nop
nop
nop
nop
add %r12, %r12
mov $59, %rcx
rep movsl
xor $11412, %rax
lea addresses_UC_ht+0x1be08, %rsi
lea addresses_WC_ht+0x465c, %rdi
nop
nop
nop
sub $34154, %r12
mov $40, %rcx
rep movsw
nop
sub $22153, %r13
lea addresses_A_ht+0xab80, %r12
nop
nop
cmp $26947, %r14
vmovups (%r12), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $1, %xmm3, %rax
nop
nop
nop
nop
nop
and $45081, %rax
lea addresses_WC_ht+0x5c50, %r9
nop
cmp $9476, %r14
movw $0x6162, (%r9)
nop
and %rdi, %rdi
lea addresses_A_ht+0x6af8, %rcx
nop
xor %r9, %r9
movb $0x61, (%rcx)
nop
nop
add $20562, %rcx
lea addresses_A_ht+0x90d8, %r14
nop
sub %rsi, %rsi
movl $0x61626364, (%r14)
nop
nop
xor %rdi, %rdi
lea addresses_normal_ht+0xb498, %r12
clflush (%r12)
nop
nop
nop
sub $56467, %r9
mov (%r12), %r13d
nop
nop
nop
nop
sub %rcx, %rcx
lea addresses_A_ht+0x1018, %rsi
lea addresses_UC_ht+0x701c, %rdi
nop
and $2750, %rax
mov $15, %rcx
rep movsl
nop
sub %r9, %r9
lea addresses_WT_ht+0x10e60, %r13
nop
nop
nop
nop
xor %r12, %r12
movb $0x61, (%r13)
add %r9, %r9
lea addresses_WT_ht+0x17698, %rcx
nop
nop
nop
nop
nop
add %r9, %r9
mov $0x6162636465666768, %r14
movq %r14, %xmm0
vmovups %ymm0, (%rcx)
nop
nop
nop
nop
dec %r13
lea addresses_UC_ht+0xda98, %rsi
lea addresses_normal_ht+0x6496, %rdi
add $45498, %r12
mov $15, %rcx
rep movsw
nop
cmp $26717, %rcx
lea addresses_A_ht+0xcad8, %rsi
nop
nop
nop
nop
nop
dec %rax
mov (%rsi), %r12d
nop
nop
nop
add %rdi, %rdi
lea addresses_WC_ht+0x1a84a, %rsi
lea addresses_UC_ht+0x902e, %rdi
inc %r9
mov $69, %rcx
rep movsw
nop
nop
nop
nop
dec %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r14
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r9
push %rax
push %rbx
push %rdi
push %rdx
push %rsi
// Faulty Load
lea addresses_US+0xc98, %r9
nop
and $29591, %rsi
movb (%r9), %al
lea oracles, %rdi
and $0xff, %rax
shlq $12, %rax
mov (%rdi,%rax,1), %rax
pop %rsi
pop %rdx
pop %rdi
pop %rbx
pop %rax
pop %r9
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': True, 'size': 1}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 10, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': True, 'congruent': 9, 'type': 'addresses_A_ht'}}
{'src': {'same': False, 'congruent': 4, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 2, 'type': 'addresses_WC_ht'}}
{'src': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 2}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 1}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4}}
{'src': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_normal_ht', 'AVXalign': True, 'size': 4}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 5, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_UC_ht'}}
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 3, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 1}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': True, 'congruent': 9, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32}}
{'src': {'same': False, 'congruent': 8, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_normal_ht'}}
{'src': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 1, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_UC_ht'}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
/*
* Copyright (c) 2015 - 2021, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* * Neither the name of Intel Corporation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY LOG OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef MOCKAPPLICATIONIO_HPP_INCLUDE
#define MOCKAPPLICATIONIO_HPP_INCLUDE
#include "gmock/gmock.h"
#include "ApplicationIO.hpp"
class MockApplicationIO : public geopm::ApplicationIO
{
public:
MOCK_METHOD(void, connect, (), (override));
MOCK_METHOD(bool, do_shutdown, (), (const, override));
MOCK_METHOD(std::string, report_name, (), (const, override));
MOCK_METHOD(std::string, profile_name, (), (const, override));
MOCK_METHOD(std::set<std::string>, region_name_set, (), (const, override));
MOCK_METHOD(void, controller_ready, (), (override));
MOCK_METHOD(void, abort, (), (override));
};
#endif
|
;===========================================================
; game.asm
;
; Data for game workflow handling
;===========================================================
GameCounter .byte $00 ;Counter for speed control
GameSpeed .byte $0A ;Cycles needed to update game
Temp .byte $00 ;Temporary data address
Temp2 .byte $00
ScoreUnits .byte $00
ScoreTens .byte $00 |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x19883, %rbx
nop
nop
and %rbp, %rbp
mov (%rbx), %r9
nop
sub $52749, %r15
lea addresses_normal_ht+0xc293, %rsi
lea addresses_A_ht+0xc683, %rdi
nop
nop
xor $62544, %r14
mov $81, %rcx
rep movsq
mfence
lea addresses_normal_ht+0x17a83, %rsi
lea addresses_A_ht+0x5e5b, %rdi
nop
nop
nop
nop
sub $57381, %r9
mov $51, %rcx
rep movsb
nop
nop
nop
nop
nop
dec %rdi
lea addresses_WT_ht+0x139f3, %r15
nop
nop
nop
nop
nop
sub %r9, %r9
mov (%r15), %rbp
nop
nop
nop
nop
add $18714, %rbp
lea addresses_normal_ht+0xa693, %rbx
nop
nop
nop
dec %rbp
mov (%rbx), %r9d
nop
mfence
lea addresses_A_ht+0x1aac7, %rbp
nop
nop
nop
cmp %rbx, %rbx
and $0xffffffffffffffc0, %rbp
vmovaps (%rbp), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0, %rdi
nop
nop
nop
nop
nop
cmp $56252, %rbx
lea addresses_normal_ht+0x45e3, %rcx
nop
nop
nop
nop
cmp $20501, %r9
movw $0x6162, (%rcx)
nop
dec %r9
lea addresses_normal_ht+0x18787, %r9
cmp $59356, %rsi
movups (%r9), %xmm2
vpextrq $0, %xmm2, %rcx
nop
nop
nop
nop
nop
add %r9, %r9
lea addresses_WC_ht+0x15783, %rsi
lea addresses_UC_ht+0x1123, %rdi
nop
xor %rbp, %rbp
mov $42, %rcx
rep movsb
add $4304, %r9
lea addresses_D_ht+0xc983, %rcx
nop
and $2516, %rsi
movl $0x61626364, (%rcx)
add %rbx, %rbx
lea addresses_normal_ht+0x14b83, %rsi
lea addresses_normal_ht+0x1153, %rdi
nop
nop
nop
xor $36064, %r15
mov $29, %rcx
rep movsw
nop
nop
nop
add %rbp, %rbp
lea addresses_A_ht+0x15c77, %rsi
nop
nop
sub $22191, %rbp
mov $0x6162636465666768, %r14
movq %r14, %xmm4
vmovups %ymm4, (%rsi)
nop
nop
nop
cmp %rcx, %rcx
lea addresses_WC_ht+0x1b03, %rsi
nop
nop
nop
nop
nop
sub $20406, %r9
movb (%rsi), %r14b
nop
nop
add %rsi, %rsi
lea addresses_WT_ht+0x14709, %rcx
nop
xor $13851, %r14
mov $0x6162636465666768, %rsi
movq %rsi, (%rcx)
nop
nop
nop
nop
and $3441, %r15
lea addresses_D_ht+0x173ab, %rbx
and $7825, %r9
movups (%rbx), %xmm5
vpextrq $0, %xmm5, %rbp
nop
nop
nop
and %r9, %r9
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r15
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r8
push %r9
push %rbx
push %rdx
push %rsi
// Store
mov $0x7de77f000000082f, %r12
nop
nop
nop
nop
and %r13, %r13
mov $0x5152535455565758, %rsi
movq %rsi, (%r12)
nop
nop
nop
nop
cmp %rbx, %rbx
// Store
lea addresses_UC+0x18423, %r9
nop
nop
nop
dec %rdx
movw $0x5152, (%r9)
nop
nop
dec %rdx
// Store
lea addresses_US+0x18519, %r13
nop
nop
nop
xor $19108, %r12
movw $0x5152, (%r13)
nop
nop
nop
xor %rsi, %rsi
// Store
lea addresses_PSE+0x19983, %r13
nop
nop
and $57739, %rdx
movb $0x51, (%r13)
nop
nop
and %rbx, %rbx
// Load
lea addresses_WC+0x1dde3, %r9
clflush (%r9)
nop
xor $43259, %r12
movb (%r9), %r13b
nop
nop
nop
nop
nop
xor $21318, %rbx
// Load
lea addresses_WT+0x12983, %rbx
nop
nop
nop
nop
nop
add %rsi, %rsi
mov (%rbx), %r13d
nop
nop
nop
nop
nop
and $47772, %rdx
// Faulty Load
lea addresses_WT+0x12983, %rsi
clflush (%rsi)
nop
nop
nop
nop
nop
sub %r9, %r9
mov (%rsi), %r13w
lea oracles, %rbx
and $0xff, %r13
shlq $12, %r13
mov (%rbx,%r13,1), %r13
pop %rsi
pop %rdx
pop %rbx
pop %r9
pop %r8
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 2, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 4, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 1, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 11, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 4, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 8, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 4, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 3, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': True, 'congruent': 2, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 3, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 2, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': True}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 11, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 1, 'size': 32, 'same': True, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': True, 'congruent': 7, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 1, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': False, 'NT': False}}
{'51': 10508}
51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51
*/
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/common/frame/custom_frame_view_ash.h"
#include <memory>
#include "ash/common/ash_layout_constants.h"
#include "ash/common/frame/caption_buttons/frame_caption_button.h"
#include "ash/common/frame/caption_buttons/frame_caption_button_container_view.h"
#include "ash/common/test/test_session_state_delegate.h"
#include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/common/wm_shell.h"
#include "ash/test/ash_test_base.h"
#include "grit/ash_resources.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_delegate.h"
namespace ash {
// A views::WidgetDelegate which uses a CustomFrameViewAsh.
class TestWidgetDelegate : public views::WidgetDelegateView {
public:
TestWidgetDelegate() {}
~TestWidgetDelegate() override {}
views::NonClientFrameView* CreateNonClientFrameView(
views::Widget* widget) override {
custom_frame_view_ = new CustomFrameViewAsh(widget);
return custom_frame_view_;
}
CustomFrameViewAsh* custom_frame_view() const { return custom_frame_view_; }
private:
// Not owned.
CustomFrameViewAsh* custom_frame_view_;
DISALLOW_COPY_AND_ASSIGN(TestWidgetDelegate);
};
class TestWidgetConstraintsDelegate : public TestWidgetDelegate {
public:
TestWidgetConstraintsDelegate() {}
~TestWidgetConstraintsDelegate() override {}
// views::View:
gfx::Size GetMinimumSize() const override { return minimum_size_; }
gfx::Size GetMaximumSize() const override { return maximum_size_; }
views::View* GetContentsView() override {
// Set this instance as the contents view so that the maximum and minimum
// size constraints will be used.
return this;
}
// views::WidgetDelegate:
bool CanMaximize() const override { return true; }
bool CanMinimize() const override { return true; }
void set_minimum_size(const gfx::Size& min_size) { minimum_size_ = min_size; }
void set_maximum_size(const gfx::Size& max_size) { maximum_size_ = max_size; }
const gfx::Rect& GetFrameCaptionButtonContainerViewBounds() {
return custom_frame_view()
->GetFrameCaptionButtonContainerViewForTest()
->bounds();
}
void EndFrameCaptionButtonContainerViewAnimations() {
FrameCaptionButtonContainerView::TestApi test(
custom_frame_view()->GetFrameCaptionButtonContainerViewForTest());
test.EndAnimations();
}
int GetTitleBarHeight() const {
return custom_frame_view()->NonClientTopBorderHeight();
}
private:
gfx::Size minimum_size_;
gfx::Size maximum_size_;
DISALLOW_COPY_AND_ASSIGN(TestWidgetConstraintsDelegate);
};
class CustomFrameViewAshTest : public test::AshTestBase {
public:
CustomFrameViewAshTest() {}
~CustomFrameViewAshTest() override {}
protected:
std::unique_ptr<views::Widget> CreateWidget(TestWidgetDelegate* delegate) {
std::unique_ptr<views::Widget> widget(new views::Widget);
views::Widget::InitParams params;
params.delegate = delegate;
params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
params.bounds = gfx::Rect(0, 0, 100, 100);
params.context = CurrentContext();
widget->Init(params);
return widget;
}
test::TestSessionStateDelegate* GetTestSessionStateDelegate() {
return static_cast<test::TestSessionStateDelegate*>(
WmShell::Get()->GetSessionStateDelegate());
}
private:
DISALLOW_COPY_AND_ASSIGN(CustomFrameViewAshTest);
};
// Test that the height of the header is correct upon initially displaying
// the widget.
TEST_F(CustomFrameViewAshTest, HeaderHeight) {
TestWidgetDelegate* delegate = new TestWidgetDelegate;
std::unique_ptr<views::Widget> widget(CreateWidget(delegate));
widget->Show();
// The header should have enough room for the window controls. The
// header/content separator line overlays the window controls.
EXPECT_EQ(
GetAshLayoutSize(AshLayoutSize::NON_BROWSER_CAPTION_BUTTON).height(),
delegate->custom_frame_view()->GetHeaderView()->height());
}
// Verify that CustomFrameViewAsh returns the correct minimum and maximum frame
// sizes when the client view does not specify any size constraints.
TEST_F(CustomFrameViewAshTest, NoSizeConstraints) {
TestWidgetConstraintsDelegate* delegate = new TestWidgetConstraintsDelegate;
std::unique_ptr<views::Widget> widget(CreateWidget(delegate));
CustomFrameViewAsh* custom_frame_view = delegate->custom_frame_view();
gfx::Size min_frame_size = custom_frame_view->GetMinimumSize();
gfx::Size max_frame_size = custom_frame_view->GetMaximumSize();
EXPECT_EQ(delegate->GetTitleBarHeight(), min_frame_size.height());
// A width and height constraint of 0 denotes unbounded.
EXPECT_EQ(0, max_frame_size.width());
EXPECT_EQ(0, max_frame_size.height());
}
// Verify that CustomFrameViewAsh returns the correct minimum and maximum frame
// sizes when the client view specifies size constraints.
TEST_F(CustomFrameViewAshTest, MinimumAndMaximumSize) {
gfx::Size min_client_size(500, 500);
gfx::Size max_client_size(800, 800);
TestWidgetConstraintsDelegate* delegate = new TestWidgetConstraintsDelegate;
delegate->set_minimum_size(min_client_size);
delegate->set_maximum_size(max_client_size);
std::unique_ptr<views::Widget> widget(CreateWidget(delegate));
CustomFrameViewAsh* custom_frame_view = delegate->custom_frame_view();
gfx::Size min_frame_size = custom_frame_view->GetMinimumSize();
gfx::Size max_frame_size = custom_frame_view->GetMaximumSize();
EXPECT_EQ(min_client_size.width(), min_frame_size.width());
EXPECT_EQ(max_client_size.width(), max_frame_size.width());
EXPECT_EQ(min_client_size.height() + delegate->GetTitleBarHeight(),
min_frame_size.height());
EXPECT_EQ(max_client_size.height() + delegate->GetTitleBarHeight(),
max_frame_size.height());
}
// Verify that CustomFrameViewAsh updates the avatar icon based on the
// state of the SessionStateDelegate after visibility change.
TEST_F(CustomFrameViewAshTest, AvatarIcon) {
TestWidgetConstraintsDelegate* delegate = new TestWidgetConstraintsDelegate;
std::unique_ptr<views::Widget> widget(CreateWidget(delegate));
CustomFrameViewAsh* custom_frame_view = delegate->custom_frame_view();
EXPECT_FALSE(custom_frame_view->GetAvatarIconViewForTest());
// Avatar image becomes available.
const gfx::ImageSkia user_image =
*ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(
IDR_AURA_UBER_TRAY_GUEST_ICON);
GetTestSessionStateDelegate()->SetUserImage(user_image);
widget->Hide();
widget->Show();
EXPECT_TRUE(custom_frame_view->GetAvatarIconViewForTest());
// Avatar image is gone; the ImageView for the avatar icon should be
// removed.
GetTestSessionStateDelegate()->SetUserImage(gfx::ImageSkia());
widget->Hide();
widget->Show();
EXPECT_FALSE(custom_frame_view->GetAvatarIconViewForTest());
}
// The visibility of the size button is updated when maximize mode is toggled.
// Verify that the layout of the HeaderView is updated for the size button's
// new visibility.
TEST_F(CustomFrameViewAshTest, HeaderViewNotifiedOfChildSizeChange) {
TestWidgetConstraintsDelegate* delegate = new TestWidgetConstraintsDelegate;
std::unique_ptr<views::Widget> widget(CreateWidget(delegate));
const gfx::Rect initial =
delegate->GetFrameCaptionButtonContainerViewBounds();
WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
true);
delegate->EndFrameCaptionButtonContainerViewAnimations();
const gfx::Rect maximize_mode_bounds =
delegate->GetFrameCaptionButtonContainerViewBounds();
EXPECT_GT(initial.width(), maximize_mode_bounds.width());
WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
false);
delegate->EndFrameCaptionButtonContainerViewAnimations();
const gfx::Rect after_restore =
delegate->GetFrameCaptionButtonContainerViewBounds();
EXPECT_EQ(initial, after_restore);
}
} // namespace ash
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1ae0d, %rsi
lea addresses_A_ht+0x1675d, %rdi
clflush (%rsi)
nop
nop
nop
nop
add $53339, %rax
mov $115, %rcx
rep movsw
nop
nop
nop
nop
add $22075, %r14
lea addresses_WC_ht+0x127a4, %r9
nop
nop
nop
cmp $30902, %rdx
movw $0x6162, (%r9)
nop
add %rsi, %rsi
lea addresses_A_ht+0x1d66d, %rsi
lea addresses_WC_ht+0x1df3d, %rdi
xor $49200, %r12
mov $89, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %rsi
lea addresses_WT_ht+0xd8f9, %rsi
lea addresses_WC_ht+0xad6d, %rdi
nop
nop
nop
sub $5731, %rdx
mov $73, %rcx
rep movsw
nop
add $12182, %rax
lea addresses_UC_ht+0x12e37, %r12
nop
nop
nop
add $44373, %rsi
movb (%r12), %al
nop
nop
xor %rdi, %rdi
lea addresses_A_ht+0x134d, %r9
nop
nop
nop
nop
xor %rax, %rax
mov (%r9), %ecx
nop
nop
nop
dec %rdx
lea addresses_UC_ht+0x2d7d, %rsi
lea addresses_WC_ht+0xebc5, %rdi
nop
nop
dec %rdx
mov $32, %rcx
rep movsw
nop
nop
nop
nop
xor $64163, %r9
lea addresses_normal_ht+0x10e4d, %rcx
nop
and $61876, %r9
movb (%rcx), %r12b
nop
sub $37719, %rsi
lea addresses_WT_ht+0xe94d, %rdi
nop
nop
sub %rsi, %rsi
and $0xffffffffffffffc0, %rdi
movntdqa (%rdi), %xmm1
vpextrq $0, %xmm1, %r9
nop
nop
xor $51282, %rdi
lea addresses_WT_ht+0x1bc4d, %rsi
lea addresses_WC_ht+0x604d, %rdi
nop
nop
nop
nop
inc %rdx
mov $24, %rcx
rep movsb
nop
nop
and $31739, %r9
lea addresses_normal_ht+0x524d, %rsi
lea addresses_WC_ht+0x6635, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
and $10772, %rdx
mov $19, %rcx
rep movsw
xor %rcx, %rcx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r15
push %r8
push %r9
// Store
lea addresses_D+0x4d, %r8
add $22639, %r15
mov $0x5152535455565758, %r13
movq %r13, (%r8)
nop
and $37156, %r12
// Store
lea addresses_UC+0x12e4d, %r12
nop
nop
dec %r10
movl $0x51525354, (%r12)
inc %r13
// Store
lea addresses_WC+0x1e671, %r9
nop
xor $42696, %r10
mov $0x5152535455565758, %r15
movq %r15, (%r9)
nop
xor %r15, %r15
// Store
lea addresses_WC+0x984d, %r9
xor %r13, %r13
mov $0x5152535455565758, %r8
movq %r8, (%r9)
nop
nop
and %r9, %r9
// Load
lea addresses_WT+0x1a04d, %r9
nop
nop
add %r10, %r10
vmovups (%r9), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $0, %xmm2, %r13
nop
nop
nop
add %r12, %r12
// Faulty Load
lea addresses_WC+0x984d, %r8
nop
nop
nop
nop
and $26678, %r13
vmovups (%r8), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %r10
lea oracles, %r11
and $0xff, %r10
shlq $12, %r10
mov (%r11,%r10,1), %r10
pop %r9
pop %r8
pop %r15
pop %r13
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_WC', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_D', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_UC', 'size': 4, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_WC', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WC', 'size': 8, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_WT', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WC', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False}}
{'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}}
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}}
{'src': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_normal_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 5, 'NT': True, 'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': True}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 2, 'same': False}}
{'38': 21829}
38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38
*/
|
; A056236: a(n) = (2+sqrt(2))^n + (2-sqrt(2))^n.
; 2,4,12,40,136,464,1584,5408,18464,63040,215232,734848,2508928,8566016,29246208,99852800,340918784,1163969536,3974040576,13568223232,46324811776,158162800640,540001579008,1843680714752,6294719700992,21491517374464,73376630095872,250523485634560,855340682346496,2920315758116864
lpb $0
sub $0,1
add $2,1
add $1,$2
add $2,$1
mul $1,2
lpe
add $1,2
|
.importonce
// The MIT License (MIT)
//
// Copyright (c) 2015 Michał Taszycki
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
.const _64SPEC_VERSION_MAJOR = 0
.const _64SPEC_VERSION_MINOR = 5
.const _64SPEC_VERSION_PATCH = 0
.function _64spec_version() {
.return "" + _64SPEC_VERSION_MAJOR + '.' + _64SPEC_VERSION_MINOR + '.' + _64SPEC_VERSION_PATCH
}
.const _TEXT_COLOR = $0286
.const _BORDER = $d020
.const _BACKGROUND = $d021
.const _CHROUT = $ffd2
.const _CHKOUT = $FFC9
.const _PLOT = $fff0
.const _SETLFS = $FFBA
.const _OPEN = $FFC0
.const _CLOSE = $FFC3
.const _SETNAM = $FFBD
.const _CLRCHN = $FFCC
.const _CLRSCR = $e544
.const _PRINTWORD = $bdcd
.const _CR=13
.const _CLS = 147
.const _UPPERCASE = 142
.const _LOWERCASE = 14
.struct _64SPEC_CONFIG {
print_header,
clear_screen_at_initialization,
change_character_set,
on_exit,
success_color,
failure_color,
change_text_color,
change_text_color_on_final_result,
change_text_color_on_immediate_result,
text_color,
revert_to_initial_text_color,
change_background_color,
change_background_color_on_final_result,
background_color,
change_border_color,
border_color,
change_border_color_on_final_result,
print_immediate_result,
immediate_result_success_character,
immediate_result_failure_character,
print_final_results,
write_final_results_to_file,
result_file_name,
assertion_passed_subroutine,
assertion_failed_subroutine,
result_all_passed_message,
result_some_passed_message,
result_all_failed_message,
print_configuration,
print_command_line_options,
print_context_description,
print_example_description,
change_context_description_text_color,
change_example_description_text_color,
print_context_results,
print_example_results,
_use_custom_result_all_passed_message,
_use_custom_result_some_passed_message,
_use_custom_result_all_failed_message,
_use_custom_assertion_passed_subroutine,
_use_custom_assertion_failed_subroutine
}
// Default configuration
.const _64SPEC = _64SPEC_CONFIG()
.eval config_64spec("print_header", true)
.eval config_64spec("clear_screen_at_initialization", true)
.eval config_64spec("change_character_set", "lowercase")
.eval config_64spec("on_exit", "rts")
.eval config_64spec("success_color", GREEN)
.eval config_64spec("failure_color", RED)
.eval config_64spec("change_text_color", true)
.eval config_64spec("change_text_color_on_immediate_result", true)
.eval config_64spec("change_text_color_on_final_result", true)
.eval config_64spec("text_color", DARK_GRAY)
.eval config_64spec("revert_to_initial_text_color", false)
.eval config_64spec("change_background_color", true)
.eval config_64spec("change_background_color_on_final_result", false)
.eval config_64spec("background_color", BLACK)
.eval config_64spec("change_border_color", true)
.eval config_64spec("change_border_color_on_final_result", true)
.eval config_64spec("border_color", BLACK)
.eval config_64spec("print_context_description", true)
.eval config_64spec("print_example_description", true)
// TODO: Fix color printing when screen scrolls, and change defaults to true.
.eval config_64spec("change_context_description_text_color", false)
.eval config_64spec("change_example_description_text_color", false)
.eval config_64spec("print_context_results", false)
.eval config_64spec("print_example_results", false)
.eval config_64spec("print_immediate_result", true)
.eval config_64spec("immediate_result_success_character", "default")
.eval config_64spec("immediate_result_failure_character", "default")
.eval config_64spec("print_final_results", true)
.eval config_64spec("write_final_results_to_file", false)
.eval config_64spec("result_file_name", "result.txt")
.eval config_64spec("print_configuration", false)
.eval config_64spec("print_command_line_options", false)
// Overridable addresses. Set at initialization time.
.eval config_64spec("assertion_passed_subroutine", "default")
.eval config_64spec("assertion_failed_subroutine", "default")
.eval config_64spec("result_all_passed_message", "default")
.eval config_64spec("result_some_passed_message", "default")
.eval config_64spec("result_all_failed_message", "default")
// Custom memory markers.
// Some labels cannot be resolved in the first pass and we can't use them in .if statements.
// Therefore additional boolean variables are used to signify if user customized an address.
.eval _64SPEC.set("_use_custom_result_all_passed_message", false)
.eval _64SPEC.set("_use_custom_result_some_passed_message", false)
.eval _64SPEC.set("_use_custom_result_all_failed_message", false)
.eval _64SPEC.set("_use_custom_assertion_passed_subroutine", false)
.eval _64SPEC.set("_use_custom_assertion_failed_subroutine", false)
.function config_64spec(key, value) {
.if (validate_boolean_option("print_header", key, value)) .return
.if (validate_boolean_option("clear_screen_at_initialization", key, value)) .return
.if (validate_boolean_option("change_text_color", key, value)) .return
.if (validate_boolean_option("change_text_color_on_immediate_result", key, value)) .return
.if (validate_boolean_option("change_text_color_on_final_result", key, value)) .return
.if (validate_boolean_option("revert_to_initial_text_color", key, value)) .return
.if (validate_boolean_option("change_background_color", key, value)) .return
.if (validate_boolean_option("change_background_color_on_final_result", key, value)) .return
.if (validate_boolean_option("change_border_color", key, value)) .return
.if (validate_boolean_option("change_border_color_on_final_result", key, value)) .return
.if (validate_boolean_option("print_immediate_result", key, value)) .return
.if (validate_boolean_option("print_final_results", key, value)) .return
.if (validate_boolean_option("write_final_results_to_file", key, value)) .return
.if (validate_boolean_option("print_configuration", key, value)) .return
.if (validate_boolean_option("print_command_line_options", key, value)) .return
.if (validate_boolean_option("print_context_description", key, value)) .return
.if (validate_boolean_option("print_example_description", key, value)) .return
.if (validate_boolean_option("change_context_description_text_color", key, value)) .return
.if (validate_boolean_option("change_example_description_text_color", key, value)) .return
.if (validate_boolean_option("print_context_results", key, value)) .return
.if (validate_boolean_option("print_example_results", key, value)) .return
.if (validate_color_option("success_color", key, value)) .return
.if (validate_color_option("failure_color", key, value)) .return
.if (validate_color_option("text_color", key, value)) .return
.if (validate_color_option("background_color", key, value)) .return
.if (validate_color_option("border_color", key, value)) .return
.if (validate_character_option("immediate_result_success_character", key, value)) .return
.if (validate_character_option("immediate_result_failure_character", key, value)) .return
.if (validate_non_empty_string_option("result_file_name", key, value)) .return
.if (validate_set_option("change_character_set", List().add(
_64SPEC_SET_OPTION("\"lowercase\"", "lowercase"),
_64SPEC_SET_OPTION("\"uppercase\"", "uppercase"),
_64SPEC_SET_OPTION("false", false)
), key, value)) .return
.if (validate_set_option("on_exit", List().add(
_64SPEC_SET_OPTION("\"rts\"", "rts"),
_64SPEC_SET_OPTION("\"loop\"", "loop"),
_64SPEC_SET_OPTION("\"jam\"", "jam")
), key, value)) .return
.if (mark_custom_memory_address_option("assertion_passed_subroutine", key, value)) .return
.if (mark_custom_memory_address_option("assertion_failed_subroutine", key, value)) .return
.if (mark_custom_memory_address_option("result_all_passed_message", key, value)) .return
.if (mark_custom_memory_address_option("result_some_passed_message", key, value)) .return
.if (mark_custom_memory_address_option("result_all_failed_message", key, value)) .return
.error "Unrecognized _64SPEC configuration option - \"" + key + "\""
}
.function mark_custom_memory_address_option(expected_key, key, value) {
.if (key != expected_key) .return false
.eval _64SPEC.set("_use_custom_" + expected_key, true)
.eval _64SPEC.set(key, value)
.return true
}
.function validate_color_option(expected_key, key, value) {
.if (key != expected_key) .return false
.if(value < 0 || value > 15) {
.error "_64SPEC configuration option - \"" + expected_key + "\" has to be a valid color index in a range [0..15]."
}
.eval _64SPEC.set(key, value)
.return true
}
.function validate_boolean_option(expected_key, key, value) {
.if (key != expected_key) .return false
.if (value != true && value != false) {
.error "_64SPEC configuration option - \"" + expected_key + "\" has to be either be true or false."
}
.eval _64SPEC.set(key, value)
.return true
}
.function validate_non_empty_string_option(expected_key, key, value) {
.if (key != expected_key) .return false
.if (value == "") {
.error "_64SPEC configuration option - \"" + expected_key + "\" cannot be an empty string."
}
.eval _64SPEC.set(key, value)
.return true
}
.function validate_character_option(expected_key, key, value) {
.if (key != expected_key) .return false
.if (value != "default" && [value < 0 || value > 255]) {
.error "_64SPEC configuration option - \"" + expected_key + "\" has to be a one byte value representing PETSCII character or \"default\"."
}
.eval _64SPEC.set(key, value)
.return true
}
.struct _64SPEC_SET_OPTION {name, value}
.function validate_set_option(expected_key, allowed_values, key, value) {
.if (key != expected_key) .return false
.var options_string = ""
.for (var i = 0; i < allowed_values.size(); i++) {
.eval options_string += allowed_values.get(i).name
.if (i < allowed_values.size() - 1) {
.eval options_string += ", "
}
.if (value == allowed_values.get(i).value) {
.eval _64SPEC.set(key, value)
.return true
}
}
.error "_64SPEC configuration option - \"" + expected_key + "\" has to be a one of: " + options_string
}
.macro init_spec() {
.if (cmdLineVars.containsKey("on_exit")) {
.eval _64SPEC.set("on_exit", cmdLineVars.get("on_exit"))
}
.if (cmdLineVars.containsKey("write_final_results_to_file")) {
.eval _64SPEC.set("write_final_results_to_file", cmdLineVars.get("write_final_results_to_file").asBoolean())
}
.if (cmdLineVars.containsKey("result_file_name")) {
.eval _64SPEC.set("result_file_name", cmdLineVars.get("result_file_name"))
}
.if (_64SPEC.immediate_result_failure_character == "default") {
.eval _64SPEC.set("immediate_result_failure_character", [_64SPEC.change_character_set == "lowercase"] ? _64spec_scr_to_pet('x') : _64spec_scr_to_pet('x'))
}
.if (_64SPEC.immediate_result_success_character == "default") {
.eval _64SPEC.set("immediate_result_success_character", [_64SPEC.change_character_set == "lowercase"] ? _64spec_scr_to_pet('.') : _64spec_scr_to_pet('.'))
}
.if (_64SPEC.print_configuration) {
.print "64Spec Configuration:"
.for (var i = 0;i < _64SPEC.getNoOfFields(); i++) {
.print " " + _64SPEC.getFieldNames().get(i) + " = " +_64SPEC.get(i)
}
}
.if (_64SPEC.print_command_line_options) {
.print "Command Line Options:"
.for (var i = 0;i < cmdLineVars.keys().size(); i++) {
.var key = cmdLineVars.keys().get(i)
.print " " + key + " = " + cmdLineVars.get(key)
}
}
:BasicUpstart2(tests_init)
.pc = * "Tests Data"
_version_major:
.byte _64SPEC_VERSION_MAJOR
_version_minor:
.byte _64SPEC_VERSION_MINOR
_version_patch:
.byte _64SPEC_VERSION_PATCH
_total_assertions_count:
.word 0
_passed_assertions_count:
.word 0
_final_tests_result:
.word 0
_stored_a:
.byte 0
_stored_x:
.byte 0
_stored_y:
.byte 0
_stored_p:
.byte 0
_initial_text_color:
.if (_64SPEC.change_text_color && _64SPEC.revert_to_initial_text_color) {
.byte 0
}
_header:
.if (_64SPEC.print_header) {
.var lines = List()
.if (_64SPEC.change_character_set == "lowercase") {
.eval lines.add("****** 64spec v" + _64spec_version() + " ******")
.eval lines.add("Testing Framework by Michal Taszycki")
.eval lines.add("Docs at http://64bites.com/64spec")
} else {
.eval lines.add("****** 64spec v" + _64spec_version() + " ******")
.eval lines.add("testing framework by michal taszycki")
.eval lines.add("docs at http://64bites.com/64spec")
}
.byte _CR
.for (var i = 0; i < lines.size(); i++) {
.fill [40 - lines.get(i).size()] / 2, ' '
:_64spec_pet_text(lines.get(i))
.byte _CR
.byte _CR
}
.byte 0
}
.if(!_64SPEC._use_custom_result_all_failed_message) {
.eval _64SPEC.set("result_all_failed_message", *)
.if (_64SPEC.change_character_set == "lowercase") {
:_64spec_pet_text("All Tests FAILED: ")
} else {
:_64spec_pet_text("all tests failed: ")
}
.byte 0
}
.if(!_64SPEC._use_custom_result_some_passed_message) {
.eval _64SPEC.set("result_some_passed_message", *)
.if (_64SPEC.change_character_set == "lowercase") {
:_64spec_pet_text("Some tests PASSED: ")
} else {
:_64spec_pet_text("some tests passed: ")
}
.byte 0
}
.if(!_64SPEC._use_custom_result_all_passed_message) {
.eval _64SPEC.set("result_all_passed_message", *)
.if (_64SPEC.change_character_set == "lowercase") {
:_64spec_pet_text("All tests PASSED: ")
} else {
:_64spec_pet_text("all tests passed: ")
}
.byte 0
}
_last_context:
.if (_64SPEC.print_context_description) {
.word 0 // text pointer
.word 0 // cursor position
.word 0 // total assertions count
.word 0 // passed assertions count
.byte 0 // tests result
}
_last_example:
.if (_64SPEC.print_example_description) {
.word 0 // text pointer
.word 0 // cursor position
.word 0 // total assertions count
.word 0 // passed assertions count
.byte 0 // tests result
}
_description_data:
.if (_64SPEC.print_context_description || _64SPEC.print_example_description) {
.word 0 // cursor position
.byte 0 // flags - 7 cleared - first context, 6 cleared - first example
}
.pc = * "Tests Subroutines"
.if(!_64SPEC._use_custom_assertion_passed_subroutine) {
.eval _64SPEC.set("assertion_passed_subroutine", *)
:_assertion_passed()
rts
}
.if(!_64SPEC._use_custom_assertion_failed_subroutine) {
.eval _64SPEC.set("assertion_failed_subroutine", *)
:_assertion_failed()
rts
}
_print_string:
:_print_string($ffff)
rts
.pc = * "Test Initialization"
tests_init:
.if (_64SPEC.clear_screen_at_initialization) {
:_print_char #_CLS
}
.if (_64SPEC.change_character_set != false) {
:_print_char #[[_64SPEC.change_character_set == "lowercase"] ? _LOWERCASE : _UPPERCASE]
}
.if (_64SPEC.change_text_color && _64SPEC.revert_to_initial_text_color) {
:_64spec_mov _TEXT_COLOR; _initial_text_color
}
:_set_text_color #_64SPEC.text_color
.if (_64SPEC.change_background_color) {
:_64spec_mov #_64SPEC.background_color; _BACKGROUND
}
.if (_64SPEC.change_border_color) {
:_64spec_mov #_64SPEC.border_color; _BORDER
}
.if (_64SPEC.print_header) {
:_print_string #sfspec._header
}
:_reset_tests_result(sfspec._total_assertions_count)
.pc = * "Specification"
specification:
}
.macro finish_spec() {
.pc = * "Spec Results Rendering"
:_finalize_last_context()
:_finalize_last_example()
:render_results()
.if (_64SPEC.revert_to_initial_text_color) {
:_set_text_color sfspec._initial_text_color
} else {
:_set_text_color #_64SPEC.text_color
}
.if (_64SPEC.on_exit == "rts") {
rts
} else .if (_64SPEC.on_exit == "loop") {
end:
jmp end
} else /* jam */ {
.byte $02
}
}
.macro _assertion_failed() {
:_64spec_inc16 sfspec._total_assertions_count
.if (_64SPEC.print_context_description) {
:_64spec_inc16 sfspec._last_context + 4
}
.if (_64SPEC.print_example_description) {
:_64spec_inc16 sfspec._last_example + 4
}
.if (_64SPEC.print_immediate_result) {
.if (_64SPEC.change_text_color_on_immediate_result) {
:_set_text_color #_64SPEC.failure_color
}
:_print_char #_64SPEC.immediate_result_failure_character
}
}
.macro _assertion_passed() {
:_64spec_inc16 sfspec._passed_assertions_count
:_64spec_inc16 sfspec._total_assertions_count
.if (_64SPEC.print_context_description) {
:_64spec_inc16 sfspec._last_context + 4
:_64spec_inc16 sfspec._last_context + 6
}
.if (_64SPEC.print_example_description) {
:_64spec_inc16 sfspec._last_example + 4
:_64spec_inc16 sfspec._last_example + 6
}
.if (_64SPEC.print_immediate_result) {
.if (_64SPEC.change_text_color_on_immediate_result) {
:_set_text_color #_64SPEC.success_color
}
:_print_char #_64SPEC.immediate_result_success_character
}
}
.macro _reset_tests_result(base_address) {
.var total_assertions_count = base_address
.var passed_assertions_count = base_address + 2
:_64spec_mov16 #$0000; total_assertions_count
:_64spec_mov16 #$0000; passed_assertions_count
}
.macro _calculate_tests_result(base_address) {
.var total_assertions_count = base_address
.var passed_assertions_count = base_address + 2
.var final_tests_result = base_address + 4
lda total_assertions_count
cmp passed_assertions_count
bne !fail+
lda total_assertions_count + 1
cmp passed_assertions_count + 1
bne !fail+
!pass:
// We are "overflowing" with success
lda #%01000000
sta final_tests_result
jmp !end+
!fail:
lda passed_assertions_count
bne !incomplete_fail+
lda passed_assertions_count + 1
bne !incomplete_fail+
!complete_fail:
// We are "not overflowing" with success
lda #%00000000
sta final_tests_result
jmp !end+
!incomplete_fail:
// This is "MInor" failure
lda #%10000000
sta final_tests_result
!end:
}
.macro render_results() {
:_calculate_tests_result(sfspec._total_assertions_count)
:_set_screen_colors()
:_change_text_color_on_final_result()
.if (_64SPEC.print_final_results) {
:_print_final_results()
}
.if (_64SPEC.write_final_results_to_file) {
:_write_final_results_to_file()
}
}
.macro _write_final_results_to_file() {
:_64spec_open_file_for_writing(_64SPEC.result_file_name, 13)
:_64spec_set_file_output(13)
:_print_final_results()
:_64spec_close_file(13)
:_64spec_set_screen_output()
}
.macro _change_text_color_on_final_result() {
.if (_64SPEC.change_text_color_on_final_result) {
bit sfspec._final_tests_result
bvs success
failure:
:_set_text_color #_64SPEC.failure_color
jmp end
success:
:_set_text_color #_64SPEC.success_color
end:
} else {
:_set_text_color #_64SPEC.text_color
}
}
.macro _set_screen_colors() {
.if ([_64SPEC.change_border_color && _64SPEC.change_border_color_on_final_result] || [_64SPEC.change_background_color && _64SPEC.change_background_color_on_final_result]) {
bit sfspec._final_tests_result
bvs success
failure:
lda #_64SPEC.failure_color
jmp end
success:
lda #_64SPEC.success_color
end:
.if (_64SPEC.change_border_color && _64SPEC.change_border_color_on_final_result) {
sta _BORDER
}
.if (_64SPEC.change_background_color && _64SPEC.change_background_color_on_final_result) {
sta _BACKGROUND
}
}
}
.macro _print_result_numbers(base_address) {
.var total_assertions_count = base_address
.var passed_assertions_count = base_address + 2
:_print_char #'('
:_print_int16 passed_assertions_count
:_print_char #'/'
:_print_int16 total_assertions_count
:_print_char #')'
:_print_char #_CR
}
.macro _print_final_results() {
:_print_char #_CR
bit sfspec._final_tests_result
bvs success
bmi partial_failure
failure:
:_print_string #_64SPEC.result_all_failed_message
jmp end
partial_failure:
:_print_string #_64SPEC.result_some_passed_message
jmp end
success:
:_print_string #_64SPEC.result_all_passed_message
end:
:_print_result_numbers(sfspec._total_assertions_count)
}
// Assertions
.pseudocommand assert_i_cleared pass_subroutine; fail_subroutine {
:assert_i_set _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_i_set pass_subroutine; fail_subroutine {
:assert_p_has_masked_bits_set #%00000100; _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine); _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine)
}
.pseudocommand assert_d_cleared pass_subroutine; fail_subroutine {
:assert_d_set _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_d_set pass_subroutine; fail_subroutine {
:assert_p_has_masked_bits_set #%00001000; _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine); _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine)
}
.pseudocommand assert_p_has_masked_bits_cleared mask; pass_subroutine; fail_subroutine {
:assert_masked_bits_cleared sfspec._stored_p; mask; pass_subroutine; fail_subroutine
}
.pseudocommand assert_p_has_masked_bits_set mask; pass_subroutine; fail_subroutine {
:assert_masked_bits_set sfspec._stored_p; mask; pass_subroutine; fail_subroutine
}
.pseudocommand assert_masked_bits_cleared actual; mask; pass_subroutine; fail_subroutine {
:_store_state()
lda actual
eor $ff
and mask
bne pass_or_fail.fail
pass_or_fail: :_pass_or_fail pass_subroutine; fail_subroutine
:_restore_state()
}
.pseudocommand assert_masked_bits_set actual; mask; pass_subroutine; fail_subroutine {
:_store_state()
lda actual
and mask
cmp mask
bne pass_or_fail.fail
pass_or_fail: :_pass_or_fail pass_subroutine; fail_subroutine
:_restore_state()
}
.pseudocommand assert_p_equal expected; pass_subroutine; fail_subroutine {
:assert_equal sfspec._stored_p; expected; pass_subroutine; fail_subroutine
}
.pseudocommand assert_v_cleared pass_subroutine; fail_subroutine {
:assert_v_set _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_v_set pass_subroutine; fail_subroutine {
:assert_p_has_masked_bits_set #%01000000; pass_subroutine; fail_subroutine
}
.pseudocommand assert_n_cleared pass_subroutine; fail_subroutine {
:assert_n_set _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_n_set pass_subroutine; fail_subroutine {
:assert_p_has_masked_bits_set #%10000000; pass_subroutine; fail_subroutine
}
.pseudocommand assert_c_cleared pass_subroutine; fail_subroutine {
:assert_c_set _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_c_set pass_subroutine; fail_subroutine {
:assert_p_has_masked_bits_set #%00000001; pass_subroutine; fail_subroutine
}
.pseudocommand assert_z_cleared pass_subroutine; fail_subroutine {
:assert_z_set _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_z_set pass_subroutine; fail_subroutine {
:assert_p_has_masked_bits_set #%00000010; pass_subroutine; fail_subroutine
}
.pseudocommand assert_y_not_zero pass_subroutine; fail_subroutine {
:assert_y_zero _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_y_zero pass_subroutine; fail_subroutine {
:assert_y_equal #0; pass_subroutine; fail_subroutine
}
.pseudocommand assert_y_not_equal expected; pass_subroutine; fail_subroutine {
:assert_y_equal expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_y_equal expected; pass_subroutine; fail_subroutine {
:assert_equal sfspec._stored_y; expected; pass_subroutine; fail_subroutine
}
.pseudocommand assert_x_not_zero pass_subroutine; fail_subroutine {
:assert_x_zero _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_x_zero pass_subroutine; fail_subroutine {
:assert_x_equal #0; pass_subroutine; fail_subroutine
}
.pseudocommand assert_x_not_equal expected; pass_subroutine; fail_subroutine {
:assert_x_equal expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_x_equal expected; pass_subroutine; fail_subroutine {
:assert_equal sfspec._stored_x; expected; pass_subroutine; fail_subroutine
}
.pseudocommand assert_a_not_zero pass_subroutine; fail_subroutine {
:assert_a_zero _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_a_zero pass_subroutine; fail_subroutine {
:assert_a_equal #0; pass_subroutine; fail_subroutine
}
.pseudocommand assert_a_not_equal expected; pass_subroutine; fail_subroutine {
:assert_a_equal expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_a_equal expected; pass_subroutine; fail_subroutine {
:assert_equal sfspec._stored_a; expected; pass_subroutine; fail_subroutine
}
.pseudocommand assert_not_equal actual; expected; pass_subroutine; fail_subroutine {
:assert_equal actual; expected;_given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_not_equal16 actual; expected; pass_subroutine; fail_subroutine {
:assert_equal16 actual; expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_not_equal24 actual; expected; pass_subroutine; fail_subroutine {
:assert_equal24 actual; expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_not_equal32 actual; expected; pass_subroutine; fail_subroutine {
:assert_equal32 actual; expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.macro assert_bytes_not_equal(bytes_count, actual, expected, pass_subroutine, fail_subroutine) {
:assert_bytes_equal(bytes_count, actual, expected, _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine), _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine))
}
.pseudocommand assert_bytes_not_equal bytes_count; actual; expected; pass_subroutine; fail_subroutine {
:assert_bytes_equal bytes_count; actual; expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_equal actual; expected; pass_subroutine; fail_subroutine {
:_assert_equal _bits_to_bytes(8); actual; expected; pass_subroutine; fail_subroutine
}
.pseudocommand assert_equal16 actual; expected; pass_subroutine; fail_subroutine {
:_assert_equal _bits_to_bytes(16); actual; expected; pass_subroutine; fail_subroutine
}
.pseudocommand assert_equal24 actual; expected; pass_subroutine; fail_subroutine {
:_assert_equal _bits_to_bytes(24); actual; expected; pass_subroutine; fail_subroutine
}
.pseudocommand assert_equal32 actual; expected; pass_subroutine; fail_subroutine {
:_assert_equal _bits_to_bytes(32); actual; expected; pass_subroutine; fail_subroutine
}
.pseudocommand _assert_equal bytes_count; actual; expected; pass_subroutine; fail_subroutine {
:_store_state()
.for (var byte_id = 0; byte_id < bytes_count.getValue(); byte_id++) {
lda _64spec_extract_byte_argument(actual, byte_id)
cmp _64spec_extract_byte_argument(expected, byte_id)
bne pass_or_fail.fail
}
pass_or_fail: :_pass_or_fail pass_subroutine; fail_subroutine
:_restore_state()
}
.pseudocommand assert_unsigned_greater_or_equal actual; expected; pass_subroutine; fail_subroutine {
:assert_unsigned_less actual; expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_unsigned_less actual; expected; pass_subroutine; fail_subroutine {
:_store_state()
lda actual
cmp expected
bcs pass_or_fail.fail
pass_or_fail: :_pass_or_fail pass_subroutine; fail_subroutine
:_restore_state()
}
.pseudocommand assert_unsigned_less_or_equal actual; expected; pass_subroutine; fail_subroutine {
:assert_unsigned_greater actual; expected; _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine); _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
}
.pseudocommand assert_unsigned_greater actual; expected; pass_subroutine; fail_subroutine {
:_store_state()
lda actual
cmp expected
bcc pass_or_fail.fail
beq pass_or_fail.fail
pass_or_fail: :_pass_or_fail pass_subroutine; fail_subroutine
:_restore_state()
}
.macro _store_state() {
php
sta sfspec._stored_a
stx sfspec._stored_x
sty sfspec._stored_y
pla
sta sfspec._stored_p
}
.macro _restore_state() {
lda sfspec._stored_p
pha
ldy sfspec._stored_y
ldx sfspec._stored_x
lda sfspec._stored_a
plp // restore p
}
.pseudocommand assert_bytes_equal bytes_count; actual; expected; pass_subroutine; fail_subroutine {
// TODO: remove pages and remainder branches
.var remainder = mod(bytes_count.getValue(), 256)
.var offset = bytes_count.getValue() - remainder
.var pages = offset / 256
ldy #pages
beq !end+
loopy:
ldx #0
loopx:
.label actual_hi = * + 2
lda actual.getValue(), X
.label expected_hi = * + 2
cmp expected.getValue(), X
bne pass_or_fail.fail
inx
bne loopx
inc actual_hi
inc expected_hi
dey
bne loopy
!end:
ldy #remainder
beq !end+
ldx #0
loop:
lda offset + actual.getValue(), X
cmp offset + expected.getValue(), X
bne pass_or_fail.fail
inx
cpx #remainder
bne loop
!end:
pass_or_fail: :_pass_or_fail pass_subroutine; fail_subroutine
}
.pseudocommand assert_pass pass_subroutine; fail_subroutine {
:_store_state()
jsr _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
:_restore_state()
}
.pseudocommand assert_fail pass_subroutine; fail_subroutine {
:_store_state()
jsr _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine)
:_restore_state()
}
.pseudocommand _pass_or_fail pass_subroutine; fail_subroutine {
pass:
jsr _given_or_default(pass_subroutine, _64SPEC.assertion_passed_subroutine)
jmp end
fail:
jsr _given_or_default(fail_subroutine, _64SPEC.assertion_failed_subroutine)
end:
}
.macro describe(subject) {
.if (_64SPEC.print_context_description) {
jmp end_text
text:
.if (_64SPEC.print_immediate_result || _64SPEC.print_example_description) {
.byte _CR
}
:_64spec_pet_text(subject)
.byte ' '
.byte 0
scoring:
.text " "
.byte _CR
.byte 0
end_text:
:_finalize_last_context()
:_finalize_last_example()
lda sfspec._description_data + 2
ora #%10000000
sta sfspec._description_data + 2
:_64spec_mov16 #text; sfspec._last_context
:_64spec_kernal_plot_get sfspec._last_context + 2; sfspec._last_context + 3
:_set_text_color #_64SPEC.text_color
:_print_string #text
:_print_string #scoring
}
}
.macro _finalize_last_context() {
.if (_64SPEC.print_context_description ) {
.if (_64SPEC.change_context_description_text_color) {
:_calculate_tests_result(sfspec._last_context + 4)
bit sfspec._last_context + 8
bvs pass
fail:
:_set_text_color #_64SPEC.failure_color
jmp end_color
pass:
:_set_text_color #_64SPEC.success_color
end_color:
}
.if (_64SPEC.change_context_description_text_color || _64SPEC.print_context_results) {
bit sfspec._description_data + 2
bvc end
:_64spec_kernal_plot_get sfspec._description_data; sfspec._description_data + 1
:_64spec_kernal_plot_set sfspec._last_context + 2; sfspec._last_context + 3
:_print_string sfspec._last_context
:_print_result_numbers(sfspec._last_context + 4)
:_64spec_kernal_plot_set sfspec._description_data; sfspec._description_data + 1
:_reset_tests_result(sfspec._last_context + 4)
end:
}
}
}
.macro it(description) {
.if (_64SPEC.print_example_description) {
jmp end_text
text:
.if (_64SPEC.print_immediate_result) {
.byte _CR
}
.byte ' '
:_64spec_pet_text(description)
.byte ' '
.byte 0
scoring:
.text " "
.byte _CR
.byte 0
end_text:
:_finalize_last_example()
lda sfspec._description_data + 2
ora #%01000000
sta sfspec._description_data + 2
:_64spec_mov16 #text; sfspec._last_example
:_64spec_kernal_plot_get sfspec._last_example + 2; sfspec._last_example + 3
:_set_text_color #_64SPEC.text_color
:_print_string #text
:_print_string #scoring
}
}
.macro _finalize_last_example() {
.if (_64SPEC.print_example_description) {
.if (_64SPEC.change_example_description_text_color) {
:_calculate_tests_result(sfspec._last_example + 4)
bit sfspec._last_example + 8
bvs pass
fail:
:_set_text_color #_64SPEC.failure_color
jmp end_color
pass:
:_set_text_color #_64SPEC.success_color
end_color:
}
.if (_64SPEC.change_example_description_text_color || _64SPEC.print_example_results) {
bit sfspec._description_data + 2
bvc end
:_64spec_kernal_plot_get sfspec._description_data; sfspec._description_data + 1
:_64spec_kernal_plot_set sfspec._last_example + 2; sfspec._last_example + 3
:_print_string sfspec._last_example
:_print_result_numbers(sfspec._last_example + 4)
:_64spec_kernal_plot_set sfspec._description_data; sfspec._description_data + 1
:_reset_tests_result(sfspec._last_example + 4)
end:
}
}
}
// helper functions
.function _given_or_default(given, default) {
.if (given.getType() == AT_NONE) {
.return CmdArgument(AT_ABSOLUTE, default)
} else {
.return given
}
}
.function _64spec_extract_byte_argument(arg, byte_id) {
.if (arg.getType()==AT_IMMEDIATE) {
.return CmdArgument(arg.getType(), _extract_byte(arg.getValue(), byte_id))
} else {
.return CmdArgument(arg.getType(), arg.getValue() + byte_id)
}
}
.function _extract_byte(value, byte_id) {
.var bits = _bytes_to_bits(byte_id)
.eval value = value >> bits
.return value & $ff
}
.function _bytes_to_bits(bytes) {
.return bytes * 8
}
.function _bits_to_bytes(bits) {
.return bits / 8
}
.pseudocommand _print_string string {
:_64spec_mov16 string; sfspec._print_string.string_address
jsr sfspec._print_string
}
.macro _print_string(string) {
ldy #0
loop:
.label string_address = * + 1
lda string, Y
beq end
jsr _CHROUT
iny
jmp loop
end:
}
.pseudocommand _print_char char {
lda char
jsr _CHROUT
}
.pseudocommand _print_int8 value {
ldx value
lda #0
jsr _PRINTWORD
}
.pseudocommand _print_int16 value {
ldx _64spec_extract_byte_argument(value, 0)
lda _64spec_extract_byte_argument(value, 1)
jsr _PRINTWORD
}
.pseudocommand _set_text_color color {
.if (_64SPEC.change_text_color) {
:_64spec_mov color; _TEXT_COLOR
}
}
.pseudocommand _64spec_mov source; destination {
:_64spec__mov _bits_to_bytes(8); source; destination
}
.pseudocommand _64spec_mov16 source; destination {
:_64spec__mov _bits_to_bytes(16); source; destination
}
.pseudocommand _64spec__mov bytes_count; source; destination {
.for (var i = 0; i < bytes_count.getValue(); i++) {
lda _64spec_extract_byte_argument(source, i)
sta _64spec_extract_byte_argument(destination, i)
}
}
.pseudocommand _64spec_inc16 arg {
:_64spec__inc _bits_to_bytes(16); arg
}
.pseudocommand _64spec__inc bytes;arg {
.for (var byte_id = 0;byte_id < bytes.getValue(); byte_id++) {
inc _64spec_extract_byte_argument(arg, byte_id)
bne end
}
end:
}
.macro _64spec_pet_text(string) {
.fill string.size(), _64spec_scr_to_pet(string.charAt(i))
}
.function _64spec_scr_to_pet(screencode) {
.var result = screencode
.if (screencode < 32) {
.return result + 64
}
.if (screencode < 64) {
.return result
}
.if (screencode < 95) {
.return result + 128
}
.if (screencode == 95) { // underscore
.return 164
}
.if (screencode < 128) {
.return result + 64
}
.if (screencode < 160) {
.return result - 128
}
.if (screencode < 224) {
.return result - 64
}
.return result
}
.macro _64spec_open_file_for_writing(string, logical_file_number) {
jmp end_filename
filename:
:_64spec_pet_text(string)
:_64spec_pet_text(",p,w")
end_filename:
:_64spec_kernal_setnam #[end_filename - filename]; #filename
:_64spec_kernal_setlfs #logical_file_number; #8; #2
:_64spec_kernal_open
}
.macro _64spec_close_file(logical_file_number) {
lda #logical_file_number
jsr _CLOSE
}
.macro _64spec_set_file_output(logical_file_number) {
ldx #logical_file_number
jsr _CHKOUT
}
.macro _64spec_set_screen_output() {
jsr _CLRCHN
}
.pseudocommand _64spec_kernal_setnam length; string_address {
lda length
ldx _64spec_extract_byte_argument(string_address, 0)
ldy _64spec_extract_byte_argument(string_address, 1)
jsr _SETNAM
}
.pseudocommand _64spec_kernal_setlfs logical_file_number; device_number; command {
lda logical_file_number
ldx device_number
ldy command
jsr _SETLFS
}
.pseudocommand _64spec_kernal_open {
jsr _OPEN
}
.pseudocommand _64spec_kernal_plot_get column; row {
sec
jsr _PLOT
.if (column.getType() != AT_NONE) {
stx row
}
.if (row.getType() != AT_NONE) {
sty column
}
}
.pseudocommand _64spec_kernal_plot_set column; row {
clc
ldx row
ldy column
jsr _PLOT
}
|
li $t1, 12
li $t2, 12
mtc0 $t1, $14
mfc0 $2, $14
beq $2, $t2, next
ori $3, 65535
ori $4, 65535
ori $5, 65535
next:
ori $6, 65535
ori $7, 65535 |
#include<bits/stdc++.h>
using namespace std;
bool included[200001]{false};
set<int> neighbors[200001];
set<pair<int,int>> result;
queue<int> tovisit;
int main() {
int n, m, u, v, max=0;
cin >> n >> m;
for (;m--;) {
cin >> v >> u;
neighbors[u].insert(v);
neighbors[v].insert(u);
}
for (int i=1; i<=n; i++) {
if (neighbors[i].size() > neighbors[max].size()) {
max = i;
}
}
tovisit.push(max);
included[max] = true;
while (!tovisit.empty()) {
v = tovisit.front();
tovisit.pop();
for (int u:neighbors[v]) {
if (!included[u]) {
result.insert(pair<int,int>(v,u));
tovisit.push(u);
included[u] = true;
}
}
}
for (auto p: result) {
cout << p.first << " " << p.second << endl;
}
}
|
// Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifdef V8_INTL_SUPPORT
#include "src/regexp/property-sequences.h"
namespace v8 {
namespace internal {
/*
Generated from following Node.js source:
package.json
```
{
"private": true,
"dependencies": {
"unicode-11.0.0": "^0.7.8"
}
}
```
generate-unicode-sequence-property-data.js
```
const toHex = (symbol) => {
return '0x' + symbol.codePointAt(0).toString(16)
.toUpperCase().padStart(6, '0');
};
```
const generateData = (property) => {
const sequences =
require(`unicode-11.0.0/Sequence_Property/${ property }/index.js`);
const id = property.replace(/_/g, '') + 's';
const buffer = [];
for (const sequence of sequences) {
const symbols = [...sequence];
const codePoints = symbols.map(symbol => toHex(symbol));
buffer.push(' ' + codePoints.join(', ') + ', 0,');
}
const output =
`const uc32 UnicodePropertySequences::k${ id }[] = {\n` +
`${ buffer.join('\n') }\n0 // null-terminating the list\n};\n`;
return output;
};
const properties = [
'Emoji_Flag_Sequence',
'Emoji_Tag_Sequence',
'Emoji_ZWJ_Sequence',
];
for (const property of properties) {
console.log(generateData(property));
}
```
*/
const uc32 UnicodePropertySequences::kEmojiFlagSequences[] = {
0x01F1E6, 0x01F1E8, 0,
0x01F1FF, 0x01F1FC, 0,
0x01F1E6, 0x01F1EA, 0,
0x01F1E6, 0x01F1EB, 0,
0x01F1E6, 0x01F1EC, 0,
0x01F1E6, 0x01F1EE, 0,
0x01F1E6, 0x01F1F1, 0,
0x01F1E6, 0x01F1F2, 0,
0x01F1E6, 0x01F1F4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F1F0, 0,
0x01F1FE, 0x01F1EA, 0,
0x01F1FE, 0x01F1F9, 0,
0x01F1FF, 0x01F1E6, 0,
0x01F1FF, 0x01F1F2, 0,
0x01F1F0, 0x01F1FE, 0,
0 // null-terminating the list
};
const uc32 UnicodePropertySequences::kEmojiTagSequences[] = {
0x01F3F4, 0x0E0067, 0x0E0062, 0x0E0065, 0x0E006E, 0x0E0067, 0x0E007F, 0,
0x01F3F4, 0x0E0067, 0x0E0062, 0x0E0073, 0x0E0063, 0x0E0074, 0x0E007F, 0,
0x01F3F4, 0x0E0067, 0x0E0062, 0x0E0077, 0x0E006C, 0x0E0073, 0x0E007F, 0,
0 // null-terminating the list
};
const uc32 UnicodePropertySequences::kEmojiZWJSequences[] = {
0x0026F9, 0x00FE0F, 0x00200D, 0x002640, 0x00FE0F, 0,
0x0026F9, 0x00FE0F, 0x00200D, 0x002642, 0x00FE0F, 0,
0x0026F9, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x0026F9, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x0026F9, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x0026F9, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x0026F9, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x0026F9, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x0026F9, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x0026F9, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x0026F9, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x0026F9, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C3, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C3, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C3, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C3, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C3, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C3, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C3, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C3, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C3, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C3, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C3, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C3, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C4, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C4, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C4, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C4, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C4, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C4, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C4, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C4, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C4, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C4, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3C4, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3C4, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CA, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CA, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CA, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CA, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CA, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CA, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CA, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CA, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CA, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CA, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CA, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CA, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CB, 0x00FE0F, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CB, 0x00FE0F, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CB, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CB, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CB, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CB, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CB, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CB, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CB, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CB, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CB, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CB, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CC, 0x00FE0F, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CC, 0x00FE0F, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CC, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CC, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CC, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CC, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CC, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CC, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CC, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CC, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3CC, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F3CC, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F3F3, 0x00FE0F, 0x00200D, 0x01F308, 0,
0x01F3F4, 0x00200D, 0x002620, 0x00FE0F, 0,
0x01F441, 0x00FE0F, 0x00200D, 0x01F5E8, 0x00FE0F, 0,
0x01F468, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F468, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F468, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F468, 0x00200D, 0x002764, 0x00FE0F, 0x00200D, 0x01F468, 0,
0x01F468, 0x00200D, 0x002764, 0x00FE0F, 0x00200D, 0x01F48B, 0x00200D,
0x01F468, 0,
0x01F468, 0x00200D, 0x01F33E, 0,
0x01F468, 0x00200D, 0x01F373, 0,
0x01F468, 0x00200D, 0x01F393, 0,
0x01F468, 0x00200D, 0x01F3A4, 0,
0x01F468, 0x00200D, 0x01F3A8, 0,
0x01F468, 0x00200D, 0x01F3EB, 0,
0x01F468, 0x00200D, 0x01F3ED, 0,
0x01F468, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F466, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F467, 0,
0x01F468, 0x00200D, 0x01F467, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F467, 0x00200D, 0x01F467, 0,
0x01F468, 0x00200D, 0x01F468, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F468, 0x00200D, 0x01F466, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F468, 0x00200D, 0x01F467, 0,
0x01F468, 0x00200D, 0x01F468, 0x00200D, 0x01F467, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F468, 0x00200D, 0x01F467, 0x00200D, 0x01F467, 0,
0x01F468, 0x00200D, 0x01F469, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F469, 0x00200D, 0x01F466, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F469, 0x00200D, 0x01F467, 0,
0x01F468, 0x00200D, 0x01F469, 0x00200D, 0x01F467, 0x00200D, 0x01F466, 0,
0x01F468, 0x00200D, 0x01F469, 0x00200D, 0x01F467, 0x00200D, 0x01F467, 0,
0x01F468, 0x00200D, 0x01F4BB, 0,
0x01F468, 0x00200D, 0x01F4BC, 0,
0x01F468, 0x00200D, 0x01F527, 0,
0x01F468, 0x00200D, 0x01F52C, 0,
0x01F468, 0x00200D, 0x01F680, 0,
0x01F468, 0x00200D, 0x01F692, 0,
0x01F468, 0x00200D, 0x01F9B0, 0,
0x01F468, 0x00200D, 0x01F9B1, 0,
0x01F468, 0x00200D, 0x01F9B2, 0,
0x01F468, 0x00200D, 0x01F9B3, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F33E, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F373, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F393, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F3A4, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F3A8, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F3EB, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F3ED, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F4BB, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F4BC, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F527, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F52C, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F680, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F692, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F9B0, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F9B1, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F9B2, 0,
0x01F468, 0x01F3FB, 0x00200D, 0x01F9B3, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F33E, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F373, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F393, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F3A4, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F3A8, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F3EB, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F3ED, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F4BB, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F4BC, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F527, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F52C, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F680, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F692, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F9B0, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F9B1, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F9B2, 0,
0x01F468, 0x01F3FC, 0x00200D, 0x01F9B3, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F33E, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F373, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F393, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F3A4, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F3A8, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F3EB, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F3ED, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F4BB, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F4BC, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F527, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F52C, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F680, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F692, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F9B0, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F9B1, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F9B2, 0,
0x01F468, 0x01F3FD, 0x00200D, 0x01F9B3, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F33E, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F373, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F393, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F3A4, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F3A8, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F3EB, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F3ED, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F4BB, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F4BC, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F527, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F52C, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F680, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F692, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F9B0, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F9B1, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F9B2, 0,
0x01F468, 0x01F3FE, 0x00200D, 0x01F9B3, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F33E, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F373, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F393, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F3A4, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F3A8, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F3EB, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F3ED, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F4BB, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F4BC, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F527, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F52C, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F680, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F692, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F9B0, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F9B1, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F9B2, 0,
0x01F468, 0x01F3FF, 0x00200D, 0x01F9B3, 0,
0x01F469, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F469, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F469, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F469, 0x00200D, 0x002764, 0x00FE0F, 0x00200D, 0x01F468, 0,
0x01F469, 0x00200D, 0x002764, 0x00FE0F, 0x00200D, 0x01F469, 0,
0x01F469, 0x00200D, 0x002764, 0x00FE0F, 0x00200D, 0x01F48B, 0x00200D,
0x01F468, 0,
0x01F469, 0x00200D, 0x002764, 0x00FE0F, 0x00200D, 0x01F48B, 0x00200D,
0x01F469, 0,
0x01F469, 0x00200D, 0x01F33E, 0,
0x01F469, 0x00200D, 0x01F373, 0,
0x01F469, 0x00200D, 0x01F393, 0,
0x01F469, 0x00200D, 0x01F3A4, 0,
0x01F469, 0x00200D, 0x01F3A8, 0,
0x01F469, 0x00200D, 0x01F3EB, 0,
0x01F469, 0x00200D, 0x01F3ED, 0,
0x01F469, 0x00200D, 0x01F466, 0,
0x01F469, 0x00200D, 0x01F466, 0x00200D, 0x01F466, 0,
0x01F469, 0x00200D, 0x01F467, 0,
0x01F469, 0x00200D, 0x01F467, 0x00200D, 0x01F466, 0,
0x01F469, 0x00200D, 0x01F467, 0x00200D, 0x01F467, 0,
0x01F469, 0x00200D, 0x01F469, 0x00200D, 0x01F466, 0,
0x01F469, 0x00200D, 0x01F469, 0x00200D, 0x01F466, 0x00200D, 0x01F466, 0,
0x01F469, 0x00200D, 0x01F469, 0x00200D, 0x01F467, 0,
0x01F469, 0x00200D, 0x01F469, 0x00200D, 0x01F467, 0x00200D, 0x01F466, 0,
0x01F469, 0x00200D, 0x01F469, 0x00200D, 0x01F467, 0x00200D, 0x01F467, 0,
0x01F469, 0x00200D, 0x01F4BB, 0,
0x01F469, 0x00200D, 0x01F4BC, 0,
0x01F469, 0x00200D, 0x01F527, 0,
0x01F469, 0x00200D, 0x01F52C, 0,
0x01F469, 0x00200D, 0x01F680, 0,
0x01F469, 0x00200D, 0x01F692, 0,
0x01F469, 0x00200D, 0x01F9B0, 0,
0x01F469, 0x00200D, 0x01F9B1, 0,
0x01F469, 0x00200D, 0x01F9B2, 0,
0x01F469, 0x00200D, 0x01F9B3, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F33E, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F373, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F393, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F3A4, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F3A8, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F3EB, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F3ED, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F4BB, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F4BC, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F527, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F52C, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F680, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F692, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F9B0, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F9B1, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F9B2, 0,
0x01F469, 0x01F3FB, 0x00200D, 0x01F9B3, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F33E, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F373, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F393, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F3A4, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F3A8, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F3EB, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F3ED, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F4BB, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F4BC, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F527, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F52C, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F680, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F692, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F9B0, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F9B1, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F9B2, 0,
0x01F469, 0x01F3FC, 0x00200D, 0x01F9B3, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F33E, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F373, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F393, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F3A4, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F3A8, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F3EB, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F3ED, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F4BB, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F4BC, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F527, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F52C, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F680, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F692, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F9B0, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F9B1, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F9B2, 0,
0x01F469, 0x01F3FD, 0x00200D, 0x01F9B3, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F33E, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F373, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F393, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F3A4, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F3A8, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F3EB, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F3ED, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F4BB, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F4BC, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F527, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F52C, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F680, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F692, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F9B0, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F9B1, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F9B2, 0,
0x01F469, 0x01F3FE, 0x00200D, 0x01F9B3, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x002695, 0x00FE0F, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x002696, 0x00FE0F, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x002708, 0x00FE0F, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F33E, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F373, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F393, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F3A4, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F3A8, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F3EB, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F3ED, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F4BB, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F4BC, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F527, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F52C, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F680, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F692, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F9B0, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F9B1, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F9B2, 0,
0x01F469, 0x01F3FF, 0x00200D, 0x01F9B3, 0,
0x01F46E, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F46E, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F46E, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F46E, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F46E, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F46E, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F46E, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F46E, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F46E, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F46E, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F46E, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F46E, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F46F, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F46F, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F471, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F471, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F471, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F471, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F471, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F471, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F471, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F471, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F471, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F471, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F471, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F471, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F473, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F473, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F473, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F473, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F473, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F473, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F473, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F473, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F473, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F473, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F473, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F473, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F477, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F477, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F477, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F477, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F477, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F477, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F477, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F477, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F477, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F477, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F477, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F477, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F481, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F481, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F481, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F481, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F481, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F481, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F481, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F481, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F481, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F481, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F481, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F481, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F482, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F482, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F482, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F482, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F482, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F482, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F482, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F482, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F482, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F482, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F482, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F482, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F486, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F486, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F486, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F486, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F486, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F486, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F486, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F486, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F486, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F486, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F486, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F486, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F487, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F487, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F487, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F487, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F487, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F487, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F487, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F487, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F487, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F487, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F487, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F487, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F575, 0x00FE0F, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F575, 0x00FE0F, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F575, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F575, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F575, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F575, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F575, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F575, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F575, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F575, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F575, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F575, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F645, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F645, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F645, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F645, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F645, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F645, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F645, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F645, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F645, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F645, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F645, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F645, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F646, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F646, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F646, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F646, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F646, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F646, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F646, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F646, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F646, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F646, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F646, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F646, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F647, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F647, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F647, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F647, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F647, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F647, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F647, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F647, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F647, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F647, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F647, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F647, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64B, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64B, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64B, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64B, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64B, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64B, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64B, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64B, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64B, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64B, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64B, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64B, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64D, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64D, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64D, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64D, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64D, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64D, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64D, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64D, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64D, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64D, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64D, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64D, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64E, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64E, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64E, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64E, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64E, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64E, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64E, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64E, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64E, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64E, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F64E, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F64E, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6A3, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6A3, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6A3, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6A3, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6A3, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6A3, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6A3, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6A3, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6A3, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6A3, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6A3, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6A3, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B4, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B4, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B4, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B4, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B4, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B4, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B4, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B4, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B4, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B4, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B4, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B4, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B5, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B5, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B5, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B5, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B5, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B5, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B5, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B5, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B5, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B5, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B5, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B5, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B6, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B6, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B6, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B6, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B6, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B6, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B6, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B6, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B6, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B6, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F6B6, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F6B6, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F926, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F926, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F926, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F926, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F926, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F926, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F926, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F926, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F926, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F926, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F926, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F926, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F937, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F937, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F937, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F937, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F937, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F937, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F937, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F937, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F937, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F937, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F937, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F937, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F938, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F938, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F938, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F938, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F938, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F938, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F938, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F938, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F938, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F938, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F938, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F938, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F939, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F939, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F939, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F939, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F939, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F939, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F939, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F939, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F939, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F939, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F939, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F939, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93C, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93C, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93D, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93D, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93D, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93D, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93D, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93D, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93D, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93D, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93D, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93D, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93D, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93D, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93E, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93E, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93E, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93E, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93E, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93E, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93E, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93E, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93E, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93E, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F93E, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F93E, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B8, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B8, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B8, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B8, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B8, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B8, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B8, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B8, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B8, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B8, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B8, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B8, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B9, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B9, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B9, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B9, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B9, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B9, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B9, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B9, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B9, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B9, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9B9, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9B9, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D6, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D6, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D6, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D6, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D6, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D6, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D6, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D6, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D6, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D6, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D6, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D6, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D7, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D7, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D7, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D7, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D7, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D7, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D7, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D7, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D7, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D7, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D7, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D7, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D8, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D8, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D8, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D8, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D8, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D8, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D8, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D8, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D8, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D8, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D8, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D8, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D9, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D9, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D9, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D9, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D9, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D9, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D9, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D9, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D9, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D9, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9D9, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9D9, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DA, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DA, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DA, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DA, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DA, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DA, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DA, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DA, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DA, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DA, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DA, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DA, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DB, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DB, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DB, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DB, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DB, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DB, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DB, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DB, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DB, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DB, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DC, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DC, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DC, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DC, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DC, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DC, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DC, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DC, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DC, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DC, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DD, 0x01F3FB, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DD, 0x01F3FB, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DD, 0x01F3FC, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DD, 0x01F3FC, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DD, 0x01F3FD, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DD, 0x01F3FD, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DD, 0x01F3FE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DD, 0x01F3FE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DD, 0x01F3FF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DD, 0x01F3FF, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DE, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DE, 0x00200D, 0x002642, 0x00FE0F, 0,
0x01F9DF, 0x00200D, 0x002640, 0x00FE0F, 0,
0x01F9DF, 0x00200D, 0x002642, 0x00FE0F, 0,
0 // null-terminating the list
};
} // namespace internal
} // namespace v8
#endif // V8_INTL_SUPPORT
|
; A011855: a(n) = floor(binomial(n,9)/9).
; 0,0,0,0,0,0,0,0,0,0,1,6,24,79,222,556,1271,2701,5402,10264,18662,32658,55268,90798,145278,226997,347172,520758,767433,1112778,1589683,2240008,3116533,4285233,5827917,7845273
bin $0,9
div $0,9
|
SELECT_SORT PROC ;use si and bx as input and sort the STRING
PUSH SI
PUSH AX
PUSH BX
PUSH CX
PUSH DX
DEC BX
JE END_SORT
MOV DX,SI
SORT_LOOP: ;runs untill STRING is sorted
MOV SI,DX
MOV DI,SI
MOV CX,BX
MOV AL,[DI]
FIND_BIG: ;find the MAX number
INC SI
CMP [SI],AL
JNG NEXT1
MOV DI,SI
MOV AL,[DI]
NEXT1:
LOOP FIND_BIG
CALL SWAP ;swaps Max number with last location
DEC BX
CALL ITERATION_PROC
JNE SORT_LOOP
END_SORT:
POP DX
POP CX
POP BX
POP AX
POP SI
RET
SELECT_SORT ENDP
|
frame000: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
frame001: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
frame002: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
frame003: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
frame004: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
frame005: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
frame006: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
frame007: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
frame008: .byte $1a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$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,$eb,$ee,$1e,$8e,$e3,$e2,$12,$ee,$4e,$2f,$2e,$3f,$1e,$4e,$e5,$e4,$ee,$5e,$5e,$e4,$e5,$11
frame072: .byte $4e,$ff,$ff,$fe,$48,$f7,$ce,$e1,$53,$e2,$eb,$54,$e4,$ea,$33,$c5,$4e,$4e,$9e,$de,$ae,$de,$9e,$e2,$ed,$ed,$ec,$ec,$ec,$ec,$e9,$ee,$1e,$7e,$e1,$e8,$ec,$51,$e7,$e8,$62,$e6,$e8,$62,$e6,$e9,$52,$e6,$eb,$e2,$18,$ed,$cf,$5d,$f4,$d4,$3e,$e2,$e1,$24,$ee,$2e,$12,$6e,$de,$21,$6e,$d4,$1e,$4e,$e1,$32,$e3,$ed,$34,$e2,$ed,$34,$e2
frame073: .byte $45,$ff,$ff,$ff,$ff,$e6,$4f,$53,$38,$f4,$c,$be,$e4,$e1,$32,$ee,$4d,$f6,$cf,$7e,$1f,$5d,$f4,$df,$22,$3b,$f1,$32,$de,$e4,$32,$df,$1d,$f5,$8f,$99,$24,$f2,$91,$5f,$22,$1c,$f3,$12,$bf,$22,$3c,$ee,$42,$4a,$17,$eb,$14,$b5,$5e,$80,$8e,$31,$e3,$a0,$cf,$f8,$19,$3f,$47,$4d,$eb,$93,$ce,$b1
frame074: .byte $3b,$ff,$ff,$ff,$ff,$fe,$e4,$1f,$e3,$c,$5f,$79,$f9,$8f,$b8,$fa,$8f,$81,$27,$f6,$c,$8f,$76,$11,$f9,$60,$3f,$76,$7,$f8,$11,$7f,$70,$89,$f7,$70,$74,$48,$5c,$12,$e9,$9f,$8e,$14,$6e,$be,$be,$be,$e4,$35,$ae,$e4,$11,$1b,$4f,$ff,$ff,$ff,$ff,$91
frame075: .byte $31,$ff,$ff,$ff,$ff,$ff,$fe,$30,$c3,$fa,$6f,$d5,$fd,$6f,$a1,$17,$f8,$11,$5f,$b4,$fd,$51,$1f,$d5,$fc,$40,$3e,$a3,$a1,$1e,$4e,$6e,$e4,$e9,$16,$e7,$f1,$34,$9f,$31,$92,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$81
frame076: .byte $2b,$ff,$ff,$ff,$ff,$ff,$fe,$41,$3,$fc,$5f,$e1,$3f,$e2,$4f,$d5,$fb,$3f,$e3,$3f,$e1,$5e,$e5,$45,$11,$de,$e3,$14,$e2,$f5,$24,$6f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$41
frame077: .byte $28,$ff,$ff,$ff,$ff,$ff,$fe,$71,$fe,$14,$fe,$13,$fe,$24,$fc,$3f,$e1,$5f,$e1,$3f,$41,$61,$1b,$ee,$51,$4d,$f7,$15,$3f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e6
frame078: .byte $26,$ff,$ff,$ff,$ff,$ff,$fe,$40,$9f,$e1,$3f,$e2,$3f,$e2,$3f,$d5,$fd,$3f,$e2,$3f,$43,$4d,$f5,$df,$71,$62,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$61
frame079: .byte $26,$ff,$ff,$ff,$ff,$ff,$fe,$40,$bf,$e1,$3f,$e1,$5f,$d4,$fd,$4f,$e1,$3f,$e1,$53,$2e,$e3,$43,$df,$70,$c6,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f5
frame080: .byte $23,$ff,$ff,$ff,$ff,$ff,$fe,$52,$fe,$15,$fd,$5f,$d2,$fe,$20,$df,$e1,$3f,$db,$f5,$df,$71,$54,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f5
frame081: .byte $25,$ff,$ff,$ff,$ff,$ff,$fe,$34,$fe,$14,$fe,$24,$fc,$3f,$e1,$4f,$e2,$3f,$db,$ee,$51,$4d,$f7,$14,$5f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$51
frame082: .byte $27,$ff,$ff,$ff,$ff,$ff,$fe,$52,$fd,$4f,$e2,$4f,$e1,$3f,$d3,$fe,$24,$fd,$41,$1f,$24,$3d,$f5,$42,$7f,$71,$61,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$81
frame083: .byte $27,$ff,$ff,$ff,$ff,$ff,$ff,$f2,$b,$fe,$13,$fe,$24,$fe,$14,$fc,$3f,$e2,$3f,$e1,$53,$2e,$e3,$43,$df,$81,$27,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$61
frame084: .byte $26,$ff,$ff,$ff,$ff,$ff,$ff,$f5,$1f,$d4,$fe,$23,$fe,$23,$fd,$e,$1f,$c4,$fe,$23,$f4,$25,$11,$bf,$5d,$f7,$15,$3f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f3
frame085: .byte $26,$ff,$ff,$ff,$ff,$ff,$ff,$f3,$b,$fd,$4f,$e1,$4f,$e1,$4f,$c3,$fe,$33,$fe,$15,$f2,$43,$df,$54,$27,$f7,$16,$2f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f3
frame086: .byte $25,$ff,$ff,$ff,$ff,$ff,$fe,$40,$9f,$d4,$fe,$23,$fe,$23,$fd,$5f,$c4,$fe,$23,$f4,$25,$df,$5d,$f7,$15,$3f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e6
frame087: .byte $27,$ff,$ff,$ff,$ff,$ff,$11,$fe,$34,$fe,$13,$fe,$23,$fe,$14,$fd,$d,$fe,$13,$fe,$1a,$ee,$52,$3d,$f7,$c,$6f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$41
frame088: .byte $26,$ff,$ff,$ff,$ff,$ff,$53,$fc,$4f,$e1,$5f,$c6,$fc,$5f,$c5,$fe,$13,$fb,$11,$ce,$e3,$23,$e2,$f6,$8,$7f,$ff,$ff,$ff,$ff,$ff,$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,$ee,$1e,$8e,$e1,$e8,$ee,$1e,$8e,$e1
frame098: .byte $3d,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$12,$fe,$14,$fe,$13,$fe,$13,$fe,$13,$fe,$14,$fe,$16,$fa,$8f,$7a,$f8,$e,$5e,$31,$ed,$3e,$51,$fe,$15,$fc,$52,$19,$2e,$e3,$52,$19,$2e,$e3,$50,$38,$2e,$e1,$e4,$3,$ed,$e9,$ed,$e9,$ed,$e9,$ed,$e9,$ed,$e9,$ed,$e9,$ed
frame099: .byte $3b,$ff,$ff,$ff,$ff,$ff,$ff,$fb,$1f,$e2,$2f,$e1,$5f,$d3,$fe,$13,$fe,$13,$fe,$14,$fd,$7f,$a8,$f7,$af,$91,$25,$e3,$1e,$d1,$e7,$2f,$d5,$fc,$5d,$1e,$e3,$50,$39,$1e,$e3,$50,$39,$1e,$de,$62,$1e,$de,$9e,$de,$9e,$de,$9e,$de,$9e,$de,$9e,$de,$9e,$d1
frame100: .byte $3c,$ff,$ff,$ff,$ff,$ff,$ff,$fa,$2f,$e1,$3f,$e2,$3f,$e1,$3f,$e1,$2f,$e2,$4f,$d6,$fb,$7f,$89,$f9,$21,$5f,$a1,$23,$e5,$2f,$e2,$2f,$d5,$fc,$62,$19,$2e,$e2,$50,$39,$2e,$e2,$52,$38,$2e,$ce,$71,$2e,$ce,$ae,$ce,$ae,$ce,$ae,$ce,$ae,$ce,$ae,$ce,$ae,$c1
frame101: .byte $3a,$ff,$ff,$ff,$ff,$ff,$fe,$b2,$fe,$13,$fd,$6f,$d3,$fe,$12,$fe,$24,$fd,$5f,$c7,$f9,$8f,$89,$fa,$12,$3f,$f4,$2f,$e2,$2f,$d6,$fb,$60,$39,$1e,$e2,$60,$39,$1e,$e2,$60,$39,$1e,$ce,$72,$1e,$ce,$ae,$ce,$ae,$ce,$ae,$ce,$ae,$ce,$ae,$ce,$ae,$c1
frame102: .byte $3e,$ff,$ff,$ff,$ff,$ff,$82,$fe,$13,$fd,$6f,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bf,$6b,$f5,$ce,$c1
frame124: .byte $2f,$1f,$ff,$ff,$75,$fb,$7f,$8a,$f8,$9f,$88,$fa,$7f,$b7,$fa,$9f,$7b,$f6,$af,$7a,$f7,$af,$6a,$f6,$af,$7a,$f6,$bf,$7a,$f7,$af,$98,$f9,$8f,$98,$f9,$8f,$89,$f8,$9f,$89,$f8,$9f,$89,$f8,$af,$6b,$e8
frame125: .byte $2f,$1f,$ff,$ff,$a5,$f9,$9f,$99,$f8,$9f,$88,$fa,$6f,$b8,$f9,$af,$6b,$f6,$af,$7a,$f7,$af,$7a,$f7,$7f,$a8,$f9,$7f,$a7,$fa,$7f,$a8,$f8,$9f,$89,$f8,$9f,$8a,$f7,$af,$7a,$f7,$af,$7a,$f6,$cf,$5c,$e5
frame126: .byte $30,$1f,$ff,$ff,$d0,$2f,$b7,$f9,$8f,$a8,$f9,$9f,$87,$fa,$7f,$a9,$f8,$af,$79,$f8,$9f,$8c,$f4,$df,$4c,$f5,$bf,$68,$f9,$7f,$a8,$f9,$8f,$98,$f9,$8f,$99,$f8,$9f,$89,$f7,$bf,$6b,$f6,$bf,$6c,$f5,$ce,$21
frame127: .byte $30,$1f,$ff,$ff,$d5,$f9,$9f,$98,$f9,$9f,$89,$f8,$8f,$98,$f9,$af,$6c,$f5,$bf,$6b,$f7,$af,$7b,$f6,$81,$1f,$78,$f9,$9f,$88,$f9,$8f,$98,$f9,$8f,$98,$f9,$9f,$89,$f8,$9f,$89,$f8,$af,$6b,$f6,$bf,$6b,$e2
frame128: .byte $37,$1f,$ff,$ee,$42,$fc,$6f,$89,$f8,$af,$7b,$f6,$af,$88,$fa,$7f,$33,$49,$ee,$4e,$6e,$e2,$e8,$ee,$1e,$7e,$e3,$51,$df,$6b,$f6,$cf,$4c,$f5,$af,$61,$19,$f8,$9f,$8a,$f7,$af,$89,$f8,$9f,$89,$f7,$af,$7b,$f6,$bf,$6b,$f6,$bf,$6b,$e1
frame129: .byte $37,$1f,$ff,$ee,$52,$fb,$6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ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$51,$fe,$12,$f9,$66,$2f,$33,$94,$f1,$17,$8,$6e,$e4,$26,$8,$6e,$e5,$34,$23,$34,$1e,$e2,$44,$37,$3e,$e3,$42,$72,$5e,$e3,$b2,$8e,$e1,$51,$e2,$ed,$62,$c0,$1e,$ce,$12,$32,$1e,$d8,$7,$f6,$7e,$a1
frame173: .byte $42,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$33,$fe,$23,$fe,$23,$ff,$ff,$ff,$e4,$1e,$e4,$1e,$33,$ee,$21,$e3,$5e,$e1,$1c,$15,$2e,$e1,$d,$91,$f4,$48,$29,$1e,$c5,$64,$64,$ec,$63,$53,$5e,$e1,$53,$44,$7e,$c5,$36,$19,$ec,$53,$e3,$eb,$81,$72,$14,$1e,$b8,$34,$53,$ed,$6e,$b1
frame174: .byte $3f,$ff,$ff,$ff,$92,$fe,$35,$fd,$5f,$e3,$3f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$51,$fe,$42,$eb,$1e,$a2,$e9,$1f,$e3,$2f,$e3,$6d,$28,$3e,$57,$93,$ee,$48,$74,$f2,$55,$55,$3e,$c6,$45,$45,$eb,$56,$52,$7e,$b8,$34,$55,$eb,$73,$57,$3e,$a7,$54,$40,$9e,$c3,$94,$42,$81
frame175: .byte $35,$ff,$ff,$ff,$e1,$1f,$e2,$3f,$e1,$3f,$e2,$2f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$12,$fe,$41,$ff,$81,$fe,$41,$fe,$32,$32,$fb,$8a,$56,$8,$1e,$2a,$66,$84,$e2,$a5,$73,$3e,$99,$40,$c3,$34,$eb,$29,$12,$32,$54
frame176: .byte $21,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e2,$2f,$e1,$5f,$d4,$fd,$4f,$e1,$3f,$e2,$3f,$e3,$1f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e6
frame177: .byte $20,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$31,$fe,$31,$ff,$ff,$e4,$2f,$e1,$2f,$e2,$2f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$b1
frame178: .byte $23,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$c3,$fd,$5f,$c5,$fb,$6f,$b6,$fb,$4f,$d3,$fe,$12,$fe,$21,$fe,$31,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$d1
frame179: .byte $20,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ec,$1f,$e2,$64,$1f,$5b,$f4,$bf,$87,$fc,$3f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$e2
frame180: .byte $22,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f3,$3f,$e4,$8f,$b7,$fa,$7f,$a7,$fb,$6f,$d4,$fe,$41,$fe,$41,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$61
frame181: .byte $2d,$ff,$ff,$ff,$ff,$ff,$fe,$81,$fe,$31,$fe,$31,$fe,$21,$fe,$31,$fc,$5f,$b6,$fb,$6f,$b7,$fa,$6f,$b7,$fb,$41,$1f,$d1,$fe,$31,$fe,$31,$fe,$31,$fe,$32,$fe,$31,$ff,$ff,$ff,$ff,$ff,$fe,$51
frame182: .byte $2b,$ff,$ff,$ff,$ff,$ff,$fe,$a1,$fe,$31,$fe,$21,$fe,$31,$fe,$21,$fc,$10,$3f,$c5,$fb,$8f,$98,$f9,$8f,$88,$f9,$8f,$88,$f8,$20,$1f,$92,$fe,$21,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$31
frame183: .byte $22,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f9,$5f,$a8,$f9,$9f,$7a,$f3,$e7,$ed,$35,$75,$2f,$42,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$21
frame184: .byte $2f,$ff,$ff,$ff,$ff,$21,$fe,$33,$fe,$24,$fe,$24,$55,$f6,$32,$7f,$6b,$f7,$af,$98,$f8,$bf,$4e,$1f,$3e,$4e,$e4,$d2,$6e,$e1,$d7,$6e,$ad,$82,$ec,$df,$4c,$f6,$bf,$88,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e5
frame185: .byte $38,$ff,$ff,$fc,$1f,$c7,$f9,$9f,$89,$f9,$8f,$98,$f9,$8f,$98,$fb,$5f,$d7,$f8,$af,$6e,$2f,$29,$1,$f3,$af,$7a,$f8,$9f,$82,$16,$f8,$9f,$7a,$f6,$bf,$6b,$f5,$df,$4e,$3f,$1e,$4e,$e5,$c,$de,$e5,$12,$e1,$f2,$e3,$ee,$5e,$4e,$e5,$e3,$e2
frame186: .byte $2e,$ff,$ff,$ff,$ff,$ff,$ff,$f3,$2f,$d6,$fb,$6f,$b6,$fb,$6f,$b6,$fb,$6f,$c4,$fd,$4f,$d5,$fb,$7f,$b6,$fb,$7f,$a7,$fa,$7f,$b8,$f8,$af,$67,$32,$f5,$80,$1f,$58,$1,$f5,$8f,$98,$f8,$9f,$89,$e7
frame187: .byte $2d,$ff,$ff,$ff,$ff,$ff,$ff,$f3,$2f,$d6,$fa,$7f,$a7,$fa,$7f,$a7,$fa,$7f,$b5,$fc,$5f,$c7,$fa,$9f,$99,$f8,$af,$86,$12,$f9,$52,$1f,$95,$f8,$9f,$8a,$f7,$af,$7a,$f8,$8f,$89,$f8,$af,$6b,$e6
frame188: .byte $2d,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e6,$5f,$b7,$fa,$7f,$a7,$fa,$7f,$b5,$fe,$13,$f8,$af,$5e,$1f,$5c,$f9,$8f,$99,$f8,$61,$2f,$89,$f6,$af,$7a,$f8,$8f,$97,$fa,$8f,$89,$f8,$9f,$8a,$f6,$be,$61
frame189: .byte $2c,$ff,$ff,$ff,$ff,$ff,$ff,$f4,$3f,$d6,$fb,$6f,$a8,$fa,$7f,$a7,$fb,$5f,$d3,$f8,$af,$6c,$f4,$cf,$50,$c8,$fa,$6f,$97,$f9,$8f,$b6,$fb,$9f,$8a,$f6,$af,$79,$f8,$9f,$7b,$f6,$cf,$4c,$e6
frame190: .byte $2f,$ff,$ff,$ff,$ff,$ff,$13,$fe,$15,$fb,$6f,$b7,$fa,$7f,$a7,$fa,$7f,$c4,$fd,$3f,$44,$18,$f2,$e2,$f7,$9f,$98,$f9,$8f,$b5,$fc,$5f,$c6,$fb,$8f,$8a,$f7,$af,$79,$f7,$af,$7a,$f7,$af,$7a,$f7,$be,$61
frame191: .byte $33,$ff,$ff,$ff,$ff,$ff,$23,$fd,$5f,$b7,$fa,$7e,$e3,$d,$87,$ee,$45,$67,$f1,$63,$7f,$31,$1c,$f7,$8f,$98,$f8,$9f,$88,$f8,$21,$6f,$b5,$fc,$5f,$c5,$fc,$6f,$b8,$f9,$8f,$99,$f7,$9f,$89,$f8,$9f,$89,$f8,$af,$7a,$e6
frame192: .byte $32,$ff,$ff,$ff,$ff,$ff,$f8,$1a,$4f,$22,$86,$f2,$26,$7f,$33,$48,$f3,$34,$7f,$53,$26,$f7,$af,$6b,$f6,$9f,$7a,$f7,$9f,$b6,$fb,$6f,$b5,$fc,$5f,$c6,$fb,$7f,$a8,$f9,$8f,$98,$f9,$8f,$99,$f8,$9f,$89,$f8,$ae,$51
frame193: .byte $33,$ff,$ff,$ff,$ff,$ff,$31,$f5,$28,$4f,$32,$76,$f2,$26,$7f,$33,$48,$f3,$34,$7f,$52,$36,$f7,$af,$6a,$f7,$9f,$88,$f8,$9f,$b6,$fb,$5f,$c5,$fc,$5f,$c6,$fb,$8f,$98,$f9,$8f,$98,$f9,$8f,$99,$f8,$9f,$89,$f8,$ae,$51
frame194: .byte $2e,$ff,$ff,$ff,$ff,$c5,$fc,$7f,$a8,$f8,$af,$7a,$f7,$af,$89,$f9,$8f,$98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$e6,$66,$3e,$a7,$35,$72,$e2,$43,$85,$47,$11,$82,$93,$76,$56,$94,$75,$66,$56,$86,$66,$57,$45,$96,$66,$57,$45,$97,$47,$56,$64,$88,$47,$65,$64,$96,$66,$65,$63,$a6,$66,$64,$82,$a6,$65,$74,$81,$b6,$74,$83,$81,$c4,$84,$83,$e8,$48,$48,$2e,$94,$83,$92,$e2
frame205: .byte $78,$f7,$12,$7f,$5c,$f5,$cf,$5c,$f5,$cf,$5c,$f6,$bf,$5c,$f4,$df,$3e,$1f,$2e,$2f,$34,$28,$e6,$3c,$43,$7e,$40,$e3,$b3,$46,$e2,$43,$3a,$38,$2c,$75,$29,$37,$37,$73,$25,$48,$15,$61,$a5,$43,$6c,$a6,$25,$42,$40,$3a,$81,$25,$44,$42,$50,$38,$c5,$44,$43,$33,$46,$d4,$44,$34,$33,$c,$e6,$44,$52,$43,$24,$30,$cd,$44,$52,$43,$24,$23,$2d,$53,$52,$50,$84,$23,$2c,$62,$61,$60,$84,$15,$1c,$62,$d0,$83,$33,$29,$12,$62,$e5,$23,$32,$91,$27,$1e,$52,$33,$29,$11,$ee,$12,$30,$ea,$ee,$31,$51,$2a,$f4,$12,$a1
frame206: .byte $76,$ff,$ff,$35,$f9,$af,$30,$cb,$f1,$e3,$f1,$e3,$f1,$e3,$f2,$e3,$f1,$e3,$f1,$21,$de,$e5,$e,$de,$e5,$32,$be,$51,$d3,$38,$e5,$4c,$30,$11,$5e,$43,$32,$a3,$64,$e1,$55,$29,$25,$7b,$33,$24,$3d,$b9,$14,$42,$e,$2a,$d8,$14,$42,$30,$39,$e1,$72,$42,$33,$32,$7e,$20,$13,$24,$23,$30,$33,$e8,$14,$12,$42,$40,$83,$3,$3e,$33,$d,$52,$40,$83,$3,$4e,$23,$4b,$8,$23,$32,$e3,$34,$e2,$23,$24,$e2,$34,$e2,$23,$23,$e3,$33,$e4,$8,$23,$e2,$51,$ea,$8,$e2,$51,$ee,$1e,$25,$1e,$e1,$e2,$f2,$e2,$71
frame207: .byte $71,$ff,$ff,$fe,$48,$f5,$12,$af,$2e,$3f,$1e,$3e,$e5,$e4,$f1,$e3,$f2,$e3,$f1,$21,$de,$e5,$e,$cf,$10,$eb,$f2,$33,$7e,$64,$c3,$1,$15,$e4,$30,$1b,$27,$4e,$15,$52,$92,$57,$c2,$32,$43,$db,$e1,$33,$e,$1b,$dd,$33,$32,$1a,$d9,$14,$23,$33,$27,$e2,$3,$32,$42,$33,$3,$3e,$74,$8,$14,$24,$8,$23,$23,$e2,$40,$c1,$41,$50,$83,$3,$3e,$23,$3d,$8,$23,$23,$e3,$23,$e4,$23,$23,$e2,$42,$e4,$23,$23,$e2,$42,$e5,$8,$23,$e2,$41,$ee,$2e,$15,$1e,$e2,$e2,$f2,$e2,$f2,$e2,$81
frame208: .byte $6d,$ff,$ff,$fe,$48,$f5,$11,$bf,$2e,$2f,$1e,$3f,$1e,$3f,$1e,$4f,$2e,$2f,$10,$ec,$f1,$e,$cf,$10,$eb,$f1,$42,$8e,$64,$b4,$1,$15,$e4,$30,$1a,$36,$4e,$25,$52,$92,$48,$c2,$32,$43,$db,$e1,$33,$e,$1b,$ca,$8,$33,$30,$38,$e1,$91,$42,$33,$33,$6e,$b4,$23,$23,$23,$e6,$42,$1,$42,$40,$82,$32,$3e,$23,$c,$24,$15,$8,$23,$23,$e2,$33,$d0,$82,$32,$3e,$23,$3e,$42,$32,$3e,$23,$2e,$52,$32,$3e,$15,$1e,$a1,$4e,$15,$1e,$a1,$4e,$1f,$3e,$1f,$3e,$1f,$3e,$19
frame209: .byte $70,$ff,$ff,$fc,$bf,$5d,$f3,$e2,$f2,$e2,$f4,$df,$4e,$2f,$1e,$3e,$e4,$e3,$ee,$51,$1e,$2f,$2e,$2e,$82,$a3,$28,$e7,$e,$29,$34,$5e,$55,$32,$83,$64,$e1,$40,$34,$37,$15,$8c,$24,$23,$c,$1b,$ab,$23,$42,$32,$19,$ca,$33,$23,$30,$17,$d9,$34,$23,$23,$21,$c,$e9,$32,$41,$42,$32,$30,$ce,$14,$c,$34,$14,$8,$33,$c,$e2,$30,$c2,$a0,$83,$23,$2e,$23,$c,$2e,$20,$83,$2e,$23,$2e,$60,$82,$3e,$14,$2e,$60,$82,$3e,$14,$1e,$e3,$e1,$41,$ee,$3d,$f3,$e2,$f2,$e2,$f2,$e2,$91
frame210: .byte $70,$ff,$fe,$e4,$7f,$9a,$f6,$cf,$4d,$f3,$e1,$f3,$e1,$f3,$e1,$f2,$e3,$f3,$e2,$f5,$ae,$92,$e1,$9e,$82,$12,$d6,$11,$e5,$53,$2d,$5e,$26,$1,$42,$d5,$e5,$8,$30,$11,$1b,$8e,$22,$33,$3,$21,$9a,$e1,$23,$23,$32,$17,$ba,$8,$23,$23,$23,$25,$e7,$20,$82,$32,$30,$c2,$3e,$53,$c,$8,$19,$8,$30,$31,$e2,$30,$c0,$81,$90,$83,$3,$1e,$23,$c,$1e,$40,$c0,$ee,$23,$2e,$72,$32,$1e,$23,$2e,$71,$41,$2c,$11,$41,$ed,$12,$c1,$1e,$e5,$12,$df,$3e,$1f,$3e,$1f,$3e,$1f,$2e,$1b
frame211: .byte $6b,$ff,$fe,$e4,$7f,$8a,$f6,$cf,$4e,$1f,$3e,$1f,$3e,$1f,$2e,$2f,$1e,$3f,$4d,$f6,$be,$91,$e1,$ae,$75,$e1,$7e,$64,$41,$e2,$4e,$26,$3,$41,$e1,$5e,$32,$43,$24,$a9,$e1,$24,$32,$e,$18,$ab,$12,$33,$32,$e,$26,$c9,$c,$34,$c,$30,$35,$e6,$3,$32,$42,$30,$c0,$ce,$43,$c,$24,$15,$8,$12,$30,$31,$e1,$30,$e2,$e4,$30,$31,$e2,$3,$1,$e5,$c,$e2,$11,$40,$81,$e5,$c,$e2,$11,$41,$e9,$c,$e2,$11,$41,$ee,$1e,$1f,$3e,$1f,$4d,$f4,$df,$4d,$f4,$db
frame212: .byte $6a,$ff,$fe,$e3,$7f,$8a,$f6,$cf,$4d,$f5,$cf,$4d,$f3,$e1,$f2,$e3,$f4,$cf,$7a,$ea,$1e,$19,$e9,$9,$e1,$5e,$93,$41,$e1,$5e,$44,$3,$33,$c7,$e3,$23,$32,$49,$ae,$22,$33,$3,$21,$7b,$b0,$83,$23,$23,$21,$6c,$82,$43,$30,$c3,$23,$3e,$20,$33,$23,$24,$20,$10,$33,$e3,$40,$c2,$41,$50,$81,$23,$21,$2e,$12,$30,$34,$1c,$e,$e,$e1,$30,$c2,$e5,$c,$21,$e1,$1,$32,$e5,$c,$21,$e1,$1,$ea,$8,$21,$df,$21,$1c,$f3,$11,$cf,$5c,$f4,$df,$4d,$f4,$dc
frame213: .byte $59,$ff,$fe,$b4,$fa,$af,$7b,$f5,$cf,$5d,$f4,$cf,$4d,$f3,$df,$7a,$f9,$7f,$b5,$f3,$29,$3b,$3e,$62,$12,$64,$90,$e2,$e4,$c,$43,$67,$11,$6e,$20,$e3,$21,$27,$7,$12,$36,$c4,$7,$3a,$21,$3,$64,$94,$7,$3e,$22,$17,$55,$40,$14,$d2,$1c,$33,$59,$de,$41,$25,$90,$c6,$7,$e5,$6d,$70,$3e,$53,$e4,$60,$3e,$52,$e5,$af,$7a,$f6,$af,$6b,$f5,$df,$30,$8a,$f2,$c,$bf,$20,$cb,$e5
frame214: .byte $48,$ff,$fe,$d3,$fa,$82,$1f,$5e,$1f,$3e,$1f,$3e,$2f,$2d,$f3,$df,$4d,$f6,$bf,$6b,$ee,$11,$c3,$23,$ed,$3b,$30,$3e,$d5,$89,$c2,$b2,$42,$5a,$96,$83,$52,$1e,$17,$c,$21,$5e,$31,$1b,$3,$23,$72,$e7,$a0,$3d,$2e,$79,$e5,$1e,$79,$f8,$9f,$89,$f8,$9f,$89,$f7,$af,$7a,$f7,$af,$6b,$f6,$bf,$6c,$f4,$de,$51
frame215: .byte $50,$ff,$ff,$fb,$5f,$a9,$f7,$cf,$5d,$f4,$df,$4d,$f3,$b1,$2f,$59,$7,$f4,$82,$3f,$56,$42,$f7,$26,$2e,$72,$e2,$55,$1e,$61,$3,$b8,$b1,$a0,$e2,$1,$7a,$90,$c1,$66,$36,$2e,$20,$30,$24,$32,$76,$4a,$36,$60,$c1,$71,$9c,$43,$70,$be,$5c,$e4,$1e,$6b,$f5,$cf,$5c,$f5,$cf,$51,$1a,$f4,$21,$af,$4d,$f4,$11,$cf,$31,$1c,$f2,$e2,$f2,$e2,$e4
frame216: .byte $68,$ff,$ff,$ff,$ec,$9f,$8b,$f6,$cf,$5d,$f4,$df,$3a,$7,$f4,$92,$1f,$68,$7,$f6,$62,$3f,$73,$52,$f6,$54,$19,$1b,$b,$c8,$a0,$81,$81,$42,$9a,$73,$23,$52,$10,$c2,$10,$ce,$40,$20,$c0,$c0,$c0,$80,$c2,$10,$c1,$2b,$21,$23,$20,$82,$32,$30,$c0,$92,$12,$b0,$62,$72,$34,$1,$50,$d1,$cc,$8,$e,$2a,$a,$ce,$20,$9e,$5b,$ee,$31,$50,$ea,$ee,$23,$23,$2a,$ee,$35,$47,$21,$f7,$81,$2f,$59,$12,$f5,$a1,$1f,$4b,$12,$f3,$b1,$2f,$3e,$1e,$31
frame217: .byte $6d,$ff,$ff,$f9,$7f,$99,$f8,$cf,$5d,$f4,$df,$3e,$1f,$3a,$12,$f5,$90,$7f,$57,$23,$f5,$11,$52,$3f,$73,$52,$f6,$60,$18,$d,$91,$3,$b8,$a0,$82,$72,$32,$9a,$60,$90,$11,$24,$b,$3,$21,$2e,$11,$c,$c,$10,$32,$50,$10,$32,$8,$11,$b1,$c,$d,$1,$1,$30,$c0,$c1,$3,$2e,$20,$32,$8,$8,$8,$20,$16,$8,$d0,$1b,$14,$1e,$2b,$e2,$16,$1e,$11,$1a,$f3,$e,$af,$23,$2a,$f1,$24,$81,$2e,$e2,$36,$81,$2e,$c3,$8a,$11,$f5,$a1,$1f,$5a,$12,$f3,$e1,$f3,$e1,$e3
frame218: .byte $66,$ff,$ff,$fa,$6f,$99,$f8,$cf,$5d,$f4,$df,$4d,$f3,$b1,$2f,$4a,$12,$f5,$73,$2f,$75,$32,$f8,$25,$2e,$82,$e1,$60,$1a,$1a,$8,$1b,$8a,$20,$17,$20,$1a,$aa,$8,$24,$b,$3,$1,$3,$1c,$10,$c0,$80,$c4,$10,$c0,$93,$c,$21,$b0,$30,$30,$10,$31,$42,$16,$20,$11,$b0,$30,$30,$10,$11,$4e,$11,$1b,$21,$41,$a1,$e5,$c6,$1e,$e3,$11,$af,$30,$ea,$f2,$32,$af,$12,$48,$12,$ee,$14,$68,$12,$ec,$47,$cf,$5c,$f5,$cf,$4e,$1f,$3e,$1e,$31
frame219: .byte $6d,$ff,$ff,$fa,$7f,$99,$f7,$cf,$5d,$f4,$e1,$f3,$df,$3b,$12,$f4,$a1,$2f,$58,$23,$f5,$63,$3f,$72,$52,$e8,$2e,$25,$41,$e7,$8,$1b,$8c,$19,$30,$3a,$aa,$8,$23,$21,$c,$20,$12,$12,$e2,$3,$3,$23,$21,$3,$20,$80,$c1,$2c,$20,$80,$81,$3,$14,$11,$70,$81,$2c,$3,$3,$3,$2,$3a,$8,$12,$b3,$c,$20,$10,$22,$e5,$c0,$10,$19,$1e,$5c,$f4,$21,$af,$23,$28,$12,$ee,$52,$48,$12,$ee,$14,$68,$3,$eb,$47,$a2,$1f,$4a,$3,$f3,$a0,$1f,$2c,$3,$f1,$c2,$2e,$11
frame220: .byte $73,$ff,$ff,$f9,$8f,$99,$f7,$df,$4e,$1f,$3e,$1f,$3e,$1f,$2b,$12,$f5,$90,$7f,$48,$23,$f5,$54,$3f,$73,$52,$e6,$b,$e1,$54,$1e,$62,$1,$b8,$d2,$64,$3,$21,$7a,$a0,$c2,$1,$3,$3,$3,$21,$2e,$20,$10,$32,$32,$8,$10,$30,$32,$12,$c2,$8,$10,$31,$c,$b,$20,$93,$21,$c,$c0,$32,$10,$32,$12,$42,$16,$10,$32,$c0,$32,$16,$9,$11,$a0,$93,$c0,$12,$19,$11,$1e,$4c,$e3,$1e,$52,$18,$12,$f1,$32,$82,$3e,$e3,$33,$83,$6e,$85,$58,$64,$11,$e4,$46,$a8,$2e,$e2,$af,$7a,$f6,$cf,$5c,$e5
frame221: .byte $74,$ff,$ff,$f9,$9f,$7a,$11,$f5,$df,$4e,$1f,$3e,$1f,$2e,$2f,$2b,$12,$f4,$a0,$7f,$48,$23,$f5,$54,$3f,$73,$52,$e6,$11,$1e,$25,$41,$e6,$8,$2b,$8d,$35,$40,$3a,$aa,$20,$10,$10,$10,$30,$32,$12,$e2,$1,$3,$23,$20,$80,$c1,$3,$21,$2c,$20,$81,$3,$10,$c4,$3,$21,$3,$21,$2c,$3,$10,$c1,$3,$33,$1,$50,$c1,$2c,$21,$3,$20,$93,$d,$a0,$92,$c2,$9,$90,$c1,$e3,$ce,$21,$e6,$21,$81,$2f,$13,$28,$14,$ee,$33,$38,$33,$eb,$55,$85,$4e,$83,$6a,$72,$e4,$39,$a9,$3e,$da,$f6,$cf,$5c,$e5
frame222: .byte $78,$ff,$fe,$b2,$7,$f9,$af,$7c,$f5,$df,$4e,$1f,$3e,$1f,$2e,$2f,$2b,$12,$f4,$a0,$7f,$48,$23,$f6,$44,$3f,$72,$62,$e6,$2e,$26,$41,$e6,$8,$1c,$8d,$17,$30,$1b,$ab,$8,$c,$10,$30,$32,$8,$e5,$1,$1,$1,$5,$3,$3,$20,$81,$2c,$20,$81,$3,$3,$3,$1,$1,$3,$21,$2c,$21,$3,$3,$3,$23,$20,$81,$3,$21,$2c,$10,$c0,$c0,$81,$24,$a0,$92,$c1,$c,$26,$10,$31,$1e,$3c,$51,$a2,$e3,$e,$be,$21,$e3,$32,$80,$7e,$e4,$33,$83,$3e,$e1,$25,$85,$5e,$74,$68,$73,$e4,$48,$a8,$3e,$e1,$af,$6c,$f5,$ce,$51
frame223: .byte $77,$ff,$fe,$b6,$f9,$af,$7d,$f3,$e2,$f3,$e1,$f3,$e1,$f2,$e2,$f2,$b0,$7f,$3a,$7,$f4,$82,$3f,$41,$14,$43,$f7,$26,$2e,$61,$e3,$55,$1e,$61,$3,$c8,$d0,$95,$20,$1b,$ab,$8,$c,$d,$3,$1,$3e,$50,$13,$c,$33,$e,$20,$10,$12,$c2,$8,$8,$c,$d,$1,$1,$3,$3,$2c,$3,$3,$3,$3,$20,$90,$10,$30,$32,$c0,$30,$32,$8,$10,$32,$17,$8,$12,$c2,$8,$17,$10,$3a,$8,$12,$c2,$8,$1e,$e2,$e1,$f2,$c,$80,$7e,$e4,$33,$82,$4e,$e1,$34,$84,$5e,$75,$68,$64,$e5,$47,$a8,$3e,$22,$aa,$f6,$cf,$5c,$e5
frame224: .byte $76,$ff,$fe,$a8,$f8,$af,$7e,$1f,$2e,$2f,$3e,$1f,$2e,$1f,$2c,$7,$f3,$a0,$7f,$3a,$7,$f4,$82,$3f,$70,$d4,$2f,$72,$62,$f5,$5e,$41,$70,$bd,$8d,$d,$50,$82,$ba,$b2,$1,$24,$3,$21,$42,$1c,$12,$41,$3,$24,$3,$3,$3,$21,$2e,$11,$c,$c,$c,$24,$c,$8,$c,$c,$c0,$30,$30,$10,$34,$8,$8,$c,$c,$c0,$30,$30,$10,$14,$17,$8,$c,$c0,$30,$10,$10,$1c,$8,$12,$d0,$10,$1e,$e1,$e1,$f2,$e,$80,$7e,$e4,$42,$82,$4e,$e1,$34,$84,$3e,$95,$68,$64,$e6,$37,$a7,$3e,$24,$9a,$93,$ec,$cf,$5c,$e5
frame225: .byte $7c,$ff,$a2,$fa,$9f,$8a,$f6,$e2,$f2,$e2,$f2,$e2,$f1,$e3,$f1,$c0,$3f,$2b,$3,$f3,$a0,$7f,$48,$23,$f6,$e,$14,$2f,$63,$62,$f6,$4e,$51,$50,$de,$18,$d0,$c0,$82,$32,$ba,$c0,$82,$7,$1,$1,$42,$1c,$12,$40,$80,$83,$3,$12,$1,$1,$2e,$12,$8,$10,$30,$34,$c,$8,$8,$12,$d0,$30,$30,$10,$34,$8,$10,$33,$c,$c0,$30,$30,$10,$14,$8,$8,$8,$8,$c0,$10,$10,$10,$1c,$8,$12,$d0,$10,$1e,$b1,$2e,$12,$1e,$e4,$e,$80,$7e,$e5,$32,$82,$3e,$e2,$34,$84,$3e,$91,$23,$58,$65,$e5,$46,$a7,$3e,$15,$9a,$93,$ec,$cf,$5c,$e5
frame226: .byte $79,$ff,$84,$fa,$9f,$8a,$f6,$e2,$f2,$e2,$f2,$e2,$f1,$e3,$ee,$5d,$3,$f2,$b0,$3f,$3a,$7,$f3,$93,$2f,$41,$15,$42,$f7,$26,$2f,$64,$eb,$4e,$18,$e1,$9,$32,$32,$ba,$b2,$32,$7,$1,$21,$8c,$70,$80,$81,$4,$20,$72,$8,$12,$e1,$20,$81,$3,$3,$40,$c0,$80,$81,$2d,$1,$3,$1,$3,$40,$81,$20,$e0,$ed,$3,$3,$1,$3,$40,$80,$80,$80,$8c,$1,$1,$61,$d0,$81,$2e,$12,$8,$1e,$70,$81,$2e,$12,$1e,$e4,$e,$80,$7e,$e5,$32,$82,$3e,$e2,$43,$83,$4e,$87,$58,$56,$e4,$56,$a7,$3e,$15,$9a,$94,$eb,$cf,$5c,$e5
frame227: .byte $80,$ff,$76,$f9,$af,$7b,$f6,$e1,$f3,$e2,$f1,$e3,$ee,$5e,$5e,$e4,$e4,$f1,$c1,$2f,$3b,$7,$81,$93,$d9,$23,$60,$c1,$43,$3,$e1,$63,$34,$33,$51,$20,$11,$1c,$36,$30,$10,$30,$34,$c,$c,$2a,$45,$63,$c,$24,$c,$c,$c,$33,$82,$33,$c,$c,$24,$8,$8,$c,$21,$d2,$8,$20,$10,$14,$8,$8,$c,$c,$c0,$30,$30,$10,$1c,$8,$21,$e1,$12,$1,$e7,$8,$12,$d0,$30,$1e,$70,$81,$2e,$12,$1e,$e2,$12,$e1,$f2,$e2,$f2,$e2,$f2,$21,$cf,$10,$e9,$3,$e6,$14,$14,$42,$92,$45,$14,$16,$71,$62,$a2,$e1,$7a,$5a,$4b,$91,$15,$7a,$77,$ea,$cf,$5c,$e5
frame228: .byte $78,$1e,$75,$fb,$af,$7b,$f5,$cf,$5e,$3e,$e4,$e5,$ee,$3e,$7e,$e3,$e5,$ee,$5e,$4e,$e5,$e4,$ee,$5c,$14,$62,$93,$cb,$14,$46,$58,$a9,$24,$24,$2a,$16,$a4,$b,$80,$81,$a0,$81,$82,$81,$90,$81,$92,$1,$23,$e6,$8,$c,$23,$23,$c,$14,$1e,$71,$41,$23,$3,$23,$20,$82,$e7,$c,$32,$30,$24,$12,$32,$e7,$c,$e7,$7,$e6,$41,$e7,$7,$e6,$41,$ec,$e5,$ee,$5e,$3e,$e5,$e4,$ee,$5e,$5e,$e3,$41,$e2,$e3,$7,$24,$61,$a1,$55,$20,$e4,$72,$62,$a2,$62,$74,$e1,$3a,$3e,$15,$b4,$c4,$c6,$21,$56,$c6,$8e,$8e,$1e,$41
frame229: .byte $7f,$1e,$6b,$f5,$df,$4d,$f4,$e4,$ee,$2e,$7e,$e2,$e7,$ee,$2e,$7e,$e4,$e5,$ee,$4e,$5e,$e4,$d0,$88,$18,$2d,$e3,$65,$46,$ca,$15,$34,$18,$24,$b8,$25,$15,$28,$8,$18,$45,$48,$20,$13,$20,$13,$28,$1e,$30,$80,$80,$82,$1,$1,$32,$e7,$20,$10,$33,$30,$32,$8,$2e,$72,$1,$23,$23,$3,$20,$82,$e7,$c,$c,$32,$e,$30,$30,$3e,$63,$20,$e0,$ec,$23,$e5,$32,$e7,$14,$e5,$ee,$4e,$4e,$e5,$e5,$ee,$4e,$5e,$e3,$e6,$ee,$3e,$7e,$61,$65,$1e,$55,$20,$e1,$23,$32,$71,$c1,$72,$33,$e5,$2c,$2e,$e4,$4c,$4e,$11,$b6,$c6,$b8,$37,$e1,$75,$12,$21
frame230: .byte $7c,$1e,$4e,$7e,$de,$9e,$ce,$ae,$ce,$ae,$de,$9e,$e1,$e7,$ee,$2e,$7e,$e2,$e2,$14,$d1,$e2,$e1,$14,$70,$16,$dc,$24,$58,$15,$ca,$34,$34,$33,$26,$b6,$10,$7d,$19,$19,$38,$39,$1e,$10,$82,$e3,$16,$8,$8,$16,$17,$2e,$a1,$70,$81,$3,$20,$82,$e9,$20,$10,$30,$30,$32,$8,$2e,$92,$1,$3,$20,$e0,$e0,$c2,$e9,$c,$21,$e2,$23,$e7,$32,$e5,$23,$e7,$e,$eb,$e6,$ee,$3e,$6e,$e3,$e7,$ee,$2e,$7e,$e1,$e8,$ee,$14,$1e,$4e,$21,$86,$1c,$15,$82,$42,$57,$2c,$17,$53,$d,$33,$72,$e1,$18,$2e,$73,$d3,$ee,$15,$e1,$4e,$a7,$e1,$7a
frame231: .byte $70,$1d,$ee,$1e,$9e,$ce,$be,$ae,$ce,$ae,$ce,$41,$5e,$de,$31,$59,$1e,$4e,$21,$67,$4e,$2e,$12,$64,$9e,$2b,$36,$25,$26,$e1,$94,$d1,$41,$b4,$75,$a2,$91,$a2,$c2,$a2,$41,$82,$ee,$11,$41,$40,$81,$42,$ee,$11,$40,$82,$1,$42,$ed,$24,$12,$42,$14,$2e,$d2,$30,$c4,$3,$32,$ed,$23,$21,$61,$23,$3e,$1e,$e3,$23,$4f,$81,$fe,$e3,$e2,$ed,$e9,$ec,$ea,$ec,$eb,$eb,$eb,$ea,$ec,$e9,$61,$e1,$15,$e6,$72,$e1,$17,$e2,$91,$e2,$28,$63,$39,$2e,$32,$93,$e1,$4e,$33,$ea,$6e,$35,$b1
frame232: .byte $66,$1e,$1e,$72,$6e,$7e,$72,$6e,$8e,$71,$7e,$8e,$43,$7e,$9e,$33,$74,$1e,$6c,$57,$25,$e4,$81,$26,$61,$41,$63,$36,$a5,$d3,$c2,$e2,$3c,$34,$4e,$a1,$91,$42,$43,$41,$e9,$16,$14,$16,$2f,$21,$61,$51,$f2,$25,$24,$3f,$13,$42,$43,$f1,$34,$24,$3f,$13,$43,$33,$e3,$ff,$ff,$9e,$de,$5e,$e4,$e6,$ee,$2e,$6e,$e3,$e6,$ee,$4e,$5e,$e4,$e4,$ee,$5e,$46,$1e,$be,$27,$2e,$51,$7b,$92,$e5,$19,$7a,$2e,$62,$a4,$b2,$e6,$3b,$1b,$3e,$73,$b1
frame233: .byte $4b,$1e,$3e,$56,$7e,$6e,$18,$7e,$79,$12,$97,$e4,$d7,$3,$e5,$4e,$44,$eb,$1e,$82,$d5,$fc,$44,$1e,$e1,$27,$8,$2f,$a1,$42,$f9,$24,$2f,$93,$23,$f9,$32,$3f,$93,$24,$f7,$af,$7a,$f7,$ae,$5f,$ff,$fa,$ee,$3c,$f5,$cf,$5b,$f6,$bf,$6b,$f7,$9f,$89,$f8,$97,$1e,$e5,$78,$2e,$b1,$83,$a2,$eb,$1e,$73,$eb,$2e,$63,$eb,$2a
frame234: .byte $26,$f7,$1f,$ec,$24,$1f,$51,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f6,$1f,$e2,$3f,$d3,$e7,$ff,$ff,$9f,$61,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$41,$fe,$31,$fe,$22,$f3,$16
frame235: .byte $1e,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f6,$1f,$e3,$11,$ff,$f2,$fe,$31,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$41
frame236: .byte $23,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ed,$5a,$fe,$8e,$e3,$11,$54,$1f,$86,$21,$fc,$5f,$e1,$3f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$51
frame237: .byte $34,$fe,$31,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ed,$3f,$b6,$fa,$8c,$eb,$3a,$46,$e7,$11,$41,$bf,$3e,$2f,$5c,$f8,$9f,$89,$f7,$af,$89,$f9,$8f,$a7,$fa,$7f,$98,$fa,$7f,$a7,$ee,$12,$c7,$ee,$32,$a7,$ee,$52,$87,$f2,$d,$47
frame238: .byte $38,$ff,$f2,$1f,$e2,$2f,$e2,$2f,$e2,$2f,$e2,$2f,$91,$52,$fa,$7f,$ff,$ff,$ff,$75,$fb,$7e,$4e,$e4,$f8,$af,$b6,$fb,$6f,$b7,$fa,$6f,$c5,$fc,$5f,$c5,$fc,$5f,$c5,$fc,$64,$4e,$e3,$c,$62,$5f,$2b,$f6,$9f,$7a,$f4,$e1,$ee,$35,$1d,$12,$51
frame239: .byte $47,$ff,$ff,$fe,$c5,$fc,$6f,$a9,$f9,$af,$75,$24,$f7,$53,$2f,$ff,$fe,$a1,$ed,$4e,$42,$e8,$11,$6e,$33,$ea,$7e,$23,$eb,$6e,$14,$ec,$5e,$15,$eb,$5e,$14,$ec,$5e,$23,$ec,$4e,$33,$ec,$4e,$33,$ec,$4e,$33,$ec,$45,$1a,$2e,$d5,$7,$f4,$21,$7f,$96,$fa,$8f,$5e,$1f,$12,$3a,$32,$f1,$bf,$5d,$f3,$e2,$b1
frame240: .byte $48,$ee,$16,$fc,$5f,$e2,$3f,$e2,$3f,$e2,$3f,$e2,$3f,$e3,$3f,$e5,$1f,$e4,$2f,$ff,$fe,$e5,$1e,$82,$ea,$2e,$1b,$e8,$2e,$66,$e8,$2e,$75,$e8,$3e,$65,$e8,$3e,$64,$e9,$2e,$83,$e9,$3e,$64,$e9,$3e,$64,$e9,$3e,$64,$1,$e5,$1e,$86,$f9,$6f,$b6,$f9,$9f,$51,$29,$f8,$af,$6c,$f4,$e1,$f2,$e2,$f2,$12,$be,$11
frame241: .byte $43,$ea,$6f,$b8,$fa,$25,$2f,$e3,$2f,$e3,$1f,$e4,$2f,$e4,$2f,$ff,$ff,$ff,$f8,$2e,$72,$eb,$2e,$29,$e9,$2e,$47,$e9,$2e,$56,$e8,$4e,$55,$e9,$2e,$64,$ea,$2e,$63,$eb,$2e,$63,$ea,$4e,$53,$ea,$3e,$63,$32,$f8,$6f,$a5,$fc,$6f,$98,$f5,$c,$9f,$7b,$f5,$df,$4e,$1f,$2e,$1f,$21,$49,$e2
frame242: .byte $4a,$d6,$65,$f1,$65,$6f,$24,$64,$11,$fb,$30,$1f,$e4,$1f,$ff,$ff,$e3,$1f,$ff,$c4,$fc,$6e,$d1,$e3,$5e,$d1,$e4,$4e,$d1,$e4,$5e,$b3,$e2,$6e,$b3,$e3,$3e,$d3,$e3,$3e,$d3,$e2,$40,$3e,$93,$e2,$7e,$a3,$e2,$5e,$d1,$e2,$6f,$bb,$f4,$9f,$60,$c8,$f3,$15,$9f,$7c,$f5,$bf,$5b,$f6,$8,$c,$2f,$62,$81,$f6,$19,$1e,$51
frame243: .byte $48,$ed,$32,$5f,$89,$f9,$8f,$a7,$fd,$2f,$ff,$f4,$6f,$b6,$fa,$6f,$d4,$fd,$3f,$12,$a6,$ee,$41,$b6,$ee,$42,$a4,$f1,$29,$10,$74,$2e,$c4,$a4,$1,$ee,$12,$b4,$11,$ee,$32,$b5,$ee,$42,$a6,$ee,$33,$a7,$ee,$32,$89,$f6,$c,$8f,$99,$f7,$af,$6b,$f7,$8f,$a2,$32,$fa,$24,$1f,$a1,$51,$fa,$15,$1f,$a1,$61,$e9
frame244: .byte $47,$ff,$e1,$8,$8f,$6d,$fd,$5f,$b6,$fc,$5e,$96,$e2,$4e,$97,$fb,$5f,$d3,$fe,$13,$fd,$4f,$22,$94,$f2,$28,$5f,$22,$81,$7,$f2,$39,$3f,$23,$61,$23,$3,$ee,$32,$77,$f1,$26,$9e,$e5,$38,$6e,$e4,$47,$7f,$a8,$f9,$8f,$98,$f9,$8f,$a6,$fc,$8,$2f,$b1,$41,$fb,$14,$1f,$b1,$41,$fb,$14,$1f,$b1,$51,$ea
frame245: .byte $5b,$f6,$4f,$41,$66,$f5,$cf,$c5,$fe,$11,$ff,$e8,$1f,$c5,$fb,$6f,$b6,$fb,$5f,$d3,$ee,$32,$e1,$4e,$e2,$2c,$7e,$e1,$2c,$8e,$d3,$a1,$23,$1,$ec,$3a,$11,$44,$1e,$b3,$91,$24,$52,$e9,$38,$e,$42,$32,$1e,$83,$42,$19,$81,$e7,$37,$12,$69,$1e,$61,$c7,$91,$ee,$39,$a2,$ec,$bc,$1e,$bb,$d1,$eb,$ae,$21,$eb,$7e,$41,$eb,$14,$2e,$41,$e9,$25,$1e,$61,$e7,$16,$1f,$91,$61,$f9,$16,$1e,$91
frame246: .byte $4c,$ff,$e8,$3f,$c6,$fc,$6f,$b5,$fd,$3f,$32,$fb,$6f,$a7,$fb,$5f,$d3,$fe,$13,$ee,$51,$c6,$ee,$31,$b7,$ee,$22,$b8,$ee,$13,$a1,$7,$1,$ec,$49,$11,$44,$2e,$b2,$a1,$23,$3,$11,$eb,$29,$8e,$e3,$35,$b,$16,$ee,$33,$a7,$ee,$22,$b7,$fa,$8f,$8b,$f6,$bf,$69,$f9,$7f,$a1,$42,$f9,$25,$1f,$91,$61,$f9,$16,$1f,$91,$61,$e9
frame247: .byte $49,$ee,$55,$fe,$22,$fe,$35,$fd,$4f,$ff,$ee,$55,$fb,$6f,$b5,$fc,$4f,$89,$fd,$7e,$e2,$2a,$b1,$1e,$a2,$a6,$ee,$42,$92,$14,$ee,$42,$a1,$14,$ee,$34,$a5,$1,$ec,$39,$9e,$e2,$29,$7e,$e4,$24,$52,$6e,$e2,$4a,$71,$1f,$87,$f9,$8f,$99,$f8,$9f,$88,$f9,$7f,$a2,$42,$f9,$24,$2f,$91,$61,$f9,$16,$1f,$91,$61,$e9
frame248: .byte $53,$ee,$27,$fb,$30,$3f,$e3,$2f,$ff,$f7,$2f,$b5,$fc,$5f,$b5,$55,$f3,$40,$7f,$97,$1,$f5,$55,$1e,$b2,$a6,$41,$ec,$2a,$11,$40,$1e,$d2,$91,$24,$21,$ee,$12,$c5,$ee,$24,$82,$14,$ee,$33,$a6,$ee,$42,$a6,$ee,$33,$81,$17,$ee,$24,$50,$89,$ed,$34,$15,$8e,$e5,$17,$af,$7a,$f7,$af,$88,$f9,$24,$1f,$a1,$51,$fa,$15,$2f,$91,$61,$f9,$16,$1f,$91,$61,$e9
frame249: .byte $58,$f2,$7f,$b5,$fd,$4f,$ff,$51,$f1,$1f,$c5,$fc,$57,$4e,$e5,$64,$c,$3e,$e5,$a0,$1f,$47,$32,$f4,$64,$1e,$82,$d6,$32,$e9,$2c,$60,$1e,$b2,$b2,$15,$11,$ec,$2b,$12,$5e,$e1,$39,$c,$4e,$e1,$3a,$c,$4e,$e2,$2a,$11,$5e,$e3,$2a,$8e,$e2,$28,$21,$7e,$e1,$45,$23,$8e,$e1,$24,$25,$ae,$d0,$b7,$a2,$1e,$b2,$9a,$f6,$cf,$5c,$f6,$af,$88,$f9,$25,$1f,$92,$51,$f9,$16,$2e,$81
frame250: .byte $5b,$fe,$22,$ff,$fe,$e5,$1f,$c2,$12,$fa,$6f,$b6,$fa,$8e,$51,$e8,$7e,$51,$e9,$6e,$41,$ed,$3e,$31,$ed,$a5,$5e,$e1,$e8,$b2,$d8,$93,$d2,$d8,$72,$e3,$2c,$e,$55,$2e,$53,$61,$40,$85,$32,$e7,$46,$8,$12,$61,$2e,$93,$93,$27,$ec,$2a,$c,$6e,$c3,$b8,$ed,$3b,$8e,$d4,$9a,$ec,$19,$e,$9e,$c1,$73,$3a,$ee,$33,$6c,$ec,$37,$b0,$1e,$64,$ac,$41,$ee,$4e,$1f,$3e,$1f,$3e,$1f,$3e,$1e,$51
frame251: .byte $58,$ff,$e2,$1f,$e3,$1f,$a4,$12,$f9,$7f,$98,$f9,$8f,$98,$f9,$7f,$c4,$fc,$4f,$c8,$e5,$1e,$7b,$e1,$16,$2d,$db,$18,$2d,$e8,$11,$a2,$c9,$52,$34,$b3,$b2,$16,$94,$c3,$1,$72,$16,$73,$e1,$53,$25,$95,$2e,$53,$62,$32,$16,$32,$e7,$39,$b0,$7e,$83,$ab,$eb,$3c,$8e,$b4,$c9,$f7,$ae,$83,$cd,$f1,$41,$e1,$ee,$13,$4b,$32,$e9,$45,$d4,$3e,$34,$8e,$17,$1b,$4a,$e2,$f2,$e3,$e3
frame252: .byte $57,$ff,$e1,$1f,$b0,$83,$f8,$8f,$88,$f9,$8f,$98,$f8,$8f,$98,$fc,$3f,$d5,$fb,$7f,$99,$ec,$2b,$be,$13,$63,$bb,$c0,$81,$72,$bc,$92,$41,$63,$b2,$15,$27,$3,$c4,$a2,$16,$65,$e2,$59,$87,$4e,$23,$1,$78,$55,$e3,$36,$15,$73,$3e,$73,$92,$1b,$e9,$3b,$ae,$b3,$c8,$ec,$1d,$ae,$92,$e1,$e1,$f1,$d4,$3e,$de,$28,$2e,$73,$3d,$ee,$13,$5e,$1e,$a3,$8e,$1e,$74,$9e,$2e,$41
frame253: .byte $4d,$ee,$11,$e5,$2e,$d2,$e6,$1e,$73,$23,$f8,$9f,$79,$f7,$af,$79,$f8,$9f,$89,$fb,$3f,$d4,$fc,$6f,$a8,$f8,$bf,$6b,$d3,$e8,$bc,$9,$e8,$81,$48,$14,$1e,$88,$25,$42,$ee,$19,$55,$ee,$39,$54,$e8,$28,$75,$5e,$b2,$66,$33,$f1,$e1,$f5,$af,$89,$f8,$cf,$4b,$34,$ee,$4b,$92,$eb,$e1,$f1,$e3,$ee,$43,$2e,$1e,$81,$53,$4e,$1e,$61
frame254: .byte $64,$e1,$e2,$ee,$5e,$5e,$e3,$e6,$ee,$3e,$6e,$e3,$e7,$ee,$2e,$6e,$e2,$e7,$a1,$e4,$e7,$12,$61,$e5,$e6,$21,$eb,$e8,$ee,$1e,$50,$3d,$1c,$e5,$3,$21,$92,$12,$9e,$50,$3b,$11,$49,$ea,$71,$25,$9e,$b0,$16,$3a,$ee,$16,$3b,$ee,$22,$5d,$ee,$22,$5c,$ee,$41,$5d,$ee,$32,$3e,$1f,$3e,$2e,$92,$51,$4e,$1e,$93,$23,$5e,$1e,$63,$44,$4e,$6d,$53,$44,$f6,$25,$4f,$63,$43,$f6,$43,$41,$1f,$44,$35,$f5,$43,$5f,$54,$35,$f4,$54,$29
frame255: .byte $54,$ff,$ff,$fb,$1f,$d6,$fa,$9f,$7a,$f7,$af,$6c,$f4,$cf,$2e,$2f,$1e,$4e,$e3,$e5,$12,$ee,$1e,$5e,$e4,$e3,$12,$ee,$3e,$6a,$1e,$5e,$7c,$1d,$e8,$b2,$de,$b7,$1e,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$fe,$11
frame294: .byte $30,$ff,$ff,$ff,$ff,$ff,$ff,$f9,$2f,$e2,$2f,$e2,$2f,$e2,$2f,$e3,$1f,$e2,$2f,$e1,$4f,$c5,$61,$f5,$56,$1e,$7a,$74,$16,$e7,$ee,$1e,$9e,$ce,$de,$9e,$e3,$e5,$ee,$5e,$3f,$41,$ff,$ff,$ff,$ff,$ff,$ff,$f7
frame295: .byte $33,$ff,$ff,$ff,$ff,$ff,$fe,$71,$7,$fe,$22,$fe,$22,$fe,$23,$fe,$21,$fe,$23,$fe,$13,$fd,$49,$1f,$25,$81,$f3,$55,$4d,$bc,$be,$2f,$1e,$4e,$e5,$e6,$ee,$2e,$ae,$be,$de,$8e,$e3,$45,$9f,$ff,$ff,$ff,$ff,$ff,$fe,$d1
frame296: .byte $3b,$ff,$ff,$fe,$33,$fa,$8,$3f,$a0,$83,$fe,$23,$fe,$13,$21,$fb,$2f,$e2,$2f,$e2,$3f,$d4,$fc,$6c,$2e,$e1,$7b,$2e,$e2,$6b,$2e,$e3,$65,$75,$7e,$8e,$25,$e2,$ce,$26,$fa,$7f,$99,$f7,$df,$4e,$2f,$1e,$55,$81,$2c,$f7,$9f,$c4,$ff,$ff,$ff,$ff,$fe,$a1
frame297: .byte $42,$e5,$18,$5f,$31,$84,$f4,$18,$3f,$51,$83,$f5,$18,$4f,$41,$84,$f4,$26,$6f,$31,$67,$f3,$15,$8f,$31,$4a,$f6,$bf,$79,$b5,$e9,$a8,$8e,$e1,$53,$de,$e1,$e8,$ec,$ed,$cf,$fe,$51,$fe,$22,$fe,$13,$fd,$4f,$c5,$fb,$60,$8f,$6e,$ae,$ae,$e1,$e7,$ee,$5e,$2f,$88,$fc,$3f,$ff,$ff,$41
frame298: .byte $3f,$a2,$a8,$ee,$32,$7b,$ee,$21,$7b,$ee,$22,$5d,$ee,$22,$4e,$1e,$e3,$14,$e1,$f3,$e1,$f3,$df,$3d,$e6,$1e,$78,$e2,$5e,$a5,$aa,$ec,$26,$e2,$eb,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$c7,$ec,$4d,$9e,$84,$e3,$62,$4e,$34,$e3,$67,$4b,$4e,$36,$72,$35,$54,$e3,$72,$58,$42,$4e,$2d,$e3,$4e,$27,$e9,$4e,$27,$e9,$4e,$36,$ea,$3e,$45,$ea,$3e,$46,$ea,$3e,$27,$ea,$3d,$ae,$93,$cc,$e9,$2a,$e1,$e9,$28,$e3,$e8,$27,$e5,$e8,$26,$e6,$e9,$15,$e8,$e8,$15,$e8,$e8,$24,$e8,$e9,$23,$e8,$c4,$ae,$88,$99,$e8,$4e,$19,$f8,$cf,$5b,$f6
frame303: .byte $5f,$ff,$fe,$d2,$ed,$2e,$37,$ea,$5c,$9e,$97,$a9,$e8,$54,$26,$ae,$85,$72,$48,$e9,$4b,$21,$7e,$95,$e1,$6e,$a5,$e1,$7e,$94,$e4,$8e,$64,$e4,$64,$2e,$24,$e4,$76,$4a,$4e,$47,$70,$e4,$54,$e3,$93,$56,$41,$4e,$3e,$2d,$4e,$2c,$e4,$4e,$37,$e8,$4e,$55,$e9,$3e,$56,$e8,$3e,$56,$e8,$4e,$38,$e8,$3e,$29,$e8,$3e,$1b,$e8,$2d,$de,$72,$cd,$e7,$2c,$e1,$e7,$2b,$e3,$e6,$29,$e5,$e7,$17,$e7,$e7,$16,$e8,$e3
frame304: .byte $5b,$ff,$ff,$ff,$fe,$d1,$e5,$6e,$a3,$e2,$8e,$96,$ba,$e7,$50,$18,$be,$75,$61,$69,$e7,$5a,$8,$8e,$85,$d8,$e9,$4e,$27,$e9,$4e,$55,$e8,$4e,$58,$e5,$4e,$47,$44,$b5,$e4,$86,$48,$4e,$58,$63,$24,$34,$e4,$93,$57,$e,$3e,$41,$2b,$e1,$3e,$4b,$e4,$3e,$66,$e7,$4e,$65,$e7,$4e,$66,$e7,$3e,$57,$e7,$4e,$39,$e7,$3e,$1b,$e7,$3c,$e1,$e6,$3b,$e2,$e6,$39,$e4,$e6,$29,$e5,$e6,$28,$e6,$e3
frame305: .byte $57,$ff,$ff,$ff,$ff,$ff,$15,$ea,$3e,$37,$e9,$6c,$9e,$76,$21,$9a,$e7,$56,$16,$9e,$85,$91,$47,$e8,$5d,$8e,$95,$e2,$6e,$94,$e4,$7e,$74,$e5,$8e,$54,$e5,$64,$3d,$4e,$48,$64,$94,$e4,$95,$33,$34,$4e,$3a,$34,$82,$14,$e3,$21,$cd,$4e,$4b,$e3,$4e,$56,$e7,$4e,$65,$e8,$3e,$66,$e7,$4e,$47,$e8,$3e,$39,$e7,$3e,$2b,$e6,$4d,$de,$63,$ce,$1e,$62,$ce,$1e,$72,$be,$3e,$21
frame306: .byte $56,$ff,$ff,$ff,$ff,$fe,$e5,$6e,$92,$e4,$8e,$94,$d9,$e8,$7b,$9e,$85,$41,$79,$e9,$58,$14,$8e,$85,$e1,$7e,$95,$e1,$7e,$95,$e2,$8e,$74,$e5,$9e,$44,$e5,$74,$5a,$4e,$48,$76,$64,$e4,$96,$25,$41,$4e,$32,$17,$34,$b4,$e3,$21,$cd,$4e,$4b,$e3,$4e,$57,$e6,$4e,$66,$e7,$3e,$66,$e7,$4e,$47,$e8,$3e,$48,$e7,$4e,$2a,$e7,$3e,$1c,$e6,$3d,$de,$63,$cd,$e7,$3b,$e2,$e2
frame307: .byte $58,$ff,$ff,$ff,$ff,$e1,$5f,$a8,$e9,$2e,$38,$e9,$6b,$8e,$a8,$99,$e9,$56,$15,$8e,$a4,$aa,$ea,$5e,$17,$e9,$5e,$19,$e7,$5e,$2c,$e3,$4e,$57,$64,$94,$e4,$87,$e,$62,$4e,$49,$53,$81,$14,$e3,$a2,$5b,$4e,$32,$1b,$e1,$4e,$48,$11,$e4,$4e,$57,$e7,$3e,$66,$e7,$4e,$56,$e7,$4e,$57,$e7,$3e,$48,$e7,$4e,$2a,$e7,$3e,$1c,$e6,$4c,$de,$73,$be,$1e,$73,$ae,$2e,$72,$ae,$3e,$21
frame308: .byte $57,$ff,$ff,$ff,$ee,$33,$fb,$7f,$98,$eb,$4b,$9e,$b6,$9a,$e9,$55,$14,$ae,$a5,$9a,$eb,$5b,$9e,$a4,$e1,$9e,$75,$e1,$a0,$7e,$25,$e4,$76,$58,$5e,$48,$63,$35,$15,$e3,$95,$3a,$4e,$4e,$2c,$4e,$32,$1b,$e2,$4e,$38,$e7,$4e,$47,$e7,$4e,$56,$e7,$4e,$57,$e7,$3e,$57,$e7,$4e,$38,$e8,$3e,$2a,$e7,$4d,$ce,$73,$be,$1e,$73,$ae,$2e,$82,$9e,$3e,$82,$8e,$4e,$81,$8e,$6e,$11
frame309: .byte $57,$ff,$ff,$ff,$ee,$33,$fb,$8f,$89,$ea,$4b,$ae,$a7,$7b,$ea,$54,$12,$de,$a4,$9b,$ea,$5c,$9e,$95,$da,$e7,$4e,$12,$1b,$e3,$4e,$47,$74,$94,$e4,$86,$33,$52,$4e,$49,$44,$a4,$e3,$a1,$5c,$4e,$31,$2a,$e2,$4e,$39,$e6,$4e,$56,$e7,$4e,$65,$e8,$3e,$66,$e7,$4e,$47,$e8,$3e,$39,$e7,$4d,$ce,$73,$be,$2e,$64,$8e,$3e,$83,$6e,$5e,$83,$5e,$6e,$82,$5e,$7e,$82,$4e,$8e,$21
frame310: .byte $58,$ff,$ff,$ff,$f2,$5f,$a8,$e8,$1e,$49,$e8,$5c,$ae,$87,$9b,$e7,$64,$24,$ce,$76,$8d,$e8,$5c,$ae,$85,$e2,$ae,$55,$e1,$de,$25,$e3,$b3,$85,$5e,$59,$84,$45,$e5,$a7,$35,$5e,$4b,$54,$65,$e4,$21,$91,$68,$4e,$42,$1d,$b4,$e5,$92,$1e,$14,$e6,$8e,$44,$e7,$7e,$45,$e7,$7e,$44,$e6,$8e,$44,$e5,$9e,$54,$e2,$ce,$44,$de,$2e,$44,$ae,$4e,$44,$8e,$6e,$53,$6e,$9e,$43,$4e,$b8
frame311: .byte $55,$ff,$ff,$92,$fc,$8f,$8a,$e2,$1e,$7b,$e3,$5e,$2c,$e3,$8c,$ce,$28,$7,$8d,$e2,$76,$32,$e2,$e2,$6b,$61,$8e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$65,$5e,$6e,$74,$5e,$6e,$74,$5e,$6e,$74,$5e,$6e,$74,$5e,$6e,$74,$5e,$6e,$65,$5e,$6e,$65,$6e,$5e,$65,$6e,$5e,$56,$7e,$41
frame322: .byte $57,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$ed,$e9,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e6,$55,$e6,$e7,$46,$e5,$e8,$35,$e6,$e8,$34,$e7,$e8,$34,$e7,$e7,$45,$e6,$e6,$55,$e6,$e6,$56,$e5,$e6,$56,$e5,$e6,$56,$e5,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e6,$55,$e6,$e6,$56,$e5,$e5,$66,$e5
frame323: .byte $57,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$ec,$ea,$e9,$25,$e6,$e7,$45,$e6,$e7,$45,$e6,$e6,$55,$e6,$e6,$55,$e6,$e7,$46,$e5,$e8,$35,$e6,$e9,$25,$e6,$e8,$34,$e7,$e7,$44,$e7,$e7,$45,$e6,$e6,$56,$e5,$e6,$56,$e5,$e6,$56,$e5,$e6,$55,$e6,$e6,$55,$e6,$e6,$55,$e6,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e6,$55,$e6,$e6,$56,$e5,$e6,$56,$e5
frame324: .byte $58,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$ec,$ea,$ea,$15,$e6,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e7,$45,$e6,$e7,$46,$e5,$e8,$36,$e5,$e9,$25,$e6,$e8,$11,$14,$e7,$e8,$34,$e7,$e7,$45,$e6,$e7,$45,$e6,$e6,$56,$e5,$e6,$56,$e5,$e6,$56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$f8,$8f,$98,$f9,$8f,$97,$fa,$7f,$a7,$f9,$8f,$98,$f9,$8e,$71
frame348: .byte $33,$ff,$fe,$d1,$fe,$23,$fc,$5f,$c6,$fa,$8f,$89,$f8,$9f,$a8,$f9,$8f,$a7,$fb,$6f,$a7,$fa,$8f,$89,$f7,$bf,$6b,$f6,$be,$e2,$71,$ce,$e5,$71,$9f,$89,$f8,$9f,$88,$f9,$8f,$98,$f9,$7f,$a7,$fa,$7f,$a7,$f9,$8f,$98,$e7
frame349: .byte $35,$ff,$fe,$d1,$fe,$23,$fc,$5f,$c6,$fa,$8f,$89,$f8,$9f,$a8,$f9,$8f,$a7,$fb,$6f,$a7,$fa,$8f,$89,$f7,$bf,$6b,$ed,$41,$14,$ce,$e3,$e6,$ee,$56,$29,$f8,$9f,$89,$f8,$8f,$98,$f9,$8f,$98,$f9,$7f,$a7,$fa,$7f,$98,$f9,$8e,$71
frame350: .byte $35,$ff,$fe,$d2,$fe,$13,$fc,$6f,$b6,$fa,$8f,$89,$f8,$af,$98,$f9,$8f,$a7,$fb,$6f,$a7,$fa,$8f,$89,$f7,$be,$d2,$8c,$ee,$16,$3c,$ee,$4e,$5f,$23,$39,$f8,$9f,$89,$f8,$9f,$88,$f9,$8f,$98,$f9,$7f,$a7,$fa,$7f,$a7,$f9,$8e,$71
frame351: .byte $37,$ff,$fe,$d2,$fe,$14,$fb,$6f,$b6,$fa,$8f,$89,$f8,$af,$98,$f9,$8f,$a7,$fb,$6f,$a7,$fa,$8f,$7a,$ee,$11,$ab,$ee,$12,$7c,$ee,$34,$3c,$ee,$47,$1a,$f3,$23,$9f,$89,$f8,$9f,$89,$f8,$8f,$98,$f9,$8f,$97,$fa,$7f,$a7,$fa,$7f,$98,$e7
frame352: .byte $35,$ff,$fe,$d2,$fe,$14,$fb,$6f,$b6,$fa,$8f,$89,$f8,$af,$98,$f9,$8f,$b6,$fb,$6f,$a7,$f9,$9f,$7a,$f7,$ae,$e1,$28,$ce,$e1,$63,$ce,$e4,$e5,$f2,$42,$9f,$89,$f8,$9f,$89,$f8,$9f,$88,$f9,$8f,$98,$f9,$8f,$88,$f9,$8f,$98,$e7
frame353: .byte $37,$ff,$fe,$d3,$fd,$4f,$b6,$fa,$7f,$a8,$f8,$af,$89,$f9,$8f,$a7,$fb,$6f,$b6,$fa,$8f,$89,$ee,$31,$8a,$ee,$32,$6c,$ee,$21,$7c,$ed,$73,$ce,$e4,$e5,$f3,$23,$af,$7a,$f6,$bf,$6a,$f7,$af,$7a,$f7,$af,$79,$f8,$9f,$89,$f8,$9f,$89,$e6
frame354: .byte $40,$ff,$d1,$fe,$13,$f8,$af,$78,$f9,$8f,$99,$f8,$9f,$98,$fa,$7f,$a8,$f9,$8f,$98,$ee,$31,$9a,$ee,$14,$7a,$ee,$14,$6c,$ee,$12,$6d,$ee,$12,$6d,$ec,$73,$de,$e3,$81,$af,$14,$2a,$f7,$af,$6b,$f6,$80,$7f,$58,$3,$f5,$80,$7f,$4a,$12,$f4,$cf,$5b,$f6,$af,$7a,$f6,$ce,$51
frame355: .byte $44,$ff,$fe,$a1,$fe,$25,$42,$f6,$bf,$89,$f8,$8f,$89,$f8,$9f,$89,$f8,$8e,$e4,$27,$8e,$e5,$27,$8e,$e4,$46,$be,$e1,$46,$be,$e1,$46,$ae,$e2,$36,$ce,$e2,$17,$ce,$d6,$4c,$ee,$4e,$4f,$2e,$3f,$40,$8b,$f6,$72,$3f,$57,$33,$f4,$75,$3f,$28,$43,$f1,$95,$2f,$19,$f7,$bf,$6b,$f6,$cf,$4d,$e4
frame356: .byte $43,$ff,$fe,$b2,$fe,$15,$41,$f7,$af,$89,$f8,$8f,$98,$f8,$9f,$89,$f8,$7e,$e5,$28,$7e,$e5,$36,$8e,$e4,$46,$9e,$e3,$45,$be,$e2,$44,$ce,$e3,$25,$de,$e2,$25,$de,$d7,$1e,$1e,$e4,$e5,$f1,$e3,$f3,$e4,$f1,$b2,$7f,$17,$55,$ee,$57,$74,$ee,$38,$f9,$9f,$89,$f7,$bf,$6b,$f6,$cf,$4d,$e4
frame357: .byte $41,$ff,$fe,$b2,$fe,$15,$fc,$af,$97,$f9,$8f,$98,$f8,$9f,$89,$ee,$51,$77,$f2,$17,$7f,$12,$77,$ee,$53,$78,$ee,$34,$6a,$ee,$24,$6b,$ee,$23,$5c,$ee,$22,$6c,$ee,$16,$3c,$ee,$4e,$5f,$1e,$4f,$3a,$29,$ee,$39,$47,$ee,$38,$f9,$8f,$98,$f9,$9f,$7a,$f7,$bf,$6b,$f5,$cf,$5d,$e4
frame358: .byte $3e,$ff,$fe,$b3,$fe,$14,$fc,$af,$97,$f9,$8f,$98,$f8,$9f,$89,$f8,$7f,$a7,$f1,$18,$7f,$12,$69,$ee,$34,$6a,$ee,$25,$5b,$ee,$23,$5c,$ee,$31,$6d,$ed,$62,$de,$e4,$e6,$f1,$e4,$61,$ed,$a2,$9e,$e4,$77,$1f,$28,$f9,$8f,$98,$f9,$9f,$7a,$f7,$af,$6c,$f5,$cf,$5d,$e4
frame359: .byte $42,$ff,$fe,$b3,$fe,$14,$fc,$af,$97,$f9,$8f,$98,$f8,$9f,$89,$ee,$31,$97,$ee,$53,$77,$ee,$53,$77,$ee,$45,$59,$ee,$34,$6a,$ee,$24,$5c,$ee,$22,$6c,$ee,$22,$5d,$ee,$16,$3c,$ee,$4e,$5f,$2c,$3,$f3,$a2,$be,$d9,$63,$ee,$4a,$f8,$9f,$98,$f9,$8f,$8a,$f7,$af,$6c,$f5,$cf,$5d,$e4
frame360: .byte $43,$ff,$fe,$b2,$fe,$15,$fc,$af,$88,$f9,$8f,$89,$f8,$9f,$89,$f8,$7e,$e5,$28,$7e,$e4,$37,$8e,$e4,$37,$9e,$e2,$47,$ae,$e2,$36,$be,$e3,$26,$ce,$e2,$16,$de,$e1,$62,$d7,$2e,$8e,$57,$2e,$bc,$23,$f4,$91,$ae,$e2,$86,$6e,$e3,$8f,$98,$f9,$8f,$89,$f8,$af,$7a,$f6,$cf,$5c,$f5,$ce,$51
frame361: .byte $47,$ff,$fe,$a2,$fe,$24,$42,$f6,$bf,$88,$f9,$8f,$89,$f8,$9f,$89,$ee,$32,$88,$ee,$43,$77,$ee,$44,$68,$ee,$44,$69,$ee,$34,$5b,$ee,$33,$5b,$91,$e6,$16,$d7,$2e,$44,$5d,$73,$e7,$32,$d7,$3e,$8e,$47,$2e,$bc,$14,$f3,$92,$ae,$e1,$97,$9,$ee,$39,$f9,$8f,$98,$f8,$9f,$8a,$f7,$af,$6c,$f5,$cf,$5c,$e5
frame362: .byte $48,$ff,$fe,$91,$fe,$33,$53,$f5,$cf,$6a,$f9,$7f,$98,$f2,$34,$8f,$23,$48,$61,$ed,$43,$85,$2e,$d4,$38,$54,$eb,$34,$84,$5e,$b3,$39,$54,$ee,$3c,$33,$ea,$34,$b5,$1e,$d3,$2c,$42,$ed,$e3,$25,$ec,$e8,$ee,$2e,$6e,$e3,$e,$92,$3f,$3a,$12,$f3,$af,$98,$f9,$8f,$98,$f9,$8f,$8a,$f7,$af,$6c,$f5,$cf,$5c,$e5
frame363: .byte $4a,$ff,$ff,$f7,$35,$3f,$41,$1c,$f3,$e1,$11,$f1,$23,$63,$2e,$e5,$41,$82,$3e,$e4,$41,$82,$4e,$e3,$41,$82,$4e,$e3,$32,$82,$4e,$e4,$c,$82,$3f,$48,$41,$ee,$32,$48,$33,$ee,$3e,$5e,$e4,$e5,$ee,$5e,$4e,$e5,$e3,$f2,$e2,$f2,$11,$cf,$69,$f7,$af,$97,$f9,$8f,$98,$f9,$8f,$98,$f8,$af,$7a,$f6,$cf,$5c,$f5,$ce,$51
frame364: .byte $4a,$e3,$1e,$31,$ee,$33,$a0,$c2,$ee,$34,$a6,$ee,$15,$a7,$ec,$77,$9e,$be,$be,$be,$be,$be,$ae,$de,$8e,$e1,$e9,$ed,$e9,$ed,$e9,$ed,$e4,$14,$ed,$42,$a2,$3e,$e2,$32,$a1,$4e,$e3,$e,$a0,$7e,$e3,$e6,$ee,$4e,$5e,$e4,$e5,$ee,$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ed,$58,$ae,$c6,$7a,$ec,$67,$ae,$c6,$89,$ec,$51,$17,$9e,$c4,$12,$79,$ec,$68,$8e,$d6,$96,$ee,$15,$a6,$ee,$14,$b5,$ee,$23,$d4,$ee,$23,$d4,$ee,$22,$e1,$4e,$e2,$3d,$5e,$e1,$5a,$6e,$e1,$84,$ae,$d8,$9,$ae,$d8,$9,$be,$c1
frame375: .byte $64,$e8,$ea,$ec,$ea,$ec,$ea,$81,$e3,$ea,$1,$26,$de,$e1,$26,$ce,$e2,$45,$be,$e2,$45,$9e,$e4,$45,$8e,$e5,$47,$6e,$e5,$39,$6e,$e4,$3a,$5e,$e4,$2b,$6e,$e3,$1c,$7e,$e2,$16,$15,$7f,$10,$65,$7f,$10,$45,$7e,$e2,$10,$c1,$25,$7e,$e2,$2,$c,$66,$ee,$20,$13,$75,$ee,$37,$75,$ee,$36,$94,$ee,$35,$a4,$ee,$35,$b3,$ee,$34,$c3,$ee,$33,$d4,$ee,$23,$d5,$ee,$12,$e1,$6e,$d5,$a9,$eb,$84,$e1,$e9,$81,$e5,$e8,$81,$11,$e3,$e8
frame376: .byte $64,$e5,$e3,$1d,$e6,$ee,$3e,$7e,$e2,$e7,$ee,$20,$32,$1d,$ee,$22,$6c,$ee,$23,$6b,$ee,$23,$6c,$ee,$13,$6c,$ee,$14,$6b,$ee,$14,$7a,$ee,$13,$a8,$ee,$13,$a7,$ee,$22,$b5,$ee,$41,$c5,$ee,$41,$72,$35,$f5,$16,$5f,$21,$c,$54,$f1,$30,$c6,$3e,$e5,$1,$37,$3e,$e5,$77,$4e,$e4,$69,$3e,$e4,$69,$3e,$e4,$5a,$4e,$e3,$4c,$3e,$e3,$4c,$3e,$e3,$3d,$3e,$e3,$3d,$3e,$e3,$5b,$6e,$d8,$41,$19,$ec,$81,$11,$ae,$e1,$81,$11,$be,$d1
frame377: .byte $62,$e1,$f3,$e1,$f3,$e1,$f3,$e2,$f2,$1,$bf,$22,$67,$f2,$26,$8f,$13,$67,$f1,$36,$8e,$e5,$46,$8e,$e4,$47,$8e,$e3,$48,$8e,$e2,$3a,$8e,$e1,$2b,$8e,$e1,$2b,$8e,$e1,$27,$7,$7e,$e2,$24,$25,$7e,$e2,$24,$25,$8e,$e1,$23,$35,$8e,$e1,$23,$27,$7e,$e1,$1,$37,$7e,$e1,$69,$6e,$e1,$5a,$6e,$e1,$5a,$6e,$e1,$4c,$3e,$e3,$3d,$3e,$e3,$3d,$2e,$e4,$3d,$2e,$e4,$3d,$3e,$e3,$69,$4e,$e3,$81,$11,$8e,$e3,$81,$11,$9e,$e2
frame378: .byte $51,$e4,$ee,$5e,$5e,$e4,$e5,$ee,$4e,$4e,$e5,$32,$ce,$e5,$26,$8f,$12,$68,$f1,$45,$6f,$24,$55,$f3,$45,$4f,$44,$72,$f4,$4f,$d3,$fe,$12,$fe,$22,$fe,$21,$c1,$f3,$16,$15,$1f,$31,$52,$e1,$1e,$c1,$52,$61,$62,$ec,$6,$21,$71,$f2,$41,$2f,$a6,$fb,$6f,$b5,$fc,$5f,$c4,$fd,$3f,$e1,$3d,$2e,$e4,$3d,$3e,$e3,$5a,$5e,$e2,$84,$ae,$d8,$1e,$1e,$c1
frame379: .byte $60,$e7,$ee,$2e,$6e,$e2,$e7,$ee,$2e,$7e,$e3,$41,$e1,$ee,$33,$5b,$ee,$33,$6a,$ee,$34,$5a,$ee,$34,$5a,$ee,$34,$5a,$ee,$34,$78,$ee,$34,$87,$ee,$33,$a6,$ee,$33,$a7,$ee,$22,$b7,$ee,$22,$b8,$ee,$12,$51,$58,$ee,$11,$52,$58,$ee,$11,$52,$5a,$ec,$20,$92,$6a,$eb,$77,$ae,$b7,$7b,$e9,$79,$be,$86,$ac,$e7,$6a,$ce,$75,$cc,$e7,$3d,$de,$63,$de,$1e,$53,$de,$1e,$55,$ae,$2e,$58,$4e,$6e,$48,$9,$e7,$91,$61
frame380: .byte $57,$ff,$ff,$ff,$11,$82,$f2,$48,$6e,$e3,$59,$5e,$e3,$59,$6e,$e2,$59,$5e,$e2,$6a,$4e,$e1,$5c,$6e,$b6,$b8,$e9,$7b,$9e,$87,$aa,$e8,$7a,$ae,$78,$9b,$e8,$88,$51,$5e,$86,$11,$85,$15,$e9,$78,$42,$5e,$98,$70,$d2,$6e,$7a,$91,$17,$e7,$ab,$7e,$7b,$99,$e6,$c8,$9e,$6d,$6a,$e6,$d5,$ce,$5d,$5c,$e5,$d4,$de,$5d,$4d,$e6,$a8,$be,$76,$11,$c4,$eb,$9,$e3,$9,$eb,$9,$81
frame381: .byte $5d,$ff,$ff,$ff,$a2,$f1,$4a,$5e,$e3,$4b,$4e,$e3,$5a,$5e,$e2,$5a,$5e,$e2,$5a,$5e,$e1,$6a,$6e,$c8,$88,$ea,$51,$47,$9e,$86,$24,$5a,$e9,$61,$53,$be,$9d,$2b,$e9,$41,$51,$c,$51,$5e,$85,$15,$50,$e1,$24,$e8,$97,$33,$5e,$88,$81,$56,$e7,$9a,$11,$7e,$7a,$b7,$e7,$b9,$9e,$5d,$89,$e5,$d7,$ae,$5e,$15,$ce,$4e,$15,$ce,$4e,$14,$de,$4d,$5d,$e5,$a9,$be,$65,$e2,$7e,$91,$11,$e4,$9,$eb,$11,$19
frame382: .byte $5e,$ff,$ff,$ff,$d2,$ee,$24,$d6,$ec,$5d,$5e,$c5,$d5,$ec,$5d,$5e,$c5,$d5,$eb,$6c,$7e,$98,$a9,$e7,$b7,$be,$5d,$5c,$e6,$d4,$ce,$6e,$12,$90,$7e,$60,$e1,$14,$3,$24,$3,$23,$e6,$52,$36,$32,$e,$4e,$57,$7,$61,$41,$17,$e4,$9d,$11,$7e,$4a,$b1,$27,$e4,$ab,$12,$7e,$4a,$d9,$e2,$cb,$ae,$2d,$9b,$e2,$d8,$ce,$2d,$7d,$e2,$d6,$e1,$e2,$d7,$de,$2a,$da,$e3,$8e,$35,$11,$e7,$b,$e4,$9,$ea,$9,$81
frame383: .byte $64,$ff,$ea,$1e,$91,$ea,$1e,$a2,$e8,$2e,$a3,$e5,$4e,$a4,$e3,$6e,$86,$e3,$6e,$75,$e4,$6e,$66,$e5,$6e,$46,$e6,$7e,$28,$e4,$e,$6b,$61,$4e,$24,$25,$a6,$24,$e1,$62,$58,$62,$6d,$72,$48,$53,$6d,$41,$c,$56,$53,$21,$4e,$10,$e2,$34,$64,$42,$14,$e1,$64,$2e,$27,$e1,$6e,$96,$d8,$e7,$7d,$9e,$67,$e1,$9e,$57,$e1,$be,$28,$e1,$cd,$ad,$db,$bd,$da,$cd,$d9,$dd,$e1,$7e,$1d,$e1,$6e,$2d,$d8,$e1,$db,$db,$e1,$9e,$29,$e3,$4a
frame384: .byte $5b,$ff,$fe,$a1,$fe,$31,$71,$f7,$18,$1f,$53,$82,$f1,$78,$5e,$e1,$79,$7e,$b8,$89,$e8,$b6,$be,$6c,$6e,$77,$e2,$6e,$82,$e4,$af,$6c,$f4,$e1,$f3,$e1,$ee,$21,$67,$14,$65,$61,$84,$64,$9,$46,$c4,$86,$44,$46,$eb,$63,$c,$23,$6e,$bb,$2b,$eb,$70,$30,$32,$8e,$a6,$23,$30,$c7,$ea,$a4,$be,$98,$a8,$e8,$7e,$26,$e6,$7e,$3a,$e1,$8e,$3c,$c9,$e2,$da,$ae,$2e,$27,$be,$2e,$34,$de,$2e,$31
frame385: .byte $5b,$ff,$ff,$fa,$1f,$e2,$16,$1f,$73,$61,$f6,$56,$1f,$27,$76,$ee,$18,$68,$ec,$96,$9e,$ba,$4a,$ea,$b4,$be,$9a,$6a,$e9,$8a,$9e,$79,$a9,$e6,$81,$1a,$11,$9e,$2c,$9d,$dd,$42,$3e,$1b,$e1,$42,$3e,$38,$e2,$34,$2e,$47,$fb,$5e,$50,$32,$c2,$64,$e3,$34,$2b,$52,$43,$3b,$7,$2e,$2e,$2e,$24,$e2,$e1,$e,$98,$dd,$e,$7b,$21,$ae,$38,$e1,$be,$28,$e1,$cd,$9e,$1d,$c9,$e1,$e1,$ab,$de,$22
frame386: .byte $55,$ff,$ff,$fa,$1f,$e2,$16,$1f,$73,$61,$f6,$47,$1f,$27,$76,$ee,$17,$87,$ec,$96,$9e,$ba,$59,$eb,$a4,$ae,$aa,$6a,$e9,$8a,$8e,$96,$e1,$6e,$96,$e1,$6e,$97,$c7,$e8,$85,$25,$7e,$89,$42,$49,$e7,$93,$43,$9e,$79,$18,$19,$e7,$b0,$32,$ae,$98,$34,$38,$e9,$c2,$ce,$9a,$6a,$e9,$8a,$8e,$96,$e1,$7e,$77,$e1,$ae,$38,$e1,$cd,$9e,$1d,$c9,$e1,$e1,$aa,$e1,$e2,$21
frame387: .byte $57,$ff,$fe,$b1,$fe,$22,$fb,$c,$18,$1f,$44,$50,$bf,$36,$51,$3,$ee,$47,$67,$ee,$18,$68,$ec,$96,$9e,$ba,$4a,$ea,$b4,$be,$9a,$6a,$e9,$8a,$8e,$98,$a8,$e8,$8c,$8e,$78,$c8,$e7,$94,$24,$9e,$6a,$42,$4a,$e5,$a3,$43,$ae,$5e,$e4,$e5,$c0,$32,$ce,$5a,$3,$3,$2a,$e4,$e2,$2e,$2e,$3d,$6d,$e3,$ba,$be,$39,$e1,$9e,$48,$e1,$ae,$38,$e1,$ce,$19,$dd,$ca,$dd,$ca,$de,$13
frame388: .byte $56,$e5,$1f,$d1,$fe,$33,$fe,$13,$fd,$6e,$14,$ea,$8d,$2e,$e1,$48,$10,$30,$1e,$d6,$87,$ed,$86,$8e,$c9,$69,$eb,$a4,$ae,$b9,$69,$eb,$96,$9e,$b9,$69,$eb,$88,$8e,$b7,$a8,$e9,$84,$24,$8e,$99,$32,$39,$e9,$93,$23,$9e,$8e,$e2,$e7,$ee,$2e,$7b,$14,$1b,$e7,$d2,$e1,$e6,$c4,$de,$5c,$6c,$e5,$aa,$9e,$79,$b8,$e7,$8c,$ae,$58,$cc,$e3,$8c,$de,$1a,$bd,$e1,$ab,$e1,$41
frame389: .byte $55,$e1,$9,$fd,$1f,$e2,$6f,$d2,$fe,$25,$e1,$4e,$b5,$e3,$1e,$e1,$48,$10,$30,$1e,$d6,$77,$ee,$27,$68,$ed,$94,$9e,$d9,$49,$ed,$95,$8e,$d8,$68,$ed,$86,$8e,$d8,$68,$ed,$86,$8e,$d8,$3,$28,$ec,$90,$32,$9e,$ba,$6,$ae,$be,$be,$be,$be,$bb,$2b,$eb,$b2,$be,$ba,$4a,$eb,$88,$8e,$b8,$88,$eb,$79,$9e,$98,$ab,$e6,$8b,$be,$49,$ad,$e3,$9a,$e1,$e1,$b9,$e1,$51
frame390: .byte $5a,$e4,$1f,$d0,$9f,$d2,$12,$fd,$3f,$e1,$4e,$24,$eb,$57,$18,$1e,$e1,$4e,$31,$ee,$15,$76,$11,$ee,$17,$67,$ee,$28,$48,$ee,$19,$49,$ed,$94,$9e,$d9,$49,$ed,$94,$9e,$e1,$84,$8e,$e2,$84,$8e,$e2,$e7,$ee,$2e,$7e,$e2,$e7,$ee,$2e,$7e,$e1,$e9,$ed,$a2,$ae,$da,$2a,$ee,$18,$48,$ee,$27,$67,$ee,$19,$49,$ec,$71,$16,$11,$7e,$b7,$aa,$e7,$8a,$ce,$49,$ad,$e3,$a9,$e1,$e2,$a9,$e1,$51
frame391: .byte $51,$d0,$9f,$d0,$9f,$c6,$fe,$12,$fe,$25,$e2,$4e,$96,$e4,$1e,$c5,$81,$81,$ec,$67,$71,$1e,$d7,$68,$ed,$94,$9e,$d9,$49,$ed,$94,$9e,$d9,$49,$ed,$94,$9e,$d9,$49,$ed,$94,$9e,$d9,$6,$9e,$de,$9e,$de,$9e,$de,$9e,$de,$9e,$de,$9e,$da,$2a,$ed,$a2,$ae,$e1,$84,$8e,$e1,$94,$8e,$e1,$94,$9e,$ca,$4a,$ea,$8a,$9e,$88,$ac,$e4,$9a,$de,$39,$ae,$15
frame392: .byte $4e,$e3,$4f,$c4,$fb,$af,$97,$fa,$6f,$a8,$f8,$ae,$51,$11,$e3,$c7,$19,$1e,$5d,$61,$ee,$2d,$66,$ea,$d5,$8e,$8d,$5a,$e7,$c6,$ae,$7c,$5b,$e6,$c6,$be,$6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$ff,$ff,$e2,$1e,$12,$ee,$52,$80,$73,$e1,$2e,$14,$68,$e1,$3d,$48,$6d,$4d,$47,$7d,$41,$1b,$48,$6d,$4d,$4a,$3e,$17,$a4,$a3,$e1,$91,$23,$5b,$3d,$51,$e2,$a4,$e1,$45,$c9,$5d,$37,$b8,$6c,$58,$a7,$7b,$5b,$77,$7a,$6c,$68,$6a,$7c,$3b,$10,$ca,$7c,$2c,$7,$1b,$55
frame456: .byte $55,$1f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f8,$1e,$51,$d2,$c3,$e3,$2c,$3b,$5e,$14,$b4,$a5,$e1,$4b,$4a,$7d,$46,$86,$8e,$33,$78,$69,$e1,$48,$20,$88,$21,$4d,$6b,$3b,$38,$cb,$3b,$38,$ca,$59,$58,$c9,$59,$5b,$a7,$69,$6d,$77,$68,$8d,$67,$68,$8d,$69,$49,$6e,$13,$c0,$4a,$21,$2e,$13,$c0,$4a,$10,$ce,$23,$a5,$a0,$71,$e3,$29,$6a,$7,$2e,$14,$95,$a0,$72,$51
frame457: .byte $5f,$1f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$52,$e4,$1d,$2c,$3e,$23,$c3,$b5,$e1,$4b,$4a,$5e,$14,$b4,$71,$25,$e2,$3a,$57,$7e,$33,$96,$77,$e2,$48,$77,$12,$49,$3,$68,$3,$3a,$38,$da,$4a,$38,$da,$49,$5a,$b8,$59,$5c,$98,$58,$6e,$26,$86,$67,$e3,$68,$56,$8e,$25,$94,$96,$e1,$3c,$6,$a1,$c,$e2,$3b,$6,$90,$32,$e3,$39,$68,$3,$2e,$34,$95,$80,$32,$e2,$58,$67,$41,$27,$42,$78,$58,$76,$63,$48,$1d,$76
frame458: .byte $64,$1f,$ff,$ff,$ff,$ff,$ff,$61,$c2,$f1,$2c,$3c,$1e,$44,$b5,$11,$72,$e4,$4b,$76,$4e,$34,$b6,$74,$e3,$4b,$62,$14,$4e,$34,$c3,$3b,$e2,$4c,$35,$8e,$34,$c3,$75,$76,$26,$b4,$75,$7e,$2a,$57,$49,$d9,$67,$4c,$b7,$76,$5e,$1a,$75,$67,$e2,$87,$10,$c6,$7e,$35,$80,$32,$67,$e3,$3a,$3,$19,$4e,$53,$90,$31,$90,$2e,$53,$96,$80,$4e,$53,$a6,$62,$12,$e4,$4b,$64,$69,$35,$6c,$43,$76,$73,$7e,$21,$18,$7e,$1e,$96,$7c,$ea,$65
frame459: .byte $69,$1f,$ff,$ff,$ff,$ff,$e7,$2b,$3e,$e5,$3b,$4b,$2e,$34,$b3,$b4,$e2,$5a,$86,$4e,$34,$a7,$74,$12,$d3,$b7,$74,$e2,$5b,$36,$11,$6e,$24,$c3,$69,$63,$36,$c3,$72,$15,$4e,$1b,$59,$46,$e1,$a5,$84,$9d,$95,$75,$ca,$96,$56,$e1,$98,$56,$6e,$37,$80,$47,$6e,$34,$a2,$12,$94,$e3,$4a,$21,$29,$4e,$43,$a7,$62,$12,$e5,$3a,$57,$10,$ce,$44,$a7,$40,$32,$a1,$64,$b6,$46,$76,$37,$e2,$7,$76,$82,$5e,$77,$78,$14,$e7,$3,$58,$9e,$e1,$49,$8e,$e3,$24
frame460: .byte $63,$1f,$ff,$ff,$ff,$fe,$51,$d1,$e4,$1e,$13,$b4,$e1,$3d,$4a,$41,$1b,$5b,$4b,$4d,$5b,$4b,$8a,$4b,$69,$8a,$4b,$78,$5d,$4b,$41,$28,$54,$52,$6b,$3d,$34,$e1,$b4,$b4,$6d,$a4,$b4,$8b,$96,$96,$a9,$86,$87,$c8,$76,$87,$d7,$84,$a6,$d5,$a0,$4a,$2,$e2,$3c,$49,$21,$2e,$33,$a6,$70,$32,$e4,$3a,$48,$3,$1e,$53,$b5,$67,$74,$37,$a0,$12,$48,$48,$17,$ea,$55,$de,$c6,$6a,$ed,$21,$55,$8e,$e2,$23,$27,$7e,$e2,$2c,$6f,$31
frame461: .byte $63,$1f,$ff,$ff,$d2,$ee,$52,$c3,$e1,$2e,$22,$c4,$d3,$d4,$b4,$c4,$d4,$b4,$c4,$21,$b3,$a5,$c4,$11,$c3,$b5,$b8,$a3,$b5,$b8,$94,$b3,$e1,$35,$42,$6b,$4c,$44,$e1,$95,$c4,$6c,$a5,$a5,$8b,$96,$95,$aa,$85,$96,$c8,$84,$a7,$d4,$a1,$c,$96,$e1,$3b,$10,$cb,$3e,$33,$a2,$12,$a4,$e4,$2a,$59,$2,$e4,$49,$59,$6,$e4,$49,$59,$67,$43,$69,$3a,$66,$71,$6b,$2b,$47,$be,$d6,$69,$ee,$18,$58,$ee,$30,$32,$77,$fb,$6f,$c3,$f5
frame462: .byte $67,$1f,$ff,$fe,$e3,$1d,$3e,$e4,$28,$7,$4e,$11,$e1,$56,$8e,$13,$c5,$76,$e1,$4d,$47,$7d,$41,$1b,$47,$11,$5d,$1,$1c,$3a,$4e,$15,$c3,$a4,$d8,$23,$35,$a4,$de,$8a,$4c,$50,$c1,$d8,$5c,$48,$c7,$6b,$59,$a7,$6b,$5b,$88,$5a,$6d,$5a,$6,$97,$e1,$3b,$6,$a6,$e1,$3a,$1,$2a,$4e,$33,$87,$a4,$e4,$38,$5a,$21,$2e,$35,$66,$a5,$92,$46,$64,$c6,$6d,$61,$e4,$56,$71,$5e,$c5,$79,$ed,$86,$7e,$e1,$21,$75,$8e,$d2,$61,$68,$fb,$5f,$d2,$f6
frame463: .byte $6a,$1f,$ff,$ec,$1e,$21,$e3,$1d,$3d,$2e,$22,$c4,$c4,$d4,$c4,$b4,$d5,$b4,$b4,$d5,$69,$60,$77,$c4,$68,$79,$e1,$39,$11,$47,$9c,$5c,$38,$12,$48,$ab,$4a,$49,$52,$4a,$59,$49,$c8,$69,$58,$c8,$68,$6a,$b7,$68,$7b,$98,$58,$7c,$89,$11,$1a,$5e,$24,$b1,$11,$a2,$12,$e2,$49,$69,$3,$1e,$33,$96,$90,$31,$e4,$39,$59,$7,$2e,$25,$76,$87,$80,$19,$65,$97,$75,$35,$e7,$87,$62,$4e,$72,$15,$8b,$ec,$59,$7e,$e1,$3c,$7e,$e1,$2d,$8e,$c2,$e1,$6f,$c3,$f8
frame464: .byte $6b,$1f,$ff,$e6,$1e,$42,$ee,$22,$e2,$3b,$1e,$15,$d5,$a2,$e1,$4d,$5a,$2e,$15,$c5,$a2,$e1,$57,$14,$51,$27,$3d,$65,$ab,$2c,$77,$9b,$2b,$87,$9b,$3a,$32,$3b,$4c,$3e,$15,$a4,$c4,$d5,$a4,$c4,$c6,$95,$c5,$b6,$95,$c6,$97,$87,$b6,$97,$78,$b7,$a4,$88,$b7,$a0,$69,$7b,$5c,$10,$c9,$3,$2b,$3e,$12,$12,$90,$32,$b4,$c6,$90,$32,$d3,$b6,$90,$32,$d4,$b5,$90,$32,$c5,$97,$87,$b7,$95,$88,$b6,$82,$d8,$b5,$91,$d2,$16,$b4,$eb,$7,$6a,$2e,$e3,$6f,$b4,$d1
frame465: .byte $5a,$1f,$eb,$1f,$e2,$3f,$d6,$e2,$2e,$c6,$e1,$3e,$ca,$94,$ed,$97,$7e,$c9,$86,$eb,$99,$6e,$ba,$87,$eb,$c6,$5e,$d6,$15,$28,$ed,$61,$e4,$ec,$54,$ce,$e1,$55,$be,$d6,$5b,$ed,$74,$be,$c8,$44,$16,$ec,$89,$6e,$b9,$87,$ea,$a8,$7e,$aa,$79,$ea,$87,$ae,$b0,$33,$7b,$e9,$32,$36,$ce,$92,$42,$7b,$e9,$24,$28,$ae,$92,$42,$a6,$eb,$99,$6e,$aa,$92,$8,$ea,$a9,$20,$8e,$c7,$93,$22,$e5
frame466: .byte $49,$1d,$2f,$c5,$fa,$8f,$9a,$f8,$92,$1f,$5d,$f4,$bf,$69,$ee,$31,$99,$ee,$31,$99,$f5,$bf,$4e,$2e,$e2,$11,$e5,$ee,$24,$2e,$1e,$e2,$32,$e1,$ee,$3e,$6e,$e3,$83,$9e,$e4,$46,$8f,$98,$f9,$8f,$a7,$f9,$8f,$98,$f8,$9f,$8a,$ee,$11,$9b,$ee,$12,$7c,$ee,$13,$6c,$ee,$12,$6d,$ee,$11,$6e,$1f,$2e,$2f,$1e,$3e,$e1
frame467: .byte $3d,$18,$9f,$7a,$f7,$af,$7a,$67,$ec,$a3,$ae,$de,$7e,$be,$be,$9e,$ce,$ae,$be,$b5,$2e,$3e,$de,$8e,$e1,$e7,$ee,$2e,$4e,$e5,$e3,$f2,$e2,$f8,$9f,$89,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$89,$f8,$af,$6b,$f6,$cf,$5c,$f4,$df,$4e,$1f,$3e,$2f,$1e,$3f,$1e,$4e,$a1
frame468: .byte $41,$1d,$7f,$99,$f7,$af,$6b,$f7,$af,$7a,$a1,$ee,$29,$65,$ee,$29,$26,$ee,$5d,$f3,$e5,$23,$eb,$ed,$e9,$ee,$2e,$7e,$e3,$e5,$ec,$c,$e6,$eb,$ea,$e1,$43,$ee,$20,$19,$f8,$9f,$89,$f8,$9f,$88,$f9,$8f,$98,$f9,$9f,$7b,$f6,$bf,$6c,$f5,$cf,$4e,$1f,$3e,$1f,$3e,$2f,$2e,$3e,$71
frame469: .byte $41,$1e,$91,$fe,$23,$fd,$8f,$8a,$f5,$bf,$6b,$f7,$af,$7b,$41,$f1,$a3,$3f,$1a,$8,$f4,$bf,$6b,$f3,$ec,$e9,$ee,$3e,$6e,$61,$ae,$4e,$61,$60,$ce,$4e,$de,$8e,$23,$7e,$a4,$39,$35,$ee,$59,$51,$f1,$9f,$89,$f8,$8f,$98,$f9,$9f,$89,$f7,$bf,$6b,$f6,$cf,$5c,$f5,$df,$3e,$1e,$41
frame470: .byte $60,$1e,$c7,$f9,$9f,$8a,$f3,$3,$ad,$2e,$5e,$2d,$2e,$5e,$23,$37,$2e,$6e,$77,$3e,$6e,$1c,$5e,$3d,$e1,$4e,$2e,$2e,$14,$89,$1c,$e1,$57,$63,$de,$16,$85,$1e,$2d,$69,$41,$e1,$e1,$5b,$e5,$e1,$5b,$62,$9e,$25,$c4,$29,$e3,$4e,$69,$e3,$4e,$69,$e3,$4e,$69,$e3,$4e,$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34,$60,$c5,$56,$77,$71,$b4,$63,$88,$e7,$36,$29,$9e,$72,$e3,$ae,$72,$e3,$be,$81,$e1,$cf,$4c,$f3,$cf,$6b,$b1,$ee,$19,$85,$92,$e3,$a7,$58,$1e,$5a,$57,$a2,$e2,$a4,$96,$45,$29,$85,$c1,$11
frame510: .byte $50,$ce,$95,$9e,$1e,$68,$7e,$2e,$4b,$5e,$2e,$2e,$32,$de,$1f,$4b,$f7,$af,$89,$f8,$9f,$7b,$f3,$e2,$f3,$e2,$e7,$1c,$e3,$e5,$3b,$e4,$61,$95,$33,$4e,$73,$25,$91,$61,$ff,$ee,$12,$fe,$13,$ee,$13,$43,$84,$ed,$61,$46,$6e,$bd,$10,$76,$68,$45,$1e,$23,$72,$a4,$eb,$1e,$55,$fb,$7f,$99,$f7,$af,$6c,$e6,$2d,$de,$71,$dd,$f6,$ae,$a3,$cb,$e8
frame511: .byte $56,$24,$3e,$d3,$a0,$35,$ee,$12,$ab,$ec,$48,$de,$b6,$5d,$ea,$eb,$eb,$ec,$ea,$ed,$e8,$ee,$1e,$7e,$e1,$e7,$ee,$1e,$7e,$e2,$e6,$ee,$4e,$4e,$e5,$e4,$ee,$5e,$5e,$ce,$be,$42,$5e,$da,$8,$35,$ee,$28,$84,$fe,$21,$fe,$62,$fe,$13,$ee,$14,$8,$95,$ec,$90,$c4,$6e,$6e,$31,$42,$6e,$6e,$31,$ce,$6e,$e3,$e6,$ee,$21,$6c,$e5,$1e,$85,$e8,$2e,$91,$fe,$31,$fe,$14,$e9
frame512: .byte $56,$1f,$ff,$f4,$1e,$51,$ee,$13,$e3,$2e,$e1,$4c,$5e,$e2,$3c,$7e,$e1,$49,$ae,$d4,$6d,$ee,$1e,$8e,$e3,$e7,$ee,$3e,$7e,$e2,$e7,$ee,$3e,$5e,$e4,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e1,$f3,$df,$39,$14,$f3,$84,$1f,$48,$fb,$6f,$ff,$82,$b1,$e6,$30,$e7,$3b,$2e,$49,$64,$62,$e,$23,$8e,$15,$42,$72,$68,$e1,$54,$17,$36,$8e,$33,$c3,$68,$e5,$1b,$56,$5e,$41
frame513: .byte $41,$1f,$ff,$ff,$ff,$ff,$ff,$fb,$2f,$e2,$3f,$e1,$42,$1f,$a7,$fa,$6f,$a7,$f9,$9e,$e1,$29,$be,$d5,$4e,$1e,$ce,$ae,$de,$8f,$7a,$f8,$99,$14,$2e,$b8,$a0,$73,$ea,$51,$1c,$12,$4e,$94,$e2,$7e,$a2,$e4,$6f,$b6,$fc,$5f,$d4,$fc,$5f,$c5,$f2,$28,$5c,$44,$23,$24,$48,$5a,$72,$31
frame514: .byte $4b,$1f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$22,$e5,$1e,$e1,$3e,$42,$ed,$3e,$51,$23,$e8,$4e,$41,$23,$e9,$5e,$26,$ea,$4e,$26,$ea,$4e,$27,$e9,$4e,$36,$e9,$3e,$55,$e9,$4e,$45,$e9,$6e,$25,$e9,$1,$2e,$25,$e9,$3e,$55,$e9,$3e,$55,$e9,$3e,$55,$e9,$2e,$74,$e9,$2e,$74,$e7,$2e,$a3,$e4,$5e,$a4,$e2,$6e,$95,$e2,$51
frame515: .byte $3d,$1f,$ff,$ff,$ff,$ff,$ff,$d1,$fe,$31,$fe,$31,$fe,$30,$71,$fc,$12,$3f,$b6,$fb,$7f,$a7,$fa,$6f,$b6,$fc,$5f,$c5,$fc,$6f,$b6,$e8,$1e,$76,$e7,$4e,$56,$e7,$4e,$47,$e6,$5e,$47,$e6,$5e,$40,$12,$e6,$5e,$54,$e8,$6e,$35,$e9,$5e,$44,$ec,$1e,$62,$ff,$fe,$e3
frame516: .byte $2f,$1f,$ff,$ff,$ff,$ff,$ff,$c2,$fe,$31,$fe,$31,$fe,$31,$23,$fb,$20,$8f,$b7,$fa,$7f,$b1,$14,$fb,$6f,$b6,$fb,$6f,$b6,$fb,$6f,$b6,$fb,$6f,$b6,$fb,$6f,$b6,$fb,$5f,$c4,$fe,$21,$ff,$ff,$ff,$ee,$51
frame517: .byte $30,$1f,$ff,$ff,$ff,$ff,$ff,$fe,$e3,$1f,$e3,$24,$2f,$a0,$74,$fa,$12,$4f,$a7,$fa,$7f,$b6,$fc,$5f,$c5,$fc,$5f,$c5,$fc,$5f,$c5,$fc,$5f,$c5,$fc,$6f,$b6,$fc,$6f,$c6,$fd,$5f,$c6,$fc,$5f,$c5,$fd,$3e,$41
frame518: .byte $31,$1f,$ff,$ff,$ff,$ff,$ff,$fe,$e4,$2f,$e3,$14,$4f,$80,$35,$f9,$12,$6f,$80,$35,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$b6,$fb,$7f,$a7,$fa,$6f,$b6,$fb,$6f,$b6,$fb,$6f,$b6,$fa,$7f,$b7,$fb,$7f,$b6,$fc,$6e,$21
frame519: .byte $36,$1f,$ff,$ff,$ff,$ff,$ee,$22,$fe,$31,$fe,$31,$fe,$31,$54,$f7,$23,$5f,$72,$36,$f7,$3,$6f,$70,$16,$f7,$af,$7a,$f7,$af,$70,$16,$f8,$12,$5f,$98,$f9,$9f,$89,$f8,$9f,$89,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$89,$f9,$8f,$98,$e3
frame520: .byte $41,$1f,$ff,$ff,$fe,$e4,$1f,$e2,$2f,$e2,$2f,$e2,$2f,$e2,$2f,$e2,$7,$5f,$81,$27,$f6,$21,$8f,$60,$17,$f6,$1,$7f,$6b,$f6,$bf,$5c,$f5,$cf,$51,$1a,$f5,$12,$9f,$42,$46,$f5,$51,$6f,$5c,$f5,$cf,$5d,$f4,$df,$3e,$1f,$30,$23,$7f,$32,$48,$f3,$15,$8f,$31,$58,$f2,$24,$9e,$11
frame521: .byte $46,$1f,$ff,$ff,$fe,$e4,$3f,$e1,$2f,$e2,$2f,$e2,$2f,$e2,$3,$7f,$50,$39,$f4,$21,$af,$42,$1a,$f3,$32,$9f,$33,$2a,$f2,$41,$af,$24,$28,$f3,$12,$bf,$22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3e,$6e,$e3,$e6,$ee,$2e,$7e,$e2,$e7,$ee,$2e,$7e,$e2,$e8,$ed,$e9,$ec,$ea,$ec,$ea,$ec,$ea,$61
frame525: .byte $4e,$1f,$ff,$ff,$ff,$fe,$a1,$eb,$2e,$68,$e6,$2d,$1,$bf,$20,$3c,$f1,$21,$df,$12,$1e,$1e,$e5,$3,$de,$e5,$3,$e1,$ee,$40,$3e,$1e,$e3,$32,$e1,$ed,$10,$c3,$e1,$ec,$1,$33,$de,$b7,$4d,$eb,$74,$ce,$d6,$3d,$ee,$15,$2e,$1e,$e2,$42,$e1,$ee,$1e,$8e,$e1,$e8,$ed,$e9,$ed,$e9,$ed,$e9,$ee,$1e,$9e,$de,$9e,$de,$9e,$de,$9e,$de,$96
frame526: .byte $50,$1f,$ff,$ff,$ff,$fe,$a1,$fd,$9f,$7b,$f1,$1,$de,$82,$92,$1d,$e7,$39,$21,$e1,$ee,$52,$1e,$1e,$e4,$23,$de,$e4,$23,$de,$e4,$23,$de,$82,$72,$3d,$e8,$45,$24,$ce,$85,$42,$4c,$e8,$63,$24,$ce,$96,$c,$3d,$eb,$51,$3,$e1,$ea,$eb,$eb,$eb,$eb,$ec,$e9,$ed,$e9,$ed,$ea,$ec,$ea,$ec,$ea,$91,$e2,$ea,$82,$e2,$eb,$73,$e1,$ec,$54,$e1,$71
frame527: .byte $5b,$1f,$e3,$2f,$e2,$2f,$e2,$3f,$ff,$ee,$51,$fe,$18,$f8,$bf,$10,$3c,$f1,$3,$de,$83,$70,$3e,$1e,$73,$70,$3e,$1e,$e4,$23,$de,$e4,$3,$e1,$ee,$42,$3d,$e5,$1a,$33,$de,$45,$73,$4c,$e5,$56,$34,$ce,$56,$53,$4c,$72,$c6,$23,$3d,$74,$b5,$24,$1e,$17,$59,$71,$e5,$86,$8e,$d8,$58,$ee,$1e,$8e,$e2,$e7,$ee,$2e,$7e,$e2,$e7,$b1,$e3,$e7,$a3,$e2,$e8,$93,$e2,$e9,$84,$e1,$ea,$74,$e1,$71
frame528: .byte $5d,$12,$6f,$b6,$fb,$7f,$a7,$fa,$8f,$98,$e7,$3e,$48,$e5,$8e,$18,$e4,$bb,$9b,$32,$cc,$11,$6b,$1,$e1,$d6,$b0,$3e,$1e,$15,$b2,$3e,$1d,$79,$23,$e1,$c8,$92,$3e,$1b,$8a,$23,$e1,$a9,$a2,$4d,$9c,$82,$5c,$9d,$72,$5c,$8e,$44,$25,$c7,$e5,$42,$4d,$7e,$63,$e5,$8e,$72,$e5,$8e,$81,$e5,$8f,$98,$fa,$7f,$a7,$eb,$1e,$37,$ea,$2e,$37,$ea,$3e,$28,$92,$b3,$e2,$c4,$3b,$4e,$1c,$45,$61,$24,$e1,$71
frame529: .byte $58,$1a,$5f,$b7,$fa,$7f,$aa,$f7,$e4,$ee,$5a,$43,$25,$eb,$b6,$ae,$87,$9c,$e7,$74,$32,$ce,$77,$40,$3e,$1e,$57,$50,$3e,$1e,$75,$50,$3e,$2e,$65,$52,$3e,$1e,$66,$42,$3e,$1e,$58,$32,$3e,$1e,$4a,$c,$4d,$e3,$c1,$25,$ce,$1e,$45,$c9,$ea,$4c,$8e,$d1,$c9,$f8,$9f,$89,$f8,$af,$7b,$f6,$cf,$6d,$e5,$1e,$3e,$89,$2e,$3e,$89,$3e,$2e,$89,$3e,$2e,$7a,$4e,$1e,$77,$12,$4e,$18
frame530: .byte $4b,$1e,$40,$13,$fa,$8f,$97,$f7,$9f,$7b,$f6,$a1,$5f,$2e,$4e,$e3,$1,$e3,$ee,$10,$1e,$5e,$d2,$1e,$7e,$e3,$e6,$ee,$4e,$5e,$e4,$41,$de,$e4,$e5,$ee,$3e,$7e,$e2,$e7,$ee,$1e,$7e,$e1,$e8,$ee,$1e,$8e,$de,$9e,$ce,$ae,$be,$be,$be,$be,$ae,$ce,$ae,$ce,$ae,$ce,$be,$ce,$ce,$ae,$e1,$e8,$ee,$3e,$6e,$e3,$e6,$ee,$4e,$5c
frame531: .byte $3b,$1e,$52,$14,$f9,$9f,$98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$eb,$d6,$51
frame637: .byte $4d,$1f,$fe,$43,$fd,$5f,$98,$f8,$af,$6c,$f5,$cf,$5d,$f4,$df,$5c,$f4,$df,$5c,$11,$f3,$e2,$f4,$df,$4e,$2e,$a3,$6e,$4e,$85,$4e,$7e,$67,$1e,$9b,$26,$42,$ea,$a4,$63,$2e,$ab,$45,$32,$ea,$c4,$4e,$e2,$d5,$3e,$41,$9e,$16,$1e,$23,$9e,$1e,$84,$9e,$2e,$74,$9e,$7e,$25,$8e,$8e,$15,$8e,$ac,$58,$eb,$b6,$7e,$bc,$66,$eb,$d5,$61
frame638: .byte $52,$1f,$21,$fe,$15,$fb,$6f,$89,$f7,$bf,$5d,$f4,$df,$4e,$1f,$4d,$f4,$cf,$5c,$f5,$c2,$1f,$2c,$8,$e9,$57,$e1,$ea,$57,$e1,$e9,$74,$e4,$e8,$45,$e6,$e8,$34,$e8,$e7,$32,$ea,$e7,$32,$ea,$e7,$1,$eb,$a3,$7e,$e2,$a4,$6e,$e2,$a5,$5e,$52,$8c,$44,$e3,$39,$d5,$23,$2b,$48,$d7,$5b,$48,$e1,$a1,$b4,$8e,$2e,$85,$7e,$5e,$55,$7e,$8e,$26,$6e,$bd,$65
frame639: .byte $57,$1f,$36,$f9,$8f,$7b,$f5,$df,$3e,$2f,$1e,$3f,$1e,$3f,$1e,$4f,$1e,$3f,$2e,$1e,$71,$ce,$3e,$75,$7e,$3e,$85,$7e,$21,$2e,$57,$5e,$5e,$65,$12,$6e,$2e,$74,$9e,$2e,$74,$8e,$3e,$74,$7e,$4e,$74,$5e,$6e,$74,$3e,$8e,$64,$2e,$ae,$6e,$e3,$e6,$ee,$3e,$6e,$e3,$e6,$ee,$3e,$66,$1e,$9e,$81,$5e,$40,$8a,$2e,$2c,$63,$a3,$e1,$c6,$39,$6c,$c7,$29,$7b,$d6,$2a,$7a,$d6,$21
frame640: .byte $53,$1f,$79,$f6,$bf,$5c,$f4,$df,$3e,$1f,$2e,$2f,$2e,$2f,$2e,$2e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,$3e,$2e,$e3,$3,$81,$7e,$e2,$3,$81,$8e,$e1,$3,$82,$7e,$e1,$3,$82,$7e,$e1,$3,$82,$6e,$e2,$3,$e2,$e1
frame659: .byte $5e,$1f,$ff,$ff,$ee,$41,$e5,$3e,$c2,$e3,$7e,$83,$e3,$9e,$63,$e4,$9e,$45,$e3,$bb,$12,$7e,$3e,$13,$b1,$1e,$5e,$21,$be,$9e,$e2,$e8,$ee,$2e,$8e,$e1,$ea,$eb,$ea,$91,$e2,$ea,$47,$de,$c3,$7c,$ed,$45,$be,$e2,$45,$be,$e2,$41,$e1,$ee,$4e,$5e,$e4,$e5,$ee,$40,$1e,$1e,$e4,$7,$e1,$ee,$40,$3e,$2e,$e3,$7,$e3,$ee,$20,$78,$18,$ee,$10,$78,$18,$ee,$10,$78,$27,$ee,$10,$78,$27,$ee,$10,$78,$16,$e1
frame660: .byte $5a,$1f,$ff,$ff,$fe,$46,$eb,$2e,$28,$e8,$3e,$39,$e5,$4e,$3a,$e4,$4e,$4b,$e1,$7e,$3d,$3e,$1e,$5e,$11,$ce,$9e,$b1,$2e,$9e,$e1,$eb,$eb,$e9,$ed,$e9,$91,$e2,$ea,$47,$de,$c4,$6c,$ed,$45,$be,$e2,$45,$be,$e2,$e7,$ee,$3e,$5e,$e4,$e5,$ee,$40,$3e,$1e,$e4,$7,$e1,$ee,$40,$3e,$1e,$e4,$3,$e2,$ee,$30,$38,$17,$ee,$20,$38,$27,$ee,$10,$38,$27,$ee,$10,$38,$27,$ee,$10,$38,$17,$d1
frame661: .byte $59,$1f,$ff,$ff,$fe,$55,$ec,$1e,$37,$e9,$3e,$29,$e7,$2e,$3a,$e5,$4e,$3b,$e2,$6e,$3d,$43,$2a,$e3,$e1,$2b,$e9,$ec,$eb,$ee,$1e,$be,$be,$9e,$de,$9e,$de,$94,$7e,$1e,$b4,$6d,$ec,$46,$ce,$e1,$35,$be,$e3,$1,$e2,$ee,$3e,$6e,$e3,$e6,$ee,$3e,$5e,$e4,$7,$e1,$ee,$40,$3e,$1e,$e4,$7,$e2,$ee,$30,$78,$17,$ee,$20,$38,$27,$ee,$10,$37,$37,$ee,$10,$77,$37,$ee,$10,$78,$17,$d1
frame662: .byte $59,$1f,$ff,$ff,$fe,$55,$fb,$7e,$b2,$e1,$9e,$83,$e1,$ae,$64,$e2,$be,$35,$e3,$da,$11,$8e,$2e,$12,$e2,$e5,$e1,$1b,$ea,$eb,$12,$eb,$ec,$e8,$ee,$1e,$8e,$de,$95,$6e,$2e,$a4,$7d,$eb,$46,$de,$d3,$6b,$ee,$23,$2e,$1e,$e3,$e6,$ee,$3e,$6e,$e3,$e6,$ee,$41,$2e,$2e,$e3,$3,$e1,$ee,$40,$3e,$2e,$e4,$11,$92,$5e,$e3,$3,$82,$6e,$e2,$3,$73,$7e,$e1,$3,$73,$7e,$e1,$3,$82,$7c
frame663: .byte $5b,$1f,$ff,$ff,$23,$fc,$7f,$99,$eb,$1d,$ae,$93,$da,$e7,$3e,$2b,$e4,$5e,$2e,$19,$12,$7e,$2e,$12,$e4,$e3,$e1,$1c,$ea,$ea,$ed,$ed,$e8,$ee,$1e,$89,$1e,$4e,$75,$7e,$2e,$a4,$6e,$1e,$b4,$6d,$ed,$35,$ce,$e2,$1,$e2,$ee,$3e,$6e,$e3,$e6,$ee,$30,$3e,$2e,$e3,$3,$e2,$ee,$30,$3e,$1e,$e4,$3,$e1,$ee,$40,$38,$16,$ee,$30,$38,$26,$ee,$20,$37,$36,$ee,$20,$37,$37,$ee,$10,$38,$36,$c1
frame664: .byte $5e,$1f,$ee,$35,$fa,$8f,$8a,$f7,$af,$7a,$f7,$ce,$b1,$bd,$e7,$3d,$de,$44,$e2,$ca,$14,$5e,$4b,$4e,$3e,$3c,$3e,$4e,$3c,$3c,$e8,$43,$25,$e1,$e8,$48,$e3,$e7,$48,$e3,$e8,$47,$e3,$e8,$47,$e2,$e9,$83,$e1,$ea,$11,$e9,$eb,$12,$e6,$ed,$16,$e1,$ee,$12,$6d,$ee,$12,$5e,$1e,$e1,$24,$e1,$ee,$22,$4e,$1e,$e2,$24,$e1,$ee,$31,$4e,$1e,$e3,$23,$81,$5e,$e3,$23,$81,$6e,$e2,$23,$72,$6e,$e2,$23,$82,$5d
frame665: .byte $59,$1c,$af,$7a,$f7,$af,$7a,$f8,$bf,$6c,$f6,$bf,$5c,$b1,$ea,$da,$3e,$a4,$16,$a3,$eb,$42,$53,$93,$5e,$53,$9e,$4e,$64,$7e,$5e,$64,$6e,$1e,$b4,$6e,$2e,$a5,$4e,$3e,$92,$15,$2e,$4e,$80,$36,$1e,$2e,$92,$3e,$8e,$91,$6e,$5e,$92,$8e,$2e,$a2,$8c,$ed,$27,$de,$d1,$7e,$1e,$c2,$7d,$ed,$26,$e2,$ec,$26,$e2,$ec,$26,$e2,$ec,$17,$e2,$ec,$26,$81,$6e,$c2,$77,$16,$ec,$27,$81,$5d
frame666: .byte $5b,$1d,$bf,$6b,$f6,$bf,$7a,$f8,$af,$8a,$f5,$cf,$4d,$b2,$e9,$ca,$4e,$a3,$26,$84,$ec,$43,$41,$51,$4e,$d4,$7a,$ee,$23,$6b,$ee,$23,$5e,$4e,$94,$5e,$4e,$95,$3e,$10,$ee,$a6,$1e,$1e,$d2,$1e,$6e,$e1,$12,$e5,$ee,$11,$4e,$3e,$e1,$15,$e1,$ee,$21,$4e,$1e,$e3,$7,$e1,$ee,$42,$1e,$1e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e4,$e5,$ee,$36,$1d,$ee,$10,$10,$3d,$ed,$42,$12,$de,$11
frame667: .byte $59,$1e,$1a,$f7,$af,$7a,$f7,$af,$89,$f9,$9f,$7b,$f5,$cb,$2e,$9d,$94,$ea,$41,$68,$4e,$c4,$25,$14,$24,$ed,$45,$ce,$e1,$46,$be,$e2,$35,$e3,$ea,$44,$e5,$e9,$44,$e2,$ec,$62,$e1,$ed,$81,$de,$d0,$3e,$5e,$d2,$3e,$4e,$d2,$5e,$1e,$e1,$25,$de,$e2,$24,$de,$e3,$24,$ce,$e4,$23,$ce,$e5,$23,$ce,$e5,$3,$de,$e5,$3,$de,$e5,$21,$e1,$ee,$52,$1e,$1e,$e5,$21,$e1,$ee,$55,$1b,$e3
frame668: .byte $5d,$1e,$2a,$f6,$bf,$7a,$f7,$af,$89,$f7,$bf,$5c,$f4,$db,$2e,$ac,$a3,$ea,$41,$69,$4e,$b4,$25,$14,$25,$ed,$35,$de,$e1,$36,$be,$e2,$35,$e4,$e9,$45,$e4,$e9,$53,$e2,$21,$e9,$71,$e1,$ed,$21,$e6,$ed,$3,$e6,$ec,$24,$e3,$ed,$25,$e2,$ed,$25,$e1,$ee,$12,$4d,$ee,$32,$3d,$ee,$42,$3d,$ee,$40,$3e,$1e,$e4,$21,$e2,$ee,$42,$1e,$2e,$e4,$21,$e2,$ee,$41,$2e,$2e,$e4,$12,$e2,$ee,$40,$71,$1c,$e2
frame669: .byte $5d,$1e,$3b,$f6,$bf,$6b,$f7,$9f,$6b,$f4,$df,$4e,$1f,$4d,$f4,$1,$9c,$1e,$9c,$b3,$e9,$42,$51,$53,$5e,$a4,$42,$1d,$eb,$44,$12,$ce,$c4,$6c,$17,$e5,$45,$e8,$e5,$62,$e8,$e6,$71,$e3,$41,$e6,$21,$e8,$eb,$3,$e8,$ea,$14,$e7,$e9,$25,$e5,$ea,$26,$e3,$eb,$26,$e2,$ec,$25,$e2,$ed,$25,$de,$e2,$24,$e1,$ee,$22,$3e,$1e,$e3,$23,$e1,$ee,$23,$2e,$3e,$e2,$7,$e3,$ee,$20,$7e,$3e,$e1,$32,$e3,$e1
frame670: .byte $5c,$1e,$2d,$f5,$bf,$30,$3a,$f2,$e2,$f1,$e3,$f2,$e3,$f1,$e3,$f1,$e3,$f1,$51,$9f,$25,$18,$f4,$43,$53,$5e,$e2,$45,$23,$83,$4e,$65,$40,$3e,$3e,$65,$8e,$12,$5d,$66,$ea,$e1,$64,$eb,$e1,$72,$e9,$12,$d9,$1e,$5e,$70,$1e,$de,$52,$3e,$de,$42,$4e,$ce,$42,$5e,$ce,$32,$6e,$ae,$42,$7e,$8e,$52,$6e,$8e,$62,$6e,$6e,$73,$5e,$5e,$93,$4e,$3e,$c2,$5e,$3e,$c2,$4e,$4e,$c3,$2e,$5e,$c3,$2e,$5d
frame671: .byte $60,$18,$e7,$ee,$2e,$8e,$e2,$e7,$ee,$2e,$8e,$e2,$e7,$ee,$25,$1e,$1e,$e2,$52,$ce,$e3,$61,$ce,$e3,$53,$ae,$e4,$64,$66,$1e,$c6,$63,$57,$e8,$66,$34,$ae,$66,$cc,$e4,$8b,$d2,$1d,$88,$e9,$a8,$7e,$aa,$95,$eb,$a0,$17,$2e,$ca,$32,$71,$ec,$a3,$3e,$e4,$c3,$4e,$e5,$a2,$6e,$e4,$a2,$7e,$e3,$93,$8e,$e2,$93,$9e,$e1,$93,$ae,$d9,$3a,$ed,$93,$9e,$e1,$93,$8e,$e2,$93,$7e,$e3,$91,$11,$6e,$e3,$a3,$6e,$81,$53
frame672: .byte $67,$15,$ee,$2e,$77,$2e,$6e,$77,$3e,$5e,$78,$2e,$4e,$79,$3e,$2e,$98,$4e,$1e,$98,$5b,$eb,$86,$9e,$c8,$94,$96,$c9,$93,$8a,$99,$93,$6e,$16,$a9,$17,$e3,$52,$17,$e4,$e3,$52,$17,$d2,$1e,$45,$ad,$e7,$5b,$ae,$95,$1,$89,$e9,$53,$28,$6e,$b5,$33,$84,$ec,$44,$39,$2e,$d4,$2,$49,$2e,$c4,$2,$59,$1e,$c4,$46,$91,$eb,$44,$7f,$24,$39,$f1,$43,$ae,$e5,$43,$ae,$e5,$34,$be,$e4,$30,$2c,$ee,$33,$2,$de,$e2,$34,$e1,$ee,$13,$4d,$ee,$21
frame673: .byte $53,$77,$e8,$d7,$8e,$6e,$17,$9e,$4d,$9b,$de,$2a,$d8,$e4,$ae,$26,$e2,$ce,$25,$de,$2e,$25,$ce,$4e,$15,$be,$5e,$22,$ce,$6e,$21,$ce,$7e,$e1,$e8,$e9,$23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32,$6f,$6b,$f6,$bf,$64,$16,$f6,$42,$5f,$64,$26,$f4,$61,$6f,$4e,$1f,$50,$19,$f5,$12,$9f,$8a,$f7,$af,$6b,$f6,$cf,$5d,$f3,$e1,$f3,$e2,$a1
frame686: .byte $3a,$1f,$ff,$ff,$e1,$4f,$c6,$fa,$8f,$98,$f9,$9f,$98,$fa,$7f,$b6,$fb,$5f,$52,$46,$f5,$33,$6f,$43,$37,$f4,$33,$6f,$5c,$f5,$cf,$5c,$f6,$41,$6f,$55,$26,$f4,$52,$6f,$45,$18,$f3,$51,$8f,$50,$79,$f8,$9f,$8a,$f6,$bf,$6c,$f5,$cf,$4e,$1f,$3e,$2a
frame687: .byte $3b,$1f,$ff,$ff,$e1,$4f,$b7,$fa,$8f,$99,$f8,$9f,$89,$f9,$8f,$a7,$fc,$4f,$51,$56,$f4,$34,$6f,$43,$38,$f3,$33,$7f,$34,$36,$f4,$df,$4d,$f4,$df,$54,$26,$f5,$52,$6f,$36,$17,$f3,$61,$8f,$26,$19,$f3,$23,$9f,$7b,$f6,$bf,$6c,$f5,$cf,$4e,$1f,$3e,$1b
frame688: .byte $3f,$1f,$ff,$ff,$d6,$fa,$8f,$99,$f7,$af,$7a,$f8,$af,$89,$f9,$8f,$b5,$fb,$5f,$33,$56,$f3,$34,$8f,$14,$48,$f1,$44,$7f,$24,$46,$f3,$71,$6f,$3e,$1f,$3e,$1f,$36,$17,$f4,$52,$7f,$35,$27,$f2,$62,$8f,$16,$29,$ee,$56,$1a,$f2,$23,$bf,$20,$7b,$f6,$cf,$5c,$f4,$e1,$b1
frame689: .byte $44,$1f,$ff,$ee,$25,$fb,$8f,$89,$f8,$af,$6b,$f7,$af,$89,$f8,$af,$89,$f9,$7f,$b6,$f9,$7f,$13,$58,$ee,$54,$58,$ee,$54,$59,$ee,$44,$48,$f1,$44,$8f,$17,$27,$ee,$5e,$3f,$2e,$2f,$26,$19,$f1,$62,$8f,$25,$37,$f1,$72,$8e,$e5,$72,$9e,$e4,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6f,$a7,$f9,$9f,$89,$f7,$af,$6b,$f5,$df,$3e,$1d
frame753: .byte $3a,$ff,$ff,$ff,$ff,$ec,$1f,$d6,$fa,$8f,$98,$f8,$af,$89,$f9,$8f,$a6,$fc,$5f,$c5,$ea,$ed,$a2,$5f,$19,$e2,$e2,$a8,$24,$3e,$9a,$f8,$9f,$89,$e7,$1e,$68,$f9,$9f,$8a,$f6,$81,$4f,$66,$33,$f5,$73,$3f,$47,$43,$f2,$95,$1f,$1b,$41,$f1,$bf,$5d,$41
frame754: .byte $35,$ff,$ff,$ff,$ff,$ff,$e6,$2f,$d6,$fa,$8f,$99,$f7,$af,$89,$fa,$7f,$a7,$fb,$6e,$bc,$65,$84,$ae,$e1,$1e,$ba,$e1,$59,$14,$21,$e5,$8f,$98,$fa,$7e,$92,$e4,$7f,$b6,$fb,$6f,$b6,$fb,$6f,$c5,$fc,$5f,$b6,$fa,$7f,$a7,$f9,$81
frame755: .byte $23,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$31,$fd,$8f,$6b,$7e,$47,$ff,$fe,$4a,$ee,$15,$1f,$92,$ff,$ff,$ff,$d4,$ff,$ff,$ff,$ff,$ff,$ee,$31
frame756: .byte $20,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ed,$e9,$82,$8f,$ff,$fc,$9f,$8e,$5e,$6a,$1f,$ff,$ff,$ff,$ff,$ff,$ff,$ee,$31
frame757: .byte $3f,$eb,$a8,$20,$7e,$ba,$c2,$ec,$8e,$11,$eb,$9e,$11,$eb,$8e,$21,$ea,$5e,$52,$e9,$6e,$52,$e8,$e,$2e,$62,$e8,$e,$2e,$43,$e9,$c,$1e,$44,$e8,$3e,$64,$e9,$4f,$d3,$fe,$13,$fe,$21,$ff,$ff,$ff,$fe,$8e,$8e,$6f,$52,$ff,$f1,$af,$7e,$6e,$af,$ff,$ff,$ff,$ff,$ff,$11
frame758: .byte $56,$e6,$bc,$6e,$7a,$c6,$e7,$ab,$7e,$88,$b8,$e9,$7b,$8e,$88,$a9,$e7,$8a,$ae,$78,$aa,$e6,$99,$ae,$78,$9a,$e7,$89,$be,$78,$8b,$e7,$88,$ce,$68,$ab,$e5,$9a,$ae,$68,$ab,$e5,$99,$be,$59,$9b,$e5,$a8,$be,$79,$81,$28,$e7,$97,$8,$8e,$69,$80,$88,$be,$d3,$87,$f9,$8f,$b6,$fe,$2b,$21,$7b,$e5,$91,$27,$c4,$2b,$b0,$d0,$5c,$2a,$5b,$9,$11,$ee,$32,$b0,$9f,$fe,$61
frame759: .byte $4d,$e8,$b5,$9e,$b9,$78,$ed,$76,$9e,$d7,$69,$ed,$76,$9e,$d7,$59,$ed,$76,$9e,$d7,$68,$ed,$85,$9e,$c9,$58,$ec,$95,$9e,$c8,$68,$ec,$86,$9e,$b8,$79,$ea,$87,$9e,$a9,$6a,$e8,$a7,$ae,$7a,$7b,$e7,$a7,$ae,$98,$99,$e8,$98,$ae,$7a,$89,$e7,$a8,$9e,$4e,$71,$aa,$f7,$af,$98,$fd,$43,$81,$11,$e2,$e6,$f6,$bf,$a7,$fe,$13,$fe,$41
frame760: .byte $60,$e7,$ee,$2e,$7e,$e2,$e6,$d2,$e1,$e7,$51,$53,$e1,$e8,$23,$53,$63,$5e,$d4,$45,$54,$ed,$45,$46,$3e,$d4,$55,$53,$ed,$45,$55,$3e,$d4,$45,$72,$ec,$54,$57,$2e,$c4,$55,$72,$eb,$55,$57,$2e,$b4,$64,$91,$ea,$55,$59,$1e,$a4,$65,$91,$e9,$56,$59,$1e,$86,$56,$91,$e8,$66,$59,$1e,$85,$65,$92,$e7,$75,$59,$29,$ee,$37,$33,$f6,$5e,$1e,$8b,$28,$f3,$af,$a6,$fd,$4f,$e1,$3f,$e1,$3f,$e1,$3f,$e1,$3f,$e1,$31
frame761: .byte $4b,$ee,$1e,$1f,$5d,$f4,$df,$2e,$2f,$1e,$4e,$e5,$e4,$f2,$e2,$f3,$e1,$f3,$41,$af,$30,$ca,$f3,$24,$9f,$22,$59,$f1,$25,$ae,$e4,$35,$be,$e3,$35,$be,$e2,$36,$be,$e2,$35,$ce,$e1,$35,$de,$e1,$35,$de,$3e,$15,$da,$f7,$75,$e8,$e2,$44,$ee,$2c,$33,$ee,$4c,$3,$f1,$e2,$f2,$e1,$f3,$df,$4d,$f4,$df,$4e,$1f,$3e,$1f,$3c
frame762: .byte $51,$f3,$df,$3e,$2f,$2a,$f7,$af,$7b,$f6,$bf,$5b,$f6,$cf,$4e,$1f,$3e,$1f,$3d,$f4,$e1,$f2,$e3,$f2,$e2,$f2,$e2,$e1,$5e,$1a,$23,$ae,$28,$93,$32,$9c,$64,$21,$64,$e,$7e,$5e,$23,$41,$4e,$be,$61,$4e,$de,$23,$4e,$dd,$54,$ed,$c6,$4e,$e1,$c5,$4e,$e1,$c5,$4e,$e1,$c5,$4e,$de,$14,$4e,$de,$23,$5e,$ce,$32,$5e,$be,$51,$5e,$be,$61,$4e,$be,$61
frame763: .byte $58,$ff,$ff,$ff,$fc,$3f,$d9,$f7,$a3,$2f,$1a,$44,$ee,$4a,$57,$ec,$b6,$e6,$ca,$6b,$75,$99,$77,$e2,$46,$97,$6e,$54,$3c,$56,$e7,$41,$c4,$7e,$9e,$15,$6e,$cb,$66,$eb,$d5,$6e,$be,$14,$6e,$be,$14,$6e,$ab,$14,$35,$eb,$b2,$42,$5e,$ae,$52,$5e,$ae,$52,$5e,$e1,$61,$45,$5e,$d7,$41,$55,$ec,$84,$24,$5e,$ba,$42,$44,$eb,$a5,$14,$4e,$ab,$52,$34,$ea,$c4,$24,$3e,$9d,$51,$21
frame764: .byte $53,$ff,$ff,$ff,$ff,$ff,$fe,$e1,$5f,$ba,$a1,$ed,$aa,$2c,$59,$9c,$e1,$27,$3a,$d9,$ce,$1d,$6e,$59,$e2,$5e,$78,$e2,$5e,$88,$e1,$5e,$88,$d6,$e8,$9c,$6e,$8b,$a6,$e8,$80,$3a,$5e,$88,$23,$95,$e8,$e1,$85,$e8,$c1,$27,$5e,$86,$23,$32,$65,$e8,$64,$14,$25,$5e,$85,$b1,$55,$e8,$5b,$25,$4e,$85,$c1,$54,$e7,$7b,$15,$4e,$68,$e5,$4e,$58,$e5,$4e,$49,$c1
frame765: .byte $56,$ff,$ff,$ff,$f4,$2f,$d5,$12,$f8,$8f,$98,$f9,$8f,$89,$e4,$2a,$e5,$e5,$c8,$ae,$69,$b9,$e6,$6e,$28,$e6,$6e,$49,$e3,$5e,$55,$14,$e2,$5e,$5c,$d5,$e5,$92,$3b,$5e,$59,$24,$a5,$e5,$82,$69,$5e,$5d,$3,$94,$e5,$c4,$19,$4e,$58,$91,$84,$e5,$5c,$27,$4e,$55,$d1,$75,$e3,$6e,$11,$74,$e2,$7e,$12,$64,$e2,$7e,$21,$64,$e1,$9e,$11,$74,$d9,$e9,$4d,$9e,$a3,$d9,$e2
frame766: .byte $57,$ff,$ff,$fd,$3f,$c8,$f9,$7f,$a8,$f8,$9f,$88,$f9,$8f,$1e,$3e,$71,$83,$78,$e8,$ab,$7e,$86,$e2,$9e,$55,$e3,$61,$4e,$35,$e4,$be,$25,$e4,$92,$3c,$5e,$48,$34,$b5,$e4,$82,$5b,$5e,$4d,$3,$95,$e4,$92,$14,$1a,$4e,$45,$c1,$94,$e4,$5d,$18,$4e,$36,$d2,$75,$e1,$7e,$11,$75,$e1,$7e,$21,$74,$d8,$e2,$35,$4d,$8e,$32,$54,$ca,$e3,$16,$4b,$ae,$a4,$ba,$eb,$49,$be,$51
frame767: .byte $55,$ff,$ff,$ff,$ee,$23,$fc,$8f,$97,$fa,$8f,$88,$f9,$8f,$a7,$f2,$e1,$e9,$18,$36,$8e,$99,$b7,$e9,$6e,$28,$e6,$5e,$35,$14,$e4,$5e,$3c,$e2,$5e,$39,$23,$d5,$e3,$93,$3c,$5e,$47,$17,$b5,$e4,$c0,$1a,$5e,$47,$91,$95,$e4,$4d,$18,$5e,$35,$d2,$75,$e3,$5e,$11,$75,$e2,$7e,$11,$74,$e1,$8e,$12,$64,$e1,$8e,$23,$45,$c9,$e3,$25,$4c,$9e,$a4,$c9,$eb,$3b,$ae,$71
frame768: .byte $55,$ff,$ff,$ff,$ee,$23,$fc,$8f,$97,$fa,$8f,$89,$f8,$8f,$98,$f9,$8e,$e5,$e3,$ee,$24,$97,$e9,$8d,$7e,$75,$e3,$ae,$45,$e4,$ae,$35,$e4,$91,$2e,$15,$e4,$92,$3c,$5e,$48,$34,$b5,$e4,$d2,$1a,$5e,$4d,$1,$95,$e5,$4c,$18,$5e,$45,$d1,$75,$e4,$5d,$26,$5e,$36,$e1,$16,$5e,$28,$e1,$15,$5e,$28,$e1,$25,$4e,$19,$e2,$33,$5d,$9e,$32,$35,$d9,$e4,$14,$4d,$9e,$71
frame769: .byte $57,$ff,$ff,$ff,$ee,$14,$fc,$8f,$88,$f9,$9f,$89,$f7,$9f,$98,$f8,$9e,$e4,$e4,$ee,$24,$6a,$e9,$7d,$6e,$94,$e4,$8e,$63,$e5,$ae,$43,$e5,$ce,$23,$e6,$91,$2e,$13,$e6,$93,$3b,$3e,$69,$33,$b3,$e6,$e3,$a3,$e6,$d3,$28,$3e,$65,$62,$42,$73,$e6,$5d,$17,$3e,$65,$e1,$16,$3e,$56,$e1,$25,$3e,$48,$e1,$24,$3e,$39,$e2,$14,$3e,$39,$e2,$23,$3e,$39,$e3,$e,$3e,$2a,$e4,$21
frame770: .byte $47,$ff,$ff,$fb,$2f,$c7,$12,$f6,$af,$79,$f8,$af,$7a,$f6,$af,$89,$f7,$af,$79,$ee,$1e,$8e,$b4,$9a,$ea,$4e,$26,$ea,$1e,$68,$f9,$bf,$6c,$f6,$df,$4a,$23,$f2,$a3,$4e,$e5,$a3,$5e,$e4,$e6,$ee,$3e,$23,$2e,$e2,$66,$34,$2e,$e1,$6e,$12,$ed,$6e,$21,$ec,$7e,$22,$ea,$8e,$32,$e9,$9e,$31,$e8,$ae,$41,$21
frame771: .byte $43,$ff,$fe,$b2,$fc,$60,$1f,$6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,$f8,$af,$7a,$f7,$af,$7a,$e6
frame807: .byte $29,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$87,$fb,$6f,$b5,$fd,$4f,$d4,$fc,$5f,$c6,$fb,$6f,$b6,$fa,$7f,$a8,$f9,$8f,$89,$f8,$af,$88,$f9,$8f,$98,$f8,$af,$7a,$f7,$af,$6b,$e6
frame808: .byte $2a,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$48,$f9,$7f,$b6,$fb,$5f,$c5,$fc,$5f,$c5,$fc,$6f,$b6,$fa,$7f,$a7,$fa,$8f,$89,$f8,$af,$6c,$f5,$af,$98,$f8,$9f,$8a,$f7,$af,$6b,$f6,$be,$61
frame809: .byte $2b,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e7,$6f,$88,$fa,$7f,$b5,$fc,$5f,$c5,$fb,$6f,$b6,$fb,$7f,$a7,$fa,$7f,$a7,$f9,$9f,$8a,$f6,$cf,$4e,$1f,$2c,$f7,$af,$89,$f8,$9f,$8a,$f6,$bf,$6b,$e6
frame810: .byte $31,$ff,$ff,$ff,$ff,$ff,$ff,$f5,$3f,$89,$f8,$8f,$a7,$fb,$6f,$b5,$fb,$6f,$b6,$fa,$8f,$99,$f9,$8f,$98,$f8,$9f,$8b,$f5,$df,$3e,$2f,$1e,$11,$2e,$e4,$51,$9f,$24,$29,$f4,$12,$9f,$89,$f7,$bf,$6b,$f6,$be,$61
frame811: .byte $38,$ff,$ff,$ff,$ff,$ff,$ff,$f4,$2f,$8a,$f8,$8f,$98,$fa,$7f,$a6,$fb,$6f,$b7,$fa,$8f,$8a,$f6,$bf,$6c,$f5,$41,$7f,$54,$18,$f3,$42,$9f,$15,$2a,$ee,$45,$29,$11,$ee,$35,$39,$ee,$45,$39,$ee,$53,$59,$ee,$51,$79,$f7,$af,$7b,$f6,$be,$61
frame812: .byte $3b,$ff,$ff,$ff,$ff,$ff,$ff,$ed,$41,$6f,$7a,$f7,$af,$89,$f9,$8f,$97,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e9,$62,$e6,$e8,$61,$e6,$e9,$ee,$1e,$8e,$e1,$e8,$ee,$1e,$8e,$e1,$e8,$ee,$1e,$8e,$e1,$e8,$ee,$1e,$8e,$e1,$e8,$ee,$11
frame817: .byte $6f,$e6,$c,$c,$2f,$72,$62,$e5,$1e,$61,$81,$e5,$1e,$61,$81,$e5,$1e,$61,$81,$e5,$1e,$62,$62,$e5,$1e,$63,$43,$e5,$1e,$63,$43,$e5,$1e,$64,$24,$e5,$1e,$64,$24,$e5,$1e,$63,$43,$e5,$1f,$e2,$2e,$62,$62,$e5,$1e,$61,$81,$e5,$1e,$62,$62,$e4,$2e,$64,$24,$e4,$2e,$6a,$e3,$3e,$6a,$e2,$4e,$6a,$e1,$5e,$6a,$d6,$e6,$ac,$7e,$6a,$b8,$e6,$aa,$8e,$7a,$98,$e8,$a8,$8e,$9a,$78,$1,$e6,$a7,$80,$1e,$6a,$77,$32,$e6,$a7,$64,$2e,$6a,$75,$43,$e6,$a6,$55,$3e,$6a,$64,$62,$11
frame818: .byte $5c,$e2,$66,$6e,$e4,$59,$4e,$e4,$59,$4e,$e4,$59,$4e,$e4,$67,$5e,$e4,$66,$6e,$e4,$74,$7e,$e4,$74,$7e,$e4,$83,$7e,$e4,$83,$7e,$e4,$75,$6e,$e4,$2e,$12,$ee,$42,$7,$60,$e2,$ee,$45,$85,$ee,$47,$56,$ee,$48,$28,$ee,$48,$28,$ee,$4e,$5e,$e4,$e5,$ee,$4e,$5e,$e4,$e5,$ee,$4e,$5e,$e4,$e5,$ee,$4e,$5e,$e4,$e5,$ee,$4e,$5e,$e4,$e5,$ee,$4e,$5e,$e4,$e5,$ee,$4e,$5e,$e4,$e5,$ee,$4e,$5e,$21
frame819: .byte $53,$a9,$c7,$e7,$aa,$8e,$7a,$99,$e7,$b7,$ae,$7b,$6b,$e7,$c5,$be,$7c,$4c,$e7,$d4,$be,$7c,$6a,$e7,$c6,$ae,$76,$e4,$5e,$75,$e6,$4e,$75,$17,$46,$14,$e7,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,$4a,$1e,$9e,$1b,$1e,$9e,$1b,$1e,$8e,$2b,$1e,$7e,$3b,$1e,$65,$38,$52,$51,$e5,$53,$94,$26,$1e,$55,$2b,$23,$61,$e4,$54,$e2,$61,$e3,$55,$e2,$61,$e3,$45,$e3,$61,$e3,$44,$e4,$61,$e3,$35,$e4,$61,$e2,$45,$e3,$71,$e2,$44,$73,$4a,$1e,$24,$44,$e7,$1e,$14,$62,$e8,$1e,$13,$ee,$41,$c5,$ee,$41,$c4,$ee,$51,$e1,$1f,$11,$fe,$31,$fe,$31,$fe,$31,$fe,$31,$fe,$31
frame824: .byte $64,$1e,$4e,$2b,$4e,$5e,$2b,$4e,$5e,$1c,$4e,$5e,$1c,$4e,$6c,$d4,$e6,$dc,$4e,$6e,$1b,$4e,$6e,$1b,$4e,$6e,$1b,$4e,$6d,$c4,$e5,$e1,$32,$74,$e4,$51,$92,$37,$4e,$44,$1a,$c,$84,$e3,$51,$e1,$84,$e3,$41,$e3,$74,$e2,$41,$e4,$74,$e2,$32,$e3,$84,$e2,$32,$e3,$84,$e1,$42,$e1,$a4,$e1,$42,$5e,$64,$e1,$43,$3e,$74,$e1,$3e,$e1,$4e,$13,$ee,$14,$e1,$3e,$e1,$4d,$4e,$e1,$4e,$13,$ee,$14,$fd,$4f,$d4,$fd,$4f,$d4,$fd,$4f,$d4
frame825: .byte $50,$1a,$ce,$48,$bc,$e4,$8c,$be,$48,$cb,$e4,$8c,$ae,$58,$ca,$e5,$8c,$be,$48,$cc,$e3,$8c,$ce,$38,$db,$e3,$8c,$c1,$1e,$18,$cb,$12,$e1,$8b,$e2,$e1,$8b,$e2,$e1,$8a,$e3,$e1,$8a,$e3,$e1,$8a,$e1,$e3,$89,$32,$4e,$98,$93,$e,$eb,$89,$3e,$e2,$89,$3e,$e2,$89,$3e,$e2,$8a,$2e,$e2,$8f,$98,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$98
frame826: .byte $51,$15,$7e,$8e,$16,$7e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$7e,$1e,$b4,$5e,$2e,$b4,$4e,$3e,$b4,$3e,$4e,$b4,$6e,$1e,$b2,$8e,$1e,$b2,$8e,$1e,$b4,$5e,$2e,$b4,$5e,$2e,$b3,$6e,$2e,$b2,$5e,$4e,$b4,$4e,$3e,$b6,$1e,$4e,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$52,$4e,$be,$44,$3e,$be,$42,$5e,$be,$34,$4e,$be,$26,$3e,$be,$27,$2e,$be,$28,$1e,$be,$27,$2e,$be,$53,$3e,$be,$44,$3e,$be,$44,$3e,$be,$44,$3e,$be,$45,$21
frame830: .byte $5c,$12,$7e,$1e,$b3,$8d,$eb,$37,$e1,$eb,$36,$e2,$eb,$44,$e3,$eb,$43,$e4,$eb,$45,$e2,$eb,$36,$e2,$eb,$27,$e2,$eb,$26,$e3,$eb,$45,$e2,$eb,$45,$e2,$eb,$26,$e3,$eb,$53,$e3,$eb,$61,$e4,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$e5,$24,$eb,$e4,$34,$eb,$e4,$25,$eb,$e2,$54,$eb,$e2,$54,$eb,$e1,$82,$eb,$e2,$72,$eb,$e3,$53,$eb,$e5,$24,$eb,$e4,$34,$eb,$e4,$43,$eb,$e4,$43,$eb,$e4,$43
frame831: .byte $5c,$12,$7e,$1e,$b3,$8d,$eb,$37,$e1,$eb,$36,$e2,$eb,$44,$e3,$eb,$43,$e4,$eb,$45,$e2,$eb,$36,$e2,$eb,$36,$e2,$eb,$26,$e3,$eb,$45,$e2,$eb,$45,$e2,$eb,$26,$e3,$eb,$53,$e3,$eb,$61,$e4,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$e4,$34,$eb,$e4,$34,$eb,$e3,$35,$eb,$e2,$54,$eb,$e1,$64,$eb,$e1,$82,$eb,$e3,$62,$eb,$e3,$53,$eb,$e5,$24,$eb,$e5,$24,$eb,$e5,$33,$eb,$e4,$43,$eb,$e4,$43
frame832: .byte $5d,$12,$7e,$1e,$b3,$8d,$eb,$37,$e1,$eb,$36,$e2,$eb,$35,$e3,$eb,$34,$e4,$eb,$44,$e3,$eb,$45,$e2,$eb,$36,$e2,$eb,$44,$e3,$eb,$45,$e2,$eb,$36,$e2,$eb,$26,$e3,$eb,$53,$e3,$eb,$61,$e4,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$e4,$34,$eb,$e4,$34,$eb,$e3,$35,$eb,$e3,$44,$eb,$e2,$63,$eb,$e2,$72,$eb,$e2,$72,$eb,$e3,$b,$4e,$be,$52,$4e,$be,$52,$4e,$be,$53,$3e,$be,$44,$3e,$be,$44,$31
frame833: .byte $5d,$11,$7e,$2e,$b2,$9d,$eb,$29,$de,$b3,$7e,$1e,$b3,$5e,$3e,$b3,$5e,$3e,$b3,$5e,$3e,$b4,$4e,$3e,$b4,$5e,$2e,$b4,$6e,$1e,$b4,$32,$1e,$1e,$b3,$6e,$2e,$b2,$7e,$2e,$b4,$4e,$3e,$b5,$2e,$4e,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$43,$4e,$be,$43,$4e,$be,$42,$5e,$be,$25,$4e,$be,$18,$2e,$be,$18,$2e,$be,$35,$3e,$be,$30,$b4,$eb,$e5,$24,$eb,$e5,$24,$eb,$e5,$33,$eb,$e5,$33,$eb,$e4,$43
frame834: .byte $5e,$11,$8e,$1e,$b2,$9d,$eb,$29,$de,$b2,$8e,$1e,$b3,$6e,$2e,$b3,$5e,$3e,$b3,$5e,$3e,$b3,$5e,$3e,$b4,$4e,$3e,$b4,$6e,$1e,$b4,$40,$8c,$eb,$27,$e2,$eb,$28,$e1,$eb,$44,$e3,$eb,$52,$e4,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$e6,$14,$eb,$e4,$34,$eb,$e4,$34,$eb,$e4,$34,$eb,$e2,$72,$eb,$e1,$82,$eb,$e1,$82,$eb,$e3,$53,$eb,$e3,$10,$73,$eb,$e5,$33,$eb,$e5,$33,$eb,$e5,$33,$eb,$e5,$33,$eb,$e5,$33
frame835: .byte $5d,$1a,$de,$b1,$ad,$eb,$19,$e1,$eb,$26,$e3,$eb,$25,$e4,$eb,$16,$e4,$eb,$16,$e4,$eb,$25,$e4,$eb,$34,$e4,$eb,$37,$e1,$eb,$34,$23,$ce,$b1,$8e,$2e,$b1,$8e,$2e,$b2,$7e,$2e,$b3,$3e,$5e,$be,$be,$be,$be,$be,$be,$be,$be,$70,$8e,$be,$44,$3e,$be,$53,$3e,$be,$44,$3e,$be,$26,$3e,$be,$27,$2e,$be,$18,$2e,$be,$45,$2e,$be,$45,$2e,$be,$63,$2e,$be,$54,$2e,$be,$54,$2e,$be,$54,$2e,$be,$55,$11
frame836: .byte $53,$8e,$3e,$e5,$e4,$ee,$4e,$5e,$e3,$e6,$ee,$3e,$6e,$e3,$e6,$ee,$3e,$6e,$e3,$e6,$ee,$5e,$4f,$3e,$1e,$e3,$34,$ce,$e5,$33,$bf,$1e,$3f,$2e,$2f,$1e,$3e,$e2,$e7,$eb,$eb,$eb,$eb,$eb,$eb,$e8,$12,$eb,$e6,$32,$eb,$e6,$32,$eb,$e6,$32,$eb,$e4,$52,$eb,$e3,$62,$eb,$e2,$81,$eb,$e3,$71,$eb,$e2,$21,$ee,$4e,$7e,$e2,$e6,$ee,$3e,$6e,$e3,$e6,$ee,$3e,$56
frame837: .byte $4e,$2e,$9e,$de,$9e,$de,$9e,$ce,$ae,$ce,$ae,$ce,$ae,$de,$9e,$e3,$e6,$f1,$e3,$ec,$27,$e1,$ee,$14,$5c,$ee,$34,$4b,$ee,$45,$3a,$ee,$56,$1a,$ee,$5e,$4e,$e4,$e5,$ed,$e9,$eb,$eb,$eb,$eb,$e9,$ed,$e7,$ee,$2e,$8e,$e1,$e8,$ee,$1e,$31,$5e,$de,$23,$2e,$e2,$e1,$f3,$df,$4d,$f4,$e1,$32,$ee,$3e,$7e,$e2,$e8,$ee,$1e,$8e,$e1,$e8,$31
frame838: .byte $49,$1e,$ce,$9e,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,$54,$84,$a5,$39,$54,$73,$d5,$1a,$45,$64,$de,$25,$55,$4e,$2e,$14,$64,$5e,$2e,$13,$74,$5e,$2d,$38,$36,$e2,$c2,$a3,$66,$37,$a1,$c3,$66,$48,$e8,$27,$66,$7e,$72,$67,$5a,$e5,$26,$81,$e3,$e2,$26,$ee,$1d,$26,$ee,$2c,$27,$ee,$2b,$27,$ee,$3a,$36,$ee,$49,$37,$ee,$48,$39,$ee,$46
frame842: .byte $6c,$1c,$e8,$d1,$ce,$ac,$1c,$ec,$a1,$be,$e1,$91,$be,$e2,$81,$be,$e3,$71,$be,$e3,$71,$b2,$7e,$86,$1e,$9e,$66,$19,$1d,$e6,$51,$82,$e1,$e5,$51,$72,$e2,$e5,$51,$62,$e3,$e5,$42,$52,$81,$9e,$44,$24,$37,$47,$e4,$42,$42,$76,$56,$2a,$33,$33,$85,$55,$49,$33,$24,$84,$65,$49,$24,$24,$e4,$73,$82,$51,$5e,$4e,$51,$61,$5e,$5e,$41,$61,$5e,$5e,$31,$71,$6e,$4e,$e5,$e5,$ee,$4e,$6e,$e4,$e6,$ee,$3e,$7e,$e2,$eb,$14,$e7,$ee,$2e,$8e,$e1,$e9,$ee,$1e,$ae,$ca
frame843: .byte $5f,$1a,$18,$e4,$f2,$e4,$f2,$e3,$e1,$2e,$4e,$3c,$2e,$6e,$3a,$2e,$7e,$48,$2a,$38,$e4,$73,$95,$8e,$45,$39,$68,$e4,$53,$96,$8e,$53,$3b,$58,$e5,$33,$c3,$9e,$53,$3e,$ae,$72,$3e,$ae,$70,$ce,$ae,$80,$ce,$9e,$90,$ce,$8e,$a0,$ce,$7e,$b2,$3e,$6e,$b2,$3e,$5e,$c2,$3e,$5e,$b3,$3e,$4a,$3c,$25,$e3,$95,$b2,$5e,$39,$5a,$27,$e2,$a3,$b1,$8e,$3e,$91,$ae,$2f,$3e,$1f,$4e,$1f,$4e,$1f,$4e,$1f,$4e,$2e,$91
frame844: .byte $5b,$ae,$e1,$29,$9e,$e3,$28,$7e,$e5,$37,$6f,$23,$66,$e7,$49,$45,$5e,$85,$85,$44,$e8,$77,$54,$4e,$87,$76,$33,$ea,$58,$63,$3e,$b3,$97,$c,$f6,$70,$cf,$58,$c,$f4,$a1,$2f,$3b,$12,$f2,$c1,$2d,$99,$e1,$12,$bf,$31,$29,$f5,$12,$8f,$61,$27,$f7,$12,$7f,$60,$c6,$f7,$23,$5f,$72,$35,$a3,$eb,$34,$49,$5e,$a3,$44,$95,$e9,$45,$3a,$3e,$a4,$62,$f4,$57,$1f,$36,$81,$f1,$7f,$98,$f8,$91
frame845: .byte $4e,$9e,$e4,$e4,$f2,$df,$5c,$45,$ee,$2a,$2b,$ec,$91,$e2,$eb,$ec,$eb,$ec,$ea,$ed,$ea,$ec,$ea,$ed,$e9,$ed,$ea,$c3,$ae,$ac,$4a,$e9,$b5,$ae,$9c,$49,$95,$9e,$c8,$69,$ec,$87,$81,$1e,$a8,$69,$11,$ea,$95,$be,$b9,$3c,$eb,$ec,$eb,$eb,$eb,$e6,$14,$ec,$e4,$25,$ec,$e2,$27,$ed,$b4,$7e,$e4,$46,$9f,$7b,$f5,$61,$6f,$37,$17,$f1,$81
frame846: .byte $52,$16,$f1,$27,$6f,$23,$65,$f4,$35,$4f,$54,$43,$ea,$3b,$44,$3e,$95,$a5,$32,$ea,$5a,$62,$1e,$c3,$b6,$21,$f8,$71,$1f,$87,$f9,$8f,$99,$f7,$af,$6b,$f5,$cf,$3e,$1e,$48,$6e,$4e,$1f,$3d,$f4,$cf,$5b,$f6,$af,$61,$19,$f6,$11,$89,$5e,$b1,$18,$87,$e9,$3,$78,$7e,$90,$37,$87,$e8,$33,$68,$7e,$74,$45,$a4,$e8,$45,$4f,$35,$64,$f1,$67,$3e,$e5,$71
frame847: .byte $4b,$15,$f5,$bf,$79,$48,$ee,$27,$3c,$ee,$15,$2e,$3e,$d4,$1e,$5e,$c0,$ee,$7e,$ce,$be,$be,$be,$cb,$3a,$eb,$a6,$8e,$b9,$78,$eb,$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eb,$eb,$eb,$ec,$ea,$ed,$e9,$a5,$ce,$89,$7c,$e7,$89,$ce,$59,$9e,$1e,$1b,$9e,$48,$e2,$7f,$b5,$fe,$11,$ff,$ff,$ff,$fa
frame855: .byte $4c,$2e,$2e,$e5,$e6,$ee,$3e,$7e,$e2,$e8,$ee,$1e,$9e,$de,$9e,$de,$ae,$ce,$ae,$ce,$be,$be,$be,$be,$be,$be,$bc,$57,$eb,$c6,$6e,$bb,$76,$75,$cb,$76,$67,$bc,$57,$59,$9e,$22,$85,$99,$ec,$59,$9e,$c5,$99,$ec,$67,$ae,$c7,$5b,$ec,$ea,$ec,$ea,$ec,$eb,$eb,$eb,$eb,$ec,$ea,$ec,$ea,$ed,$e9,$ee,$1e,$8e,$e2,$e7,$ee,$3e,$61
frame856: .byte $48,$1e,$ae,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$be,$b7,$5c,$eb,$67,$bd,$47,$58,$bc,$66,$59,$ac,$66,$59,$ac,$66,$58,$bc,$66,$66,$be,$14,$78,$3c,$ec,$ea,$ec,$ea,$ec,$ea,$ec,$ea,$ec,$ea,$ec,$ea,$ec,$ea,$ec,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb,$eb
frame857: .byte $4f,$1e,$3e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$f6,$bf,$7a,$e1,$4e,$7a,$d6,$e6,$ac,$dd,$ac,$dd,$ad,$7e,$4b,$e1,$4d,$c,$de,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5,$e4,$ee,$5e,$4e,$e5
frame858: .byte $43,$1c,$f4,$df,$4d,$f4,$df,$4d,$f4,$df,$4d,$f4,$df,$4d,$f4,$df,$4d,$e1,$5e,$3d,$aa,$e3,$ca,$be,$3b,$ba,$e3,$bd,$9e,$3a,$e2,$7e,$2b,$e2,$6e,$3b,$e1,$a2,$55,$c2,$65,$e6,$3d,$72,$5e,$62,$de,$2e,$52,$de,$54,$72,$4d,$f4,$df,$4d,$f4,$df,$4d,$f4,$df,$4d,$f4,$df,$4d,$f4,$df,$41
frame859: .byte $44,$19,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$e5,$1e,$6a,$e4,$2e,$6a,$e2,$5e,$5a,$e4,$5e,$3a,$e5,$4e,$3a,$e5,$2e,$5a,$e5,$5e,$2a,$e6,$4e,$2a,$71,$ad,$7a,$a3,$3e,$36,$ae,$47,$18,$5a,$e8,$17,$27,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7
frame860: .byte $42,$17,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$98,$e3,$10,$3e,$68,$e4,$4e,$68,$e5,$4e,$58,$e6,$4e,$48,$e6,$4e,$48,$e6,$4e,$48,$e7,$4e,$38,$a3,$4e,$19,$8e,$5e,$18,$8e,$91,$45,$88,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$98,$f9,$8f,$91
frame861: .byte $44,$19,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$ae,$50,$be,$3a,$e6,$3e,$3a,$e6,$4e,$2a,$e7,$4e,$1a,$e7,$4e,$1a,$e7,$4e,$1a,$a2,$93,$e1,$ad,$23,$71,$1b,$ae,$6d,$6a,$e9,$21,$85,$ae,$92,$54,$5a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$7a,$f7,$af,$71
frame862: .byte $43,$1b,$f5,$cf,$5c,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,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$41
|
.inesprg 1 ;1x 16kb PRG code
.ineschr 1 ;1x 8kb CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ;background mirroring (vertical mirroring = horizontal scrolling)
.rsset $0000
joypad1 .rs 1 ;button states for the current frame
joypad1_old .rs 1 ;last frame's button states
joypad1_pressed .rs 1 ;current frame's off_to_on transitions
current_noise .rs 1 ;used to index into our note_table
noi_volumereg .rs 1 ;used to update volume register of noise channel
noi_lencountbit .rs 1 ;state of bit 5 of the noise volume register ($400C)
noi_envdecaybit .rs 1 ;state of bit 4 of the noise volume register ($400C)
sleeping .rs 1 ;main program sets this and waits for the NMI to clear it. Ensures the main program is run only once per frame.
; for more information, see Disch's document: URL HERE
ptr1 .rs 2 ;a pointer
y_mod .rs 1 ;used for mod function
;----- first 8k bank of PRG-ROM
.bank 0
.org $C000
irq:
NMI:
pha ;backup registers
txa
pha
tya
pha
; draw text to screen
jsr draw_rngtext
jsr draw_freqtext
jsr draw_bitstext
lda #$00 ;set scroll
sta $2005
sta $2005
lda #$00
sta sleeping ;wake up the main program
pla ;restore registers
tay
pla
tax
pla
rti
RESET:
sei
cld
ldx #$FF
txs
inx
vblankwait1:
bit $2002
bpl vblankwait1
clearmem:
lda #$00
sta $0000, x
sta $0100, x
sta $0300, x
sta $0400, x
sta $0500, x
sta $0600, x
sta $0700, x
lda #$FE
sta $0200, x
inx
bne clearmem
vblankwait2:
bit $2002
bpl vblankwait2
;set a couple palette colors. This demo only uses two
lda $2002 ;reset PPU HI/LO latch
lda #$3F
sta $2006
lda #$00
sta $2006 ;palette data starts at $3F00
lda #$0F ;black
sta $2007
lda #$30 ;white
sta $2007
;Enable sound channels
lda #%00001000
sta $4015 ;enable Noise
lda #$00
sta current_noise ;start with first noise
lda #$01
sta noi_lencountbit ; start with LC disabled
sta noi_envdecaybit ; start with ED disabled
lda #$88
sta $2000 ;enable NMIs
lda #$18
sta $2001 ;turn PPU on
;main program starts here
forever:
inc sleeping ;go to sleep (wait for NMI).
.loop:
lda sleeping
bne .loop ;wait for NMI to clear the sleeping flag and wake us up
;when NMI wakes us up, handle input and go back to sleep
jsr read_joypad
jsr handle_input
jmp forever ;go back to sleep
;----------------------------
; read_joypad will capture the current button state and store it in joypad1.
; Off-to-on transitions will be stored in joypad1_pressed
read_joypad:
lda joypad1
sta joypad1_old ;save last frame's joypad button states
lda #$01
sta $4016
lda #$00
sta $4016
ldx #$08
.loop:
lda $4016
lsr a
rol joypad1 ;A, B, select, start, up, down, left, right
dex
bne .loop
lda joypad1_old ;what was pressed last frame.
eor #%11111111 ;EOR to flip all the bits to find what was not pressed last frame
;;;eor #%11110111
; we ignore up button here. we want to let up button continue to retrigger noise sample, otherwise it will only play once per btn press.
and joypad1 ;what is pressed this frame
sta joypad1_pressed ;stores off-to-on transitions
rts
;---------------------
; handle_input will perform actions based on input:
; up - play current note
; down - stop playing the note
; left - cycle down a note
; right - cycle up a note
handle_input:
lda joypad1_pressed
and #%11001111 ;check d-pad and a, b only
beq .done
.check_up:
and #$08 ;up
beq .check_down
jsr play_note
.check_down:
lda joypad1_pressed
and #$04 ;down
beq .check_left
jsr silence_note
.check_left:
lda joypad1_pressed
and #$02 ;left
beq .check_right
jsr note_down
.check_right:
lda joypad1_pressed
and #$01 ;right
beq .check_a
jsr note_up
.check_a:
lda joypad1_pressed
and #$80 ;a
beq .check_b
lda noi_lencountbit ; flip bit
eor #$01
sta noi_lencountbit
.check_b:
lda joypad1_pressed
and #$40 ;b
beq .done
lda noi_envdecaybit ; flip bit
eor #$01
sta noi_envdecaybit
.done:
rts
;----------------------
; play_note plays the noise stored in current_noise
play_note:
lda #%00001111 ; full volume
sta noi_volumereg ; reset volume register
lda noi_lencountbit ; check if we should set length counter
asl a
asl a
asl a
asl a
asl a ; shift value in variable left 5 times to match it to bit 5
ora noi_volumereg ; OR it with our volume to add the 1 if it's there
sta noi_volumereg
lda noi_envdecaybit ; check if we should set envelope decay
asl a
asl a
asl a
asl a ; shift value in variable left 4 times to match it to bit 4
ora noi_volumereg ; OR it with our volume to add the 1 if it's there
sta noi_volumereg
sta $400C ; write final volume byte to register
lda current_noise
asl a ;multiply by 2 because we are indexing into a table of words
tay
lda noise_values, y ;read the low byte of the "period"
sta $400E ;write to "NOI_LO"
lda noise_values+1, y ;read the high byte of the "period"
sta $400F ;write to "NOI_HI" (notes in table are made to fit noise registers)
rts
;--------------------
; silence_note silences the noise channel
silence_note:
lda #$30
sta $400C ;silence Noise by setting the volume to 0.
rts
;--------------------
; note_down will move current_noise down. Lowest noise will wrap to highest noise
note_down:
dec current_noise
lda current_noise
cmp #$FF
bne .done
lda #$1F ;highest noise. We wrapped from 0
sta current_noise
.done:
rts
;----------------------
; note_up will move current_noise up. Highest noise will wrap to lowest noise
note_up:
inc current_noise
lda current_noise
cmp #$20 ;did we move past the highest noise value?
bne .done ;if not, no problem
lda #$00 ;but if we did, wrap around to 0 (the lowest noise)
sta current_noise
.done:
rts
;-------------
; draw_rngtext will draw the rng mode
; this subroutine writes to the PPU registers, so it should only be run during vblank (ie, in NMI)
draw_rngtext:
lda $2002
lda #$21
sta $2006
lda #$4A
sta $2006 ;$214D is a nice place in the middle of the screen to draw
lda current_noise ;use current_noise (0-31) as an index into our pointer table
cmp #$10
bcc .rng0
lda #$01 ; if current_noise >= 16, set rng mode to 1
jmp .rng1
.rng0:
lda #$00 ; set rng mode to 0 as default
.rng1:
asl a ;multiply by 2 because we are indexing into a table of pointers (which are words)
tay
lda text_rng_pointers, y ;setup pointer to the text data
sta ptr1
lda text_rng_pointers+1, y
sta ptr1+1
ldy #$00
.loop:
lda [ptr1], y ;read a byte from the string
bmi .end ;if negative, we are finished (our strings are terminated by $FF, a negative number)
sta $2007 ;else draw on the screen
iny
jmp .loop
.end:
rts
;-------------
; draw_freqtext will draw the frequency of the noise
; this subroutine writes to the PPU registers, so it should only be run during vblank (ie, in NMI)
draw_freqtext:
lda $2002
lda #$21
sta $2006
lda #$8A
sta $2006 ;$214D is a nice place in the middle of the screen to draw
lda current_noise ;use current_noise (0-31) as an index to freq. text
ldy #$10
jsr mod ; mod by 16 to get a number in 0-15 (in case we're in rng mode 1)
asl a ;multiply by 2 because we are indexing into a table of pointers (which are words)
tay
lda text_freq_pointers, y ;setup pointer to the text data
sta ptr1
lda text_freq_pointers+1, y
sta ptr1+1
ldy #$00
.loop:
lda [ptr1], y ;read a byte from the string
bmi .end ;if negative, we are finished (our strings are terminated by $FF, a negative number)
sta $2007 ;else draw on the screen
iny
jmp .loop
.end:
rts
;-------------
; draw_bitstext will draw the states of the length counter and env decay bits (4 and 5)
; this subroutine writes to the PPU registers, so it should only be run during vblank (ie, in NMI)
draw_bitstext:
; Draw bit 5 text
lda $2002
lda #$22
sta $2006
lda #$0A
sta $2006 ;$214D is a nice place in the middle of the screen to draw
lda noi_lencountbit ;use noi_lencountbit (0/1) as an index into our pointer table
asl a ;multiply by 2 because we are indexing into a table of pointers (which are words)
tay
lda text_bit5_pointers, y ;setup pointer to the text data
sta ptr1
lda text_bit5_pointers+1, y
sta ptr1+1
ldy #$00
.loopA:
lda [ptr1], y ;read a byte from the string
bmi .endA ;if negative, we are finished (our strings are terminated by $FF, a negative number)
sta $2007 ;else draw on the screen
iny
jmp .loopA
.endA:
; Draw bit 4 text
lda $2002
lda #$22
sta $2006
lda #$4A
sta $2006 ;$214D is a nice place in the middle of the screen to draw
lda noi_envdecaybit ;use noi_envdecaybit (0/1) as an index into our pointer table
asl a ;multiply by 2 because we are indexing into a table of pointers (which are words)
tay
lda text_bit4_pointers, y ;setup pointer to the text data
sta ptr1
lda text_bit4_pointers+1, y
sta ptr1+1
ldy #$00
.loopB:
lda [ptr1], y ;read a byte from the string
bmi .endB ;if negative, we are finished (our strings are terminated by $FF, a negative number)
sta $2007 ;else draw on the screen
iny
jmp .loopB
.endB:
rts
; Modulo operator.
; Load A and Y prior to calling. Returns A%Y in A.
mod:
SEC ; set carry (C=1) to clear borrow
STY y_mod ; store Y in memory address y_mod
modloop:
SBC y_mod ; subtract A - Y
BCS modloop ; loops if subtraction DID NOT produce a borrow (C=1)
ADC y_mod ; add Y back to A to get last positive modulus
RTS
;----- second 8k bank of PRG-ROM
.bank 1
.org $E000
.include "se_note_table.i" ;our NTSC note lookup table
noise_values:
; Noise frequencies, RNG Mode 0 ($5F - $6E)
.dw $0000, $0001, $0002, $0003, $0004, $0005, $0006, $0007, $0008, $0009, $000A, $000B, $000C, $000D, $000E, $000F
; Noise frequencies, RNG Mode 1 ($6F - $7E)
.dw $0080, $0081, $0082, $0083, $0084, $0085, $0086, $0087, $0088, $0089, $008A, $008B, $008C, $008D, $008E, $008F
;this is a table of pointers. These pointers point to the beginning of text strings.
text_rng_pointers:
.word text_RNGMode0, text_RNGMode1
text_freq_pointers:
.word (text_Freq+(9*0)), (text_Freq+(9*1)), (text_Freq+(9*2)), (text_Freq+(9*3))
.word (text_Freq+(9*4)), (text_Freq+(9*5)), (text_Freq+(9*6)), (text_Freq+(9*7))
.word (text_Freq+(9*8)), (text_Freq+(9*9)), (text_Freq+(9*10)), (text_Freq+(9*11))
.word (text_Freq+(9*12)), (text_Freq+(9*13)), (text_Freq+(9*14)), (text_Freq+(9*15))
text_bit5_pointers:
.word text_LC_0, text_LC_1
text_bit4_pointers:
.word text_ED_0, text_ED_1
;CHR
; $00 = blank
; $0A = "#"
; $10-$16 = "A"- "G"
text_Freq: ; start of frequency text strings (Freq. 0-15)
.byte $15, $21, $14, $20, $0F, $00, $00, $1E, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $01, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $02, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $03, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $04, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $05, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $06, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $07, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $08, $FF
.byte $15, $21, $14, $20, $0F, $00, $00, $09, $FF
.byte $15, $21, $14, $20, $0F, $00, $01, $1E, $FF
.byte $15, $21, $14, $20, $0F, $00, $01, $01, $FF
.byte $15, $21, $14, $20, $0F, $00, $01, $02, $FF
.byte $15, $21, $14, $20, $0F, $00, $01, $03, $FF
.byte $15, $21, $14, $20, $0F, $00, $01, $04, $FF
.byte $15, $21, $14, $20, $0F, $00, $01, $05, $FF
text_RNGMode0:
.byte $21, $1D, $16, $00, $1C, $1E, $13, $14, $0D, $00, $1E, $FF
text_RNGMode1:
.byte $21, $1D, $16, $00, $1C, $1E, $13, $14, $0D, $00, $01, $FF
text_LC_0:
.byte $1B, $12, $0D, $00, $1E, $FF
text_LC_1:
.byte $1B, $12, $0D, $00, $01, $FF
text_ED_0:
.byte $14, $13, $0D, $00, $1E, $FF
text_ED_1:
.byte $14, $13, $0D, $00, $01, $FF
;---- vectors
.org $FFFA ;first of the three vectors starts here
.dw NMI ;when an NMI happens (once per frame if enabled) the
;processor will jump to the label NMI:
.dw RESET ;when the processor first turns on or is reset, it will jump
;to the label RESET:
.dw irq ;external interrupt IRQ is not used in this tutorial
;------ 8k chr bank
.bank 2
.org $0000
.incbin "NES_APUTest.chr" |
; int zx_pattern_fill(uchar x, uchar y, void *pattern, uint depth)
SECTION code_clib
SECTION code_arch
PUBLIC zx_pattern_fill
EXTERN l0_zx_pattern_fill_callee
zx_pattern_fill:
pop af
pop bc
pop de
pop hl
pop ix
push hl
push hl
push de
push bc
push af
jp l0_zx_pattern_fill_callee
|
//==============================================================================
// Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2013 LRI UMR 8623 CNRS/Univ Paris Sud XI
// Copyright 2012 - 2013 MetaScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//==============================================================================
#ifndef NT2_SDK_OPENMP_SPAWNER_SCAN_HPP_INCLUDED
#define NT2_SDK_OPENMP_SPAWNER_SCAN_HPP_INCLUDED
#if defined(_OPENMP) && _OPENMP >= 200203 /* OpenMP 2.0 */
#include <omp.h>
#include <nt2/sdk/shared_memory/spawner.hpp>
#include <vector>
#include <nt2/sdk/meta/as.hpp>
#ifndef BOOST_NO_EXCEPTIONS
#include <boost/exception_ptr.hpp>
#endif
namespace nt2
{
namespace tag
{
struct scan_;
template<class T> struct openmp_;
}
template<class Site, class result_type>
struct spawner< tag::scan_, tag::openmp_<Site> , result_type>
{
spawner() {}
template<typename Worker>
result_type operator()(Worker & w, std::size_t begin, std::size_t size, std::size_t grain)
{
#ifndef BOOST_NO_EXCEPTIONS
boost::exception_ptr exception;
#endif
result_type result = w.neutral_(nt2::meta::as_<result_type>());
BOOST_ASSERT_MSG( size % grain == 0, "Reduce size not divisible by grain");
std::ptrdiff_t nblocks = size/grain;
std::vector<result_type> summaries
( nblocks, w.neutral_(nt2::meta::as_<result_type>()) );
std::vector<bool> prescan_bits( nblocks, true );
prescan_bits[0] = false;
#pragma omp parallel
{
// Dispatch group of blocks over each threads
#pragma omp for schedule(static)
for(std::ptrdiff_t n=0;n<nblocks;++n)
{
#ifndef BOOST_NO_EXCEPTIONS
try
{
#endif
// Call operation
summaries[n] = w(summaries[n],begin+n*grain,grain,prescan_bits[n]);
#ifndef BOOST_NO_EXCEPTIONS
}
catch(...)
{
#pragma omp critical
exception = boost::current_exception();
}
#endif
}
#pragma omp for schedule(static)
for(std::ptrdiff_t n=1;n<nblocks;++n)
{
#ifndef BOOST_NO_EXCEPTIONS
try
{
#endif
result_type summary = w.neutral_(nt2::meta::as_<result_type>());
for(std::ptrdiff_t k=0;k<n;++k)
summary = w.bop_(summary,summaries[k]);
// Call operation
summary = w(summary,begin+n*grain,grain,false);
#ifndef BOOST_NO_EXCEPTIONS
}
catch(...)
{
#pragma omp critical
exception = boost::current_exception();
}
#endif
}
}
for(std::ptrdiff_t k=0;k<nblocks;++k)
result = w.bop_(result,summaries[k]);
// Call operation
return result;
}
};
}
#endif
#endif
|
#include "extensions.hpp"
namespace phosphor
{
namespace logging
{
StartupFunctions Extensions::startupFunctions{};
CreateFunctions Extensions::createFunctions{};
DeleteFunctions Extensions::deleteFunctions{};
DeleteProhibitedFunctions Extensions::deleteProhibitedFunctions{};
Extensions::DefaultErrorCaps Extensions::defaultErrorCaps =
Extensions::DefaultErrorCaps::enable;
} // namespace logging
} // namespace phosphor
|
;
; Sprite Rendering Routine
; original code by Patrick Davidson (TI 85)
; modified by Stefano Bodrato - March 2011
;
; Much More Generic version
; Uses plot, unplot and xorplot
;
;
; $Id: w_putsprite3.asm,v 1.1 2011/04/01 06:50:45 stefano Exp $
;
XLIB putsprite
LIB plot
LIB unplot
LIB xorplot
; coords: h,l (vert-horz)
; sprite: (ix)
.putsprite
ld hl,2
add hl,sp
ld e,(hl)
inc hl
ld d,(hl) ;sprite address
push de
pop ix
inc hl
ld e,(hl)
inc hl
inc hl
ld d,(hl) ; x and y coords
inc hl
inc hl
ld a,(hl) ; and/or/xor mode
ld h,d
ld l,e
cp 166 ; and(hl) opcode
jr z,doand
cp 182 ; or(hl) opcode
jp z,door
; 182 - or
; 174 - xor
.doxor
ld a,(ix+0) ; Width
ld b,(ix+1) ; Height
.oloopx push bc ;Save # of rows
push af
;ld b,a ;Load width
ld b,0 ; Better, start from zero !!
ld c,(ix+2) ;Load one line of image
.iloopx sla c ;Test leftmost pixel
jr nc,noplotx ;See if a plot is needed
pop af
push af
push hl
push bc
push de
ld a,h
add a,b
ld h,a
ld e,l
ld d,0
ld l,h
ld h,d
push hl
push de
call xorplot
pop de
pop hl
pop de
pop bc
pop hl
.noplotx
inc b ; witdh counter
pop af
push af
cp b ; end of row ?
jr nz,noblkx
inc ix
ld c,(ix+2) ;Load next byte of image
jr noblockx
.noblkx
ld a,b ; next byte in row ?
;dec a
and a
jr z,iloopx
and 7
jr nz,iloopx
.blockx
inc ix
ld c,(ix+2) ;Load next byte of image
jr iloopx
.noblockx
inc l
pop af
pop bc ;Restore data
djnz oloopx
ret
.doand
ld a,(ix+0) ; Width
ld b,(ix+1) ; Height
.oloopa push bc ;Save # of rows
push af
;ld b,a ;Load width
ld b,0 ; Better, start from zero !!
ld c,(ix+2) ;Load one line of image
.iloopa sla c ;Test leftmost pixel
jr nc,noplota ;See if a plot is needed
pop af
push af
push hl
push bc
push de
ld a,h
add a,b
ld h,a
ld e,l
ld d,0
ld l,h
ld h,d
push hl
push de
call unplot
pop de
pop hl
pop de
pop bc
pop hl
.noplota
inc b ; witdh counter
pop af
push af
cp b ; end of row ?
jr nz,noblka
inc ix
ld c,(ix+2) ;Load next byte of image
jr noblocka
.noblka
ld a,b ; next byte in row ?
;dec a
and a
jr z,iloopa
and 7
jr nz,iloopa
.blocka
inc ix
ld c,(ix+2) ;Load next byte of image
jr iloopa
.noblocka
inc l
pop af
pop bc ;Restore data
djnz oloopa
ret
.door
ld a,(ix+0) ; Width
ld b,(ix+1) ; Height
.oloopo push bc ;Save # of rows
push af
;ld b,a ;Load width
ld b,0 ; Better, start from zero !!
ld c,(ix+2) ;Load one line of image
.iloopo sla c ;Test leftmost pixel
jr nc,noploto ;See if a plot is needed
pop af
push af
push hl
push bc
push de
ld a,h
add a,b
ld h,a
ld e,l
ld d,0
ld l,h
ld h,d
push hl
push de
call plot
pop de
pop hl
pop de
pop bc
pop hl
.noploto
inc b ; witdh counter
pop af
push af
cp b ; end of row ?
jr nz,noblko
inc ix
ld c,(ix+2) ;Load next byte of image
jr noblocko
.noblko
ld a,b ; next byte in row ?
;dec a
and a
jr z,iloopo
and 7
jr nz,iloopo
.blocko
inc ix
ld c,(ix+2) ;Load next byte of image
jr iloopo
.noblocko
;djnz iloopo
inc l
pop af
pop bc ;Restore data
djnz oloopo
ret
|
#include "cpp_header.h"
#include "singly_linked.h"
class Solution {
public:
ListNode * head;
void deleteNode(ListNode* node)
{
ListNode * cur = head;
while(cur && cur->next)
{
if(cur->next == node)
{
cur->next = cur->next->next;
delete node;
break;
}
}
}
};
|
#include "fbyregex.h"
#include "fby.h"
#include <iostream>
#include <fstream>
#include <map>
#include <boost/algorithm/string.hpp>
#include <string>
#include <stdio.h>
using namespace std;
using namespace Fby;
#define REGEXBLOCK_NOSQL "(\\s+(\\/\\*\\s*nosql\\s*\\*\\/)|\\/\\/\\s*nosql)?"
Regex regexMatchClass("regexMatchClass",
"^\\s*class\\s+(.*?)\\s*\\:\\s*public \\s*(\\:\\:)?(Fby\\:\\:)?FbyORM"
REGEXBLOCK_NOSQL);
Regex regexMatchClass1("regexMatchClass",
"^\\s*FBYCLASS\\s*\\(\\s*(.*?)\\s*\\)\\s*\\:\\s*public \\s*(\\:\\:)?(Fby\\:\\:)?FbyORM"
REGEXBLOCK_NOSQL);
Regex regexMatchMember("regexMatchMember",
"^\\s*(bool|int|float|double|long|string|std\\:\\:string|time_t)\\s+(\\w+)\\s*;\\s*//\\s*SQL\\s+(.*?)\\,?\\s*(--.*)?$");
Regex regexMatchEnd("regexMatchEnd",
"^\\s*\\}\\s*\\;");
Regex regexMatchLiteralSQL("literalSQL",
"^\\s*\\/\\/\\s+SQL\\:\\s+(.*)$");
struct MemberDescription
{
string ctype;
string name;
string sqltype;
bool hasKey;
MemberDescription(const string &ctype,
const string &name,
const string &sqltype,
bool hasKey)
: ctype(ctype), name(name), sqltype(sqltype), hasKey(hasKey)
{
}
};
void PrintSQLDefinition(ostream &ossql, ostream &oscpp, const string ¤tClass, vector<MemberDescription> members)
{
map<string, string> textToMember;
textToMember["bool"] = "wrapper_stobool";
textToMember["int"] = "wrapper_stoi";
textToMember["long"] = "wrapper_stol";
textToMember["long"] = "long std::stoll";
textToMember["float"] = "wrapper_stof";
textToMember["double"] = "wrapper_stod";
textToMember["long"] = "double wrapper_stold";
textToMember["string"] = "";
textToMember["std::string"] = "";
textToMember["time_t"] = "TextDateToTime";
map<string, string> memberToText;
memberToText["bool"] = "to_string";
memberToText["int"] = "to_string";
memberToText["long"] = "to_string";
memberToText["long"] = "to_string";
memberToText["float"] = "to_string";
memberToText["double"] = "to_string";
memberToText["long"] = "to_string";
memberToText["string"] = "";
memberToText["std::string"] = "";
memberToText["time_t"] = "TimeToTextDate";
// time_t strftime
//
// stringstream ss;
// ss << membear;
// value = ss.str();
//
ossql << "DROP TABLE IF EXISTS " << currentClass << /* " CASCADE;" */ ";" << endl;
ossql << "CREATE TABLE " << currentClass << " (" << endl;
for (vector<MemberDescription>::iterator member = members.begin(); member != members.end(); ++member)
{
ossql << " " << member->name << " " << member->sqltype;
vector<MemberDescription>::iterator isLast = member;
isLast++;
if (isLast != members.end())
{
ossql << ",";
}
ossql << endl;
}
ossql << ");" << endl;
oscpp << "void " << currentClass << "::AssignToMember( const std::string &memberName, const std::string &value)" << endl;
oscpp << "{" << endl;
oscpp << " std::string ucMemberName(boost::to_upper_copy(memberName));\n";
for (vector<MemberDescription>::iterator member = members.begin(); member != members.end(); ++member)
{
oscpp << " if (ucMemberName == \"" << boost::to_upper_copy(member->name) << "\") { " << member->name << " = ";
map<string,string>::iterator mapping = textToMember.find(member->ctype);
if (mapping != textToMember.end())
{
oscpp << mapping->second;
}
else
{
cerr << "Unknown c type " << member->ctype << endl;
}
oscpp << "(value); }";
oscpp << " // ctype: " << member->ctype;
oscpp << endl;
}
oscpp << "}" << endl;
oscpp << endl;
oscpp << "std::string " << currentClass << "::AssignFromMember( const std::string &memberName )" << endl;
oscpp << "{" << endl;
oscpp << " std::string ucMemberName(boost::to_upper_copy(memberName));\n";
oscpp << " string value;" << endl;
for (vector<MemberDescription>::iterator member = members.begin(); member != members.end(); ++member)
{
oscpp << " if (ucMemberName == \"" << boost::to_upper_copy(member->name) << "\") { value = ";
map<string,string>::iterator mapping = memberToText.find(member->ctype);
if (mapping != textToMember.end())
{
oscpp << mapping->second;
}
else
{
cerr << "Unknown c type " << member->ctype << endl;
}
oscpp << "(" << member->name << "); }" << endl;
}
oscpp << " return value;" << endl;
oscpp << "}" << endl;
oscpp << endl;
oscpp << "const char **" << currentClass << "::StaticMemberNames() {" << endl;
oscpp << " static const char *memberNames[] = {" << endl;
for (vector<MemberDescription>::iterator member = members.begin(); member != members.end(); ++member)
{
oscpp << " \"" << member->name << "\"," << endl;
}
oscpp << " NULL" << endl;
oscpp << " };" << endl;
oscpp << " return memberNames;" << endl;
oscpp << "};" << endl;
oscpp << endl;
oscpp << "const char *" << currentClass << "::StaticClassName() { return \"" << currentClass << "\"; }" << endl;
oscpp << endl;
oscpp << "const char **" << currentClass << "::StaticKeyNames() {" << endl;
oscpp << " static const char *keyNames[] = {" << endl;
bool hasSecondaryKeys;
for (vector<MemberDescription>::iterator member = members.begin(); member != members.end(); ++member)
{
if (member->hasKey)
hasSecondaryKeys = true;
if (member->sqltype.find("PRIMARY KEY") != string::npos)
{
oscpp << " \"" << member->name << "\"," << endl;
}
}
if (hasSecondaryKeys)
{
for (auto member = members.begin();
member != members.end(); ++member)
{
if (member->hasKey)
{
oscpp << "\"" << member->name << "\", " << endl;
}
}
}
oscpp << " NULL," << endl;
oscpp << " };" << endl;
oscpp << " return keyNames;" << endl;
oscpp << "}" << endl;
oscpp << endl;
oscpp << "const char **" << currentClass
<< "::MemberNames() { return "
<< currentClass << "::StaticMemberNames(); }" << endl;
oscpp << "const char **" << currentClass
<< "::KeyNames() { return "
<< currentClass << "::StaticKeyNames(); }" << endl;
oscpp << "const char *" << currentClass
<< "::ClassName() { return "
<< currentClass << "::StaticClassName(); }" << endl;
oscpp << endl;
}
void ParseFile(const char *filename)
{
std::filebuf fbcpp, fbsql;
fbcpp.open ("sqldefinitions.cpp",std::ios::out);
fbsql.open ("sqldefinitions.sql",std::ios::out);
std::ostream oscpp(&fbcpp);
std::ostream ossql(&fbsql);
RegexMatch match;
string line;
string currentClass;
bool suppressSQL = false;
vector<MemberDescription> members;
oscpp << "#include <string>" << endl;
oscpp << "#include <stdio.h>" << endl;
oscpp << "#include <boost/algorithm/string.hpp>" << endl;
oscpp << "#include \"" << filename << "\"" << endl;
oscpp << endl;
oscpp << endl;
oscpp << "using namespace std;" << endl;
oscpp << "using namespace Fby;" << endl;
try
{
std::ifstream istr(filename);
while (getline(istr, line))
{
if (regexMatchLiteralSQL.Match(line, match))
{
string literalsql = match.Match(1);
ossql << literalsql << endl;
}
if (regexMatchClass.Match(line, match)
|| regexMatchClass1.Match(line, match))
{
if (!currentClass.empty() && !suppressSQL)
{
PrintSQLDefinition(ossql, oscpp, currentClass,members);
members.clear();
}
currentClass = match.Match(1);
suppressSQL = match.HasMatch(2) && !match.Match(2).empty();
cout << "Matched class " << currentClass << endl;
}
if (regexMatchMember.Match(line, match))
{
if (!currentClass.empty())
{
string ctype = match.Match(1);
string name = match.Match(2);
string sqltype = match.Match(3);
bool hasKey = match.HasMatch(4);
members.push_back( MemberDescription(ctype,
name,
sqltype,
hasKey
) );
}
}
if (regexMatchEnd.Match(line, match))
{
if (!members.empty() && !currentClass.empty())
{
PrintSQLDefinition(ossql, oscpp, currentClass,members);
}
members.clear();
currentClass.clear();
}
}
}
catch (FbyBaseExceptionPtr except)
{
cout << "Caught Error: " << except->Message << endl;
}
if (!currentClass.empty())
{
PrintSQLDefinition(ossql, oscpp, currentClass,members);
members.clear();
}
fbcpp.close();
fbsql.close();
}
int main(int argc, const char **argv)
{
for (int i = 1; i < argc; ++i)
{
ParseFile(argv[i]);
}
}
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x41d6, %rdx
nop
nop
nop
nop
nop
cmp %r9, %r9
movb $0x61, (%rdx)
nop
nop
and $2075, %r10
lea addresses_UC_ht+0x9a96, %rdi
nop
cmp %r12, %r12
mov (%rdi), %ax
xor %r9, %r9
lea addresses_normal_ht+0xa2d6, %rbp
dec %rdi
mov $0x6162636465666768, %rax
movq %rax, %xmm4
and $0xffffffffffffffc0, %rbp
vmovaps %ymm4, (%rbp)
nop
nop
nop
nop
add $57738, %r9
lea addresses_D_ht+0xbc56, %rbp
inc %rdi
movups (%rbp), %xmm4
vpextrq $0, %xmm4, %r9
nop
and %rdx, %rdx
lea addresses_normal_ht+0xfb76, %rax
nop
nop
nop
nop
xor $14064, %r9
vmovups (%rax), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %rdx
nop
nop
nop
nop
nop
sub %r10, %r10
lea addresses_D_ht+0x9216, %r12
nop
nop
nop
inc %rax
movw $0x6162, (%r12)
nop
nop
nop
nop
and $52289, %rax
lea addresses_D_ht+0x396, %rsi
lea addresses_A_ht+0x1ce2e, %rdi
nop
nop
nop
sub $1315, %rdx
mov $108, %rcx
rep movsw
dec %r10
lea addresses_UC_ht+0x7e62, %r10
nop
nop
nop
nop
dec %rax
movw $0x6162, (%r10)
nop
nop
nop
nop
xor $52068, %rdi
lea addresses_UC_ht+0x1b456, %rax
nop
nop
and %rbp, %rbp
movw $0x6162, (%rax)
nop
inc %rsi
lea addresses_D_ht+0x9b56, %rsi
cmp $27883, %rdi
movl $0x61626364, (%rsi)
nop
sub $16156, %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rsi
// Store
lea addresses_RW+0x15b96, %r13
nop
nop
sub %r12, %r12
mov $0x5152535455565758, %rcx
movq %rcx, %xmm6
vmovups %ymm6, (%r13)
nop
nop
nop
nop
nop
dec %rcx
// Faulty Load
lea addresses_UC+0x1e456, %rsi
nop
nop
and %r12, %r12
vmovaps (%rsi), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %r13
lea oracles, %rcx
and $0xff, %r13
shlq $12, %r13
mov (%rcx,%r13,1), %r13
pop %rsi
pop %rcx
pop %r8
pop %r15
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 6, 'same': False, 'type': 'addresses_RW'}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 0, 'same': True, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 5, 'same': True, 'type': 'addresses_A_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 4, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 5, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 4, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 1, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 10, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 7, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'}
{'44': 19584, '46': 2245}
44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 46 46 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 46 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 46 46 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 46 44 46 44 44 46 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 46 44 44 46 44 44 44 44 44 44 46 44 44 46 44 44 44 44 46 46 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 46 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 46 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 46 46 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 46 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 46 44 44 44 44 44 44 46 44 46 44 44 44 44 46 44 46 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 46 44 44 44 44 44 46 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 46 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 46 44 44 44 44 44 44 46 44 44 44 44 44 44 44 46 44 44 44 44 44 46 44 44 46 44 44 44 44 44 46 44 44 46 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 46 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 46 44 44 44 44 46 44 44 44 44 44 46 44 44 44 44 46 44 44 44 44 44 44 46 44 44 44 44 44 44 46 44 44 44 46 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 46 46 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 46 44 44 44 44 46 44 44 44 44 44 46 44 46 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 46 44 44
*/
|
_DaisyInitialText::
text "Hi ",$52,"!"
line $53," is out at"
cont "Grandpa's lab."
done
_DaisyOfferMapText::
text "Grandpa asked you"
line "to run an errand?"
cont "Here, this will"
cont "help you!"
prompt
_GotMapText::
text $52," got a"
line "@"
TX_RAM wcf4b
text "!@@"
_DaisyBagFullText::
text "You have too much"
line "stuff with you."
done
_DaisyUseMapText::
text "Use the TOWN MAP"
line "to find out where"
cont "you are."
done
_BluesHouseText2::
text "#MON are living"
line "things! If they"
cont "get tired, give"
cont "them a rest!"
done
_BluesHouseText3::
text "It's a big map!"
line "This is useful!"
done
|
;
; Amstrad CPC Stdio
;
; putchar - puts a character
; (HL)=char to display
;
; Stefano Bodrato - 8/6/2001
;
;
; $Id: fputc_cons.asm,v 1.6 2016/05/15 20:15:45 dom Exp $
;
SECTION code_clib
PUBLIC fputc_cons_native
INCLUDE "cpcfirm.def"
.fputc_cons_native
ld hl,2
add hl,sp
ld a,(hl)
IF STANDARDESCAPECHARS
cp 10
ELSE
cp 13
ENDIF
jr nz,nocr
call firmware
defw txt_output
IF STANDARDESCAPECHARS
ld a,13
ELSE
ld a,10
ENDIF
.nocr call firmware
defw txt_output
ret
|
// Copyright (c) 2009-2012 Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <fstream>
#include "init.h" // for pwalletMain
#include "rpcserver.h"
#include "ui_interface.h"
#include "base58.h"
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/variant/get.hpp>
#include <boost/algorithm/string.hpp>
using namespace json_spirit;
using namespace std;
void EnsureWalletIsUnlocked();
namespace bt = boost::posix_time;
// Extended DecodeDumpTime implementation, see this page for details:
// http://stackoverflow.com/questions/3786201/parsing-of-date-time-from-string-boost
const std::locale formats[] = {
std::locale(std::locale::classic(),new bt::time_input_facet("%Y-%m-%dT%H:%M:%SZ")),
std::locale(std::locale::classic(),new bt::time_input_facet("%Y-%m-%d %H:%M:%S")),
std::locale(std::locale::classic(),new bt::time_input_facet("%Y/%m/%d %H:%M:%S")),
std::locale(std::locale::classic(),new bt::time_input_facet("%d.%m.%Y %H:%M:%S")),
std::locale(std::locale::classic(),new bt::time_input_facet("%Y-%m-%d"))
};
const size_t formats_n = sizeof(formats)/sizeof(formats[0]);
std::time_t pt_to_time_t(const bt::ptime& pt)
{
bt::ptime timet_start(boost::gregorian::date(1970,1,1));
bt::time_duration diff = pt - timet_start;
return diff.ticks()/bt::time_duration::rep_type::ticks_per_second;
}
int64_t DecodeDumpTime(const std::string& s)
{
bt::ptime pt;
for(size_t i=0; i<formats_n; ++i)
{
std::istringstream is(s);
is.imbue(formats[i]);
is >> pt;
if(pt != bt::ptime()) break;
}
return pt_to_time_t(pt);
}
std::string static EncodeDumpTime(int64_t nTime) {
return DateTimeStrFormat("%Y-%m-%dT%H:%M:%SZ", nTime);
}
std::string static EncodeDumpString(const std::string &str) {
std::stringstream ret;
BOOST_FOREACH(unsigned char c, str) {
if (c <= 32 || c >= 128 || c == '%') {
ret << '%' << HexStr(&c, &c + 1);
} else {
ret << c;
}
}
return ret.str();
}
std::string DecodeDumpString(const std::string &str) {
std::stringstream ret;
for (unsigned int pos = 0; pos < str.length(); pos++) {
unsigned char c = str[pos];
if (c == '%' && pos+2 < str.length()) {
c = (((str[pos+1]>>6)*9+((str[pos+1]-'0')&15)) << 4) |
((str[pos+2]>>6)*9+((str[pos+2]-'0')&15));
pos += 2;
}
ret << c;
}
return ret.str();
}
class CTxDump
{
public:
CBlockIndex *pindex;
int64_t nValue;
bool fSpent;
CWalletTx* ptx;
int nOut;
CTxDump(CWalletTx* ptx = NULL, int nOut = -1)
{
pindex = NULL;
nValue = 0;
fSpent = false;
this->ptx = ptx;
this->nOut = nOut;
}
};
Value importprivkey(const Array& params, bool fHelp)
{
if (fHelp || params.size() < 1 || params.size() > 3)
throw runtime_error(
"importprivkey <visioprivkey> [label] [rescan=true]\n"
"Adds a private key (as returned by dumpprivkey) to your wallet.");
string strSecret = params[0].get_str();
string strLabel = "";
if (params.size() > 1)
strLabel = params[1].get_str();
// Whether to perform rescan after import
bool fRescan = true;
if (params.size() > 2)
fRescan = params[2].get_bool();
CBitcoinSecret vchSecret;
bool fGood = vchSecret.SetString(strSecret);
if (!fGood) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid private key");
if (fWalletUnlockStakingOnly)
throw JSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Wallet is unlocked for staking only.");
CKey key = vchSecret.GetKey();
CPubKey pubkey = key.GetPubKey();
CKeyID vchAddress = pubkey.GetID();
{
LOCK2(cs_main, pwalletMain->cs_wallet);
pwalletMain->MarkDirty();
pwalletMain->SetAddressBookName(vchAddress, strLabel);
// Don't throw error in case a key is already there
if (pwalletMain->HaveKey(vchAddress))
return Value::null;
pwalletMain->mapKeyMetadata[vchAddress].nCreateTime = 1;
if (!pwalletMain->AddKeyPubKey(key, pubkey))
throw JSONRPCError(RPC_WALLET_ERROR, "Error adding key to wallet");
// whenever a key is imported, we need to scan the whole chain
pwalletMain->nTimeFirstKey = 1; // 0 would be considered 'no value'
if (fRescan) {
pwalletMain->ScanForWalletTransactions(pindexGenesisBlock, true);
pwalletMain->ReacceptWalletTransactions();
}
}
return Value::null;
}
Value importwallet(const Array& params, bool fHelp)
{
if (fHelp || params.size() != 1)
throw runtime_error(
"importwallet <filename>\n"
"Imports keys from a wallet dump file (see dumpwallet).");
EnsureWalletIsUnlocked();
ifstream file;
file.open(params[0].get_str().c_str());
if (!file.is_open())
throw JSONRPCError(RPC_INVALID_PARAMETER, "Cannot open wallet dump file");
int64_t nTimeBegin = pindexBest->nTime;
bool fGood = true;
while (file.good()) {
std::string line;
std::getline(file, line);
if (line.empty() || line[0] == '#')
continue;
std::vector<std::string> vstr;
boost::split(vstr, line, boost::is_any_of(" "));
if (vstr.size() < 2)
continue;
CBitcoinSecret vchSecret;
if (!vchSecret.SetString(vstr[0]))
continue;
CKey key = vchSecret.GetKey();
CPubKey pubkey = key.GetPubKey();
CKeyID keyid = pubkey.GetID();
if (pwalletMain->HaveKey(keyid)) {
LogPrintf("Skipping import of %s (key already present)\n", CBitcoinAddress(keyid).ToString());
continue;
}
int64_t nTime = DecodeDumpTime(vstr[1]);
std::string strLabel;
bool fLabel = true;
for (unsigned int nStr = 2; nStr < vstr.size(); nStr++) {
if (boost::algorithm::starts_with(vstr[nStr], "#"))
break;
if (vstr[nStr] == "change=1")
fLabel = false;
if (vstr[nStr] == "reserve=1")
fLabel = false;
if (boost::algorithm::starts_with(vstr[nStr], "label=")) {
strLabel = DecodeDumpString(vstr[nStr].substr(6));
fLabel = true;
}
}
LogPrintf("Importing %s...\n", CBitcoinAddress(keyid).ToString());
if (!pwalletMain->AddKey(key)) {
fGood = false;
continue;
}
pwalletMain->mapKeyMetadata[keyid].nCreateTime = nTime;
if (fLabel)
pwalletMain->SetAddressBookName(keyid, strLabel);
nTimeBegin = std::min(nTimeBegin, nTime);
}
file.close();
CBlockIndex *pindex = pindexBest;
while (pindex && pindex->pprev && pindex->nTime > nTimeBegin - 7200)
pindex = pindex->pprev;
if (!pwalletMain->nTimeFirstKey || nTimeBegin < pwalletMain->nTimeFirstKey)
pwalletMain->nTimeFirstKey = nTimeBegin;
LogPrintf("Rescanning last %i blocks\n", pindexBest->nHeight - pindex->nHeight + 1);
pwalletMain->ScanForWalletTransactions(pindex);
pwalletMain->ReacceptWalletTransactions();
pwalletMain->MarkDirty();
if (!fGood)
throw JSONRPCError(RPC_WALLET_ERROR, "Error adding some keys to wallet");
return Value::null;
}
Value dumpprivkey(const Array& params, bool fHelp)
{
if (fHelp || params.size() != 1)
throw runtime_error(
"dumpprivkey <visioaddress>\n"
"Reveals the private key corresponding to <visioaddress>.");
EnsureWalletIsUnlocked();
string strAddress = params[0].get_str();
CBitcoinAddress address;
if (!address.SetString(strAddress))
throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Visio address");
if (fWalletUnlockStakingOnly)
throw JSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Wallet is unlocked for staking only.");
CKeyID keyID;
if (!address.GetKeyID(keyID))
throw JSONRPCError(RPC_TYPE_ERROR, "Address does not refer to a key");
CKey vchSecret;
if (!pwalletMain->GetKey(keyID, vchSecret))
throw JSONRPCError(RPC_WALLET_ERROR, "Private key for address " + strAddress + " is not known");
return CBitcoinSecret(vchSecret).ToString();
}
Value dumpwallet(const Array& params, bool fHelp)
{
if (fHelp || params.size() != 1)
throw runtime_error(
"dumpwallet <filename>\n"
"Dumps all wallet keys in a human-readable format.");
EnsureWalletIsUnlocked();
ofstream file;
file.open(params[0].get_str().c_str());
if (!file.is_open())
throw JSONRPCError(RPC_INVALID_PARAMETER, "Cannot open wallet dump file");
std::map<CKeyID, int64_t> mapKeyBirth;
std::set<CKeyID> setKeyPool;
pwalletMain->GetKeyBirthTimes(mapKeyBirth);
pwalletMain->GetAllReserveKeys(setKeyPool);
// sort time/key pairs
std::vector<std::pair<int64_t, CKeyID> > vKeyBirth;
for (std::map<CKeyID, int64_t>::const_iterator it = mapKeyBirth.begin(); it != mapKeyBirth.end(); it++) {
vKeyBirth.push_back(std::make_pair(it->second, it->first));
}
mapKeyBirth.clear();
std::sort(vKeyBirth.begin(), vKeyBirth.end());
// produce output
file << strprintf("# Wallet dump created by Visio %s (%s)\n", CLIENT_BUILD, CLIENT_DATE);
file << strprintf("# * Created on %s\n", EncodeDumpTime(GetTime()));
file << strprintf("# * Best block at time of backup was %i (%s),\n", nBestHeight, hashBestChain.ToString());
file << strprintf("# mined on %s\n", EncodeDumpTime(pindexBest->nTime));
file << "\n";
for (std::vector<std::pair<int64_t, CKeyID> >::const_iterator it = vKeyBirth.begin(); it != vKeyBirth.end(); it++) {
const CKeyID &keyid = it->second;
std::string strTime = EncodeDumpTime(it->first);
std::string strAddr = CBitcoinAddress(keyid).ToString();
CKey key;
if (pwalletMain->GetKey(keyid, key)) {
if (pwalletMain->mapAddressBook.count(keyid)) {
file << strprintf("%s %s label=%s # addr=%s\n", CBitcoinSecret(key).ToString(), strTime, EncodeDumpString(pwalletMain->mapAddressBook[keyid]), strAddr);
} else if (setKeyPool.count(keyid)) {
file << strprintf("%s %s reserve=1 # addr=%s\n", CBitcoinSecret(key).ToString(), strTime, strAddr);
} else {
file << strprintf("%s %s change=1 # addr=%s\n", CBitcoinSecret(key).ToString(), strTime, strAddr);
}
}
}
file << "\n";
file << "# End of dump\n";
file.close();
return Value::null;
}
|
; A182435: a(n) = 6*a(n-1) - a(n-2) - 2 with n>1, a(0)=0, a(1)=1.
; 0,1,4,21,120,697,4060,23661,137904,803761,4684660,27304197,159140520,927538921,5406093004,31509019101,183648021600,1070379110497,6238626641380,36361380737781,211929657785304,1235216565974041,7199369738058940,41961001862379597,244566641436218640,1425438846754932241,8308066439093374804,48422959787805316581,282229692287738524680,1644955193938625831497,9587501471344016464300,55880053634125472954301,325692820333408821261504,1898276868366327454614721,11063968389864555906426820
mov $1,-1
mov $2,2
lpb $0
sub $0,1
add $2,$1
add $1,$2
add $1,$2
add $2,$1
lpe
add $1,1
div $1,2
mov $0,$1
|
;***************************************************************
;
; Program: Hello_Cumsoft_nasm
; Date: 02/08/2022
; Author: Cumsoft
; Goal: A simple hello world program in x86 assembly
;
;
;
;
;
;***************************************************************
section .text
global _start
_start:
; write our string to stdout.
mov edx,len ; third argument: message length.
mov ecx,msg ; second argument: pointer to message to write.
mov ebx,1 ; first argument: file handle (stdout).
mov eax,4 ; system call number (sys_write).
int 0x80 ; call kernel.
; and exit.
mov ebx,0 ; first syscall argument: exit code.
mov eax,1 ; system call number (sys_exit).
int 0x80 ; call kernel.
section .data
msg db "Hello Cumsoft",0xa ; the string to print.
len equ $ - msg ; length of the string.
|
; void sms_vdp_set_write_address(unsigned int addr)
SECTION code_clib
SECTION code_arch
PUBLIC _sms_vdp_set_write_address_fastcall
EXTERN asm_sms_vdp_set_write_address
defc _sms_vdp_set_write_address_fastcall = asm_sms_vdp_set_write_address
|
; VBXE init
.proc @vbxe_init
fxs FX_MEMC #%1000+>MAIN.SYSTEM.VBXE_WINDOW ; $b000..$bfff (4K window), cpu on, antic off
fxs FX_MEMS #$80+MAIN.SYSTEM.VBXE_XDLADR/$1000 ; enable VBXE BANK #0
ldx #.sizeof(s@xdl)-1
mva:rpl xdlist,x MAIN.SYSTEM.VBXE_XDLADR+MAIN.SYSTEM.VBXE_WINDOW,x-
jsr cmapini ; init color map
fxsa FX_P1 ; A = 0
fxsa FX_P2
fxsa FX_P3
fxsa FX_IRQ_CONTROL
fxsa FX_BLITTER_START
fxsa FX_XDL_ADR0 ; XDLIST PROGRAM ADDRES (VBXE_XDLADR = $0000) = bank #0
fxsa FX_XDL_ADR1
fxsa FX_XDL_ADR2
sta colpf0s
fxs FX_P0 #$ff
mva #{jsr*} @putchar.vbxe ; jsr @vbxe_put
mwa #@vbxe_put @putchar.vbxe+1 ;
mva #$00 @putchar.chn ; #0
fxs FX_VIDEO_CONTROL #VC_XDL_ENABLED|VC_XCOLOR ;|VC_NO_TRANS
rts
cmapini lda colpf1s
and #$0f
sta colpf1s
lda #$80+MAIN.SYSTEM.VBXE_MAPADR/$1000
sta ztmp
mva #4 ztmp+1
loop fxs FX_MEMS ztmp
lda >MAIN.SYSTEM.VBXE_WINDOW
sta bp+1
ldx #16
ldy #0
lop mva #$00 (bp),y+
mva colpf1s (bp),y+
mva colpf2s (bp),y+
mva #%00010000 (bp),y+ ; overlay palette #1
bne lop
inc bp+1
dex
bne lop
inc ztmp
dec ztmp+1
bne loop
fxs FX_MEMS #$00 ; disable VBXE BANK
rts
xdlist dta s@xdl [0] (XDLC_RPTL, 24-1,\
XDLC_END|XDLC_RPTL|XDLC_MAPON|XDLC_MAPADR|XDLC_OVADR|XDLC_CHBASE|XDLC_MAPPAR|XDLC_OVATT,\ ;|XDLC_GMON,\
192-1, MAIN.SYSTEM.VBXE_OVRADR,\
320,\ ; OVSTEP
MAIN.SYSTEM.VBXE_CHBASE/$800,\ ; CHBASE
MAIN.SYSTEM.VBXE_MAPADR, $100,\
0, 0, 7, 7,\ ; XDLC_MAPPAR: hscroll, vscroll, width, height
%00010001,\ ; bit 7..6 PF Pal = 0 ; bit 5..4 OV Pal = 1 ; bit 0..1 NORMAL = 320px
$ff)
.endp
|
/*
*
* Copyright (c) 2021 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <app-common/zap-generated/ids/Attributes.h>
#include <app/AttributePathExpandIterator.h>
#include <app/ClusterInfo.h>
#include <app/ConcreteAttributePath.h>
#include <app/EventManagement.h>
#include <app/util/mock/Constants.h>
#include <lib/core/CHIPCore.h>
#include <lib/core/CHIPTLVDebug.hpp>
#include <lib/support/CodeUtils.h>
#include <lib/support/DLLUtil.h>
#include <lib/support/UnitTestRegistration.h>
#include <lib/support/logging/CHIPLogging.h>
#include <nlunit-test.h>
using namespace chip;
using namespace chip::Test;
using namespace chip::app;
namespace {
using P = app::ConcreteAttributePath;
void TestAllWildcard(nlTestSuite * apSuite, void * apContext)
{
app::ClusterInfo clusInfo;
app::ConcreteAttributePath path;
P paths[] = {
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint1, MockClusterId(2), MockAttributeId(1) },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint2, MockClusterId(2), MockAttributeId(1) },
{ kMockEndpoint2, MockClusterId(2), MockAttributeId(2) },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(1) },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(2) },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint3, MockClusterId(1), MockAttributeId(1) },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(1) },
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(2) },
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(3) },
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(4) },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AttributeList::Id },
};
size_t index = 0;
for (app::AttributePathExpandIterator iter(&clusInfo); iter.Get(path); iter.Next())
{
ChipLogDetail(AppServer, "Visited Attribute: 0x%04" PRIX16 " / " ChipLogFormatMEI " / " ChipLogFormatMEI, path.mEndpointId,
ChipLogValueMEI(path.mClusterId), ChipLogValueMEI(path.mAttributeId));
NL_TEST_ASSERT(apSuite, index < ArraySize(paths) && paths[index] == path);
index++;
}
NL_TEST_ASSERT(apSuite, index == ArraySize(paths));
}
void TestWildcardEndpoint(nlTestSuite * apSuite, void * apContext)
{
app::ClusterInfo clusInfo;
clusInfo.mClusterId = Test::MockClusterId(3);
clusInfo.mAttributeId = Test::MockAttributeId(3);
app::ConcreteAttributePath path;
P paths[] = {
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
};
size_t index = 0;
for (app::AttributePathExpandIterator iter(&clusInfo); iter.Get(path); iter.Next())
{
ChipLogDetail(AppServer, "Visited Attribute: 0x%04" PRIX16 " / " ChipLogFormatMEI " / " ChipLogFormatMEI, path.mEndpointId,
ChipLogValueMEI(path.mClusterId), ChipLogValueMEI(path.mAttributeId));
NL_TEST_ASSERT(apSuite, index < ArraySize(paths) && paths[index] == path);
index++;
}
NL_TEST_ASSERT(apSuite, index == ArraySize(paths));
}
void TestWildcardCluster(nlTestSuite * apSuite, void * apContext)
{
app::ClusterInfo clusInfo;
clusInfo.mEndpointId = Test::kMockEndpoint3;
clusInfo.mAttributeId = app::Clusters::Globals::Attributes::ClusterRevision::Id;
app::ConcreteAttributePath path;
P paths[] = {
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::ClusterRevision::Id },
};
size_t index = 0;
for (app::AttributePathExpandIterator iter(&clusInfo); iter.Get(path); iter.Next())
{
ChipLogDetail(AppServer, "Visited Attribute: 0x%04" PRIX16 " / " ChipLogFormatMEI " / " ChipLogFormatMEI, path.mEndpointId,
ChipLogValueMEI(path.mClusterId), ChipLogValueMEI(path.mAttributeId));
NL_TEST_ASSERT(apSuite, index < ArraySize(paths) && paths[index] == path);
index++;
}
NL_TEST_ASSERT(apSuite, index == ArraySize(paths));
}
void TestWildcardClusterGlobalAttributeNotInMetadata(nlTestSuite * apSuite, void * apContext)
{
app::ClusterInfo clusInfo;
clusInfo.mEndpointId = Test::kMockEndpoint3;
clusInfo.mAttributeId = app::Clusters::Globals::Attributes::AttributeList::Id;
app::ConcreteAttributePath path;
P paths[] = {
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AttributeList::Id },
};
size_t index = 0;
for (app::AttributePathExpandIterator iter(&clusInfo); iter.Get(path); iter.Next())
{
ChipLogDetail(AppServer, "Visited Attribute: 0x%04" PRIX16 " / " ChipLogFormatMEI " / " ChipLogFormatMEI, path.mEndpointId,
ChipLogValueMEI(path.mClusterId), ChipLogValueMEI(path.mAttributeId));
NL_TEST_ASSERT(apSuite, index < ArraySize(paths) && paths[index] == path);
index++;
}
NL_TEST_ASSERT(apSuite, index == ArraySize(paths));
}
void TestWildcardAttribute(nlTestSuite * apSuite, void * apContext)
{
app::ClusterInfo clusInfo;
clusInfo.mEndpointId = Test::kMockEndpoint2;
clusInfo.mClusterId = Test::MockClusterId(3);
app::ConcreteAttributePath path;
P paths[] = {
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(1) },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(2) },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
};
size_t index = 0;
for (app::AttributePathExpandIterator iter(&clusInfo); iter.Get(path); iter.Next())
{
ChipLogDetail(AppServer, "Visited Attribute: 0x%04" PRIX16 " / " ChipLogFormatMEI " / " ChipLogFormatMEI, path.mEndpointId,
ChipLogValueMEI(path.mClusterId), ChipLogValueMEI(path.mAttributeId));
NL_TEST_ASSERT(apSuite, index < ArraySize(paths) && paths[index] == path);
index++;
}
NL_TEST_ASSERT(apSuite, index == ArraySize(paths));
}
void TestNoWildcard(nlTestSuite * apSuite, void * apContext)
{
app::ClusterInfo clusInfo;
clusInfo.mEndpointId = Test::kMockEndpoint2;
clusInfo.mClusterId = Test::MockClusterId(3);
clusInfo.mAttributeId = Test::MockAttributeId(3);
app::ConcreteAttributePath path;
P paths[] = {
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
};
size_t index = 0;
for (app::AttributePathExpandIterator iter(&clusInfo); iter.Get(path); iter.Next())
{
ChipLogDetail(AppServer, "Visited Attribute: 0x%04" PRIX16 " / " ChipLogFormatMEI " / " ChipLogFormatMEI, path.mEndpointId,
ChipLogValueMEI(path.mClusterId), ChipLogValueMEI(path.mAttributeId));
NL_TEST_ASSERT(apSuite, index < ArraySize(paths) && paths[index] == path);
index++;
}
NL_TEST_ASSERT(apSuite, index == ArraySize(paths));
}
void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext)
{
app::ClusterInfo clusInfo1;
app::ClusterInfo clusInfo2;
clusInfo2.mClusterId = Test::MockClusterId(3);
clusInfo2.mAttributeId = Test::MockAttributeId(3);
app::ClusterInfo clusInfo3;
clusInfo3.mEndpointId = Test::kMockEndpoint3;
clusInfo3.mAttributeId = app::Clusters::Globals::Attributes::ClusterRevision::Id;
app::ClusterInfo clusInfo4;
clusInfo4.mEndpointId = Test::kMockEndpoint2;
clusInfo4.mClusterId = Test::MockClusterId(3);
app::ClusterInfo clusInfo5;
clusInfo5.mEndpointId = Test::kMockEndpoint2;
clusInfo5.mClusterId = Test::MockClusterId(3);
clusInfo5.mAttributeId = Test::MockAttributeId(3);
clusInfo1.mpNext = &clusInfo2;
clusInfo2.mpNext = &clusInfo3;
clusInfo3.mpNext = &clusInfo4;
clusInfo4.mpNext = &clusInfo5;
app::ConcreteAttributePath path;
P paths[] = {
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint1, MockClusterId(2), MockAttributeId(1) },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint2, MockClusterId(2), MockAttributeId(1) },
{ kMockEndpoint2, MockClusterId(2), MockAttributeId(2) },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(1) },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(2) },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint3, MockClusterId(1), MockAttributeId(1) },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(1) },
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(2) },
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(3) },
{ kMockEndpoint3, MockClusterId(2), MockAttributeId(4) },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
{ kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(1) },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(2) },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id },
{ kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id },
{ kMockEndpoint2, MockClusterId(3), MockAttributeId(3) },
};
size_t index = 0;
for (app::AttributePathExpandIterator iter(&clusInfo1); iter.Get(path); iter.Next())
{
ChipLogDetail(AppServer, "Visited Attribute: 0x%04" PRIX16 " / " ChipLogFormatMEI " / " ChipLogFormatMEI, path.mEndpointId,
ChipLogValueMEI(path.mClusterId), ChipLogValueMEI(path.mAttributeId));
NL_TEST_ASSERT(apSuite, index < ArraySize(paths) && paths[index] == path);
index++;
}
NL_TEST_ASSERT(apSuite, index == ArraySize(paths));
}
static int TestSetup(void * inContext)
{
return SUCCESS;
}
/**
* Tear down the test suite.
*/
static int TestTeardown(void * inContext)
{
return SUCCESS;
}
/**
* Test Suite. It lists all the test functions.
*/
// clang-format off
const nlTest sTests[] =
{
NL_TEST_DEF("TestAllWildcard", TestAllWildcard),
NL_TEST_DEF("TestWildcardEndpoint", TestWildcardEndpoint),
NL_TEST_DEF("TestWildcardCluster", TestWildcardCluster),
NL_TEST_DEF("TestWildcardClusterGlobalAttributeNotInMetadata",
TestWildcardClusterGlobalAttributeNotInMetadata),
NL_TEST_DEF("TestWildcardAttribute", TestWildcardAttribute),
NL_TEST_DEF("TestNoWildcard", TestNoWildcard),
NL_TEST_DEF("TestMultipleClusInfo", TestMultipleClusInfo),
NL_TEST_SENTINEL()
};
// clang-format on
// clang-format off
nlTestSuite sSuite =
{
"TestAttributePathExpandIterator",
&sTests[0],
TestSetup,
TestTeardown,
};
// clang-format on
} // namespace
int TestAttributePathExpandIterator()
{
nlTestRunner(&sSuite, nullptr);
return (nlTestRunnerStats(&sSuite));
}
CHIP_REGISTER_TEST_SUITE(TestAttributePathExpandIterator)
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rbx
push %rdx
lea addresses_UC_ht+0x17980, %rdx
nop
nop
nop
sub $49817, %r8
movw $0x6162, (%rdx)
nop
nop
nop
nop
nop
cmp %r10, %r10
pop %rdx
pop %rbx
pop %r8
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r15
push %r9
push %rax
push %rcx
push %rdi
// Load
lea addresses_US+0x17624, %rax
and %rdi, %rdi
movb (%rax), %r9b
cmp $16829, %r15
// Faulty Load
lea addresses_WT+0x7b00, %r15
nop
nop
nop
nop
inc %r10
mov (%r15), %r9
lea oracles, %rdi
and $0xff, %r9
shlq $12, %r9
mov (%rdi,%r9,1), %r9
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r15
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'00': 4545}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
# PACKAGE fibinaci
.data # Data section starts here, strings first
_L0: .asciiz "in fib"
_L1: .asciiz "hello"
_NL: .asciiz "\n" # NEWLINE STRING
.align 2 # start all global variable aligned
y: .word 7 # global var initialized
Z: .space 4 # global var uninitialized
A: .space 400 # global var uninitialized
x: .word 1 # global var initialized
.text # start of text segment (code)
.globl main # Force MIPS to start at main label
fib: # MAIN METHOD LABEL
subu $t0 $sp 44 #set up $t0 to be the new spot for SP
sw $ra ($t0) #Store the return address in offset 0
sw $sp 4($t0) #Store the old stack pointer in offset 4
move $sp $t0 #set the stack pointer to the new value
la $a0, _L0 #expr constant is a string
li $v0 4 #set up write call
syscall #print a string
li $v0, 4 #print NEWLINE
la $a0, _NL #print NEWLINE string location
syscall #call print a NEWLINE
li $a0, 8 #offset for variable address
add $a0, $a0, $sp #exact location for stack variable
lw $a0 ($a0) #load from the memory address a value
sw $a0, 16($sp) #store $a0 (LHS) temporarily so we can eval RHS
li $a0, 0 #expr constant value
move $a1, $a0 #move RHS to $a1
lw $a0, 16($sp) #get LHS from storage
sle $a0, $a0, $a1 #less than or eq to
beq $a0 $0 _L2 #Branch to first label if expression is 0
j _L3 #And the cow jumped over the else 🐄
_L2: #First Label for entering else
_L3: #Second Label for jumping over the else
li $a0, 8 #offset for variable address
add $a0, $a0, $sp #exact location for stack variable
lw $a0 ($a0) #load from the memory address a value
sw $a0, 20($sp) #store $a0 (LHS) temporarily so we can eval RHS
li $a0, 1 #expr constant value
move $a1, $a0 #move RHS to $a1
lw $a0, 20($sp) #get LHS from storage
seq $a0, $a0, $a1 #equal to
beq $a0 $0 _L4 #Branch to first label if expression is 0
j _L5 #And the cow jumped over the else 🐄
_L4: #First Label for entering else
_L5: #Second Label for jumping over the else
li $v0 0 #return NULL zero (0)
lw $ra ($sp) #reset return address
lw $ra 4($sp) #reset stack pointer
main: # MAIN METHOD LABEL
subu $t0 $sp 32 #set up $t0 to be the new spot for SP
sw $ra ($t0) #Store the return address in offset 0
sw $sp 4($t0) #Store the old stack pointer in offset 4
move $sp $t0 #set the stack pointer to the new value
li $a0, 4 #expr constant value
sw $a0, 12($sp) #Store the argument value in the stack
li $a0, 4 #expr constant value
lw $a0, 12($sp) #load the argument from the stack to a0, a1, a2, a3 respectively and as necessary
sw $a0 16($sp) #store RHS of assign temporarily
li $a0, 8 #offset for variable address
add $a0, $a0, $sp #exact location for stack variable
lw $a1, 16($sp) #load back RHS into $a1
sw $a1, ($a0) #Store assign value
#EMIT PRINT INT HERE
li $a0, 5 #expr constant value
li $v0 1 #set up write call
syscall #print a number
li $v0, 4 #print NEWLINE
la $a0, _NL #print NEWLINE string location
syscall #call print a NEWLINE
la $a0, _L1 #expr constant is a string
li $v0 4 #set up write call
syscall #print a string
li $v0, 4 #print NEWLINE
la $a0, _NL #print NEWLINE string location
syscall #call print a NEWLINE
#EMIT PRINT INT HERE
li $a0, 28 #offset for variable address
add $a0, $a0, $sp #exact location for stack variable
lw $a0 ($a0) #load from the memory address a value
li $v0 1 #set up write call
syscall #print a number
li $v0, 4 #print NEWLINE
la $a0, _NL #print NEWLINE string location
syscall #call print a NEWLINE
li $v0 0 #return NULL zero (0)
lw $ra ($sp) #reset return address
lw $ra 4($sp) #reset stack pointer
li $v0, 10 #Main function ends
syscall #MAIN FUNCTION EXIT
|
/**
* Google's Firebase Data class, FB_Session.cpp version 1.2.8
*
* This library supports Espressif ESP8266 and ESP32
*
* Created December 20, 2021
*
* This work is a part of Firebase ESP Client library
* Copyright (c) 2021 K. Suwatchai (Mobizt)
*
* The MIT License (MIT)
* Copyright (c) 2021 K. Suwatchai (Mobizt)
*
*
* Permission is hereby granted, free of charge, to any person returning a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#ifndef FIREBASE_SESSION_CPP
#define FIREBASE_SESSION_CPP
#include "FB_Session.h"
FirebaseData::FirebaseData()
{
}
FirebaseData::~FirebaseData()
{
if (ut)
delete ut;
clear();
if (_ss.arrPtr)
delete _ss.arrPtr;
if (_ss.jsonPtr)
delete _ss.jsonPtr;
}
bool FirebaseData::init()
{
if (!Signer.getCfg())
return false;
if (!ut)
ut = new UtilsClass(Signer.getCfg());
return true;
}
#ifdef ENABLE_RTDB
void FirebaseData::mSetResBool(bool value)
{
if (value)
{
iVal = {1};
fVal.setd(1);
}
else
{
iVal = {0};
fVal.setd(0);
}
}
void FirebaseData::mSetResInt(const char *value)
{
if (strlen(value) > 0)
{
char *pEnd;
value[0] == '-' ? iVal.int64 = strtoll(value, &pEnd, 10) : iVal.uint64 = strtoull(value, &pEnd, 10);
}
else
iVal = {0};
}
void FirebaseData::mSetResFloat(const char *value)
{
if (strlen(value) > 0)
{
char *pEnd;
fVal.setd(strtod(value, &pEnd));
}
else
fVal.setd(0);
}
void FirebaseData::clearQueueItem(QueueItem *item)
{
item->path.clear();
item->filename.clear();
item->payload.clear();
item->address.din = 0;
item->address.dout = 0;
item->blobSize = 0;
item->address.priority = 0;
item->address.query = 0;
}
void FirebaseData::ethDNSWorkAround(SPI_ETH_Module *spi_ethernet_module, const char *host, int port)
{
#if defined(ESP8266) && defined(ESP8266_CORE_SDK_V3_X_X)
if (!spi_ethernet_module)
goto ex;
#if defined(INC_ENC28J60_LWIP)
if (spi_ethernet_module->enc28j60)
goto ex;
#endif
#if defined(INC_W5100_LWIP)
if (spi_ethernet_module->w5100)
goto ex;
#endif
#if defined(INC_W5100_LWIP)
if (spi_ethernet_module->w5500)
goto ex;
#endif
return;
ex:
WiFiClient client;
client.connect(host, port);
client.stop();
#endif
}
bool FirebaseData::ethLinkUp(SPI_ETH_Module *spi_ethernet_module)
{
bool ret = false;
#if defined(ESP32)
if (strcmp(ETH.localIP().toString().c_str(), "0.0.0.0") != 0)
{
ret = true;
ETH.linkUp(); //returns false in core v2.0.x?
}
#elif defined(ESP8266) && defined(ESP8266_CORE_SDK_V3_X_X)
if (!spi_ethernet_module)
return ret;
#if defined(INC_ENC28J60_LWIP)
if (spi_ethernet_module->enc28j60)
return spi_ethernet_module->enc28j60->status() == WL_CONNECTED;
#endif
#if defined(INC_W5100_LWIP)
if (spi_ethernet_module->w5100)
return spi_ethernet_module->w5100->status() == WL_CONNECTED;
#endif
#if defined(INC_W5100_LWIP)
if (spi_ethernet_module->w5500)
return spi_ethernet_module->w5500->status() == WL_CONNECTED;
#endif
#endif
return ret;
}
bool FirebaseData::pauseFirebase(bool pause)
{
bool status = WiFi.status() == WL_CONNECTED;
if (init())
{
if (_spi_ethernet_module)
status |= ethLinkUp(_spi_ethernet_module);
else
status |= ethLinkUp(&(Signer.getCfg()->spi_ethernet_module));
}
else
status |= ethLinkUp(_spi_ethernet_module);
if (!status || !tcpClient.stream())
{
_ss.connected = false;
_ss.rtdb.pause = true;
return false;
}
if (pause == _ss.rtdb.pause)
return true;
_ss.rtdb.pause = pause;
if (pause)
{
if (tcpClient.stream()->connected())
tcpClient.stream()->stop();
_ss.connected = false;
}
return true;
}
bool FirebaseData::isPause()
{
return _ss.rtdb.pause;
}
String FirebaseData::dataType()
{
return getDataType(_ss.rtdb.resp_data_type).c_str();
}
String FirebaseData::eventType()
{
return _ss.rtdb.event_type.c_str();
}
String FirebaseData::ETag()
{
return _ss.rtdb.resp_etag.c_str();
}
MBSTRING FirebaseData::getDataType(uint8_t type)
{
if (!init())
return "";
MBSTRING res;
switch (type)
{
case fb_esp_data_type::d_json:
ut->appendP(res, fb_esp_pgm_str_74);
break;
case fb_esp_data_type::d_array:
ut->appendP(res, fb_esp_pgm_str_165);
break;
case fb_esp_data_type::d_string:
case fb_esp_data_type::d_std_string:
case fb_esp_data_type::d_mb_string:
ut->appendP(res, fb_esp_pgm_str_75);
break;
case fb_esp_data_type::d_float:
ut->appendP(res, fb_esp_pgm_str_76);
break;
case fb_esp_data_type::d_double:
ut->appendP(res, fb_esp_pgm_str_108);
break;
case fb_esp_data_type::d_boolean:
ut->appendP(res, fb_esp_pgm_str_105);
break;
case fb_esp_data_type::d_integer:
ut->appendP(res, fb_esp_pgm_str_77);
break;
case fb_esp_data_type::d_blob:
ut->appendP(res, fb_esp_pgm_str_91);
break;
case fb_esp_data_type::d_file:
ut->appendP(res, fb_esp_pgm_str_183);
break;
case fb_esp_data_type::d_null:
ut->appendP(res, fb_esp_pgm_str_78);
break;
default:
break;
}
return res;
}
MBSTRING FirebaseData::getMethod(uint8_t method)
{
if (!init())
return "";
MBSTRING res;
switch (method)
{
case fb_esp_method::m_get:
ut->appendP(res, fb_esp_pgm_str_115);
break;
case fb_esp_method::m_put:
case fb_esp_method::m_put_nocontent:
ut->appendP(res, fb_esp_pgm_str_116);
break;
case fb_esp_method::m_post:
ut->appendP(res, fb_esp_pgm_str_117);
break;
case fb_esp_method::m_patch:
case fb_esp_method::m_patch_nocontent:
ut->appendP(res, fb_esp_pgm_str_118);
break;
case fb_esp_method::m_delete:
ut->appendP(res, fb_esp_pgm_str_119);
break;
default:
break;
}
return res;
}
String FirebaseData::streamPath()
{
return _ss.rtdb.stream_path.c_str();
}
String FirebaseData::dataPath()
{
return _ss.rtdb.path.c_str();
}
int FirebaseData::intData()
{
if (!init())
return 0;
if (_ss.rtdb.req_data_type == fb_esp_data_type::d_timestamp)
return to<uint64_t>() / 1000;
else
return to<int>();
}
float FirebaseData::floatData()
{
if (!init())
return 0;
return to<float>();
}
double FirebaseData::doubleData()
{
if (!init())
return 0;
return to<double>();
}
bool FirebaseData::boolData()
{
if (!init())
return false;
return to<bool>();
}
String FirebaseData::stringData()
{
if (!init())
return String();
return _ss.rtdb.raw.c_str();
}
String FirebaseData::jsonString()
{
if (_ss.rtdb.resp_data_type == fb_esp_data_type::d_json)
return _ss.rtdb.raw.c_str();
else
return String();
}
FirebaseJson *FirebaseData::jsonObjectPtr()
{
return to<FirebaseJson *>();
}
FirebaseJson &FirebaseData::jsonObject()
{
return to<FirebaseJson>();
}
FirebaseJsonArray *FirebaseData::jsonArrayPtr()
{
return to<FirebaseJsonArray *>();
}
FirebaseJsonArray &FirebaseData::jsonArray()
{
return to<FirebaseJsonArray>();
}
std::vector<uint8_t> *FirebaseData::blobData()
{
return to<std::vector<uint8_t> *>();
}
fs::File FirebaseData::fileStream()
{
return to<File>();
}
String FirebaseData::pushName()
{
return _ss.rtdb.push_name.c_str();
}
bool FirebaseData::isStream()
{
return _ss.con_mode == fb_esp_con_mode_rtdb_stream;
}
bool FirebaseData::streamTimeout()
{
if (_ss.rtdb.stream_stop)
return false;
if (Signer.getCfg()->timeout.rtdbStreamError < MIN_RTDB_STREAM_ERROR_NOTIFIED_INTERVAL || Signer.getCfg()->timeout.rtdbStreamError > MAX_RTDB_STREAM_ERROR_NOTIFIED_INTERVAL)
Signer.getCfg()->timeout.rtdbStreamError = MIN_RTDB_STREAM_ERROR_NOTIFIED_INTERVAL;
if (millis() - Signer.getCfg()->timeout.rtdbStreamError > _ss.rtdb.stream_tmo_Millis || _ss.rtdb.stream_tmo_Millis == 0)
{
_ss.rtdb.stream_tmo_Millis = millis();
if (_ss.rtdb.data_tmo)
closeSession();
return _ss.rtdb.data_tmo;
}
return false;
}
bool FirebaseData::dataAvailable()
{
return _ss.rtdb.data_available;
}
uint8_t FirebaseData::dataTypeEnum()
{
return _ss.rtdb.resp_data_type;
}
bool FirebaseData::streamAvailable()
{
bool ret = _ss.connected && !_ss.rtdb.stream_stop && _ss.rtdb.data_available && _ss.rtdb.stream_data_changed;
_ss.rtdb.data_available = false;
_ss.rtdb.stream_data_changed = false;
return ret;
}
bool FirebaseData::mismatchDataType()
{
return _ss.rtdb.data_mismatch;
}
size_t FirebaseData::getBackupFileSize()
{
return _ss.rtdb.backup_file_size;
}
String FirebaseData::getBackupFilename()
{
return _ss.rtdb.backup_filename.c_str();
}
void FirebaseData::addQueue(struct fb_esp_rtdb_queue_info_t *qinfo)
{
if (_qMan.size() < _qMan._maxQueue && qinfo->payload.length() <= _ss.rtdb.max_blob_size)
{
QueueItem item;
item.method = qinfo->method;
item.dataType = qinfo->dataType;
item.path = qinfo->path;
item.filename = qinfo->filename;
item.payload = qinfo->payload;
item.address.query = qinfo->address.query;
item.address.din = qinfo->address.din;
item.address.dout = qinfo->address.dout;
item.blobSize = qinfo->blobSize;
item.qID = random(100000, 200000);
#if defined(FIREBASE_ESP_CLIENT)
item.storageType = qinfo->storageType;
#elif defined(FIREBASE_ESP32_CLIENT) || defined(FIREBASE_ESP8266_CLIENT)
item.storageType = (fb_esp_mem_storage_type)qinfo->storageType;
#endif
if (_qMan.add(item))
_ss.rtdb.queue_ID = item.qID;
else
_ss.rtdb.queue_ID = 0;
}
}
#endif
#if defined(ESP8266)
void FirebaseData::setBSSLBufferSize(uint16_t rx, uint16_t tx)
{
if (rx >= 512 && rx <= 16384)
_ss.bssl_rx_size = rx;
if (tx >= 512 && tx <= 16384)
_ss.bssl_tx_size = tx;
}
#endif
void FirebaseData::setResponseSize(uint16_t len)
{
if (len >= 1024)
_ss.resp_size = 4 * (1 + (len / 4));
}
void FirebaseData::stopWiFiClient()
{
if (tcpClient.stream())
{
if (tcpClient.stream()->connected())
tcpClient.stream()->stop();
}
_ss.connected = false;
}
WiFiClientSecure *FirebaseData::getWiFiClient()
{
return tcpClient._wcs.get();
}
bool FirebaseData::httpConnected()
{
return _ss.connected;
}
bool FirebaseData::bufferOverflow()
{
return _ss.buffer_ovf;
}
String FirebaseData::fileTransferError()
{
if (_ss.error.length() > 0)
return _ss.error.c_str();
else
return errorReason();
}
String FirebaseData::payload()
{
#ifdef ENABLE_RTDB
if (_ss.con_mode == fb_esp_con_mode_rtdb)
return _ss.rtdb.raw.c_str();
#endif
#if defined(FIREBASE_ESP_CLIENT)
#ifdef ENABLE_FIRESTORE
if (_ss.con_mode == fb_esp_con_mode_firestore)
return _ss.cfs.payload.c_str();
#endif
#ifdef ENABLE_FB_FUNCTIONS
if (_ss.con_mode == fb_esp_con_mode_functions)
return _ss.cfn.payload.c_str();
#endif
#endif
return "";
}
String FirebaseData::errorReason()
{
if (_ss.error.length() > 0)
return _ss.error.c_str();
else
{
MBSTRING buf;
Signer.errorToString(_ss.http_code, buf);
return buf.c_str();
}
}
#if defined(FIREBASE_ESP_CLIENT)
#if defined(ENABLE_GC_STORAGE) || defined(ENABLE_FB_STORAGE)
FileMetaInfo FirebaseData::metaData()
{
#ifdef ENABLE_GC_STORAGE
if (_ss.con_mode == fb_esp_con_mode_gc_storage)
return _ss.gcs.meta;
#endif
#ifdef ENABLE_FB_STORAGE
if (_ss.con_mode == fb_esp_con_mode_storage)
return _ss.fcs.meta;
#endif
FileMetaInfo info;
return info;
}
#endif
#ifdef ENABLE_FB_STORAGE
FileList *FirebaseData::fileList()
{
return &_ss.fcs.files;
}
#endif
#if defined(ENABLE_FB_STORAGE) || defined(ENABLE_GC_STORAGE)
String FirebaseData::downloadURL()
{
if (!init())
return "";
MBSTRING link;
if (_ss.con_mode == fb_esp_con_mode_storage)
{
#ifdef ENABLE_FB_STORAGE
if (_ss.fcs.meta.downloadTokens.length() > 0)
{
ut->appendP(link, fb_esp_pgm_str_112);
ut->appendP(link, fb_esp_pgm_str_265);
ut->appendP(link, fb_esp_pgm_str_120);
ut->appendP(link, fb_esp_pgm_str_266);
link += _ss.fcs.meta.bucket;
ut->appendP(link, fb_esp_pgm_str_267);
ut->appendP(link, fb_esp_pgm_str_1);
link += ut->url_encode(_ss.fcs.meta.name);
ut->appendP(link, fb_esp_pgm_str_173);
ut->appendP(link, fb_esp_pgm_str_269);
ut->appendP(link, fb_esp_pgm_str_172);
ut->appendP(link, fb_esp_pgm_str_273);
link += _ss.fcs.meta.downloadTokens.c_str();
}
#endif
}
else if (_ss.con_mode == fb_esp_con_mode_gc_storage)
{
#ifdef ENABLE_GC_STORAGE
if (_ss.gcs.meta.downloadTokens.length() > 0)
{
ut->appendP(link, fb_esp_pgm_str_112);
ut->appendP(link, fb_esp_pgm_str_265);
ut->appendP(link, fb_esp_pgm_str_120);
ut->appendP(link, fb_esp_pgm_str_266);
link += _ss.gcs.meta.bucket;
ut->appendP(link, fb_esp_pgm_str_267);
ut->appendP(link, fb_esp_pgm_str_1);
link += ut->url_encode(_ss.gcs.meta.name);
ut->appendP(link, fb_esp_pgm_str_173);
ut->appendP(link, fb_esp_pgm_str_269);
ut->appendP(link, fb_esp_pgm_str_172);
ut->appendP(link, fb_esp_pgm_str_273);
link += _ss.gcs.meta.downloadTokens.c_str();
}
#endif
}
return link.c_str();
}
#endif
#endif
int FirebaseData::httpCode()
{
return _ss.http_code;
}
int FirebaseData::payloadLength()
{
return _ss.payload_length;
}
int FirebaseData::maxPayloadLength()
{
return _ss.max_payload_length;
}
#ifdef ENABLE_RTDB
void FirebaseData::sendStreamToCB(int code)
{
_ss.error.clear();
_ss.rtdb.data_millis = 0;
_ss.rtdb.data_tmo = true;
_ss.http_code = code;
if (_timeoutCallback)
_timeoutCallback(true);
}
#endif
void FirebaseData::closeSession()
{
bool status = WiFi.status() == WL_CONNECTED;
if (init())
{
if (_spi_ethernet_module)
status |= ethLinkUp(_spi_ethernet_module);
else
status |= ethLinkUp(&(Signer.getCfg()->spi_ethernet_module));
}
else
status |= ethLinkUp(_spi_ethernet_module);
if (status)
{
//close the socket and free the resources used by the BearSSL data
if (_ss.connected || tcpClient.stream())
{
if (Signer.getCfg())
Signer.getCfg()->_int.fb_last_reconnect_millis = millis();
if (tcpClient.stream())
if (tcpClient.stream()->connected())
tcpClient.stream()->stop();
}
}
#ifdef ENABLE_RTDB
if (_ss.con_mode == fb_esp_con_mode_rtdb_stream)
{
_ss.rtdb.stream_tmo_Millis = millis();
_ss.rtdb.data_millis = millis();
_ss.rtdb.data_tmo = false;
_ss.rtdb.new_stream = true;
}
#endif
_ss.connected = false;
}
int FirebaseData::tcpSend(const char *data)
{
size_t len = strlen(data);
uint8_t attempts = 0;
uint8_t maxRetry = 1;
if (Signer.getCfg())
maxRetry = Signer.getCfg()->tcp_data_sending_retry;
#if defined(ESP8266)
maxRetry *= (1 + (len / _ss.bssl_tx_size));
#endif
int index = 0;
int ret = tcpSendChunk(data, index, len);
while (ret != 0 || index < (int)len)
{
attempts++;
if (attempts > maxRetry)
break;
if (!reconnect())
return FIREBASE_ERROR_TCP_ERROR_CONNECTION_LOST;
ret = tcpSendChunk(data, index, len);
}
return ret;
}
int FirebaseData::tcpSendChunk(const char *data, int &index, size_t len)
{
ut->idle();
if (!reconnect())
return FIREBASE_ERROR_TCP_ERROR_CONNECTION_LOST;
#if defined(ESP8266)
int chunkSize = len - index > _ss.bssl_tx_size ? _ss.bssl_tx_size : len - index;
#else
int chunkSize = len;
#endif
if (tcpClient.send(data + index, chunkSize) != 0)
return -1;
index += chunkSize;
return 0;
}
bool FirebaseData::reconnect(unsigned long dataTime)
{
bool status = WiFi.status() == WL_CONNECTED;
status |= (init()) ? ((_spi_ethernet_module) ? ethLinkUp(_spi_ethernet_module) : ethLinkUp(&(Signer.getCfg()->spi_ethernet_module))) : ethLinkUp(_spi_ethernet_module);
if (dataTime > 0)
{
unsigned long tmo = DEFAULT_SERVER_RESPONSE_TIMEOUT;
if (init())
{
if (Signer.getCfg()->timeout.serverResponse < MIN_SERVER_RESPONSE_TIMEOUT || Signer.getCfg()->timeout.serverResponse > MIN_SERVER_RESPONSE_TIMEOUT)
Signer.getCfg()->timeout.serverResponse = DEFAULT_SERVER_RESPONSE_TIMEOUT;
tmo = Signer.getCfg()->timeout.serverResponse;
}
if (millis() - dataTime > tmo)
{
_ss.http_code = FIREBASE_ERROR_TCP_RESPONSE_PAYLOAD_READ_TIMED_OUT;
size_t len = strlen_P(fb_esp_pgm_str_69) + 5;
if (_ss.con_mode == fb_esp_con_mode_rtdb_stream)
len += strlen_P(fb_esp_pgm_str_578);
char *buf = new char[len];
memset(buf, 0, len);
strcpy_P(buf, fb_esp_pgm_str_69);
if (_ss.con_mode == fb_esp_con_mode_rtdb_stream)
strcat_P(buf, fb_esp_pgm_str_578);
MBSTRING().swap(_ss.error);
_ss.error.reserve(len);
_ss.error = buf;
ut->delP(&buf);
closeSession();
return false;
}
}
if (!status)
{
if (_ss.connected)
closeSession();
_ss.http_code = FIREBASE_ERROR_TCP_ERROR_CONNECTION_LOST;
if (init())
{
if (Signer.getCfg()->_int.fb_reconnect_wifi)
{
if (Signer.getCfg()->timeout.wifiReconnect < MIN_WIFI_RECONNECT_TIMEOUT || Signer.getCfg()->timeout.wifiReconnect > MAX_WIFI_RECONNECT_TIMEOUT)
Signer.getCfg()->timeout.wifiReconnect = MIN_WIFI_RECONNECT_TIMEOUT;
if (millis() - Signer.getCfg()->_int.fb_last_reconnect_millis > Signer.getCfg()->timeout.wifiReconnect && !_ss.connected)
{
WiFi.reconnect();
Signer.getCfg()->_int.fb_last_reconnect_millis = millis();
}
}
}
else
{
if (WiFi.getAutoReconnect())
{
if (millis() - last_reconnect_millis > reconnect_tmo && !_ss.connected)
{
WiFi.reconnect();
last_reconnect_millis = millis();
}
}
}
status = WiFi.status() == WL_CONNECTED;
status |= (init()) ? ((_spi_ethernet_module) ? ethLinkUp(_spi_ethernet_module) : ethLinkUp(&(Signer.getCfg()->spi_ethernet_module))) : ethLinkUp(_spi_ethernet_module);
}
if (!status && _ss.con_mode == fb_esp_con_mode_rtdb_stream)
_ss.rtdb.new_stream = true;
return status;
}
void FirebaseData::setTimeout()
{
if (Signer.getCfg())
{
if (Signer.getCfg()->timeout.socketConnection < MIN_SOCKET_CONN_TIMEOUT || Signer.getCfg()->timeout.socketConnection > MAX_SOCKET_CONN_TIMEOUT)
Signer.getCfg()->timeout.socketConnection = DEFAULT_SOCKET_CONN_TIMEOUT;
tcpClient.timeout = Signer.getCfg()->timeout.socketConnection;
}
}
void FirebaseData::setSecure()
{
setTimeout();
#if defined(ESP8266)
if (time(nullptr) > ESP_DEFAULT_TS)
{
if (Signer.getCfg())
Signer.getCfg()->_int.fb_clock_rdy = true;
tcpClient._clockReady = true;
}
tcpClient._bsslRxSize = _ss.bssl_rx_size;
tcpClient._bsslTxSize = _ss.bssl_tx_size;
#endif
if (tcpClient._certType == -1 || _ss.cert_updated)
{
if (!Signer.getCfg())
{
_ss.cert_updated = false;
tcpClient.setCACert(NULL);
return;
}
if (!Signer.getCfg()->_int.fb_clock_rdy && (Signer.getCAFile().length() > 0 || Signer.getCfg()->cert.data != NULL || _ss.cert_addr > 0) && init())
{
#if defined(ESP8266)
int retry = 0;
while (!tcpClient._clockReady && retry < 5)
{
ut->setClock(Signer.getCfg()->_int.fb_gmt_offset);
tcpClient._clockReady = Signer.getCfg()->_int.fb_clock_rdy;
retry++;
}
#endif
}
if (Signer.getCAFile().length() == 0)
{
if (_ss.cert_addr > 0)
tcpClient.setCACert(reinterpret_cast<const char *>(_ss.cert_addr));
else if (Signer.getCfg()->cert.data != NULL)
tcpClient.setCACert(Signer.getCfg()->cert.data);
else
tcpClient.setCACert(NULL);
}
else
{
#if defined(ESP8266)
if (Signer.getCfg()->_int.sd_config.ss == -1)
Signer.getCfg()->_int.sd_config.ss = SD_CS_PIN;
#endif
tcpClient.setCACertFile(Signer.getCAFile().c_str(), Signer.getCAFileStorage(), Signer.getCfg()->_int.sd_config);
}
_ss.cert_updated = false;
}
}
void FirebaseData::setCert(const char *ca)
{
int addr = reinterpret_cast<int>(ca);
if (addr != _ss.cert_addr)
{
_ss.cert_updated = true;
_ss.cert_addr = addr;
}
}
bool FirebaseData::validRequest(const MBSTRING &path)
{
if (path.length() == 0 || (Signer.getCfg()->database_url.length() == 0 && Signer.getCfg()->host.length() == 0) || (strlen(Signer.getToken()) == 0 && !Signer.getCfg()->signer.test_mode))
{
_ss.http_code = FIREBASE_ERROR_MISSING_CREDENTIALS;
return false;
}
return true;
}
bool FirebaseData::tokenReady()
{
if (!Signer.tokenReady())
{
_ss.http_code = FIREBASE_ERROR_TOKEN_NOT_READY;
closeSession();
return false;
}
return true;
};
void FirebaseData::checkOvf(size_t len, struct server_response_data_t &resp)
{
#ifdef ENABLE_RTDB
if (_ss.resp_size < len && !_ss.buffer_ovf)
{
if (_ss.rtdb.req_method == fb_esp_method::m_get && !_ss.rtdb.data_tmo && _ss.con_mode != fb_esp_con_mode_fcm && resp.dataType != fb_esp_data_type::d_file && _ss.rtdb.req_method != fb_esp_method::m_download && _ss.rtdb.req_data_type != fb_esp_data_type::d_file)
{
_ss.buffer_ovf = true;
_ss.http_code = FIREBASE_ERROR_BUFFER_OVERFLOW;
}
}
#endif
}
void FirebaseData::clear()
{
if (tcpClient.stream())
{
if (tcpClient.stream()->connected())
tcpClient.stream()->stop();
_ss.connected = false;
}
if (_ss.arrPtr)
_ss.arrPtr->clear();
if (_ss.jsonPtr)
_ss.jsonPtr->clear();
#ifdef ENABLE_RTDB
_dataAvailableCallback = NULL;
_multiPathDataCallback = NULL;
_timeoutCallback = NULL;
_queueInfoCallback = NULL;
_ss.rtdb.raw.clear();
_ss.rtdb.push_name.clear();
_ss.rtdb.file_name.clear();
_ss.rtdb.redirect_url.clear();
_ss.rtdb.event_type.clear();
_ss.rtdb.req_etag.clear();
_ss.rtdb.resp_etag.clear();
_ss.rtdb.priority = 0;
if (_ss.rtdb.blob && _ss.rtdb.isBlobPtr)
{
_ss.rtdb.isBlobPtr = false;
delete _ss.rtdb.blob;
}
#endif
#if defined(FIREBASE_ESP_CLIENT)
#ifdef ENABLE_GC_STORAGE
_ss.gcs.meta.bucket.clear();
_ss.gcs.meta.contentType.clear();
_ss.gcs.meta.crc32.clear();
_ss.gcs.meta.downloadTokens.clear();
_ss.gcs.meta.etag.clear();
_ss.gcs.meta.name.clear();
#endif
#ifdef ENABLE_FB_STORAGE
_ss.fcs.meta.name.clear();
_ss.fcs.meta.bucket.clear();
_ss.fcs.meta.contentType.clear();
_ss.fcs.meta.etag.clear();
_ss.fcs.meta.crc32.clear();
_ss.fcs.meta.downloadTokens.clear();
_ss.fcs.meta.bucket.clear();
_ss.fcs.meta.contentType.clear();
_ss.fcs.meta.crc32.clear();
_ss.fcs.meta.downloadTokens.clear();
_ss.fcs.meta.etag.clear();
_ss.fcs.meta.name.clear();
_ss.fcs.files.items.clear();
#endif
#ifdef ENABLE_FB_FUNCTIONS
_ss.cfn.payload.clear();
#endif
#ifdef ENABLE_FIRESTORE
_ss.cfs.payload.clear();
#endif
#endif
}
#if defined(FIREBASE_ESP32_CLIENT) || defined(FIREBASE_ESP8266_CLIENT)
#ifdef ENABLE_FCM
FCMObject::FCMObject()
{
}
FCMObject::~FCMObject()
{
clear();
}
void FCMObject::mBegin(const char *serverKey, SPI_ETH_Module *spi_ethernet_module)
{
if (!ut)
ut = new UtilsClass(nullptr);
_spi_ethernet_module = spi_ethernet_module;
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_577);
json->set(s.c_str(), serverKey);
raw.clear();
s.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::mAddDeviceToken(const char *deviceToken)
{
if (!ut)
ut = new UtilsClass(nullptr);
FirebaseJsonArray *arr = new FirebaseJsonArray();
arr->setJsonArrayData(idTokens.c_str());
arr->add(deviceToken);
idTokens.clear();
idTokens = arr->raw();
arr->clear();
delete arr;
}
void FCMObject::removeDeviceToken(uint16_t index)
{
if (!ut)
ut = new UtilsClass(nullptr);
FirebaseJsonArray *arr = new FirebaseJsonArray();
arr->setJsonArrayData(idTokens.c_str());
arr->remove(index);
idTokens.clear();
idTokens = arr->raw();
arr->clear();
delete arr;
}
void FCMObject::clearDeviceToken()
{
if (!ut)
ut = new UtilsClass(nullptr);
idTokens.clear();
}
void FCMObject::mSetNotifyMessage(const char *title, const char *body)
{
if (!ut)
ut = new UtilsClass(nullptr);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_122);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_285);
json->set(s.c_str(), title);
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_122);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_123);
json->set(s.c_str(), body);
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::mSetNotifyMessage(const char *title, const char *body, const char *icon)
{
if (!ut)
ut = new UtilsClass(nullptr);
setNotifyMessage(title, body);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_122);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_124);
json->set(s.c_str(), icon);
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::mSetNotifyMessage(const char *title, const char *body, const char *icon, const char *click_action)
{
if (!ut)
ut = new UtilsClass(nullptr);
setNotifyMessage(title, body, icon);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_122);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_125);
json->set(s.c_str(), click_action);
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::mAddCustomNotifyMessage(const char *key, const char *value)
{
if (!ut)
ut = new UtilsClass(nullptr);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_122);
ut->appendP(s, fb_esp_pgm_str_1);
s += key;
json->set(s.c_str(), value);
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::clearNotifyMessage()
{
if (!ut)
ut = new UtilsClass(nullptr);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_122);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
json->remove(s.c_str());
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::mSetDataMessage(const char *jsonString)
{
if (!ut)
ut = new UtilsClass(nullptr);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_135);
FirebaseJson *js = new FirebaseJson();
js->setJsonData(jsonString);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
json->set(s.c_str(), *js);
js->clear();
delete js;
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::setDataMessage(FirebaseJson &json)
{
if (!ut)
ut = new UtilsClass(nullptr);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_135);
FirebaseJson *js = new FirebaseJson();
js->setJsonData(raw);
js->set(s.c_str(), json);
s.clear();
raw.clear();
raw = js->raw();
js->clear();
delete js;
}
void FCMObject::clearDataMessage()
{
if (!ut)
ut = new UtilsClass(nullptr);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_135);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
json->remove(s.c_str());
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::mSetPriority(const char *priority)
{
if (!ut)
ut = new UtilsClass(nullptr);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_136);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
json->set(s.c_str(), priority);
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::mSetCollapseKey(const char *key)
{
if (!ut)
ut = new UtilsClass(nullptr);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_138);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
json->set(s.c_str(), key);
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::setTimeToLive(uint32_t seconds)
{
if (!ut)
ut = new UtilsClass(nullptr);
if (seconds <= 2419200)
_ttl = seconds;
else
_ttl = -1;
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_137);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
json->set(s.c_str(), _ttl);
s.clear();
raw.clear();
raw = json->raw();
json->clear();
delete json;
}
void FCMObject::mSetTopic(const char *topic)
{
if (!ut)
ut = new UtilsClass(nullptr);
FirebaseJson *json = new FirebaseJson();
json->setJsonData(raw);
MBSTRING s, v;
ut->appendP(s, fb_esp_pgm_str_576);
ut->appendP(v, fb_esp_pgm_str_134);
v += topic;
json->set(s.c_str(), v.c_str());
raw.clear();
s.clear();
v.clear();
raw = json->raw();
json->clear();
delete json;
}
const char *FCMObject::getSendResult()
{
return result.c_str();
}
void FCMObject::fcm_begin(FirebaseData &fbdo)
{
if (!ut)
ut = new UtilsClass(nullptr);
fbdo._spi_ethernet_module = _spi_ethernet_module;
MBSTRING host;
ut->appendP(host, fb_esp_pgm_str_249);
ut->appendP(host, fb_esp_pgm_str_4);
ut->appendP(host, fb_esp_pgm_str_120);
rescon(fbdo, host.c_str());
fbdo.tcpClient.begin(host.c_str(), _port);
}
int FCMObject::fcm_sendHeader(FirebaseData &fbdo, size_t payloadSize)
{
int ret = -1;
MBSTRING header;
if (!ut)
ut = new UtilsClass(nullptr);
FirebaseJsonData *server_key = new FirebaseJsonData();
FirebaseJson *json = fbdo.to<FirebaseJson *>();
json->setJsonData(raw);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_577);
json->get(*server_key, s.c_str());
s.clear();
json->clear();
ut->appendP(header, fb_esp_pgm_str_24, true);
ut->appendP(header, fb_esp_pgm_str_6);
ut->appendP(header, fb_esp_pgm_str_121);
ut->appendP(header, fb_esp_pgm_str_30);
ut->appendP(header, fb_esp_pgm_str_31);
ut->appendP(header, fb_esp_pgm_str_249);
ut->appendP(header, fb_esp_pgm_str_4);
ut->appendP(header, fb_esp_pgm_str_120);
ut->appendP(header, fb_esp_pgm_str_21);
ut->appendP(header, fb_esp_pgm_str_131);
ret = fbdo.tcpSend(header.c_str());
header.clear();
if (ret < 0)
{
server_key->clear();
delete server_key;
return ret;
}
ret = fbdo.tcpSend(server_key->to<const char *>());
server_key->clear();
delete server_key;
if (ret < 0)
return ret;
ut->appendP(header, fb_esp_pgm_str_21);
ut->appendP(header, fb_esp_pgm_str_32);
ut->appendP(header, fb_esp_pgm_str_8);
ut->appendP(header, fb_esp_pgm_str_129);
ut->appendP(header, fb_esp_pgm_str_21);
ut->appendP(header, fb_esp_pgm_str_12);
header += NUM2S(payloadSize).get();
ut->appendP(header, fb_esp_pgm_str_21);
ut->appendP(header, fb_esp_pgm_str_36);
ut->appendP(header, fb_esp_pgm_str_21);
ret = fbdo.tcpSend(header.c_str());
header.clear();
return ret;
}
void FCMObject::fcm_preparePayload(FirebaseData &fbdo, fb_esp_fcm_msg_type messageType)
{
if (!ut)
ut = new UtilsClass(nullptr);
FirebaseJson *json = fbdo.to<FirebaseJson *>();
json->setJsonData(raw);
if (messageType == fb_esp_fcm_msg_type::msg_single)
{
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_128);
FirebaseJsonArray *arr = fbdo.to<FirebaseJsonArray *>();
arr->setJsonArrayData(idTokens.c_str());
FirebaseJsonData *data = fbdo.to<FirebaseJsonData *>();
arr->get(*data, _index);
json->set(s.c_str(), data->to<const char *>());
s.clear();
raw.clear();
raw = json->raw();
arr->clear();
data->clear();
}
else if (messageType == fb_esp_fcm_msg_type::msg_multicast)
{
FirebaseJsonArray *arr = fbdo.to<FirebaseJsonArray *>();
arr->setJsonArrayData(idTokens.c_str());
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_130);
json->set(s.c_str(), *arr);
s.clear();
arr->clear();
raw.clear();
raw = json->raw();
}
else if (messageType == fb_esp_fcm_msg_type::msg_topic)
{
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575, true);
ut->appendP(s, fb_esp_pgm_str_1);
ut->appendP(s, fb_esp_pgm_str_128);
FirebaseJsonData *topic = fbdo.to<FirebaseJsonData *>();
MBSTRING s2;
ut->appendP(s2, fb_esp_pgm_str_576);
json->get(*topic, s2.c_str());
s2.clear();
json->set(s.c_str(), topic->to<const char *>());
s.clear();
raw.clear();
raw = json->raw();
topic->clear();
}
json->clear();
}
bool FCMObject::waitResponse(FirebaseData &fbdo)
{
return handleResponse(&fbdo);
}
bool FCMObject::handleResponse(FirebaseData *fbdo)
{
if (!ut)
ut = new UtilsClass(nullptr);
#ifdef ENABLE_RTDB
if (fbdo->_ss.rtdb.pause)
return true;
#endif
if (!fbdo->reconnect())
return false;
if (!fbdo->_ss.connected)
{
fbdo->_ss.http_code = FIREBASE_ERROR_TCP_ERROR_NOT_CONNECTED;
return false;
}
result.clear();
unsigned long dataTime = millis();
WiFiClient *stream = fbdo->tcpClient.stream();
char *pChunk = NULL;
char *tmp = NULL;
char *header = NULL;
char *payload = NULL;
bool isHeader = false;
struct server_response_data_t response;
int chunkIdx = 0;
int pChunkIdx = 0;
int payloadLen = fbdo->_ss.resp_size;
int pBufPos = 0;
int hBufPos = 0;
int chunkBufSize = stream->available();
int hstate = 0;
int pstate = 0;
int chunkedDataState = 0;
int chunkedDataSize = 0;
int chunkedDataLen = 0;
int defaultChunkSize = fbdo->_ss.resp_size;
int payloadRead = 0;
struct fb_esp_auth_token_error_t error;
error.code = -1;
fbdo->_ss.http_code = FIREBASE_ERROR_HTTP_CODE_OK;
fbdo->_ss.content_length = -1;
fbdo->_ss.payload_length = 0;
fbdo->_ss.chunked_encoding = false;
fbdo->_ss.buffer_ovf = false;
defaultChunkSize = 768;
while (fbdo->tcpClient.connected() && chunkBufSize <= 0)
{
if (!fbdo->reconnect(dataTime))
return false;
chunkBufSize = stream->available();
ut->idle();
}
dataTime = millis();
if (chunkBufSize > 1)
{
while (chunkBufSize > 0)
{
if (!fbdo->reconnect())
return false;
chunkBufSize = stream->available();
if (chunkBufSize <= 0 && payloadRead >= response.contentLen && response.contentLen > 0)
break;
if (chunkBufSize > 0)
{
chunkBufSize = defaultChunkSize;
if (chunkIdx == 0)
{
//the first chunk can be http response header
header = (char *)ut->newP(chunkBufSize);
hstate = 1;
int readLen = ut->readLine(stream, header, chunkBufSize);
int pos = 0;
tmp = ut->getHeader(header, fb_esp_pgm_str_5, fb_esp_pgm_str_6, pos, 0);
ut->idle();
dataTime = millis();
if (tmp)
{
//http response header with http response code
isHeader = true;
hBufPos = readLen;
response.httpCode = atoi(tmp);
fbdo->_ss.http_code = response.httpCode;
ut->delP(&tmp);
}
else
{
payload = (char *)ut->newP(payloadLen);
pstate = 1;
memcpy(payload, header, readLen);
pBufPos = readLen;
ut->delP(&header);
hstate = 0;
}
}
else
{
ut->idle();
dataTime = millis();
//the next chunk data can be the remaining http header
if (isHeader)
{
//read one line of next header field until the empty header has found
tmp = (char *)ut->newP(chunkBufSize);
int readLen = ut->readLine(stream, tmp, chunkBufSize);
bool headerEnded = false;
//check is it the end of http header (\n or \r\n)?
if (readLen == 1)
if (tmp[0] == '\r')
headerEnded = true;
if (readLen == 2)
if (tmp[0] == '\r' && tmp[1] == '\n')
headerEnded = true;
if (headerEnded)
{
//parse header string to get the header field
isHeader = false;
ut->parseRespHeader(header, response);
if (hstate == 1)
ut->delP(&header);
hstate = 0;
fbdo->_ss.chunked_encoding = response.isChunkedEnc;
}
else
{
//accumulate the remaining header field
memcpy(header + hBufPos, tmp, readLen);
hBufPos += readLen;
}
ut->delP(&tmp);
}
else
{
//the next chuunk data is the payload
if (!response.noContent)
{
pChunkIdx++;
pChunk = (char *)ut->newP(chunkBufSize + 1);
if (!payload || pstate == 0)
{
pstate = 1;
payload = (char *)ut->newP(payloadLen + 1);
}
//read the avilable data
int readLen = 0;
//chunk transfer encoding?
if (response.isChunkedEnc)
readLen = ut->readChunkedData(stream, pChunk, chunkedDataState, chunkedDataSize, chunkedDataLen, chunkBufSize);
else
{
if (stream->available() < chunkBufSize)
chunkBufSize = stream->available();
readLen = stream->readBytes(pChunk, chunkBufSize);
}
if (readLen > 0)
{
fbdo->_ss.payload_length += readLen;
payloadRead += readLen;
fbdo->checkOvf(pBufPos + readLen, response);
if (!fbdo->_ss.buffer_ovf)
{
if (pBufPos + readLen <= payloadLen)
memcpy(payload + pBufPos, pChunk, readLen);
else
{
//in case of the accumulated payload size is bigger than the char array
//reallocate the char array
char *buf = (char *)ut->newP(pBufPos + readLen + 1);
memcpy(buf, payload, pBufPos);
memcpy(buf + pBufPos, pChunk, readLen);
payloadLen = pBufPos + readLen;
ut->delP(&payload);
payload = (char *)ut->newP(payloadLen + 1);
memcpy(payload, buf, payloadLen);
ut->delP(&buf);
}
}
}
ut->delP(&pChunk);
if (readLen < 0 && payloadRead >= response.contentLen)
break;
if (readLen > 0)
pBufPos += readLen;
}
else
{
//read all the rest data
while (stream->available() > 0)
stream->read();
}
}
}
chunkIdx++;
}
}
if (hstate == 1)
ut->delP(&header);
if (payload)
{
if (response.httpCode == FIREBASE_ERROR_HTTP_CODE_OK)
result = payload;
else
{
MBSTRING t = ut->trim(payload);
if (t[0] == '{' && t[t.length() - 1] == '}')
{
FirebaseJson *json = fbdo->to<FirebaseJson *>();
FirebaseJsonData *data = fbdo->to<FirebaseJsonData *>();
json->setJsonData(t.c_str());
char *tmp = ut->strP(fb_esp_pgm_str_257);
json->get(*data, tmp);
ut->delP(&tmp);
if (data->success)
{
error.code = data->to<int>();
tmp = ut->strP(fb_esp_pgm_str_258);
json->get(*data, tmp);
ut->delP(&tmp);
if (data->success)
fbdo->_ss.error = data->to<const char *>();
}
else
error.code = 0;
json->clear();
data->clear();
}
}
}
if (pstate == 1)
ut->delP(&payload);
return error.code == 0 || response.httpCode == FIREBASE_ERROR_HTTP_CODE_OK;
}
else
{
while (stream->available() > 0)
stream->read();
}
return false;
}
bool FCMObject::fcm_send(FirebaseData &fbdo, fb_esp_fcm_msg_type messageType)
{
if (!ut)
ut = new UtilsClass(nullptr);
FirebaseJsonData *msg = fbdo.to<FirebaseJsonData *>();
fcm_preparePayload(fbdo, messageType);
FirebaseJson *json = fbdo.to<FirebaseJson *>();
json->setJsonData(raw);
MBSTRING s;
ut->appendP(s, fb_esp_pgm_str_575);
json->get(*msg, s.c_str());
raw = json->raw();
json->clear();
int ret = fcm_sendHeader(fbdo, strlen(msg->to<const char *>()));
if (ret == 0)
ret = fbdo.tcpSend(msg->to<const char *>());
json->setJsonData(raw);
json->remove(s.c_str());
s.clear();
raw.clear();
raw = json->raw();
json->clear();
msg->clear();
if (ret != 0)
{
fbdo._ss.http_code = FIREBASE_ERROR_TCP_ERROR_NOT_CONNECTED;
fbdo.closeSession();
if (Signer.getCfg())
Signer.getCfg()->_int.fb_processing = false;
return false;
}
else
fbdo._ss.connected = true;
ret = waitResponse(fbdo);
if (!ret)
fbdo.closeSession();
if (Signer.getCfg())
Signer.getCfg()->_int.fb_processing = false;
return ret;
}
void FCMObject::rescon(FirebaseData &fbdo, const char *host)
{
if (fbdo._ss.cert_updated || !fbdo._ss.connected || millis() - fbdo._ss.last_conn_ms > fbdo._ss.conn_timeout || fbdo._ss.con_mode != fb_esp_con_mode_fcm || strcmp(host, fbdo._ss.host.c_str()) != 0)
{
fbdo._ss.last_conn_ms = millis();
fbdo.closeSession();
fbdo.setSecure();
fbdo.ethDNSWorkAround(_spi_ethernet_module, host, 443);
}
fbdo._ss.host = host;
fbdo._ss.con_mode = fb_esp_con_mode_fcm;
}
void FCMObject::clear()
{
raw.clear();
result.clear();
_ttl = -1;
_index = 0;
clearDeviceToken();
if (ut)
delete ut;
}
#endif
#endif
#endif |
; A228843: a(n) = 4^n*A228842(n).
; Submitted by Christian Krause
; 2,24,448,9216,192512,4030464,84410368,1767899136,37027315712,775510032384,16242492571648,340187179646976,7124972786941952,149227367389200384,3125458558976524288,65460453902527758336,1371021545886168645632,28715048051506270961664,601415774299435709759488,12596215507890055692681216,263818562634197451199741952,5525487710715775264462209024,115727317048589969470309531648,2423824395680349650361847382016,50765237205218633562584527142912,1063240931601704827878870418980864
mov $1,1
mov $2,1
mov $3,$0
mul $3,4
lpb $3
mul $1,$3
mul $2,$3
add $1,$2
mov $6,$1
lpb $6
mov $4,$5
cmp $4,0
add $5,$4
div $1,$5
div $2,$5
add $2,$1
mul $1,4
sub $3,1
add $5,1
cmp $6,0
lpe
sub $3,3
lpe
mov $0,$2
mul $0,2
|
/*
* Copyright (c) 2018, Bosch Software Innovations GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef RVIZ_DEFAULT_PLUGINS__PUBLISHERS__POINT_CLOUD2_PUBLISHER_HPP_
#define RVIZ_DEFAULT_PLUGINS__PUBLISHERS__POINT_CLOUD2_PUBLISHER_HPP_
#include <string>
#include <vector>
#include "geometry_msgs/msg/transform_stamped.hpp"
#include "tf2/LinearMath/Quaternion.h"
#include "rclcpp/rclcpp.hpp"
#include "sensor_msgs/msg/point_cloud2.hpp"
#include "std_msgs/msg/header.hpp"
#include "../pointcloud_messages.hpp"
using namespace std::chrono_literals; // NOLINT
namespace nodes
{
geometry_msgs::msg::Point32 createPoint(float x, float y, float z)
{
geometry_msgs::msg::Point32 point;
point.x = x;
point.y = y;
point.z = z;
return point;
}
class PointCloud2Publisher : public rclcpp::Node
{
public:
PointCloud2Publisher()
: Node("pointcloud2_publisher"),
timer_(nullptr),
publisher_(nullptr)
{
publisher_ = this->create_publisher<sensor_msgs::msg::PointCloud2>("pointcloud2");
timer_ = this->create_wall_timer(500ms, std::bind(&PointCloud2Publisher::timer_callback, this));
}
private:
void timer_callback()
{
auto message = rviz_default_plugins::createPointCloud2WithPoints({{0, 0, 0}});
message->header.frame_id = "pointcloud2_frame";
publisher_->publish(message);
}
rclcpp::TimerBase::SharedPtr timer_;
rclcpp::Publisher<sensor_msgs::msg::PointCloud2>::SharedPtr publisher_;
};
} // namespace nodes
#endif // RVIZ_DEFAULT_PLUGINS__PUBLISHERS__POINT_CLOUD2_PUBLISHER_HPP_
|
; DV3 open routines V3.04 1992 Tony Tebby
;
; QDOS compatible version
;
; 2018-06-24 3.02 Keep error code from ddl_check (MK)
; 2018-07-30 3.03 Fixed Minerva workaround in case of open through DEV (MK)
; 2020-04-22 3.04 Fixed Minerva heap corruption issue (MK)
section dv3
xdef dv3_open
xdef dv3_opnb
xref dv3_density
xref dv3_slen
xref dv3_posi
xref dv3_sbtr
xref dv3_sbclr
xref dv3_qdit
include 'dev8_dv3_qlsd_keys'
include 'dev8_keys_err'
include 'dev8_keys_sys'
include 'dev8_keys_qlv'
include 'dev8_keys_chn'
include 'dev8_keys_qdos_ioa'
include 'dev8_mac_assert'
;+++
; DV3 open routine (QDOS compatible entry)
;---
dv3_open
dv3_opnb
move.l a1,a4 ; drive definition block
moveq #0,d7
move.b d3c_qdid(a0),d7
move.b d7,ddf_drid(a4) ; drive id
swap d7
move.b ddf_dnum(a4),d7 ; drive number
tst.b ddf_ftype(a4) ; open for direct sector access?
bpl.s dop_do
moveq #err.fdiu,d0
dop_rterr
rts
dop_do
jsr ddl_fslave(a3) ; find real linkage
bne.s dop_rterr
move.l a3,ddf_ptddl(a4) ; set driver linkages
move.l a0,a5 ; save old channel block
lea sys_fsch(a6),a1
lea d3c_qdlink(a5),a0
move.w mem.rlst,a2
jsr (a2) ; unlink old block (safe)
clr.l (a0) ; and clear link
moveq #d3c_end/4,d1
lsl.l #2,d1
moveq #0,d2
movem.l a3/a6,-(sp) ; for QDOS compatibility...
move.w mem.achp,a2
jsr (a2) ; allocate new channel block
movem.l (sp)+,a3/a6
beq.s dop_copy ; ... ok, copy channel
move.l a5,a0 ; ... oops
rts
dop_copy
lea d3c_drvr(a0),a1
lea d3c_drvr(a5),a2
moveq #(d3c_name+d3c.pthl+4-d3c_drvr)/4-1,d0
dop_cchan
move.l (a2)+,(a1)+ ; copy useful part of old channel
dbra d0,dop_cchan
lea sys_fsch(a6),a1
lea d3c_qdlink(a0),a2
move.l (a1),(a2)
move.l a2,(a1) ; link back in to channel list
move.l sys_chtb(a6),a1 ; search channel table for old block
move.w sys_chtp(a6),d0
dop_xchn
cmp.l (a1)+,a5 ; old channel?
dbeq d0,dop_xchn
bne.s dop_prec ; not found
move.l a0,-(a1) ; replace old channel
dop_prec
move.l a0,d3
lea d3c_name+2(a0),a1
move.l a1,d2 ; start of string (destination)
lea d3c_qname(a0),a0
move.w (a0)+,d0 ; source of string
lea dv3_qdit,a2 ; QDOS to internal translate table
moveq #0,d1
bra.s dop_cine
dop_cint
move.b (a0)+,d1
move.b (a2,d1.w),(a1)+ ; translate
dop_cine
dbra d0,dop_cint
move.l d3,a0 ; restore channel block
sf (a1) ; zero at end
exg d2,a1
sub.w a1,d2
move.w d2,-(a1) ; string length
moveq #1,d0
add.b d3c_accs(a0),d0 ; access mode + 1
move.b dop_rdon(pc,d0.w),d3c_ro(a0) ; set read only flag
moveq #$ffffffdf,d1 ; check for *D or *d
and.l d3c_name(a0),d1
sub.l #$00042a44,d1 ; is it?
bne.l dop_check ; ... no, check medium
move.b d3c_name+4(a0),d1 ; ... length
sub.b #'0',d1
blt.s dop_inam ; bad sector length
cmp.b #7,d1
bgt.s dop_inam ; bad sector length
btst d1,ddl_sectl(a3) ; valid length?
beq.s dop_inam ; ... no
move.b d3c_name+5(a0),d0 ; density flag
jsr dv3_density
beq.s dop_direct
dop_inam
moveq #err.inam,d0
bra.s dop_ex1
dop_ro
moveq #err.rdo,d0
bra.s dop_ex1
dop_noshare
move.l d4,a0 ; restore channel
move.l d3,a3 ; and link
dop_fdiu
moveq #err.fdiu,d0
bra.s dop_ex1
dop_fdnf
moveq #err.fdnf,d0
dop_ex1
bra.l dop_exit
dop_rdon dc.b d3c.ok ; delete
dc.b d3c.ok ; exclusive
dc.b d3c.ro ; share
dc.b d3c.updt ; new
dc.b d3c.updt ; overwrite
dc.b d3c.ro ; directory
; All the messing about is done, time for a direct sector open
dop_direct
tst.b ddf_nropen(a4) ; files open?
bne.s dop_fdiu ; ... yes
tst.b d3c_accs(a0) ; delete?
blt.s dop_fdiu ; ... yes
dop_dflush
jsr ddl_dflush(a3) ; flush everything
addq.l #-err.nc,d0 ; ... not complete?
beq.s dop_dflush
jsr dv3_sbclr ; and clear out all the slave blocks
move.b d1,ddf_slflag(a4)
move.b d2,ddf_density(a4)
jsr dv3_slen ; set sector lengths
jsr ddl_direct(a3) ; direct sector open
bne.l dop_exit ; ... oops
move.l ddf_flong(a4),ddf_fsave(a4) ; save format information
not.b ddf_ftype(a4) ; direct access
addq.b #d3c.asect,d3c_atype(a0) ; access
assert d3c.ro,1
moveq #d3c.ro,d0
and.b ddf_wprot(a4),d0
move.b d0,d3c_ro(a0) ; set read only flag
bra.l dop_set ; set IDs and link in channel block
; All the messing about is done, time for a genuine open
dop_check
jsr ddl_check(a3) ; check the medium
;;; blt.s dop_fdnf ; ... oops, bad medium
blt.s dop_ex1 ; keep error code from check
assert ddf.wprot,$ff
tst.b ddf_wprot(a4) ; write protected?
bpl.s dop_ofile ; ... no
assert d3c.ro,1
tst.b d3c_ro(a0) ; read only access?
bgt.s dop_ofile ; ... yes
tst.b d3c_accs(a0) ; OPEN no option?
bne.s dop_ro ; ... no
addq.b #ioa.kshr,d3c_accs(a0) ; ... yes, set to share
addq.b #d3c.ro,d3c_ro(a0) ; ... set to share
dop_ofile
move.l a3,d3
move.l a0,d4
lea d3c_name(a0),a1
move.w (a1)+,d0 ; length of name
beq.s dop_root ; ... no name
lea d3c_qname(a5),a0
move.w d0,(a0)+
move.l ddf_itopck(a4),a3 ; internal to check translate table
moveq #0,d1
dop_xlate
move.b (a1)+,d1
move.b (a3,d1.w),(a0)+ ; translate
subq.w #1,d0
bgt.s dop_xlate
; Here we need to check if file already open
lea ddf_chnlst-d3c_link(a4),a0 ; linked list of chans
dop_lloop
move.l d3c_link(a0),d0 ; next channel
beq.s dop_open ; not already open - do real open
move.l d0,a0
lea d3c_name(a0),a1
move.w (a1)+,d0 ; length of name
lea d3c_qname(a5),a2
cmp.w (a2)+,d0
bra.s dop_ccelp
dop_cchr
move.b (a1)+,d1
move.b (a3,d1.w),d1 ; translate
cmp.b (a2)+,d1 ; ... and compare
dop_ccelp
dbne d0,dop_cchr
bne.s dop_lloop ; no match
move.l d4,a1 ; our real channel block
tst.b d3c_ro(a1) ; shared possible
ble.l dop_noshare ; ... no
tst.b d3c_ro(a0)
ble.l dop_noshare ; ... no
move.b d3c_atype(a0),d3c_atype(a1) ; old channel is directory?
bmi.s dop_open ; ... yes, do real directory open
cmp.b #ioa.kdir,d3c_accs(a1) ; is it open directory?
beq.s dop_open ; ... yes, do real directory open
lea d3c_feof(a0),a0 ; copy most of top end
lea d3c_feof(a1),a1
moveq #(d3c_end-d3c_feof)/4-1,d0
dop_cchn
move.l (a0)+,(a1)+
dbra d0,dop_cchn
move.l d4,a0 ; restore channel
move.l d3,a3 ; and link
jsr dv3_posi ; set position to start of file
bra.l dop_link ; and link
dop_root
bsr.s dop_adir ; access directory
dop_open
move.l d4,a0 ; restore channel
move.l d3,a3 ; and link
assert d3c_sdsb,d3c_sdid-4,d3c_sdlen-8,d3c_sdent-$c
lea d3c_sdsb(a0),a1
move.l ddf_rdsb(a4),(a1)+ ; this is a good start for slave block
move.l ddf_rdid(a4),(a1)+ ; preset directory info
move.l ddf_rdlen(a4),(a1)+
moveq #-1,d0
move.l d0,(a1)
st d3c_denum+1(a0) ; invalid directory entry number
st d3c_fenum+1(a0) ; and formatted entry
lea d3c_qname(a5),a1 ; set the pointer to the name
; Now we do a different open for each key
moveq #1,d0
add.b d3c_accs(a0),d0 ; access type
add.b dop_tab(pc,d0.w),d0
jmp dop_tab(pc,d0.w)
dop_tab
dc.b dop_del-* ; delete
dc.b dop_exc-* ; open exclusive
dc.b dop_shr-* ; open shared file
dc.b dop_new-* ; open new file
dc.b dop_ovr-* ; open overwrite file
dc.b dop_dir-* ; open directory
dop_adir ; file turns out to be directory - check access
move.b d3c_accs(a0),d0 ; is it delete?
blt.s dop_iu4 ; ... yes
subq.b #ioa.kovr,d0
beq.s dop_iu4
move.b #d3c.ro,d3c_ro(a0) ; set read only
move.b #ioa.kdir,d3c_accs(a0) ; set access type to directory
rts
dop_iu4
addq.l #4,sp ; skip return
bra dop_fdiu
dop_trunc
moveq #-1,d5
jsr dv3_sbtr ; truncate slave blocks
moveq #0,d0
jmp ddf_strunc(a4) ; ... and allocation
dop_del
moveq #0,d2
moveq #0,d3
assert ddf.remove,-1
st d3
jsr ddf_drname(a4) ; search for name
bne.s dop_nfok ; ... not found is OK
moveq #0,d2 ; truncate to nothing
bsr dop_trunc
move.l d0,d4 ; save error
moveq #0,d0 ; non-urgent flush
jsr ddl_fflush(a3) ; and do flush
move.l d4,d0
bra.l dop_exit
dop_nfok
cmp.w #err.fdnf,d0 ; not found
bne.l dop_exit
dop_ok
moveq #0,d0
bra.l dop_exit
dop_exc
moveq #ddf.old,d3
bra.s dop_nopen ; normal open
dop_shr
moveq #ddf.old,d3
dop_nopen
moveq #-1,d2
jsr ddf_drname(a4) ; search for name
bne.l dop_exit
tst.l d3 ; is it a directory?
bpl.s dop_schan ; ... no, set channel block
bsr dop_adir ; ... yes check access to directory
bra.s dop_sdir ; set directory channel block
dop_dir
moveq #-1,d2
moveq #ddf.dir,d3
jsr ddf_drname(a4) ; search for existing name
bne.l dop_exit ; ... oops
dop_sdir
st d3c_atype(a0) ; set directory access mode
clr.l d3c_fpos(a0) ; start at beginning
move.l d3c_flen(a0),d3c_feof(a0) ; end of file
bra.s dop_sch1
dop_new
moveq #0,d2
moveq #ddf.new,d3
jsr ddf_drname(a4) ; search for name
beq.s dop_snew
bra.l dop_exit
dop_ovr
moveq #0,d2
moveq #ddf.either,d3
jsr ddf_drname(a4) ; search for name
bne.s dop_exit
tst.l d3 ; ... directory?
bmi dop_fdiu ; ... yes, in use
moveq #1,d2
and.b ddf_zalloc(a4),d2 ; 0 for all, 1 for keep first
bsr dop_trunc ; truncate
not.l d3c_setmask(a0) ; set all information on close
dop_snew
move.l ddf_fhlen(a4),d3c_flen(a0) ; set zero file length
; File is opened, set up channel block
dop_schan
move.l d3c_flen(a0),d3c_feof(a0) ; end of file
jsr dv3_posi ; initial position
dop_sch1
lea d3c_qname(a5),a1
move.w (a1)+,d0 ; length of name
move.w d0,d3c_qname(a0) ; set in new block
lea d3c_name(a0),a2
move.w d0,(a2)+
beq.s dop_set ; ... no name
move.l ddf_ptoi(a4),d3 ; translate table
beq.s dop_rsnt ; ... no translate
exg a3,d3
moveq #0,d1
dop_rsname
move.b (a1)+,d1
move.b (a3,d1.w),(a2)+ ; translate
subq.w #1,d0
bgt.s dop_rsname
move.l d3,a3 ; restore linkage
bra.s dop_set
dop_rsnt
move.b (a1)+,(a2)+ ; copy
subq.w #1,d0
bgt.s dop_rsnt
dop_set
assert d3c_flid,d3c_drid-4,d3c_drnr-6,d3c_ddef-8
movem.l d6/d7/a4,d3c_flid(a0) ; file ID / drive number / def block
dop_link
move.l ddf_chnlst(a4),d3c_link(a0) ; link in
move.l a0,ddf_chnlst(a4)
; Minerva rounds up heap block size if the allocation would result in
; a free block with 16 bytes. Therefore we need to calculate the size of
; the second heap block or the heap chain will sometimes get corrupted!
move.l #d3c_qdend,d4 ; base block length
move.l (a0),d0 ; size of allocated heap block
sub.l d4,d0 ; minus the base block
move.l d4,(a0) ; only now overwrite size of base block
move.l d0,d3c_qdend(a0) ; and set remaining block length
move.l #d3c.qdnchk,d3c_qdnchk(a0) ; and no check flag
moveq #0,d0
dop_exit
move.l d0,d4
beq.s dop_rchn ; OK, return channel
tst.b ddf_nropen(a4) ; bad, any files open?
bne.s dop_rchn ; ... yes, return channel
jsr ddl_done(a3) ; ... no, we've finished with drive
dop_rchn
exg a0,a5
movem.l a0/a3/a6,-(sp) ; for QDOS compatibility...
move.w mem.rchp,a2
jsr (a2) ; return old channel
movem.l (sp)+,a0/a3/a6
exg a0,a5
assert qlsd.minerva,1
tst.b qlsd_os(a3) ; Minerva?
ble.s dop_set_err ; ... no
; Only Minerva doesn't let us change the address in a0 as it "helpfully"
; restores it from the stack. In this case we need to be naughty and mess
; with the caller stack. Problem is, we MIGHT have been called through the
; DEV or another redirection device, so we don't know the exact stack location!
;
; Fortunately Minerva saves a0 with an offset, so we can stop once we find
; this pointer and not be irritated by other copies in between (which in the
; case of DEV will be fixed by DEV itself)
moveq #chn_end,d0 ; Minerva saves a0 with this offset
add.l d0,a5 ; original value
add.l a0,d0 ; new value
move.l a7,a2 ; scan stack
moveq #$30/2-1,d2 ; scan this deep (DEV adds about $20)
dop_stack_scan
cmp.l (a2),a5 ; original value here?
bne.s dop_stack_next ; ... no, try next word
move.l d0,(a2) ; set new channel ID!
bra.s dop_set_err
dop_stack_next
addq.l #2,a2
dbf d2,dop_stack_scan
dop_set_err
move.l d4,d0 ; set error
dop_rts
rts
end
|
; A285173: Numbers n such that A002496(n+1) < A002496(n)^(1+1/n).
; 3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70
pow $2,$0
pow $1,$2
add $1,$0
add $1,3
|
;-----------------------------------------------------------------------------
; Paul Wasson - 2021
;-----------------------------------------------------------------------------
; DHGR Map Editor
;
MAP_CURSOR = MAX_TILES
MAP_X_OFFSET = 10
MAP_Y_OFFSET = 2
MAP_SCREEN_WIDTH = 7
MAP_SCREEN_HEIGHT = 7
MAP_WIDTH = 64
MAP_HEIGHT = 64
HIGHLIGHT_COLOR = $0E ; black/yellow
;------------------------------------------------
; Global scope (for map edit)
;------------------------------------------------
.proc map_edit
;------------------------------------------------
; Only called once
.proc init
jsr updateWorld
jsr getTile
rts
.endproc
; Call to enter tool
.proc main
bit TXTCLR ; Make sure displaying graphics
; display a greeting
jsr inline_print
.byte "DHGR map editor - ? for help",13,0
jsr clearScreen
reset_loop:
jsr drawScreen
command_loop:
jsr drawStatus
jsr inline_print
.byte "Command:",0
skip_prompt:
jsr getInput ; Wait for a keypress
; Parse command
;------------------
; ESC = Toggle Text
;------------------
cmp #KEY_ESC
bne :+
; dont display anything
lda TEXTMODE
bmi toggle_text_off
bit TXTSET
jmp skip_prompt
toggle_text_off:
bit TXTCLR
jmp skip_prompt
:
;------------------
; A - select up
;------------------
cmp #KEY_A
bne :+
jsr inline_print
.byte "Select up 1",13,0
lda #256-1
jmp finish_select
:
;------------------
; ^A - select up more
;------------------
cmp #KEY_CTRL_A
bne :+
jsr inline_print
.byte "Select up 5",13,0
lda #256-5
jmp finish_select
:
;------------------
; Z - select down
;------------------
cmp #KEY_Z
bne :+
jsr inline_print
.byte "Select down 1",13,0
lda #1
jmp finish_select
:
;------------------
; ^Z - select down more
;------------------
cmp #KEY_CTRL_Z
bne :+
jsr inline_print
.byte "Select down 5",13,0
lda #5
jmp finish_select
:
;------------------
; SP = Set tile
;------------------
cmp #KEY_SPACE
bne :+
jsr inline_print
.byte "Set tile to ",0
lda selectTile
jsr PRBYTE
lda #13
jsr COUT
lda selectTile
jsr setTile
jmp command_loop
:
;------------------
; 0..9
; Quick bar set tile
;------------------
; if less than 0 or greater than 9, skip ahead
cmp #KEY_0
bmi :+
cmp #KEY_9+1
bpl :+
; zero upper bits
and #$f
tax
lda quickBar,x
sta cursorTile ; its going to get overwritten
jsr inline_print
.byte "Set tile to ",0
lda cursorTile
jsr PRBYTE
lda #13
jsr COUT
lda cursorTile
jsr setTile
jmp command_loop
:
;------------------
; RIGHT (arrow)
;------------------
cmp #KEY_RIGHT
bne :+
jsr inline_print
.byte "Right ",0
lda curX
cmp #MAP_SCREEN_WIDTH-1
beq pan_right
inc curX
jmp finish_move
pan_right:
lda mapX
cmp #MAP_WIDTH-MAP_SCREEN_WIDTH
beq move_fail
inc mapX
jmp finish_pan
:
;------------------
; LEFT (arrow)
;------------------
cmp #KEY_LEFT
bne :+
jsr inline_print
.byte "Left ",0
lda curX
beq pan_left
dec curX
jmp finish_move
pan_left:
lda mapX
beq move_fail
dec mapX
jmp finish_pan
move_fail:
jsr sound_click
jmp finish_move
:
;------------------
; UP (arrow)
;------------------
cmp #KEY_UP
bne :+
jsr inline_print
.byte "Up ",0
lda curY
beq pan_up
dec curY
jmp finish_move
pan_up:
lda mapY
beq move_fail
dec mapY
jmp finish_pan
:
;------------------
; DOWN (arrow)
;------------------
cmp #KEY_DOWN
bne :+
jsr inline_print
.byte "Down ",0
lda curY
cmp #MAP_SCREEN_HEIGHT-1
beq pan_down
inc curY
jmp finish_move
pan_down:
lda mapY
cmp #MAP_HEIGHT-MAP_SCREEN_HEIGHT
beq move_fail
inc mapY
jmp finish_pan
:
;------------------
; ^P = Printer dump
;------------------
cmp #KEY_CTRL_P
bne :+
bit TXTSET
jsr inline_print
.byte "Dump Map to printer ",13,13,0
jsr printerDump
jmp command_loop
:
;------------------
; ^Q = QUIT
;------------------
cmp #KEY_CTRL_Q
bne :+
jsr inline_print
.byte "Quit",13,0
bit TXTSET
jmp quit
:
;------------------
; ? = HELP
;------------------
cmp #$80 + '?'
bne :+
jsr inline_print
.byte "Help (ESC when done)",13,0
jsr printHelp
jmp command_loop
:
;-------------------
; TAB = Switch tool
;-------------------
cmp #KEY_TAB
bne :+
jsr inline_print
.byte "Switch tool",13,0
rts ; return to main
:
;------------------
; \ = Monitor
;------------------
cmp #$80 | '\'
bne :+
jsr inline_print
.byte "Monitor",13,"(enter CTRL-Y to return)",13,0
; Set ctrl-y vector
lda #$4c ; JMP
sta $3f8
lda #<main
sta $3f9
lda #>main
sta $3fa
bit TXTSET
jmp MONZ ; enter monitor
:
;------------------
; ^L = Load
;------------------
cmp #KEY_CTRL_L
bne :+
jsr inline_print
.byte "Read slot (0-4):",0
lda #5
jsr getInputNumber
bmi load_exit
jsr loadMap
; redraw the screen
jmp reset_loop
load_exit:
jmp command_loop
:
;------------------
; ^S = Save
;------------------
cmp #KEY_CTRL_S
bne :+
jsr inline_print
.byte "Save slot (0-4):",0
lda #5
jsr getInputNumber
bmi save_exit
jsr saveMap
save_exit:
jmp command_loop
:
;------------------
; Set quick bar
; !@#$%^&*()
;------------------
cmp #$80 | '!'
bne :+
ldx #1
jmp set_key
:
cmp #$80 | '@'
bne :+
ldx #2
jmp set_key
:
cmp #$80 | '#'
bne :+
ldx #3
jmp set_key
:
cmp #$80 | '$'
bne :+
ldx #4
jmp set_key
:
cmp #$80 | '%'
bne :+
ldx #5
jmp set_key
:
cmp #$80 | '^'
bne :+
ldx #6
jmp set_key
:
cmp #$80 | '&'
bne :+
ldx #7
jmp set_key
:
cmp #$80 | '*'
bne :+
ldx #8
jmp set_key
:
cmp #$80 | '('
bne :+
ldx #9
jmp set_key
:
cmp #$80 | ')'
bne :+
ldx #0
jmp set_key
:
;------------------
; Return = action
;------------------
cmp #KEY_RETURN
bne :+
jsr inline_print
.byte "Enter action number:",0
lda actionIndex
jsr getInputHex
jsr setAction
jmp command_loop
:
;------------------
; Unknown
;------------------
jsr inline_print
.byte "Unknown command (? for help)",13,0
jmp command_loop
; jump to to change key
set_key:
stx quickbarIndex
lda selectTile
sta quickBar,x
jsr drawQuickBar
jsr inline_print
.byte "Quickbar set ",0
lda quickbarIndex
jsr PRBYTE
jsr inline_print
.byte " to tile ",0
lda selectTile
jsr PRBYTE
lda #13
jsr COUT
jmp command_loop
; jump to after changing select
; amount to move select in A
finish_select:
clc
adc selectOffset
and #MAX_TILES-1
sta selectOffset
jsr drawSelectBar
jmp command_loop
finish_pan:
jsr updateWorld
jsr drawMap
jmp finish_move2
; jump to after changing coordinates
finish_move:
; update world coordinates
jsr updateWorld
finish_move2:
jsr inline_print
.byte "X/Y:",0
; calc cursor position as part of print
lda worldX
jsr PRBYTE
lda #$80 + ','
jsr COUT
lda worldY
jsr PRBYTE
jsr inline_print
.byte " Tile:",0
jsr getTile
lda cursorTile
jsr PRBYTE
lda actionIndex
beq :+
jsr inline_print
.byte " Action:",0
lda actionIndex
jsr PRBYTE
:
lda #13
jsr COUT
jmp command_loop
quickbarIndex: .byte 0
.endproc
;-----------------------------------------------------------------------------
; Update world
; Set world coordinates
;-----------------------------------------------------------------------------
.proc updateWorld
lda mapX
clc
adc curX
sta worldX
lda mapY
clc
adc curY
sta worldY
rts
.endproc
;-----------------------------------------------------------------------------
; getInputNumber
; Get input for a number 0..max+1, where A == max+1
; Display number or cancel and return result in A (-1 for cancel)
;-----------------------------------------------------------------------------
.proc getInputNumber
clc
adc #$80 + '0' ; convert A to ascii number
sta max_digit
jsr getInput
cmp #$80 + '0'
bmi cancel
cmp max_digit
bpl cancel
jsr COUT
sec
sbc #$80 + '0'
rts
cancel:
jsr inline_print
.byte "Cancel",13,0
lda #$ff
rts
; local variable
max_digit: .byte 0
.endproc
;-----------------------------------------------------------------------------
; getInputHex
; Modify passed in hex number
;-----------------------------------------------------------------------------
.proc getInputHex
sta value
sta cancelValue
loop:
lda value
jsr PRBYTE
; pre-shift value
lda value
asl
asl
asl
asl
sta shiftValue
input_loop:
jsr getInput
; Between 0-9?
cmp #KEY_0
bmi not_digit
cmp #KEY_9+1
bpl not_digit
sec
sbc #KEY_0
ora shiftValue
jmp new_value
not_digit:
; Between a-f?
cmp #KEY_A
bmi not_letter
cmp #KEY_F+1
bpl not_letter
sec
sbc #KEY_A-10
ora shiftValue
jmp new_value
not_letter:
cmp #KEY_RETURN
bne not_return
lda #13
jsr COUT
lda value
rts
not_return:
cmp #KEY_ESC
bne input_loop
lda #$88
jsr COUT
lda #$88
jsr COUT ; move cursor back
lda cancelValue
jsr PRBYTE
lda #13
jsr COUT
lda cancelValue ; return original value
rts
new_value:
sta value
lda #$88
jsr COUT
lda #$88
jsr COUT ; move cursor back
jmp loop
; local variable
value: .byte 0
shiftValue: .byte 0
cancelValue: .byte 0
.endproc
;-----------------------------------------------------------------------------
; Get input direction
; Pick and diplay 1 of 4 directions or cancel
;-----------------------------------------------------------------------------
.proc getInputDirection
jsr getInput
cmp #KEY_LEFT
bne :+
jsr inline_print
.byte "Left ",13,0
lda #DIR_LEFT
rts
:
cmp #KEY_RIGHT
bne :+
jsr inline_print
.byte "Right",13,0
lda #DIR_RIGHT
rts
:
cmp #KEY_UP
bne :+
jsr inline_print
.byte "Up ",13,0
lda #DIR_UP
rts
:
cmp #KEY_DOWN
bne :+
jsr inline_print
.byte "Down ",13,0
lda #DIR_DOWN
rts
:
jsr inline_print
.byte "Cancel",13,0
LDA #$FF
rts
.endproc
;-----------------------------------------------------------------------------
; printHelp
;-----------------------------------------------------------------------------
.proc printHelp
bit TXTSET
jsr inline_print
.byte " Arrows: Move cursor",13
.byte " Space: Set location of cursor to selected tile",13
.byte " 0..9: Set location of cursor to quick-bar tile",13
.byte " Shift-0..9: Assign quick-bar to selected tile",13
.byte " A,Z: Scroll tile selection by 1",13
.byte " Ctrl-A,Z: Scroll tile selection by 5",13
.byte " Return: Enter action number (hex)",13
.byte " Ctrl-L: Load map",13
.byte " Ctrl-S: Save map",13
.byte " Ctrl-P: Print map to output (printer)",13
.byte " (Do a 1^P in monitor first!)",13
.byte " Tab: Switch tool",13
.byte " ?: This help screen",13
.byte " \: Monitor",13
.byte " Ctrl-Q: Quit",13
.byte " Escape: Toggle text/graphics",13
.byte 0
rts
.endproc
;-----------------------------------------------------------------------------
; Draw screen
;
; Redraw screen
;-----------------------------------------------------------------------------
.proc drawScreen
;----------------
; Static content
;----------------
; Map box
lda #1
sta boxTop
lda #16
sta boxBottom
lda #8
sta boxLeft
lda #38
sta boxRight
jsr drawBox
; Select outline
jsr drawSelectBox
;----------------
; Dynamic content
;----------------
jsr drawSelectBar
jsr drawQuickBar
jsr drawMap
jsr drawStatus
rts
.endproc
.proc drawSelectBox
lda #4
sta index
lda #BOX_RIGHT_TEE
sta shape
loop:
lda index
asl ;*2
sta tileX
lda #5
sta tileY
lda shape
jsr drawInterfaceTile_7x8
lda #8
sta tileY
lda shape
jsr drawInterfaceTile_7x8
lda #BOX_HORZ
sta shape
dec index
bpl loop
rts
index: .byte 0
shape: .byte 0
.endproc
;-----------------------------------------------------------------------------
; Draw Select Bar
;
;-----------------------------------------------------------------------------
.proc drawSelectBar
lda selectOffset
sta index
lda #0
sta tileX
lda #0
sta tileY
jsr drawNumberedTile
jsr incIndex
jsr drawNumberedTile
jsr incIndex
sta selectTile
jsr drawSelectedTile
jsr incIndex
jsr drawNumberedTile
jsr incIndex
jsr drawNumberedTile
jsr incIndex
jsr drawNumberedTile
jsr incIndex
rts
incIndex:
lda index
clc
adc #1
and #MAX_TILES-1
sta index
rts
drawNumberedTile:
lda index
jsr drawTileNumber
inc tileX
inc tileX
lda index
jsr drawTile_14x16
lda tileX
sec
sbc #4
sta tileX
inc tileY
inc tileY
rts
drawSelectedTile:
inc tileY
inc tileY
lda index
jsr drawTileNumberSelected
inc tileX
inc tileX
lda index
jsr drawTile_14x16
lda tileX
sec
sbc #4
sta tileX
lda tileY
clc
adc #4
sta tileY
rts
index: .byte 0
.endproc
;-----------------------------------------------------------------------------
; Draw Quick Bar
;
;-----------------------------------------------------------------------------
.proc drawQuickBar
lda #0
sta index
loop:
lda index
asl ;
asl ; *4
sta tileX
lda #17
sta tileY
ldx index
inx
cpx #10
bne :+
ldx #0
:
lda quickBar,x
jsr drawTile_14x16
inc tileX
lda #19
sta tileY
lda index
clc
adc #1
cmp #10
bne :+
lda #0
:
jsr drawInterfaceTile_7x8
inc index
lda index
cmp #10
bne loop
rts
index: .byte 0
.endproc
;-----------------------------------------------------------------------------
; Draw Hex
;
;-----------------------------------------------------------------------------
.proc drawHex
sta temp
lsr
lsr
lsr
lsr ; / 4
jsr drawInterfaceTile_7x8
inc tileX
inc tileX
lda temp
and #$f
jsr drawInterfaceTile_7x8
inc tileX
inc tileX
rts
temp: .byte 0
.endproc
;-----------------------------------------------------------------------------
; Draw Status
;
;-----------------------------------------------------------------------------
.proc drawStatus
lda #0
sta tileY
lda #10
sta tileX
lda worldX
jsr drawHex
jsr drawString
.byte ":",0
lda worldY
jsr drawHex
jsr drawString
.byte " ACTION:",0
lda actionIndex
jsr drawHex
rts
.endproc
;-----------------------------------------------------------------------------
; Draw Map
;
;-----------------------------------------------------------------------------
.proc drawMap
lda #0
sta indexY
loop_y:
; set pointer
lda mapY
clc
adc indexY
sta temp
lsr ; /2
clc
adc #>MAPSHEET
sta mapPtr1
lda temp
ror
ror
and #$80 ; *128
sta mapPtr0 ; assume 256 aligned
lda #0
sta indexX
lda indexY
asl
adc #MAP_Y_OFFSET
sta tileY
loop_x:
lda indexX
asl
asl ;*4
adc #MAP_X_OFFSET
sta tileX
clc
lda mapX
adc indexX
asl ; *2
tay
sty temp ; store offset
lda (mapPtr0),y
jsr drawTile_14x16
ldy temp
iny
lda (mapPtr0),y
beq :+
lda #HIGHLIGHT_COLOR
jsr drawHighlight_14x16
:
inc indexX
lda indexX
cmp #MAP_SCREEN_WIDTH
bne loop_x
inc indexY
lda indexY
cmp #MAP_SCREEN_HEIGHT
bne loop_y
rts
temp: .byte 0
indexX: .byte 0
indexY: .byte 0
.endproc
;-----------------------------------------------------------------------------
; Save cursor
; Swap between current and backup cursor coordinates
;-----------------------------------------------------------------------------
.proc saveCursor
ldx curX
lda saveCurX
sta curX
stx saveCurX
ldx curY
lda saveCurY
sta curY
stx saveCurY
rts
saveCurX: .byte 0
saveCurY: .byte 0
.endproc
;-----------------------------------------------------------------------------
; getInput
; Blink cursors and wait for keypress
; Return key in A (upper bit set)
;-----------------------------------------------------------------------------
.proc getInput
; calc tile cordinates once
lda curX
asl
asl ;*4
adc #MAP_X_OFFSET
sta tileX
lda curY
asl
adc #MAP_Y_OFFSET
sta tileY
cursor_loop:
; Display cursor
lda #$FF
jsr COUT
lda #MAP_CURSOR
jsr drawTile_14x16
; Wait (on)
jsr wait
; Restore
lda #$88 ; backspace
jsr COUT
lda #$A0 ; space
jsr COUT
lda #$88 ; backspace
jsr COUT
lda cursorTile
jsr drawTile_14x16
lda actionIndex
beq :+
lda #HIGHLIGHT_COLOR
jsr drawHighlight_14x16
:
; check for keypress
lda KBD
bmi exit
; Wait (off)
jsr wait
; check for keypress
lda KBD
bpl cursor_loop
exit:
bit KBDSTRB ; clean up
rts
; Wait loop that can be interrupted by key-press
wait:
ldx #$80
wait_x:
ldy #0
wait_y:
lda KBD
bmi waitExit
dey
bne wait_y
dex
bne wait_x
waitExit:
rts
.endproc
;-----------------------------------------------------------------------------
; setWorldMapPtr
; Set map pointer based on world X,Y
;-----------------------------------------------------------------------------
.proc setWorldMapPtr
lda worldY
lsr ; /2
clc
adc #>MAPSHEET
sta mapPtr1
lda worldY
ror
ror
and #$80 ; * MAP_WIDTH (64)
sta mapPtr0 ; assume 256 aligned
rts
.endproc
;-----------------------------------------------------------------------------
; getTile
; Return tile byte at world coordinates
;-----------------------------------------------------------------------------
.proc getTile
jsr setWorldMapPtr
lda worldX
asl ; *2
tay
lda (mapPtr0),y
sta cursorTile
iny
lda (mapPtr0),y
sta actionIndex
rts
.endproc
;-----------------------------------------------------------------------------
; setTile
; Set map tile to A
;-----------------------------------------------------------------------------
.proc setTile
sta temp
jsr setWorldMapPtr
lda worldX
asl ; *2
tay
lda temp
sta (mapPtr0),y
sta cursorTile ; update cursor
rts
temp: .byte 0
.endproc
;-----------------------------------------------------------------------------
; setAction
; Set action number to A
;-----------------------------------------------------------------------------
.proc setAction
sta temp
jsr setWorldMapPtr
lda worldX
asl ; *2
tay
iny
lda temp
sta (mapPtr0),y
sta actionIndex
rts
temp: .byte 0
.endproc
;-----------------------------------------------------------------------------
; printerDump
;
; Dump map to printer
;-----------------------------------------------------------------------------
.proc printerDump
bit TXTSET
;jsr $c100 ; connect output to printer
lda #0
sta rowCount
; set map ptr
sta mapPtr0 ; zero
lda #>MAPSHEET
sta mapPtr1 ; page
print_loop:
jsr inline_print
.byte ";row ",0
lda rowCount
jsr PRBYTE
jsr printRow
lda mapPtr0
clc
adc #MAP_WIDTH*2
sta mapPtr0
bne :+
inc mapPtr1
:
inc rowCount
lda rowCount
cmp #MAP_HEIGHT
bne print_loop
;jsr $c300 ; recoonect output?
rts
rowCount: .byte 0
printRow:
jsr inline_print
.byte 13,".word ",0
lda #0
sta dumpCount
jmp dump_loop
dump_comma:
lda #$80 + ','
jsr COUT
dump_loop:
; to highlight actions, print spaces if no action
ldy dumpCount
iny
lda (mapPtr0),y
sta action
beq no_action
; upper byte
lda #$80 + '$'
jsr COUT
lda action
jsr PRBYTE
jmp bg_number
no_action:
lda #$a0
jsr COUT
lda #$a0
jsr COUT ; prepend 2 spaces for FG edits
lda #$80 + '$'
jsr COUT
bg_number:
ldy dumpCount
lda (mapPtr0),y
jsr PRBYTE
inc dumpCount
inc dumpCount ; by 2
lda dumpCount
cmp #MAP_WIDTH*2
beq dump_finish
lda dumpCount
and #$1f
bne dump_comma
jsr inline_print
.byte 13,".word ",0
jmp dump_loop
dump_finish:
lda #13
jsr COUT
rts
dumpCount: .byte 0
action: .byte 0
.endproc
;-----------------------------------------------------------------------------
; Load Map
;-----------------------------------------------------------------------------
.proc loadMap
; set filename
clc
adc #'0'
sta pathname_end-1
lda #13
jsr COUT
; set pathname
lda #<pathname
sta open_params+1
lda #>pathname
sta open_params+2
; set address
lda #<MAPSHEET
sta rw_params+2
lda #>MAPSHEET
sta rw_params+3
; set size
lda #<MAPSHEET_SIZE
sta rw_params+4
lda #>MAPSHEET_SIZE
sta rw_params+5
jmp loadData ; link return
rts
.endproc
;-----------------------------------------------------------------------------
; Save map
;-----------------------------------------------------------------------------
.proc saveMap
; set filename
clc
adc #'0'
sta pathname_end-1
lda #13
jsr COUT
; set pathname (open)
lda #<pathname
sta open_params+1
lda #>pathname
sta open_params+2
; set pathname (create)
lda #<pathname
sta create_params+1
lda #>pathname
sta create_params+2
; set address
lda #<MAPSHEET
sta rw_params+2
lda #>MAPSHEET
sta rw_params+3
; set size
lda #<MAPSHEET_SIZE
sta rw_params+4
lda #>MAPSHEET_SIZE
sta rw_params+5
jmp saveData ; link return
.endproc
;-----------------------------------------------------------------------------
; Global Variables
;-----------------------------------------------------------------------------
; map = world offset
mapX: .byte $1d
mapY: .byte $1d
; cur = offset on screen
curX: .byte 3 ; start in middle of the screen
curY: .byte 3
cursorTile: .byte 0
actionIndex: .byte 0
; word = map + cur
worldX: .byte 0
worldY: .byte 0
selectOffset: .byte 0
selectTile: .byte 0
height: .byte 64
height_m1: .byte 63
width: .byte 64
width_m1: .byte 63
; Saved indexes
quickBar: .byte 0,1,2,3,4,5,6,7,8,9
; ProDos pathname
pathname:
StringLen "/DHGR/DATA/MAP.0"
pathname_end:
;------------------------------------------------
; Global scope (for tile edit)
;------------------------------------------------
.endproc
;------------------------------------------------
|
; void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *))
SECTION code_stdlib
PUBLIC qsort
EXTERN asm_qsort
qsort:
pop af
pop ix
pop de
pop hl
pop bc
push bc
push hl
push de
push hl
push af
jp asm_qsort
|
//
// Copyright 2012 MultiMC Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#include "taskprogressdialog.h"
#include <wx/gbsizer.h>
const wxString initial_text = _("This text represents the size of the dialog and the area\nreserved for any possible status text.");
#include "utils/apputils.h"
TaskProgressDialog::TaskProgressDialog ( wxWindow* parent)
: wxDialog ( parent, -1, _("Please wait..."), wxDefaultPosition, wxDefaultSize , wxCAPTION)
{
SetAprilFonts(this);
wxClientDC dc(this);
dc.SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
wxCoord widthText = 0;
wxCoord heightText = 0;
wxCoord lineHeight = 0;
dc.GetTextExtent(initial_text, &widthText, &heightText, NULL, NULL, NULL);
dc.GetTextExtent("ABEND", NULL, &lineHeight, NULL, NULL, NULL);
auto wrapsizer = new wxBoxSizer(wxVERTICAL);
auto centerizer = new wxGridBagSizer( 0, 0 );
centerizer->AddGrowableCol( 0 );
centerizer->AddGrowableRow( 0 );
centerizer->SetFlexibleDirection( wxBOTH );
centerizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
wrapsizer->Add( centerizer, 1, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL);
wxSize textSize(widthText, heightText);
message = new wxGenericStaticText(this, -1, "" ,wxDefaultPosition, textSize,wxALIGN_CENTRE_HORIZONTAL);
message->SetMinSize(textSize);
centerizer->Add(message,wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxALL, lineHeight/2);
gauge = new wxGauge(this,-1,100,wxDefaultPosition,wxDefaultSize,wxGA_HORIZONTAL | wxGA_SMOOTH);
wrapsizer->Add(gauge,wxSizerFlags().Expand().Border(wxBOTTOM|wxLEFT|wxRIGHT,lineHeight/2).Proportion(0));
EnableCloseButton(false);
SetSizerAndFit(wrapsizer);
CenterOnParent();
#ifdef __WXGTK__
pulse_timer = new wxTimer(this,ID_PulseTimer);
#endif
}
int TaskProgressDialog::ShowModal ( Task* run_task )
{
task = run_task;
task->Start(this,true);
return wxDialog::ShowModal();
}
void TaskProgressDialog::OnTaskStart ( TaskEvent& event )
{
StartPulsing();
}
void TaskProgressDialog::OnTaskProgress ( TaskProgressEvent& event )
{
if (event.m_progress == 0)
{
StartPulsing();
}
else
{
is_pulsing = false;
gauge->SetValue(event.m_progress);
}
message->SetLabel(event.m_status);
}
void TaskProgressDialog::OnTaskEnd ( TaskEvent& event )
{
Task * t = event.m_task;
long exitcode = (long) t->Wait();
// running timer would cause a segfault.
is_pulsing = false;
#ifdef __WXGTK__
pulse_timer->Stop();
#endif
EndModal(exitcode);
}
void TaskProgressDialog::OnTaskError ( TaskErrorEvent& event )
{
wxLogError(event.m_errorMsg);
}
void TaskProgressDialog::StartPulsing()
{
if(!is_pulsing)
{
is_pulsing = true;
gauge->Pulse();
#ifdef __WXGTK__
pulse_timer->Start(30);
#endif
}
}
#ifdef __WXGTK__
void TaskProgressDialog::OnTimer ( wxTimerEvent& event )
{
if(is_pulsing)
{
gauge->Pulse();
}
else
{
pulse_timer->Stop();
}
}
#endif
BEGIN_EVENT_TABLE(TaskProgressDialog, wxDialog)
EVT_TASK_START(TaskProgressDialog::OnTaskStart)
EVT_TASK_END(TaskProgressDialog::OnTaskEnd)
EVT_TASK_PROGRESS(TaskProgressDialog::OnTaskProgress)
EVT_TASK_ERRORMSG(TaskProgressDialog::OnTaskError)
#ifdef __WXGTK__
EVT_TIMER(ID_PulseTimer, TaskProgressDialog::OnTimer)
#endif
END_EVENT_TABLE() |
;
; Copyright (c) 2020 Phillip Stevens
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, June 2020
;
;-------------------------------------------------------------------------
; asm_f32_f48 - z80, z180, z80n unpacked format conversion code
;-------------------------------------------------------------------------
;
; convert math48 double to IEEE-754 float
;
; enter : AC' = math48 double
;
; exit : DEHL = IEEE-754 float
; (exx set is swapped)
;
; uses : af, bc, de, hl, bc', de', hl'
;
;-------------------------------------------------------------------------
SECTION code_fp_math16
PUBLIC asm_f32_f48
PUBLIC asm_f48_f32
EXTERN error_lznc
.asm_f32_f48
exx
ld a,l
sub 2
jp C,error_lznc
sla b
rra
rr b
ld e,b
ld h,c
ld l,d
ld d,a
ret
;-------------------------------------------------------------------------
; asm_f48_f32 - z80, z180, z80n unpacked format conversion code
;-------------------------------------------------------------------------
;
; convert IEEE-754 float to math48 float
;
; enter : DEHL = IEEE-754 float
;
; exit : AC' = math48 float
; (exx set is swapped)
;
; uses : f, bc, de, hl, bc', de', hl'
;
;-------------------------------------------------------------------------
.asm_f48_f32
ex de,hl
ld a,d
or e
or h
or l
jr Z, zero48
add hl,hl
rr l
inc h
inc h
.zero48
ld c,d
ld d,e
ld b,l
ld l,h
ld e,0
ld h,e
exx
ret
|
; Copyright © 2005 - 2021 by Brett Kuntz. All rights reserved.
SetFileTimeHook proto :dword, :dword, :dword, :dword
.data?
SetFileTimeOrig dd ?
.code
; ##########################################################################
SetFileTimeHook proc hFile:dword, lpCreationTime:dword, lpLastAccessTime:dword, lpLastWriteTime:dword
.if hFile != 0
.if DidWeCreateTheDAT == FALSE
.if IsDATLocked == TRUE
invoke CheckAndUnlockTheDAT, hFile
.endif
invoke CheckForSwap, addr hFile
.endif
invoke IsHandleTheDAT, hFile
.if eax != 0
ret
.endif
.endif
push lpLastWriteTime
push lpLastAccessTime
push lpCreationTime
push hFile
push offset SetFileTimeRet
SetFileTimeStub STUB
jmp SetFileTimeOrig
SetFileTimeRet:
ret
SetFileTimeHook endp
; ########################################################################## |
#include <mupdf_wrapper/context.h>
#include <mupdf_wrapper/document.h>
#include <mupdf_wrapper/page.h>
#include <catch2/catch.hpp>
#include <filesystem>
#include <memory>
extern std::filesystem::path test_files_directory;
SCENARIO("Create Page", "[Page]")
{
GIVEN("Document")
{
mupdf_wrapper::Context context;
context.register_document_handlers();
const mupdf_wrapper::Document document{context, test_files_directory / "one_page_empty_document.pdf"};
CHECK(document.get_total_pages() == 1);
WHEN("Create Page from existing page number")
{
std::unique_ptr<mupdf_wrapper::Page> page;
REQUIRE_NOTHROW(page = std::make_unique<mupdf_wrapper::Page>(context, document, 0));
THEN("Page is created")
{
const auto mupdf_page = page->get();
REQUIRE(nullptr != mupdf_page);
}
}
WHEN("Create Page from negative page number")
{
THEN("An exception is thrown")
{
REQUIRE_THROWS_AS((mupdf_wrapper::Page{context, document, -1}), std::runtime_error);
}
}
WHEN("Create Page from unexisting page number")
{
THEN("An exception is thrown")
{
REQUIRE_THROWS_AS((mupdf_wrapper::Page{context, document, 1}), std::runtime_error);
}
}
}
}
|
.include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 14
card_no equ "014"
card_sub equ "Mod Card 014"
card_sub_x equ 64
card_desc_len equ 2
card_desc_1 equ "Yort"
card_desc_2 equ "17MB"
card_desc_3 equ ""
card_name_jp_full equ "ヨーヨット"
card_name_jp_game equ "ヨーヨット"
card_name_en_full equ "Yort"
card_name_en_game equ "Yort"
card_address equ ""
card_address_id equ 0
card_bug equ 0
card_wrote_en equ ""
card_wrote_jp equ "" |
/*
* Copyright (C) 2012 Google Inc. 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 copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "third_party/blink/renderer/platform/animation/animation_translation_util.h"
#include "third_party/blink/renderer/platform/animation/compositor_transform_operations.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "third_party/blink/renderer/platform/transforms/interpolated_transform_operation.h"
#include "third_party/blink/renderer/platform/transforms/matrix_3d_transform_operation.h"
#include "third_party/blink/renderer/platform/transforms/matrix_transform_operation.h"
#include "third_party/blink/renderer/platform/transforms/perspective_transform_operation.h"
#include "third_party/blink/renderer/platform/transforms/rotate_transform_operation.h"
#include "third_party/blink/renderer/platform/transforms/scale_transform_operation.h"
#include "third_party/blink/renderer/platform/transforms/skew_transform_operation.h"
#include "third_party/blink/renderer/platform/transforms/transform_operations.h"
#include "third_party/blink/renderer/platform/transforms/transformation_matrix.h"
#include "third_party/blink/renderer/platform/transforms/translate_transform_operation.h"
namespace blink {
void ToCompositorTransformOperations(
const TransformOperations& transform_operations,
CompositorTransformOperations* out_transform_operations,
const FloatSize& box_size) {
// We need to do a deep copy the transformOperations may contain ref pointers
// to TransformOperation objects.
for (const auto& operation : transform_operations.Operations()) {
switch (operation->GetType()) {
case TransformOperation::kScaleX:
case TransformOperation::kScaleY:
case TransformOperation::kScaleZ:
case TransformOperation::kScale3D:
case TransformOperation::kScale: {
auto* transform =
static_cast<const ScaleTransformOperation*>(operation.get());
out_transform_operations->AppendScale(transform->X(), transform->Y(),
transform->Z());
break;
}
case TransformOperation::kTranslateX:
case TransformOperation::kTranslateY:
case TransformOperation::kTranslateZ:
case TransformOperation::kTranslate3D:
case TransformOperation::kTranslate: {
auto* transform =
static_cast<const TranslateTransformOperation*>(operation.get());
if (!RuntimeEnabledFeatures::CompositeRelativeKeyframesEnabled())
DCHECK(transform->X().IsFixed() && transform->Y().IsFixed());
out_transform_operations->AppendTranslate(
transform->X(box_size), transform->Y(box_size), transform->Z());
break;
}
case TransformOperation::kRotateX:
case TransformOperation::kRotateY:
case TransformOperation::kRotateZ:
case TransformOperation::kRotate3D:
case TransformOperation::kRotate: {
auto* transform =
static_cast<const RotateTransformOperation*>(operation.get());
out_transform_operations->AppendRotate(
transform->X(), transform->Y(), transform->Z(), transform->Angle());
break;
}
case TransformOperation::kSkewX: {
auto* transform =
static_cast<const SkewTransformOperation*>(operation.get());
out_transform_operations->AppendSkewX(transform->AngleX());
break;
}
case TransformOperation::kSkewY: {
auto* transform =
static_cast<const SkewTransformOperation*>(operation.get());
out_transform_operations->AppendSkewY(transform->AngleY());
break;
}
case TransformOperation::kSkew: {
auto* transform =
static_cast<const SkewTransformOperation*>(operation.get());
out_transform_operations->AppendSkew(transform->AngleX(),
transform->AngleY());
break;
}
case TransformOperation::kMatrix: {
auto* transform =
static_cast<const MatrixTransformOperation*>(operation.get());
TransformationMatrix m = transform->Matrix();
out_transform_operations->AppendMatrix(
TransformationMatrix::ToSkMatrix44(m));
break;
}
case TransformOperation::kMatrix3D: {
auto* transform =
static_cast<const Matrix3DTransformOperation*>(operation.get());
TransformationMatrix m = transform->Matrix();
out_transform_operations->AppendMatrix(
TransformationMatrix::ToSkMatrix44(m));
break;
}
case TransformOperation::kPerspective: {
auto* transform =
static_cast<const PerspectiveTransformOperation*>(operation.get());
out_transform_operations->AppendPerspective(transform->Perspective());
break;
}
case TransformOperation::kRotateAroundOrigin:
case TransformOperation::kInterpolated: {
TransformationMatrix m;
operation->Apply(m, box_size);
out_transform_operations->AppendMatrix(
TransformationMatrix::ToSkMatrix44(m));
break;
}
default:
NOTREACHED();
break;
} // switch
} // for each operation
}
} // namespace blink
|
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF|FLAG_SF|FLAG_ZF|FLAG_AF|FLAG_PF|FLAG_CF
;TEST_FILE_META_END
; allocate 16 byte aligned stack space for the packed values
;TEST_BEGIN_RECORDING
lea ecx, [esp-0x20]
and ecx, 0xfffffff0
; load 128 bit value into xmm0
mov DWORD [ecx], 0x82345678
mov DWORD [ecx+4], 0x155785f5
mov DWORD [ecx+8], 0xdeadbeef
mov DWORD [ecx+12], 0x1f311c47
pmovsxbq xmm0, [ecx]
mov ecx, 0
;TEST_END_RECORDING
cvtsi2sd xmm0, ecx
|
// Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "midis/device_tracker.h"
#include <memory>
#include <utility>
#include <base/bind.h>
#include <base/strings/string_number_conversions.h>
#include <base/strings/string_util.h>
#include <brillo/test_helpers.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "midis/tests/test_helper.h"
namespace midis {
namespace {
const char kFakeName1[] = "Sample MIDI Device - 1";
const char kFakeManufacturer1[] = "Foo";
const uint32_t kFakeSysNum1 = 2;
const uint32_t kFakeDevNum1 = 0;
const uint32_t kFakeSubdevs1 = 1;
const uint32_t kFakeFlags1 = 7;
const char kFakeName2[] = "Sample MIDI Device - 2";
const char kFakeManufacturer2[] = "Bar";
const uint32_t kFakeSysNum2 = 3;
const uint32_t kFakeDevNum2 = 1;
const uint32_t kFakeSubdevs2 = 2;
const uint32_t kFakeFlags2 = 6;
bool FakeInPortSubscribeCallback(uint32_t device_id, uint32_t port_id) {
NOTIMPLEMENTED();
return true;
}
int FakeOutPortSubscribeCallback(uint32_t device_id, uint32_t port_id) {
NOTIMPLEMENTED();
return 0;
}
void FakeInPortDeleteCallback(uint32_t device_id, uint32_t port_id) {
NOTIMPLEMENTED();
}
void FakeOutPortDeleteCallback(int alsa_out_port_id) {
NOTIMPLEMENTED();
}
void FakeSendMidiDataCallback(int alsa_out_port_id,
const uint8_t* buf,
size_t buf_len) {
NOTIMPLEMENTED();
}
} // namespace
class DeviceTrackerTest : public ::testing::Test {
protected:
DeviceTracker tracker_;
};
// Check whether a 2 devices get successfully added to the devices map.
TEST_F(DeviceTrackerTest, Add2DevicesPositive) {
// Since this test isn't testing the Device class functionality, it's OK
// to set the callbacks to be no-ops.
auto dev = std::make_unique<Device>(kFakeName1,
kFakeManufacturer1,
kFakeSysNum1,
kFakeDevNum1,
kFakeSubdevs1,
kFakeFlags1,
base::Bind(&FakeInPortSubscribeCallback),
base::Bind(&FakeOutPortSubscribeCallback),
base::Bind(&FakeInPortDeleteCallback),
base::Bind(&FakeOutPortDeleteCallback),
base::Bind(&FakeSendMidiDataCallback),
std::map<uint32_t, unsigned int>());
tracker_.AddDevice(std::move(dev));
auto dev2 =
std::make_unique<Device>(kFakeName2,
kFakeManufacturer2,
kFakeSysNum2,
kFakeDevNum2,
kFakeSubdevs2,
kFakeFlags2,
base::Bind(&FakeInPortSubscribeCallback),
base::Bind(&FakeOutPortSubscribeCallback),
base::Bind(&FakeInPortDeleteCallback),
base::Bind(&FakeOutPortDeleteCallback),
base::Bind(&FakeSendMidiDataCallback),
std::map<uint32_t, unsigned int>());
tracker_.AddDevice(std::move(dev2));
EXPECT_EQ(2, tracker_.devices_.size());
auto it = tracker_.devices_.begin();
uint32_t device_id = it->first;
Device const* device = it->second.get();
EXPECT_THAT(device, DeviceMatcher(device_id, kFakeName1, kFakeManufacturer1));
it++;
device_id = it->first;
device = it->second.get();
EXPECT_THAT(device, DeviceMatcher(device_id, kFakeName2, kFakeManufacturer2));
}
// Check whether a device gets successfully added, then removed from the devices
// map.
TEST_F(DeviceTrackerTest, AddRemoveDevicePositive) {
auto dev = std::make_unique<Device>(kFakeName1,
kFakeManufacturer1,
kFakeSysNum1,
kFakeDevNum1,
kFakeSubdevs1,
kFakeFlags1,
base::Bind(&FakeInPortSubscribeCallback),
base::Bind(&FakeOutPortSubscribeCallback),
base::Bind(&FakeInPortDeleteCallback),
base::Bind(&FakeOutPortDeleteCallback),
base::Bind(&FakeSendMidiDataCallback),
std::map<uint32_t, unsigned int>());
tracker_.AddDevice(std::move(dev));
EXPECT_EQ(1, tracker_.devices_.size());
tracker_.RemoveDevice(kFakeSysNum1, kFakeDevNum1);
EXPECT_EQ(0, tracker_.devices_.size());
}
// Check whether a device gets successfully added, but not removed.
TEST_F(DeviceTrackerTest, AddDeviceRemoveNegative) {
auto dev = std::make_unique<Device>(kFakeName1,
kFakeManufacturer1,
kFakeSysNum1,
kFakeDevNum1,
kFakeSubdevs1,
kFakeFlags1,
base::Bind(&FakeInPortSubscribeCallback),
base::Bind(&FakeOutPortSubscribeCallback),
base::Bind(&FakeInPortDeleteCallback),
base::Bind(&FakeOutPortDeleteCallback),
base::Bind(&FakeSendMidiDataCallback),
std::map<uint32_t, unsigned int>());
tracker_.AddDevice(std::move(dev));
EXPECT_EQ(1, tracker_.devices_.size());
tracker_.RemoveDevice(kFakeSysNum2, kFakeDevNum1);
EXPECT_EQ(1, tracker_.devices_.size());
}
} // namespace midis
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.