max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
Snippets/Copy FIle To New Location.applescript
rogues-gallery/applescript
360
1885
<reponame>rogues-gallery/applescript<filename>Snippets/Copy FIle To New Location.applescript tell application "Finder" set copyfile to selection set copyfile to copyfile as text set copyfile to quoted form of POSIX path of copyfile set the clipboard to copyfile set pastedest to (choose folder) set pastedest to pastedest as text set pastedest to quoted form of POSIX path of pastedest try do shell script "cp " & copyfile & " " & pastedest on error do shell script "cp " & copyfile & " " & pastedest with administrator privileges end try end tell
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___fseq.asm
meesokim/z88dk
0
81565
SECTION code_fp_math48 PUBLIC ___fseq EXTERN cm48_sdcciyp_dseq defc ___fseq = cm48_sdcciyp_dseq
orka/src/gl/implementation/gl-objects-samplers.adb
onox/orka
52
15762
<reponame>onox/orka -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2016 onox <<EMAIL>> -- -- 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. with GL.API; with GL.Helpers; with GL.Low_Level; with GL.Enums.Textures; package body GL.Objects.Samplers is procedure Bind (Object : Sampler; Unit : Textures.Texture_Unit) is begin API.Bind_Sampler.Ref (UInt (Unit), Object.Reference.GL_Id); end Bind; procedure Bind (Objects : Sampler_Array; First_Unit : Textures.Texture_Unit) is Sampler_Ids : Low_Level.UInt_Array (Objects'Range); begin for Index in Objects'Range loop Sampler_Ids (Index) := Objects (Index).Reference.GL_Id; end loop; API.Bind_Samplers.Ref (UInt (First_Unit), Sampler_Ids'Length, Sampler_Ids); end Bind; overriding procedure Initialize_Id (Object : in out Sampler) is New_Id : UInt := 0; begin API.Create_Samplers.Ref (1, New_Id); Object.Reference.GL_Id := New_Id; end Initialize_Id; overriding procedure Delete_Id (Object : in out Sampler) is begin API.Delete_Samplers.Ref (1, (1 => Object.Reference.GL_Id)); Object.Reference.GL_Id := 0; end Delete_Id; ----------------------------------------------------------------------------- -- Sampler Parameters -- ----------------------------------------------------------------------------- procedure Set_Minifying_Filter (Object : Sampler; Filter : Minifying_Function) is begin API.Sampler_Parameter_Minifying_Function.Ref (Object.Reference.GL_Id, Enums.Textures.Min_Filter, Filter); end Set_Minifying_Filter; function Minifying_Filter (Object : Sampler) return Minifying_Function is Ret : Minifying_Function := Minifying_Function'First; begin API.Get_Sampler_Parameter_Minifying_Function.Ref (Object.Reference.GL_Id, Enums.Textures.Min_Filter, Ret); return Ret; end Minifying_Filter; procedure Set_Magnifying_Filter (Object : Sampler; Filter : Magnifying_Function) is begin API.Sampler_Parameter_Magnifying_Function.Ref (Object.Reference.GL_Id, Enums.Textures.Mag_Filter, Filter); end Set_Magnifying_Filter; function Magnifying_Filter (Object : Sampler) return Magnifying_Function is Ret : Magnifying_Function := Magnifying_Function'First; begin API.Get_Sampler_Parameter_Magnifying_Function.Ref (Object.Reference.GL_Id, Enums.Textures.Mag_Filter, Ret); return Ret; end Magnifying_Filter; procedure Set_Minimum_LoD (Object : Sampler; Level : Double) is begin API.Sampler_Parameter_Float.Ref (Object.Reference.GL_Id, Enums.Textures.Min_LoD, Single (Level)); end Set_Minimum_LoD; function Minimum_LoD (Object : Sampler) return Double is Ret : Low_Level.Single_Array (1 .. 1); begin API.Get_Sampler_Parameter_Floats.Ref (Object.Reference.GL_Id, Enums.Textures.Min_LoD, Ret); return Double (Ret (1)); end Minimum_LoD; procedure Set_Maximum_LoD (Object : Sampler; Level : Double) is begin API.Sampler_Parameter_Float.Ref (Object.Reference.GL_Id, Enums.Textures.Max_LoD, Single (Level)); end Set_Maximum_LoD; function Maximum_LoD (Object : Sampler) return Double is Ret : Low_Level.Single_Array (1 .. 1); begin API.Get_Sampler_Parameter_Floats.Ref (Object.Reference.GL_Id, Enums.Textures.Max_LoD, Ret); return Double (Ret (1)); end Maximum_LoD; procedure Set_LoD_Bias (Object : Sampler; Level : Double) is begin API.Sampler_Parameter_Float.Ref (Object.Reference.GL_Id, Enums.Textures.LoD_Bias, Single (Level)); end Set_LoD_Bias; function LoD_Bias (Object : Sampler) return Double is Ret : Low_Level.Single_Array (1 .. 1); begin API.Get_Sampler_Parameter_Floats.Ref (Object.Reference.GL_Id, Enums.Textures.LoD_Bias, Ret); return Double (Ret (1)); end LoD_Bias; procedure Set_Seamless_Filtering (Object : Sampler; Enable : Boolean) is begin API.Sampler_Parameter_Bool.Ref (Object.Reference.GL_Id, Enums.Textures.Cube_Map_Seamless, Low_Level.Bool (Enable)); end Set_Seamless_Filtering; function Seamless_Filtering (Object : Sampler) return Boolean is Result : Low_Level.Bool := Low_Level.Bool'First; begin API.Get_Sampler_Parameter_Bool.Ref (Object.Reference.GL_Id, Enums.Textures.Cube_Map_Seamless, Result); return Boolean (Result); end Seamless_Filtering; procedure Set_Max_Anisotropy (Object : Sampler; Degree : Double) is begin API.Sampler_Parameter_Float.Ref (Object.Reference.GL_Id, Enums.Textures.Max_Anisotropy, Single (Degree)); end Set_Max_Anisotropy; function Max_Anisotropy (Object : Sampler) return Double is Ret : Low_Level.Single_Array (1 .. 1); begin API.Get_Sampler_Parameter_Floats.Ref (Object.Reference.GL_Id, Enums.Textures.Max_Anisotropy, Ret); return Double (Ret (1)); end Max_Anisotropy; procedure Set_X_Wrapping (Object : Sampler; Mode : Wrapping_Mode) is begin API.Sampler_Parameter_Wrapping_Mode.Ref (Object.Reference.GL_Id, Enums.Textures.Wrap_S, Mode); end Set_X_Wrapping; function X_Wrapping (Object : Sampler) return Wrapping_Mode is Ret : Wrapping_Mode := Wrapping_Mode'First; begin API.Get_Sampler_Parameter_Wrapping_Mode.Ref (Object.Reference.GL_Id, Enums.Textures.Wrap_S, Ret); return Ret; end X_Wrapping; procedure Set_Y_Wrapping (Object : Sampler; Mode : Wrapping_Mode) is begin API.Sampler_Parameter_Wrapping_Mode.Ref (Object.Reference.GL_Id, Enums.Textures.Wrap_T, Mode); end Set_Y_Wrapping; function Y_Wrapping (Object : Sampler) return Wrapping_Mode is Ret : Wrapping_Mode := Wrapping_Mode'First; begin API.Get_Sampler_Parameter_Wrapping_Mode.Ref (Object.Reference.GL_Id, Enums.Textures.Wrap_T, Ret); return Ret; end Y_Wrapping; procedure Set_Z_Wrapping (Object : Sampler; Mode : Wrapping_Mode) is begin API.Sampler_Parameter_Wrapping_Mode.Ref (Object.Reference.GL_Id, Enums.Textures.Wrap_R, Mode); end Set_Z_Wrapping; function Z_Wrapping (Object : Sampler) return Wrapping_Mode is Ret : Wrapping_Mode := Wrapping_Mode'First; begin API.Get_Sampler_Parameter_Wrapping_Mode.Ref (Object.Reference.GL_Id, Enums.Textures.Wrap_R, Ret); return Ret; end Z_Wrapping; procedure Set_Border_Color (Object : Sampler; Color : Colors.Border_Color) is Raw : constant Low_Level.Single_Array := Helpers.Float_Array (Colors.Vulkan_To_OpenGL (Color)); begin API.Sampler_Parameter_Floats.Ref (Object.Reference.GL_Id, Enums.Textures.Border_Color, Raw); end Set_Border_Color; function Border_Color (Object : Sampler) return Colors.Border_Color is Raw : Low_Level.Single_Array (1 .. 4); begin API.Get_Sampler_Parameter_Floats.Ref (Object.Reference.GL_Id, Enums.Textures.Border_Color, Raw); return Colors.OpenGL_To_Vulkan (Helpers.Color (Raw)); end Border_Color; procedure Set_Compare_X_To_Texture (Object : Sampler; Enabled : Boolean) is Value : Enums.Textures.Compare_Kind; begin if Enabled then Value := Enums.Textures.Compare_R_To_Texture; else Value := Enums.Textures.None; end if; API.Sampler_Parameter_Compare_Kind.Ref (Object.Reference.GL_Id, Enums.Textures.Compare_Mode, Value); end Set_Compare_X_To_Texture; function Compare_X_To_Texture_Enabled (Object : Sampler) return Boolean is use type Enums.Textures.Compare_Kind; Value : Enums.Textures.Compare_Kind := Enums.Textures.Compare_Kind'First; begin API.Get_Sampler_Parameter_Compare_Kind.Ref (Object.Reference.GL_Id, Enums.Textures.Compare_Mode, Value); return Value = Enums.Textures.Compare_R_To_Texture; end Compare_X_To_Texture_Enabled; procedure Set_Compare_Function (Object : Sampler; Func : Compare_Function) is begin API.Sampler_Parameter_Compare_Function.Ref (Object.Reference.GL_Id, Enums.Textures.Compare_Func, Func); end Set_Compare_Function; function Current_Compare_Function (Object : Sampler) return Compare_Function is Value : Compare_Function := Compare_Function'First; begin API.Get_Sampler_Parameter_Compare_Function.Ref (Object.Reference.GL_Id, Enums.Textures.Compare_Func, Value); return Value; end Current_Compare_Function; end GL.Objects.Samplers;
sort4a.asm
clayne/SortingNetworks
34
58
;******************************************************************* ; sort4a.asm ; Sorting Networks ; ; Author: <NAME> ; <EMAIL> ; https//github.com/komrad36 ; ; Last updated Feb 15, 2017 ;******************************************************************* ; ; SUMMARY: I present novel and state-of-the-art sorting of 4 int32_t ; and sorting of 6 int8_t, as examples, using SSE4, and some thoughts ; and notes on fast sorting of small fixed-size arrays. ; ; These are the fastest known approaches on modern CPUs. ; They are completely branchless and extremely fast. ; For example, 4 int32_t can be sorted in ~18 cycles on Skylake. ; ; These examples can be modified to sort signed or unsigned data as long ; as the total size of the data is <= 128 bits (16 bytes). Note that ; trying to use AVX2 to push that to 256 bits will NOT HELP ; because of the 3 cycle interlane latency that makes shuffling ; across the 128-bit lane boundary too expensive to be useful. ; ; In that case, or in the case that you can't support SSE4, ; efficient scalar code can also be generated that isn't too much ; slower, but it's not immediately evident what the optimal approach ; is in assembly, nor how to coerce C/C++ compilers to produce that ; assembly from C/C++ code. (I discuss the approach at the end of this ; documentation.) ; ; Not all compilers correctly generate optimal assembly for either the ; SSE or scalar code, so I provide assembly versions too. In fact, this ; is not a strong enough statement; many compilers FAIL MISERABLY ; at both the SSE and scalar cases for n >= 3. CL in particular ; (Microsoft Visual C++) just dies horribly in a fire, so the assembly ; snippets may not be a bad idea. Profile and/or check your disassembly. ; ; Note that these assembly snippets use the Windows x64 calling convention, ; but then proceed to clobber a bunch of registers they shouldn't. Normally ; they'd be inlined. Feel free to callee-save registers that your ; application cannot safely clobber. ; ; These code snippets work on the principle of sorting networks. ; Conventional sorting algorithms like quicksort and mergesort ; are not great at small array sizes. One notices in profiling that ; simpler sorts like insertion and selection tend to win. However, ; even these are not NEARLY as fast as they could be for ; fixed-size, small arrays. ; ; Available sorts and their function names: ; ; >>> SSE Assembly (fast as hell. FASTEST option on modern CPUs. ; these are written in MASM for Win64; ; but it's Intel syntax and you can make the small ; modifications required for other assemblers.) ; Sorting 4 int32_t | simdsort4a() ; Sorting 4 int32_t | simdsort4a_noconstants() ; Sorting 4 int32_t | simdsort4a_nofloat() ; ; >>> SSE C++ (make sure generated assembly matches): ; Sorting 4 int32_t | simdsort4() ; Sorting 6 int8_t | simdsort6() ; ; >>> Scalar Assembly (these are written in MASM for Win64; ; but it's Intel syntax and you can make the small ; modifications required for other assemblers.) ; Sorting 2 int32_t | sort2a() ; Sorting 3 int32_t | sort3a() ; Sorting 4 int32_t | sort4a() ; Sorting 5 int32_t | sort5a() ; Sorting 6 int32_t | sort6a() ; ; >>> Scalar C++ (make sure generated assembly matches) ; Sorting 2 int32_t | sort2() ; Sorting 6 int32_t | sort6() ; ; ; Okay, if you've made it this far, let's discuss ; fast conditional swap operations. Conditional swaps ; if the lower element is greater are the heart of sorting ; networks. Given two values, ; 'a', and 'b', leave them as they are if 'a' is less ; than 'b', i.e. if they are in sorted order. However, ; swap them if 'a' is greater than or equal to 'b'. ; Thus after such a conditional swap operation 'a' and 'b' are in sorted ; order no matter what order they came in as. ; ; A series of such operations can deterministically sort ; a fixed-size array. Typically one can optimize for depth ; (minimum number of operations given infinite parallel ; processing) or for size (minimum number of operations given ; no parallel processing). For n == 4 these two optimal solutions ; are actually given by the same network, with depth 3 and ; size 5. ; ; Scalar first: how do you efficiently conditional swap? Again, note that ; lots of compilers don't produce optimal assembly no matter ; what C++ you give them. But what is the optimal assembly? ; Well, on modern processors, the answer is conditional moves: ; ; ; inputs: eax, r9d ; ; scratch register: edx ; cmp eax, r9d ; mov edx, eax ; cmovg eax, r9d ; cmovg r9d, edx ; ; eax and r9d have been swapped if necessary such that eax is now <= r9d ; ; See the function 'sort6' in 'sorts.cpp' for an attempt at some C++ code ; that has a decent chance of compiling into conditional swaps that look like that. ; Again, they OFTEN DON'T, especially the CL compiler and g++. Use the assembly ; snippets instead, or at least profile and inspect your disassembly to be sure. ; ; The SSE sorts are rather more sophisticated, but the basic principle ; is to branchlessly generate shuffle index masks at runtime and then ; use them to permute the order of the data in parallel, performing ; one complete level of the sorting network at a time. ; ; I provide 3 versions of the assembly for sorting 4 int32_t. The fastest ; should be the plain 'simdsort4a'. It performs float reinterpretation ; and relies on some constant loads, but both of these are USUALLY ; better than the alternatives. However: ; ; Older CPUs may incur too much latency from the reinterpretation to be ; worth it. For such CPUs, try 'simdsort4a_nofloat.asm'. ; ; Applications that cannot afford to have these constants occupying L1 ; may wish to try 'simdsort4a_noconstants.asm', which does not eat ; up any cache space with constants - everything is done with immediates ; and some fairly nasty bit twiddling. ; .CODE sort4a PROC mov eax, [rcx] mov r10d, [rcx+4] mov edx, [rcx+8] mov r9d, [rcx+12] mov r11d, edx mov r8d, eax cmp eax, r10d cmovg r8d, r10d cmovg r10d, eax cmp edx, r9d cmovg r11d, r9d cmovg r9d, edx cmp r8d, r11d mov edx, r8d cmovg edx, r11d cmovg r11d, r8d cmp r10d, r9d mov r8d, r9d cmovg r8d, r10d cmovg r10d, r9d cmp r11d, r10d mov eax, r11d cmovg r11d, r10d cmovg r10d, eax mov [rcx], edx mov [rcx+4], r11d mov [rcx+8], r10d mov [rcx+12], r8d ret sort4a ENDP END
oeis/174/A174771.asm
neoneye/loda-programs
11
175459
<gh_stars>10-100 ; A174771: y-values in the solution to x^2 - 31*y^2 = 1. ; Submitted by <NAME> ; 0,273,829920,2522956527,7669787012160,23316149994009873,70881088312003001760,215478485152339131340527,655054523982022647272200320,1991365537426863695368357632273,6053750578723141651897159929909600,18403399767952813194903670818567551727,55946329240825973389365507391285427340480,170076822488711191150857947565836880547507473,517033484419352780272634771234636725578995377440,1571781622558009963317618553695348079923265399910127,4778215615542865869132780130599086928330001236731408640 mov $3,1 lpb $0 sub $0,$3 mov $1,$4 mul $1,3038 add $2,1 add $2,$1 add $4,$2 lpe mov $0,$2 mul $0,273
core/lib/Equivalence2.agda
mikeshulman/HoTT-Agda
0
6769
<reponame>mikeshulman/HoTT-Agda<gh_stars>0 {-# OPTIONS --without-K --rewriting #-} open import lib.Basics open import lib.types.Sigma open import lib.types.Pi open import lib.types.Paths open import lib.types.Unit open import lib.types.Empty module lib.Equivalence2 where {- Pre- and post- composition with equivalences are equivalences -} module _ {i j k} {A : Type i} {B : Type j} {C : Type k} {h : A → B} (e : is-equiv h) where pre∘-is-equiv : is-equiv (λ (k : B → C) → k ∘ h) pre∘-is-equiv = is-eq f g f-g g-f where f = _∘ h g = _∘ is-equiv.g e f-g = λ k → ap (k ∘_) (λ= $ is-equiv.g-f e) g-f = λ k → ap (k ∘_) (λ= $ is-equiv.f-g e) post∘-is-equiv : is-equiv (λ (k : C → A) → h ∘ k) post∘-is-equiv = is-eq f g f-g g-f where f = h ∘_ g = is-equiv.g e ∘_ f-g = λ k → ap (_∘ k) (λ= $ is-equiv.f-g e) g-f = λ k → ap (_∘ k) (λ= $ is-equiv.g-f e) {- The same thing on the abstraction level of equivalences -} module _ {i j k} {A : Type i} {B : Type j} {C : Type k} (e : A ≃ B) where pre∘-equiv : (B → C) ≃ (A → C) pre∘-equiv = (_ , pre∘-is-equiv (snd e)) post∘-equiv : (C → A) ≃ (C → B) post∘-equiv = (_ , post∘-is-equiv (snd e)) is-contr-map : ∀ {i j} {A : Type i} {B : Type j} (f : A → B) → Type (lmax i j) is-contr-map {A = A} {B = B} f = (y : B) → is-contr (hfiber f y) equiv-is-contr-map : ∀ {i j} {A : Type i} {B : Type j} {f : A → B} → (is-equiv f → is-contr-map f) equiv-is-contr-map e y = equiv-preserves-level (Σ-emap-l (_== y) (_ , e) ⁻¹) (pathto-is-contr y) contr-map-is-equiv : ∀ {i j} {A : Type i} {B : Type j} {f : A → B} → (is-contr-map f → is-equiv f) contr-map-is-equiv {f = f} cm = is-eq _ (λ b → fst (fst (cm b))) (λ b → snd (fst (cm b))) (λ a → ap fst (snd (cm (f a)) (a , idp))) fiber=-econv : ∀ {i j} {A : Type i} {B : Type j} {h : A → B} {y : B} (r s : Σ A (λ x → h x == y)) → (r == s) ≃ Σ (fst r == fst s) (λ γ → ap h γ ∙ snd s == snd r) fiber=-econv r s = Σ-emap-r (λ γ → !-equiv ∘e (↓-app=cst-econv ⁻¹)) ∘e ((=Σ-econv r s)⁻¹) module _ {i j} {A : Type i} {B : Type j} where linv : (A → B) → Type (lmax i j) linv f = Σ (B → A) (λ g → (∀ x → g (f x) == x)) rinv : (A → B) → Type (lmax i j) rinv f = Σ (B → A) (λ g → (∀ y → f (g y) == y)) lcoh : (f : A → B) → linv f → Type (lmax i j) lcoh f (g , g-f) = Σ (∀ y → f (g y) == y) (λ f-g → ∀ y → ap g (f-g y) == g-f (g y)) rcoh : (f : A → B) → rinv f → Type (lmax i j) rcoh f (g , f-g) = Σ (∀ x → g (f x) == x) (λ g-f → ∀ x → ap f (g-f x) == f-g (f x)) module _ {i j} {A : Type i} {B : Type j} {f : A → B} (e : is-equiv f) where equiv-linv-is-contr : is-contr (linv f) equiv-linv-is-contr = equiv-preserves-level (Σ-emap-r λ _ → λ=-equiv ⁻¹) (equiv-is-contr-map (pre∘-is-equiv e) (idf A)) equiv-rinv-is-contr : is-contr (rinv f) equiv-rinv-is-contr = equiv-preserves-level (Σ-emap-r λ _ → λ=-equiv ⁻¹) (equiv-is-contr-map (post∘-is-equiv e) (idf B)) module _ {i j} {A : Type i} {B : Type j} {f : A → B} where rcoh-econv : (v : rinv f) → rcoh f v ≃ Π A (λ x → (fst v (f x) , snd v (f x)) == (x , idp {a = f x})) rcoh-econv v = Π-emap-r (λ x → ((fiber=-econv {h = f} _ _)⁻¹) ∘e apply-unit-r x) ∘e choice ⁻¹ where apply-unit-r : ∀ x → Σ _ (λ γ → ap f γ == _) ≃ Σ _ (λ γ → ap f γ ∙ idp == _) apply-unit-r x = Σ-emap-r λ γ → coe-equiv (ap (λ q → q == snd v (f x)) (! (∙-unit-r _))) lcoh-econv : (v : linv f) → lcoh f v ≃ Π B (λ y → (f (fst v y) , snd v (fst v y)) == (y , idp)) lcoh-econv v = Π-emap-r (λ y → ((fiber=-econv {h = fst v} _ _)⁻¹) ∘e apply-unit-r y) ∘e choice ⁻¹ where apply-unit-r : ∀ y → Σ _ (λ γ → ap (fst v) γ == _) ≃ Σ _ (λ γ → ap (fst v) γ ∙ idp == _) apply-unit-r y = Σ-emap-r λ γ → coe-equiv (ap (λ q → q == snd v (fst v y)) (! (∙-unit-r _))) equiv-rcoh-is-contr : ∀ {i j} {A : Type i} {B : Type j} {f : A → B} (e : is-equiv f) → (v : rinv f) → is-contr (rcoh f v) equiv-rcoh-is-contr {f = f} e v = equiv-preserves-level ((rcoh-econv v)⁻¹) (Π-level (λ x → =-preserves-level (equiv-is-contr-map e (f x)))) rinv-and-rcoh-is-equiv : ∀ {i j} {A : Type i} {B : Type j} {h : A → B} → Σ (rinv h) (rcoh h) ≃ is-equiv h rinv-and-rcoh-is-equiv {h = h} = equiv f g (λ _ → idp) (λ _ → idp) where f : Σ (rinv h) (rcoh h) → is-equiv h f s = record {g = fst (fst s); f-g = snd (fst s); g-f = fst (snd s); adj = snd (snd s)} g : is-equiv h → Σ (rinv h) (rcoh h) g t = ((is-equiv.g t , is-equiv.f-g t) , (is-equiv.g-f t , is-equiv.adj t)) is-equiv-is-prop : ∀ {i j} {A : Type i} {B : Type j} {f : A → B} → is-prop (is-equiv f) is-equiv-is-prop = inhab-to-contr-is-prop λ e → equiv-preserves-level rinv-and-rcoh-is-equiv (Σ-level (equiv-rinv-is-contr e) (equiv-rcoh-is-contr e)) is-equiv-prop : ∀ {i j} {A : Type i} {B : Type j} → SubtypeProp (A → B) (lmax i j) is-equiv-prop = is-equiv , λ f → is-equiv-is-prop ∘e-unit-r : ∀ {i} {A B : Type i} (e : A ≃ B) → (e ∘e ide A) == e ∘e-unit-r e = pair= idp (prop-has-all-paths is-equiv-is-prop _ _) ua-∘e : ∀ {i} {A B : Type i} (e₁ : A ≃ B) {C : Type i} (e₂ : B ≃ C) → ua (e₂ ∘e e₁) == ua e₁ ∙ ua e₂ ua-∘e = equiv-induction (λ {A} {B} e₁ → ∀ {C} → ∀ (e₂ : B ≃ C) → ua (e₂ ∘e e₁) == ua e₁ ∙ ua e₂) (λ A → λ e₂ → ap ua (∘e-unit-r e₂) ∙ ap (λ w → (w ∙ ua e₂)) (! (ua-η idp))) {- Not sure about the interface. {- Adjointion where hom = path -} module _ {i j} {A : Type i} {B : Type j} (e : A ≃ B) where =-adjunct : ∀ {a b} → (–> e a == b) → (a == <– e b) =-adjunct p = ! (<–-inv-l e _) ∙ ap (<– e) p =-adjunct' : ∀ {a b} → (a == <– e b) → (–> e a == b) =-adjunct' p = ap (–> e) p ∙ (<–-inv-r e _) -} {- Type former equivalences involving Empty may require λ=. -} module _ {j} {B : Empty → Type j} where Σ₁-Empty : Σ Empty B ≃ Empty Σ₁-Empty = equiv (⊥-rec ∘ fst) ⊥-rec ⊥-elim (⊥-rec ∘ fst) Π₁-Empty : Π Empty B ≃ Unit Π₁-Empty = equiv (cst tt) (cst ⊥-elim) (λ _ → contr-has-all-paths Unit-is-contr _ _) (λ _ → λ= ⊥-elim) Σ₂-Empty : ∀ {i} {A : Type i} → Σ A (λ _ → Empty) ≃ Empty Σ₂-Empty = equiv (⊥-rec ∘ snd) ⊥-rec ⊥-elim (⊥-rec ∘ snd) {- Fiberwise equivalence -} module _ {i j k} {A : Type i} {P : A → Type j} {Q : A → Type k} (f : ∀ x → P x → Q x) where private f-tot : Σ A P → Σ A Q f-tot (x , y) = x , f x y fiber-equiv-is-total-equiv : (∀ x → is-equiv (f x)) → is-equiv f-tot fiber-equiv-is-total-equiv f-ise = is-eq _ from to-from from-to where from : Σ A Q → Σ A P from (x , y) = x , is-equiv.g (f-ise x) y abstract to-from : ∀ q → f-tot (from q) == q to-from (x , q) = pair= idp (is-equiv.f-g (f-ise x) q) from-to : ∀ p → from (f-tot p) == p from-to (x , p) = pair= idp (is-equiv.g-f (f-ise x) p) total-equiv-is-fiber-equiv : is-equiv f-tot → (∀ x → is-equiv (f x)) total-equiv-is-fiber-equiv f-tot-ise x = is-eq _ from to-from from-to where module f-tot = is-equiv f-tot-ise from : Q x → P x from q = transport P (fst= (f-tot.f-g (x , q))) (snd (f-tot.g (x , q))) abstract from-lemma : ∀ q → snd (f-tot.g (x , q)) == from q [ P ↓ fst= (f-tot.f-g (x , q)) ] from-lemma q = from-transp P (fst= (f-tot.f-g (x , q))) idp to-from : ∀ q → f x (from q) == q to-from q = transport (λ path → f x (from q) == q [ Q ↓ path ]) (!-inv-l (fst= (f-tot.f-g (x , q)))) (!ᵈ (ap↓ (λ {x} → f x) (from-lemma q)) ∙ᵈ snd= (f-tot.f-g (x , q))) from-to : ∀ p → from (f x p) == p from-to p = transport (λ path → from (f x p) == p [ P ↓ path ]) ( ap (λ path → ! path ∙ fst= (f-tot.g-f (x , p))) (ap fst= (! (f-tot.adj (x , p))) ∙ ∘-ap fst f-tot (f-tot.g-f (x , p))) ∙ !-inv-l (fst= (f-tot.g-f (x , p)))) (!ᵈ (from-lemma (f x p)) ∙ᵈ snd= (f-tot.g-f (x , p)))
libsrc/_DEVELOPMENT/font/fzx/fonts/kk/_ff_kk_MagdalenaB.asm
jpoikela/z88dk
640
104325
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_kk_MagdalenaB _ff_kk_MagdalenaB: BINARY "font/fzx/fonts/kk/MagdalenaB.fzx"
src/ArrowIsCCC.agda
tetrapharmakon/agda-categories
0
12564
module ArrowIsCCC where open import Categories.Category.CartesianClosed.Canonical open import Categories.Category.Cartesian.Bundle open import Categories.Category.Core open import Categories.Category.Construction.Arrow open import Data.Product open import Function using (const) open import Level open import Relation.Binary.Core using (Rel) open import Relation.Binary.PropositionalEquality open Relation.Binary.PropositionalEquality.≡-Reasoning 𝕦 : {A : Set} → A → A 𝕦 x = x SetC : Category (suc zero) zero zero SetC = record { Obj = Set ; _⇒_ = λ x y → x → y ; _≈_ = _≡_ ; id = λ x → x ; _∘_ = λ f g a → f (g a) ; assoc = refl ; sym-assoc = refl ; identityˡ = refl ; identityʳ = refl ; identity² = refl ; equiv = record { refl = refl ; sym = sym ; trans = trans } ; ∘-resp-≈ = λ {refl refl → refl} } data t : Set where ⊤ : t !-unique-lemma : ∀ (x : t) → ⊤ ≡ x !-unique-lemma ⊤ = refl Set² : Category (suc zero) zero zero Set² = Arrow SetC arrow-cart : CartesianCategory (suc zero) zero zero arrow-cart = record { U = Set² ; cartesian = record { terminal = record { ⊤ = record { arr = 𝕦 } ; ⊤-is-terminal = record { ! = mor⇒ {! !} ; !-unique = {! !} } } ; products = record { product = λ {A} {B} → record { A×B = record { arr = λ x → {! !} } ; π₁ = mor⇒ {! !} ; π₂ = mor⇒ {! !} ; ⟨_,_⟩ = λ x x₁ → {! !} ; project₁ = {! !} , {! !} ; project₂ = {! !} , {! !} ; unique = λ x x₁ → {! !} } } } } {- _⋆_ : {A B C : Set} → (B → C) → (A → B) → (A → C) g ⋆ f = λ t → g (f t) postulate extensionality : ∀ {A B : Set} {f g : A → B} → (∀ (x : A) → f x ≡ g x) → f ≡ g data t : Set where ⊤ : t !-unique-lemma : ∀ (x : t) → ⊤ ≡ x !-unique-lemma ⊤ = refl arrow : Category (suc zero) zero zero arrow = record { Obj = Σ (Set × Set) (λ x → proj₁ x → proj₂ x) ; _⇒_ = arr ; _≈_ = _≡_ ; id = ((λ x → x) , (λ z → z)) , refl ; _∘_ = λ {A} {B} {C} f g → comp {A} {B} {C} f g ; assoc = {! !} ; sym-assoc = {! !} ; identityˡ = λ {A} {B} {f} → idl {A} {B} {f} ; identityʳ = λ {A} {B} {f} → idr {A} {B} {f} ; identity² = refl ; equiv = record { refl = refl ; sym = sym ; trans = trans } ; ∘-resp-≈ = λ {refl refl → refl} } where comm-sq : {a b c d : Set} → (a → c) × (b → d) → (f : a → b) → (g : c → d) → Set comm-sq {a} {b} {c} {d} (up , down) left right = ∀ {t : a} → down (left t) ≡ right (up t) arr : Rel (Σ (Set × Set) (λ x → proj₁ x → proj₂ x)) zero arr ((a , b) , x1) ((c , d) , y1) = Σ ((a → c) × (b → d)) λ x → comm-sq x x1 y1 trans-comm-sq : {A B C X Y Z : Set} {up : A → B} {down : X → Y} {up' : B → C} {down' : Y → Z} {left : A → X} {right : B → Y} {right' : C → Z} → (p : comm-sq (up , down) left right) → (q : comm-sq (up' , down') right right') → comm-sq (up' ⋆ up , down' ⋆ down) left right' trans-comm-sq {A} {B} {C} {X} {Y} {Z} {up} {down} {up'} {down'} {left} {right} {right'} p q {t} = begin down' (down (left t)) ≡⟨ cong down' p ⟩ down' (right (up t)) ≡⟨ q ⟩ right' (up' (up t)) ∎ {- up up' A -> B -> C ↓ ↓ ↓ X -> Y -> Z down down' -} 𝕦 : {A : Set} → A → A 𝕦 x = x comp : {A B C : Σ (Set × Set) (λ x → proj₁ x → proj₂ x)} → arr B C → arr A B → arr A C comp {(A0 , A1) , u} {(B0 , B1) , v} {(C0 , C1) , w} ((f0 , f1) , p) ((g0 , g1) , q) = ((λ x → f0 (g0 x)) , (λ z → f1 (g1 z))) , trans-comm-sq {A0} {B0} {C0} {A1} {B1} {C1} {g0} {g1} {f0} {f1} {u} {v} {w} q p idl : {A B : Σ (Set × Set) (λ x → proj₁ x → proj₂ x)} {f : arr A B} → comp {A} {B} {B} (((λ x → x) , (λ z → z)) , refl) f ≡ f idl {(A0 , A1) , u} {(B0 , B1) , v} {(f0 , f1) , p} = {! !} idr : {A B : Σ (Set × Set) (λ x → proj₁ x → proj₂ x)} {f : arr A B} → comp {A} {A} {B} f (((λ x → x) , (λ z → z)) , refl) ≡ f idr {(A0 , A1) , u} {(B0 , B1) , v} {(f0 , f1) , p} = {! !} -- trans-comm-sq {! !} {! !} open Category arrow -- just to see what happens: arrow-cart : CartesianCategory (suc zero) zero zero arrow-cart = record { U = arrow ; cartesian = record { terminal = record { ⊤ = (t , t) , (λ _ → ⊤) ; ⊤-is-terminal = record { ! = (λ _ → ⊤) , (λ _ → ⊤) ; !-unique = λ {A} → bang-uniq {A} } } ; products = record { product = λ {A} {B} → record { A×B = ((proj₁ (proj₁ A) × proj₁ (proj₁ B)) , (proj₂ (proj₁ A) × proj₂ (proj₁ B))) , λ x → (proj₂ A (proj₁ x)) , (proj₂ B) (proj₂ x) ; π₁ = proj₁ , proj₁ ; π₂ = proj₂ , proj₂ ; ⟨_,_⟩ = λ {C = C} f g → pair {C} {A} {B} f g ; project₁ = refl ; project₂ = refl ; unique = λ {refl refl → refl} } } } } where prod : Obj → Obj → Obj prod ((X , Y) , u) ((A , B) , v) = ((X × A) , (Y × B)) , λ x → (u (proj₁ x)) , (v (proj₂ x)) bang-uniq : {A : Obj} (f : (arrow Category.⇒ A) ((t , t) , (λ _ → ⊤))) → ((λ _ → ⊤) , (λ _ → ⊤)) ≡ f bang-uniq (f0 , f1) = cong₂ _,_ (extensionality λ x → !-unique-lemma (f0 x)) (extensionality (λ x → !-unique-lemma (f1 x))) pair : {C A B : Obj} → (arrow Category.⇒ C) A → (arrow Category.⇒ C) B → (arrow Category.⇒ C) (prod A B) pair {(X , Y) , u} {(A , B) , v} {(E , F) , w} (f0 , f1) (g0 , g1) = (λ x → (f0 x) , (g0 x)) , (λ x → (f1 x) , (g1 x)) arrow-ccc : CartesianClosed arrow arrow-ccc = record { ⊤ = (t , t) , (λ _ → ⊤) ; _×_ = prod ; ! = (λ _ → ⊤) , (λ _ → ⊤) ; π₁ = proj₁ , proj₁ ; π₂ = proj₂ , proj₂ ; ⟨_,_⟩ = λ {A} {B} {C} f g → pair {A} {B} {C} f g ; !-unique = λ {A} → bang-uniq {A} ; π₁-comp = refl ; π₂-comp = refl ; ⟨,⟩-unique = λ {refl refl → refl} ; _^_ = to-the ; eval = λ {B} {A} → ev {B} {A} ; curry = λ {C} {A} {B} g → cur {C} {A} {B} g ; eval-comp = refl ; curry-resp-≈ = λ {refl → refl} ; curry-unique = {! !} } where prod : Obj → Obj → Obj prod ((X , Y) , u) ((A , B) , v) = ((X × A) , (Y × B)) , λ x → (u (proj₁ x)) , (v (proj₂ x)) pair : {C A B : Obj} → (arrow Category.⇒ C) A → (arrow Category.⇒ C) B → (arrow Category.⇒ C) (prod A B) pair {(X , Y) , u} {(A , B) , v} {(E , F) , w} (f0 , f1) (g0 , g1) = (λ x → (f0 x) , (g0 x)) , (λ x → (f1 x) , (g1 x)) bang-uniq : {A : Obj} (f : (arrow Category.⇒ A) ((t , t) , (λ _ → ⊤))) → ((λ _ → ⊤) , (λ _ → ⊤)) ≡ f bang-uniq (f0 , f1) = cong₂ _,_ (extensionality λ x → !-unique-lemma (f0 x)) (extensionality (λ x → !-unique-lemma (f1 x))) to-the : Obj → Obj → Obj to-the ((B0 , B1) , u) ((A0 , A1) , v) = (p , (A1 → B1)) , λ x a1 → proj₂ (proj₁ x) a1 where p : Set p = Σ ((A0 → B0) × (A1 → B1)) λ r → (λ x → u ((proj₁ r) x)) ≡ (λ x → (proj₂ r) (v x)) -- va implementato il pullback-hom di u e v : [v,u] fitta in {- [v,u] → (A0 → B0) ↓ <- lei ↓ (A1 → B1) → (A0 → B1) -} ev : {B A : Obj} → (prod (to-the B A) A) ⇒ B ev {(B0 , B1) , u} {(A0 , A1) , v} = dis , (λ z → proj₁ z (proj₂ z)) where dis : proj₁ (proj₁ (prod (to-the ((B0 , B1) , u) ((A0 , A1) , v)) ((A0 , A1) , v))) → B0 dis (((s , t) , p) , a0) = s a0 cur : {C A B : Obj} → prod C A ⇒ B → C ⇒ to-the B A cur {(C0 , C1) , c} {(A0 , A1) , a} {(B0 , B1) , b} (fst , snd) = (λ x → ((λ y → fst (x , y)) , λ y → snd (c x , y)) , extensionality (λ y → {! !})) , (λ z z₁ → snd (z , z₁)) -}
oeis/274/A274428.asm
neoneye/loda-programs
11
86644
; A274428: Positions in A274426 of products of distinct Lucas numbers > 1. ; Submitted by <NAME>(s3) ; 3,6,9,10,14,15,19,20,21,26,27,28,33,34,35,36,42,43,44,45,51,52,53,54,55,62,63,64,65,66,73,74,75,76,77,78,86,87,88,89,90,91,99,100,101,102,103,104,105,114,115,116,117,118,119,120,129,130,131,132,133,134,135,136,146,147,148,149,150,151,152,153,163,164,165,166,167,168,169,170,171,182,183,184,185,186,187,188,189,190,201,202,203,204,205,206,207,208,209,210 mov $1,$0 seq $1,199474 ; Leftmost column in the monotonic justified array of all positive generalized Fibonacci sequences (A160271). add $1,$0 add $0,$1 add $0,2
programs/oeis/173/A173834.asm
neoneye/loda
22
167337
<reponame>neoneye/loda ; A173834: a(n)=10^n-2*n ; 1,8,96,994,9992,99990,999988,9999986,99999984,999999982,9999999980,99999999978,999999999976,9999999999974,99999999999972,999999999999970,9999999999999968,99999999999999966,999999999999999964,9999999999999999962,99999999999999999960,999999999999999999958,9999999999999999999956,99999999999999999999954,999999999999999999999952,9999999999999999999999950,99999999999999999999999948,999999999999999999999999946,9999999999999999999999999944,99999999999999999999999999942,999999999999999999999999999940,9999999999999999999999999999938,99999999999999999999999999999936,999999999999999999999999999999934,9999999999999999999999999999999932,99999999999999999999999999999999930,999999999999999999999999999999999928 mov $1,10 pow $1,$0 sub $1,$0 sub $1,$0 mov $0,$1
oeis/277/A277456.asm
neoneye/loda-programs
11
165999
<reponame>neoneye/loda-programs ; A277456: a(n) = 1 + Sum_{k=1..n} binomial(n,k) * 3^k * k^k. ; Submitted by <NAME> ; 1,4,43,847,23881,870721,38894653,2055873037,125480383153,8684069883409,671922832985941,57475677232902589,5385592533714824521,548596467532888667257,60358911366712739334541,7133453715771227363127301,901261693601873814393568993,121221012373774895141235815713,17293330642691596779224385581701,2608131780975102046997844093739789,414626680444302150584635852988047801,69297269028494262610764458143189671049,12147022875600043391285679978197764179133,2228314728703758210492208107259934919998293 mov $4,$0 lpb $0 mov $2,$0 pow $2,$0 mov $3,$4 bin $3,$0 sub $0,1 mul $3,$2 mul $5,3 add $5,$3 lpe mov $0,$5 mul $0,3 add $0,1
benchmark/ada/periodic_overrun.adb
erlingrj/ktc
0
8496
with Ada.Real_Time; use Ada.Real_Time; with Ada.Text_IO;use Ada.Text_IO; procedure Periodic_overrun is Interval : Time_Span := Milliseconds(30); Next : Time; Now :Time; begin Next := Clock + Interval; loop Put_Line("Delay 30 ms"); for I in Integer range 1 .. 10000 loop Put_Line (Integer'Image(I)); end loop; delay until Next; Now := Clock; if(Now > Next) then Put_Line ("Deadline overshoot"); while Now > Next loop Next := Next +Interval; end loop; else Next := Next + Interval; end if; end loop; end Periodic_overrun;
Plugins/AppleScript/Quit MetaZ.applescript
jmcintyre/metaz
235
1799
using terms from application "MetaZ" on queue finished processing tell application "MetaZ" quit later end tell end queue finished processing end using terms from
LCD/LCD.asm
maojsm/MENU_LCD_PIC32
0
94643
<gh_stars>0 _Lcd_Inicialize: ;LCD.c,12 :: void Lcd_Inicialize() ADDIU SP, SP, -8 SW RA, 0(SP) ;LCD.c,15 :: Lcd_Init(); SW R25, 4(SP) JAL _Lcd_Init+0 NOP ;LCD.c,17 :: LCD_BACK_Direction = 0; LUI R2, BitMask(TRISC4_bit+0) ORI R2, R2, BitMask(TRISC4_bit+0) _SX ;LCD.c,19 :: LCD_BACK = LCD_BACK_ON; LUI R2, BitMask(RC4_bit+0) ORI R2, R2, BitMask(RC4_bit+0) _SX ;LCD.c,21 :: Lcd_Cmd(_LCD_CURSOR_OFF); ORI R25, R0, 12 JAL _Lcd_Cmd+0 NOP ;LCD.c,22 :: } L_end_Lcd_Inicialize: LW R25, 4(SP) LW RA, 0(SP) ADDIU SP, SP, 8 JR RA NOP ; end of _Lcd_Inicialize _PrintLcd: ;LCD.c,27 :: void PrintLcd(char c) ADDIU SP, SP, -8 SW RA, 0(SP) ;LCD.c,29 :: switch(c) SW R25, 4(SP) J L_PrintLcd0 NOP ;LCD.c,31 :: case '\r': { Lcd_cmd(_LCD_MOVE_CURSOR_RIGHT); }; break; L_PrintLcd2: ORI R25, R0, 20 JAL _Lcd_Cmd+0 NOP J L_PrintLcd1 NOP ;LCD.c,32 :: case '\1': { Lcd_cmd(_LCD_FIRST_ROW); }; break; L_PrintLcd3: ORI R25, R0, 128 JAL _Lcd_Cmd+0 NOP J L_PrintLcd1 NOP ;LCD.c,33 :: case '\2': { Lcd_cmd(_LCD_SECOND_ROW); }; break; L_PrintLcd4: ORI R25, R0, 192 JAL _Lcd_Cmd+0 NOP J L_PrintLcd1 NOP ;LCD.c,34 :: default: { Lcd_Chr_CP(c); }; break; L_PrintLcd5: JAL _Lcd_Chr_CP+0 NOP J L_PrintLcd1 NOP ;LCD.c,35 :: } L_PrintLcd0: ANDI R3, R25, 255 ORI R2, R0, 13 BNE R3, R2, L__PrintLcd9 NOP J L_PrintLcd2 NOP L__PrintLcd9: ANDI R3, R25, 255 ORI R2, R0, 1 BNE R3, R2, L__PrintLcd11 NOP J L_PrintLcd3 NOP L__PrintLcd11: ANDI R3, R25, 255 ORI R2, R0, 2 BNE R3, R2, L__PrintLcd13 NOP J L_PrintLcd4 NOP L__PrintLcd13: J L_PrintLcd5 NOP L_PrintLcd1: ;LCD.c,36 :: } L_end_PrintLcd: LW R25, 4(SP) LW RA, 0(SP) ADDIU SP, SP, 8 JR RA NOP ; end of _PrintLcd
alloy4fun_models/trashltl/models/11/KXsgZ57MqBKsYpigv.als
Kaixi26/org.alloytools.alloy
0
1740
open main pred idKXsgZ57MqBKsYpigv_prop12 { all f : File | eventually f in Trash => always f in Trash } pred __repair { idKXsgZ57MqBKsYpigv_prop12 } check __repair { idKXsgZ57MqBKsYpigv_prop12 <=> prop12o }
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_shape_data.asm
prismotizm/gigaleak
0
173432
Name: zel_shape_data.asm Type: file Size: 8640 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: 38FECC0922B9240E0BB4738480AF2309ADA3E9A6 Description: null
alloy4fun_models/trainstlt/models/4/FemPPfrtxtfwB7jrz.als
Kaixi26/org.alloytools.alloy
0
3045
<reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trainstlt/models/4/FemPPfrtxtfwB7jrz.als open main pred idFemPPfrtxtfwB7jrz_prop5 { all t : Train | no (t.pos & Exit) implies (t.pos' in t.pos.prox) } pred __repair { idFemPPfrtxtfwB7jrz_prop5 } check __repair { idFemPPfrtxtfwB7jrz_prop5 <=> prop5o }
open_all_htop/production_htop.applescript
supermitch/iterm-scripts
0
533
set jump_user to "jump_username" set box_user to "box_username" set env to "prod" set boxes to {"1", "4", "2", "5", "3", "6"} # IPs. Order is weird b/c session numbering is weird tell script "Open All htop" # Script from ~/Library/Script Libraries/ open_all_htops(jump_user, box_user, boxes, env) end tell
test/Fail/customised/Issue5644/A/B.agda
cagix/agda
1,989
9841
<reponame>cagix/agda module A.B where {-# NON_TERMINATING #-} easy : (A : Set) → A easy = easy
oeis/069/A069140.asm
neoneye/loda-programs
11
96956
; A069140: a(n) = (4n-1)*4n*(4n+1). ; 0,60,504,1716,4080,7980,13800,21924,32736,46620,63960,85140,110544,140556,175560,215940,262080,314364,373176,438900,511920,592620,681384,778596,884640,999900,1124760,1259604,1404816,1560780,1727880,1906500,2097024,2299836,2515320,2743860,2985840,3241644,3511656,3796260,4095840,4410780,4741464,5088276,5451600,5831820,6229320,6644484,7077696,7529340,7999800,8489460,8998704,9527916,10077480,10647780,11239200,11852124,12486936,13144020,13823760,14526540,15252744,16002756,16776960,17575740,18399480 mul $0,4 mov $1,$0 pow $0,3 sub $0,$1
Source/Libraries/TimeSeriesPlatformLibrary/Transport/FilterExpressions/FilterExpressionSyntax.g4
QuarkSoftware/gsf
1
5706
//****************************************************************************************************** // FilterExpressionSyntax.g4 - Gbtc // // Copyright © 2018, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // the NOTICE file distributed with this work for additional information regarding copyright ownership. // The GPA licenses this file to you under the MIT License (MIT), the "License"; you may not use this // file except in compliance with the License. You may obtain a copy of the License at: // // http://opensource.org/licenses/MIT // // Unless agreed to in writing, the subject software distributed under the License is distributed on an // "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the // License for the specific language governing permissions and limitations. // // Code Modification History: // ---------------------------------------------------------------------------------------------------- // 10/27/2018 - <NAME> // Generated original version of source code. // //****************************************************************************************************** grammar FilterExpressionSyntax; parse : ( filterExpressionStatementList | error ) EOF ; error : UNEXPECTED_CHAR { throw RuntimeException("Unexpected character: " + $UNEXPECTED_CHAR.text); } ; filterExpressionStatementList : ';'* filterExpressionStatement ( ';'+ filterExpressionStatement )* ';'* ; filterExpressionStatement : filterStatement | identifierStatement ; identifierStatement : GUID_LITERAL | MEASUREMENT_KEY_LITERAL | POINT_TAG_LITERAL ; filterStatement : K_FILTER ( K_TOP INTEGER_LITERAL )? tableName K_WHERE expression ( K_ORDER K_BY orderingTerm ( ',' orderingTerm )* )? ; orderingTerm : columnName ( K_ASC | K_DESC )? ; /* Filter expressions understand the following binary operators, in order from highest to lowest precedence: * / % + - << >> & | < <= > >= = == != <> IS NULL IN LIKE AND OR */ expression : literalValue | columnName | unaryOperator expression | expression ( '*' | '/' | '%' ) expression | expression ( '+' | '-' ) expression | expression ( '<<' | '>>' | '&' | '|' ) expression | expression ( '<' | '<=' | '>' | '>=' ) expression | expression ( '=' | '==' | '!=' | '<>' ) expression | expression K_IS K_NOT? K_NULL | expression K_NOT? K_IN ( '(' ( expression ( ',' expression )* )? ')' ) | expression K_NOT? K_LIKE expression | expression K_AND expression | expression K_OR expression | functionName '(' ( expression ( ',' expression )* | '*' )? ')' | '(' expression ')' ; literalValue : INTEGER_LITERAL | NUMERIC_LITERAL | STRING_LITERAL | DATETIME_LITERAL | GUID_LITERAL | BOOLEAN_LITERAL | K_NULL ; unaryOperator : '-' | '+' | '~' | K_NOT ; keyword : K_AND // Boolean operator | K_ASC // FILTER expression keyword (part of optional ORDER BY expression) | K_BY // FILTER expression keyword (part of optional ORDER BY expression) | K_COALESCE // Function (synonym to ISNULL function) | K_CONVERT // Function | K_DESC // FILTER expression keyword (part of optional ORDER BY expression) | K_FALSE // Boolean literal | K_FILTER // FILTER expression keyword | K_IIF // Function | K_IN // IN expression keyword | K_IS // IS expression keyword | K_ISNULL // Function (synonym to COALESCE function) | K_ISREGEXMATCH // Function | K_LEN // Function | K_LIKE // LIKE expression keyword | K_NOT // Boolean operator | K_NULL // NULL operand | K_OR // Boolean operator | K_ORDER // FILTER expression keyword (part of optional ORDER BY expression) | K_REGEXVAL // Function | K_SUBSTR // Function (synonym to SUBSTRING function) | K_SUBSTRING // Function (synonym to SUBSTR function) | K_TOP // FILTER expression keyword | K_TRIM // Function | K_TRUE // Boolean literal | K_WHERE // FILTER expression keyword ; functionName : K_COALESCE | K_CONVERT | K_IIF | K_ISNULL | K_ISREGEXMATCH | K_LEN | K_REGEXVAL | K_SUBSTR | K_SUBSTRING | K_TRIM ; tableName : IDENTIFIER ; columnName : IDENTIFIER ; // Keywords K_AND : A N D; K_ASC : A S C; K_BY : B Y; K_CONVERT : C O N V E R T; K_COALESCE : C O A L E S C E; K_DESC : D E S C; K_FALSE: F A L S E; K_FILTER : F I L T E R; K_IIF : I I F; K_IN : I N; K_IS : I S; K_ISNULL : I S N U L L; K_ISREGEXMATCH : I S R E G E X M A T C H; K_LEN: L E N; K_LIKE : L I K E; K_NOT : N O T; K_NULL : N U L L; K_OR : O R; K_ORDER : O R D E R; K_REGEXVAL : R E G E X V A L; K_SUBSTR: S U B S T R; K_SUBSTRING: S U B S T R I N G; K_TOP : T O P; K_TRIM: T R I M; K_TRUE: T R U E; K_WHERE : W H E R E; IDENTIFIER : '"' ( ~'"' | '""' )+ '"' | '`' ( ~'`' )+ '`' | '[' ( ~']' )+ ']' | [a-zA-Z_] [a-zA-Z_0-9]* // TODO check: needs more chars in set ; INTEGER_LITERAL : DIGIT+ ; NUMERIC_LITERAL : DIGIT+ ( '.' DIGIT* )? ( E [-+]? DIGIT+ )? | '.' DIGIT+ ( E [-+]? DIGIT+ )? ; STRING_LITERAL : '\'' ( ~'\'' | '\'\'' )* '\'' ; DATETIME_LITERAL : '#' ( ~'#' )+ '#' ; GUID_VALUE : HEX_DIGIT+ '-' HEX_DIGIT+ '-' HEX_DIGIT+ '-' HEX_DIGIT+ '-' HEX_DIGIT+ ; GUID_LITERAL : GUID_VALUE | '{' GUID_VALUE '}' | '\'' GUID_VALUE '\'' ; BOOLEAN_LITERAL : K_TRUE | K_FALSE ; MEASUREMENT_KEY_LITERAL : ACRONYM_DIGIT+ ':' DIGIT+ ; POINT_TAG_LITERAL : ACRONYM_DIGIT+ ; SINGLE_LINE_COMMENT : '--' ~[\r\n]* -> channel(HIDDEN) ; MULTILINE_COMMENT : '/*' .*? ( '*/' | EOF ) -> channel(HIDDEN) ; SPACES : [ \u000B\t\r\n] -> channel(HIDDEN) ; UNEXPECTED_CHAR : . ; fragment DIGIT : [0-9]; fragment HEX_DIGIT : [0-9a-fA-F]; fragment ACRONYM_DIGIT : ( [a-zA-Z0-9] | '-' | '!' | '_' | '.' | '@' | '#' | '$' ); fragment A : [aA]; fragment B : [bB]; fragment C : [cC]; fragment D : [dD]; fragment E : [eE]; fragment F : [fF]; fragment G : [gG]; fragment H : [hH]; fragment I : [iI]; fragment J : [jJ]; fragment K : [kK]; fragment L : [lL]; fragment M : [mM]; fragment N : [nN]; fragment O : [oO]; fragment P : [pP]; fragment Q : [qQ]; fragment R : [rR]; fragment S : [sS]; fragment T : [tT]; fragment U : [uU]; fragment V : [vV]; fragment W : [wW]; fragment X : [xX]; fragment Y : [yY]; fragment Z : [zZ];
Transynther/x86/_processed/US/_st_/i3-7100_9_0x84_notsx.log_624_2109.asm
ljhsiun2/medusa
9
179597
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r15 push %r8 push %rbx push %rcx push %rsi // Store mov $0x10c, %r13 nop nop nop sub %r14, %r14 movl $0x51525354, (%r13) and $810, %rcx // Store lea addresses_A+0x146ec, %rcx clflush (%rcx) nop and $32710, %r15 mov $0x5152535455565758, %r14 movq %r14, (%rcx) nop nop nop and $15573, %rbx // Store lea addresses_WC+0x1b1ea, %r13 nop nop nop and $49498, %rbx movl $0x51525354, (%r13) nop nop nop xor $4244, %r14 // Store lea addresses_normal+0xc20c, %rbx nop sub %r8, %r8 mov $0x5152535455565758, %rcx movq %rcx, %xmm7 vmovups %ymm7, (%rbx) inc %r13 // Faulty Load lea addresses_US+0x1620c, %rsi nop nop nop xor %r15, %r15 movb (%rsi), %cl lea oracles, %r15 and $0xff, %rcx shlq $12, %rcx mov (%r15,%rcx,1), %rcx pop %rsi pop %rcx pop %rbx pop %r8 pop %r15 pop %r14 pop %r13 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_US', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_P', 'same': False, 'size': 4, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_A', 'same': False, 'size': 8, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_WC', 'same': False, 'size': 4, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_normal', 'same': False, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} [Faulty Load] {'src': {'type': 'addresses_US', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'58': 624} 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 */
openal_info.adb
io7m/coreland-openal-ada
1
7351
with Ada.Command_Line; with Ada.Exceptions; with Ada.Text_IO; with OpenAL.Context; with OpenAL.Global; with OpenAL.List; package body OpenAL_Info is package AL_Context renames OpenAL.Context; package AL_Global renames OpenAL.Global; package AL_String_Vectors renames OpenAL.List.String_Vectors; package Command_Line renames Ada.Command_Line; package Exceptions renames Ada.Exceptions; package Natural_IO is new Ada.Text_IO.Integer_IO (Natural); package Text_IO renames Ada.Text_IO; Device : AL_Context.Device_t; Context : AL_Context.Context_t; Error : exception; use type AL_Context.Device_t; use type AL_Context.Context_t; procedure Versions; -- -- Defaults. -- procedure Defaults is begin Text_IO.Put ("Default playback : "); Text_IO.Put (AL_Context.Get_Default_Device_Specifier); Text_IO.New_Line; Text_IO.Put ("Default capture : "); Text_IO.Put (AL_Context.Get_Default_Capture_Device_Specifier); Text_IO.New_Line; end Defaults; -- -- Finish. -- procedure Finish is begin AL_Context.Destroy_Context (Context); AL_Context.Close_Device (Device); end Finish; -- -- Init. -- procedure Init is begin Natural_IO.Default_Width := 0; end Init; -- -- Capture devices. -- procedure List_Capture_Devices is Devices : AL_String_Vectors.Vector; procedure Process_Element (Device : in String) is begin Text_IO.Put_Line (" " & Device); end Process_Element; begin Text_IO.Put_Line ("Capture devices :"); Devices := AL_Context.Get_Available_Capture_Devices; for Index in AL_String_Vectors.First_Index (Devices) .. AL_String_Vectors.Last_Index (Devices) loop AL_String_Vectors.Query_Element (Devices, Index, Process_Element'Access); end loop; end List_Capture_Devices; -- -- Playback devices. -- procedure List_Playback_Devices is Devices : AL_String_Vectors.Vector; procedure Process_Element (Device : in String) is begin Text_IO.Put_Line (" " & Device); end Process_Element; begin Text_IO.Put_Line ("Playback devices :"); Devices := AL_Context.Get_Available_Playback_Devices; for Index in AL_String_Vectors.First_Index (Devices) .. AL_String_Vectors.Last_Index (Devices) loop AL_String_Vectors.Query_Element (Devices, Index, Process_Element'Access); end loop; end List_Playback_Devices; -- -- Open_Device. -- procedure Open_Device is begin Command_Line.Set_Exit_Status (Command_Line.Failure); Device := AL_Context.Open_Default_Device; if Device /= AL_Context.Invalid_Device then Context := AL_Context.Create_Context (Device); if Context /= AL_Context.Invalid_Context then if AL_Context.Make_Context_Current (Context) = False then raise Error with "error making context current"; else Command_Line.Set_Exit_Status (Command_Line.Success); end if; else raise Error with "error creating context"; end if; else raise Error with "error opening device"; end if; end Open_Device; -- -- Entry point. -- procedure Run is begin Init; List_Playback_Devices; List_Capture_Devices; Defaults; Open_Device; Versions; Finish; exception when E : Error => Text_IO.Put_Line (File => Text_IO.Current_Error, Item => "fatal: " & Exceptions.Exception_Message (E)); end Run; -- -- Versions. -- procedure Versions is begin Text_IO.Put ("ALC major version : "); Natural_IO.Put (AL_Context.Get_Major_Version (Device)); Text_IO.New_Line; Text_IO.Put ("ALC minor version : "); Natural_IO.Put (AL_Context.Get_Minor_Version (Device)); Text_IO.New_Line; Text_IO.Put ("ALC extensions : "); Text_IO.Put (AL_Context.Get_Extensions (Device)); Text_IO.New_Line; Text_IO.Put ("AL vendor : "); Text_IO.Put (AL_Global.Vendor); Text_IO.New_Line; Text_IO.Put ("AL renderer : "); Text_IO.Put (AL_Global.Renderer); Text_IO.New_Line; Text_IO.Put ("AL version : "); Text_IO.Put (AL_Global.Version); Text_IO.New_Line; Text_IO.Put ("AL extensions : "); Text_IO.Put (AL_Global.Extensions); Text_IO.New_Line; end Versions; end OpenAL_Info;
Task/Zeckendorf-number-representation/Ada/zeckendorf-number-representation.ada
LaudateCorpus1/RosettaCodeData
1
22250
<filename>Task/Zeckendorf-number-representation/Ada/zeckendorf-number-representation.ada with Ada.Text_IO, Ada.Strings.Unbounded; procedure Print_Zeck is function Zeck_Increment(Z: String) return String is begin if Z="" then return "1"; elsif Z(Z'Last) = '1' then return Zeck_Increment(Z(Z'First .. Z'Last-1)) & '0'; elsif Z(Z'Last-1) = '0' then return Z(Z'First .. Z'Last-1) & '1'; else -- Z has at least two digits and ends with "10" return Zeck_Increment(Z(Z'First .. Z'Last-2)) & "00"; end if; end Zeck_Increment; use Ada.Strings.Unbounded; Current: Unbounded_String := Null_Unbounded_String; begin for I in 1 .. 20 loop Current := To_Unbounded_String(Zeck_Increment(To_String(Current))); Ada.Text_IO.Put(To_String(Current) & " "); end loop; end Print_Zeck;
tests/exec/queens.adb
xuedong/mini-ada
0
16559
with Ada.Text_IO; use Ada.Text_IO; -- les N reines procedure NQueens is procedure PrintInt(N: Integer) is C: Integer := N rem 10; begin if N > 9 then PrintInt(N / 10); end if; Put(Character'Val(48 + C)); end; -- des ensembles représentés par des entiers Empty: Integer := 0; function Mem(X, S: Integer) return Boolean is begin -- X est une puissance de 2 return (S / X) rem 2 = 1; end; -- décompte récursif function Q(N: Integer) return Integer is Full : Integer; function T(A, B, C: Integer) return Integer is F,D : Integer; begin if A = Empty then return 1; end if; F := 0; D := 1; for I in 0 .. N-1 loop if Mem(D, A) and then not Mem(D, B) and then not Mem(D, C) then F := F + T(A-D, (B+D) * 2, (C+D) / 2); end if; D := 2 * D; end loop; return F; end; begin Full := 0; for I in 0 .. N-1 loop Full := 2 * Full + 1; end loop; return T(Full, Empty, Empty); end; begin for N in 1 .. 10 loop Printint(N); Put(' '); Printint(Q(N)); New_Line; end loop; end; -- Local Variables: -- compile-command: "gnatmake queens.adb && ./queens" -- End:
ioctl/IokSetInputMode.asm
osfree-project/FamilyAPI
1
81849
;-------------------------------------------------------- ; Category 4 Function 51H Set Input Mode ;-------------------------------------------------------- ; ; ; IOKSETINPUTMODE PROC NEAR RET IOKSETINPUTMODE ENDP
programs/oeis/084/A084263.asm
neoneye/loda
22
165524
<reponame>neoneye/loda ; A084263: Modified triangular numbers. ; 1,1,4,6,11,15,22,28,37,45,56,66,79,91,106,120,137,153,172,190,211,231,254,276,301,325,352,378,407,435,466,496,529,561,596,630,667,703,742,780,821,861,904,946,991,1035,1082,1128,1177,1225,1276,1326,1379,1431 mov $1,$0 pow $0,2 div $0,2 div $1,2 add $0,$1 add $0,1
oeis/106/A106542.asm
neoneye/loda-programs
11
102204
<filename>oeis/106/A106542.asm ; A106542: a(n) = a(n-1) - 2*a(n-2) - 3*a(n-3) - ... - (n-1)*a(1), a(1) = a(2) = 3, a(3) = -3. ; 3,3,-3,-18,-33,-15,84,261,333,-138,-1557,-3315,-2436,6153,24009,36390,1431,-129639,-323292,-318819,400725,2149686,3807795,1476405,-10310388,-30697599,-37588047,20103078,186854271,384871329,260548788,-769001739,-2840006499,-4153913226,200289339,15690421149,37761990300,35234443833,-51725777703,-255825571674,-438378938841,-139460513559,1261862010180,3606130720653,4230161083941,-2816446331082,-22387882971645,-44621095091643,-27556763078868,95659420278321,335519886046017,473149030588710 seq $0,106540 ; a(n) = a(n-1) - 2*a(n-2) - 3*a(n-3) - ... - (n-1)*a(1), with a(1) = a(2) = 1, a(3) = -1. mul $0,3
Tooling/GCodeParser/GCodeParser/FanucGCodeLexer.g4
philmccarthy24/gemstone
0
5359
lexer grammar FanucGCodeLexer; /********************************************************************************* * FANUC GCode Lexer Rules - (c) 2018 <NAME>, MIT license. * ********************************************************************************/ HASH: '#' ; // Arithmetic and logic operation described p440 of the manual. PLUS: '+' ; MINUS: '-'; MULTIPLY: '*'; DIVIDE: '/'; MOD: 'MOD' ; EQUALS: '='; fragment DIGIT: [0-9] ; DIGITS: DIGIT+ ; DECIMAL: DIGIT+ ('.' DIGIT*)? // negative decimals handled in parser rules | '.' DIGIT+; // Support for System Variables (constant string beginning with '_' // followed by up to seven uppercase letters, numerics or underscores), // some of which are array-ish supporting "var [ expr ]" type syntax. // see p383 of man // SYSTEM_VAR: '#' '_' [A-Z0-9_]+; ?? // Also supports System constants (p384): // [#_EMPTY] => #0 or #3100 // [#_PI] => #3101 // [#_E] => #3102 // #500 - #549 are common variables, and can also be given a name // using the SETVN command. eg // SETVN 510[HAPPY, MY_AWESOME_VAR]; // [#MY_AWESOME_VAR] => #511 // text can be anything allowed in prog except (,),',',EOB,EOR,: // #3000 (alarm) can also be refd as [#_ALM] = 3000 (ALARM MSG); SYSTEMVAR_CONST_OR_COMMONVAR_IDENTIFIER: {_input.La(-1) == '#'}? ~[0-9[\]] [A-Za-z0-9_]*; // actually more chars could be allowed for a common var - this is more restrictive // than it needs to be. COMMA: ','; OPEN_BRACKET: '[' ; CLOSE_BRACKET: ']' ; START_END_PROGRAM: '%' ; fragment LT: 'LT' ; fragment GT: 'GT' ; fragment LE: 'LE' ; fragment GE: 'GE' ; fragment EQ: 'EQ' ; fragment NE: 'NE' ; RELATIONAL_OP : LT | GT | LE | GE | EQ | NE; // logical operators fragment OR: 'OR' ; fragment XOR: 'XOR' ; fragment AND: 'AND' ; LOGICAL_OP : OR | XOR | AND; // logic flow keywords IF: 'IF' ; THEN: 'THEN' ; GOTO: 'GOTO' ; WHILE: 'WHILE'; DO: 'DO'; END: 'END'; // builtin functions - p443 of manual says all but POW can be abbreviated to their first two letters. fragment SIN: ('SIN'|'SI') ; fragment COS: ('COS'|'CO') ; fragment TAN: ('TAN'|'TA') ; fragment ASIN: ('ASIN'|'AS') ; fragment ACOS: ('ACOS'|'AC') ; fragment ATAN: ('ATAN'|'ATN'|'AT') ; fragment SQRT: ('SQRT'|'SQR'|'SQ') ; fragment ABS: ('ABS'|'AB') ; fragment BIN: ('BIN'|'BI') ; fragment BCD: ('BCD'|'BC') ; fragment ROUND: ('ROUND'|'RND'|'RO') ; fragment FIX: ('FIX'|'FI') ; fragment FUP: ('FUP'|'FU') ; fragment LN: 'LN' ; fragment EXP: ('EXP'|'EX') ; fragment POW: 'POW' ; fragment ADP: ('ADP'|'AD') ; fragment PRM: ('PRM'|'PR') ; BUILTIN_FUNCTION: SIN | COS | TAN | ASIN | ACOS | ATAN | SQRT | ABS | BIN | BCD | ROUND | FIX | FUP | LN | EXP | POW | ADP | PRM; // tokens for built-in functions with special parsing rules AX: 'AX'; AXNUM: 'AXNUM'; SETVN: 'SETVN'; BPRNT: 'BPRNT'; // external output commands p.486 DPRNT: 'DPRNT'; POPEN: 'POPEN'; PCLOS: 'PCLOS'; // see fanuc manual section 16.4 (p440) for grammar specification // see p.269 for block configuration details PROGRAM_NUMBER_PREFIX: 'O' ; SEQUENCE_NUMBER_PREFIX: 'N' ; GCODE_PREFIX: [A-MP-Z] ; // For G65 etc, the allowed args have rules. These are probably best validated during semantic analysis: // Addresses G, L, N, O, and P cannot be used in arguments (p457) note there are two arg formats; ii has ABCIJKIJKIJK etc instead // eg [A-FH-KMQ-Z] ; WS : ' ' -> skip; // end of block. because new lines are block delimiters, this can't be hidden I think NEWLINE : '\n'; CTRL_OUT: '(' -> pushMode(ControlIn); UNRECOGNISED_TEXT: .+?; mode ControlIn; // all the chars allowed in gcode comments, according to the Fanuc manual p.2277 CTRL_OUT_TEXT: [ "#$&'*+,\-./0-9:;<=>?@A-Z[\]_a-z]+; CTRL_IN: ')' -> popMode;
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-bbbosu.ads
JCGobbi/Nucleo-STM32G474RE
0
26300
<reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- S Y S T E M . B B . B O A R D _ S U P P O R T -- -- -- -- S p e c -- -- -- -- Copyright (C) 1999-2002 Universidad Politecnica de Madrid -- -- Copyright (C) 2003-2006 The European Space Agency -- -- Copyright (C) 2003-2021, AdaCore -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNARL is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNARL was developed by the GNARL team at Florida State University. -- -- Extensive contributions were provided by Ada Core Technologies, Inc. -- -- -- -- The port of GNARL to bare board targets was initially developed by the -- -- Real-Time Systems Group at the Technical University of Madrid. -- -- -- ------------------------------------------------------------------------------ -- This package defines an interface used for handling the peripherals -- available in the target board that are needed by the target-independent -- part of the run time. pragma Restrictions (No_Elaboration_Code); with System.Multiprocessors; with System.BB.Interrupts; with System.BB.Time; package System.BB.Board_Support is pragma Preelaborate; ----------------------------- -- Hardware Initialization -- ----------------------------- procedure Initialize_Board; -- Procedure that performs the hardware initialization of the board. Should -- be called before any other operations in this package. ------------------------------------------------ -- Clock and Timer Definitions and Primitives -- ------------------------------------------------ package Time is type Timer_Interval is mod 2 ** 32; for Timer_Interval'Size use 32; -- This type represents any interval that we can measure within a -- Clock_Interrupt_Period. Even though this type is always 32 bits, its -- actual allowed range is 0 .. Max_Timer_Interval, which may be less, -- depending on the target. function Read_Clock return BB.Time.Time; -- Read the value contained in the clock hardware counter, and return -- the number of ticks elapsed since the last clock interrupt, that is, -- since the clock counter was last reloaded. function Max_Timer_Interval return Timer_Interval; pragma Inline (Max_Timer_Interval); -- The maximum value of the hardware clock. The is the maximum value -- that Read_Clock may return, and the longest interval that Set_Alarm -- may use. The hardware clock period is Max_Timer_Interval + 1 clock -- ticks. An interrupt occurs after this number of ticks. procedure Set_Alarm (Ticks : Timer_Interval); -- Set an alarm that will expire after the specified number of clock -- ticks. This cancels any previous alarm set. procedure Install_Alarm_Handler (Handler : Interrupts.Interrupt_Handler); -- Install Handler as alarm interrupt handler procedure Clear_Alarm_Interrupt; pragma Inline (Clear_Alarm_Interrupt); -- Acknowledge the alarm interrupt end Time; ---------------- -- Interrupts -- ---------------- package Interrupts is function Priority_Of_Interrupt (Interrupt : System.BB.Interrupts.Interrupt_ID) return System.Any_Priority; pragma Inline (Priority_Of_Interrupt); -- Function to obtain the priority associated with an interrupt. procedure Install_Interrupt_Handler (Interrupt : System.BB.Interrupts.Interrupt_ID; Prio : Interrupt_Priority); -- Determine the trap vector that will be called for handling the given -- external interrupt on the current CPU, and install the given handler -- there. It is an error to try to install two different handlers for -- the vector, though this procedure may be called for multiple -- interrupts that share the same vector, as long as they use the same -- handler. The handler expects a single argument indicating the vector -- called. This routine may need to set up the interrupt controller to -- enable the given interrupt source, so it will actually cause a trap -- on the CPU. Note, this should not actually enable interrupts, as this -- is only done through CPU_Primitives.Enable_Interrupts, which -- typically uses a processor status register. Prio is the priority for -- the interrupt, and the hardware can be programmed to use that -- priority. procedure Set_Current_Priority (Priority : Integer); pragma Inline (Set_Current_Priority); -- Only allow interrupts higher than the specified priority. This -- routine differes from the Enable_Interrupts/Disable_Interrupts -- procedures in CPU_Primitives in that it disables interrupts at the -- board level, rather than the CPU. Typically if board-specific support -- of an interrupt controller is needed to block interrupts of -- insufficient priority, this routine will be needed. On other systems, -- where the processor has this control, or where only a single -- interrupt priority is supported, this may be a null procedure. procedure Power_Down; pragma Inline (Power_Down); -- Power-down the current CPU. This procedure is called only by the idle -- task, with interrupt enabled. end Interrupts; package Multiprocessors is -- The following functions define an interface for handling the "poke" -- interrupts that are used to signal other processors in an -- multiprocessor system. function Number_Of_CPUs return System.Multiprocessors.CPU; pragma Inline (Number_Of_CPUs); -- Return the number of available CPUs on the target function Current_CPU return System.Multiprocessors.CPU; pragma Inline (Current_CPU); -- Return the id of the current CPU procedure Poke_CPU (CPU_Id : System.Multiprocessors.CPU); -- Poke the given CPU to signal that a rescheduling may be required procedure Start_All_CPUs; -- Start all slave CPUs end Multiprocessors; end System.BB.Board_Support;
programs/oeis/198/A198306.asm
jmorken/loda
1
167313
; A198306: Moore lower bound on the order of a (6,g)-cage. ; 7,12,37,62,187,312,937,1562,4687,7812,23437,39062,117187,195312,585937,976562,2929687,4882812,14648437,24414062,73242187,122070312,366210937,610351562,1831054687,3051757812,9155273437,15258789062 mov $4,$0 add $4,1 mov $6,$0 lpb $4 mov $0,$6 sub $4,1 sub $0,$4 mov $2,4 mov $5,1 add $5,$0 add $5,$0 sub $2,$5 trn $2,2 mov $3,$2 add $2,5 div $5,4 add $5,1 pow $2,$5 add $2,$3 add $1,$2 lpe
starDraw.asm
GokselKUCUKSAHIN/Microprocessors-x86-ASM
3
102714
name "JellyBeanci" org 100h jmp starDraw star: db "*$" nl: db 0Dh,0Ah,"$" count db 0h, 0h starDraw: mov byte ptr [count], 0h d1: mov byte ptr [count+1], 0h d2: mov dx, star mov ah, 9 int 21h inc byte ptr [count+1] xor ax, ax mov al, byte ptr [count+1] sub al, byte ptr [count] cmp al, 0 jle d2 mov dx, nl mov ah, 9 int 21h inc byte ptr [count] cmp byte ptr [count], 10 jne d1 mov ah, 0 int 16h ret
resources/scripts/api/securitytrails.ads
nscuro/Amass
1
16863
<filename>resources/scripts/api/securitytrails.ads -- Copyright © by <NAME> 2020-2022. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -- SPDX-License-Identifier: Apache-2.0 local json = require("json") name = "SecurityTrails" type = "api" function start() set_rate_limit(2) end function check() local c local cfg = datasrc_config() if cfg ~= nil then c = cfg.credentials end if (c ~= nil and c.key ~= nil and c.key ~= "") then return true end return false end function vertical(ctx, domain) local c local cfg = datasrc_config() if cfg ~= nil then c = cfg.credentials end if (c == nil or c.key == nil or c.key == "") then return end local resp, err = request(ctx, { ['url']=vert_url(domain), headers={['APIKEY']=c.key}, }) if (err ~= nil and err ~= "") then log(ctx, "vertical request to service failed: " .. err) return end local j = json.decode(resp) if (j == nil or j.subdomains == nil or #(j.subdomains) == 0) then return end for _, sub in pairs(j.subdomains) do new_name(ctx, sub .. "." .. domain) end end function vert_url(domain) return "https://api.securitytrails.com/v1/domain/" .. domain .. "/subdomains" end function horizontal(ctx, domain) local c local cfg = datasrc_config() if cfg ~= nil then c = cfg.credentials end if (c == nil or c.key == nil or c.key == "") then return end for i=1,100 do local resp, err = request(ctx, { ['url']=horizon_url(domain, i), headers={['APIKEY']=c.key}, }) if (err ~= nil and err ~= "") then log(ctx, "horizontal request to service failed: " .. err) return end local j = json.decode(resp) if (j == nil or j.records == nil or #(j.records) == 0) then return end for _, r in pairs(j.records) do if (r.hostname ~= nil and r.hostname ~= "") then associated(ctx, domain, r.hostname) end end end end function horizon_url(domain, pagenum) return "https://api.securitytrails.com/v1/domain/" .. domain .. "/associated?page=" .. pagenum end
Assembler/cputest.asm
thomasmalloch/NovaBoySharp
0
10995
<reponame>thomasmalloch/NovaBoySharp SECTION "Header", ROM0[$100] SECTION "Game code", ROM0 Start: ld sp,$1000 ; setup stack pointer ld a,10 ; load 10 into a ld b,3 ; load 3 into b loop: dec b ; decrement b jp z, end ; if b is 0, jump to the end add a ; add a to itself jp loop ; jump to the top of the multiply loop end: halt ; end
programs/oeis/024/A024220.asm
karttu/loda
0
165415
; A024220: a(n) = [ (3rd elementary symmetric function of S(n))/(first elementary symmetric function of S(n)) ], where S(n) = {first n+2 positive integers congruent to 1 mod 3}. ; 2,19,71,188,410,784,1367,2226,3435,5078,7249,10049,13589,17990,23380,29897,37689,46911,57728,70315,84854,101537,120566,142150,166508,193869,224469,258554,296380,338210,384317,434984,490501,551168,617295,689199 mov $8,$0 mov $10,$0 add $10,1 lpb $10,1 clr $0,8 mov $0,$8 sub $10,1 sub $0,$10 mov $5,$0 mov $7,$0 add $7,1 lpb $7,1 clr $0,5 mov $0,$5 sub $7,1 sub $0,$7 add $2,6 sub $2,$0 sub $2,8 add $3,$2 mov $0,$3 mul $3,2 mov $4,$2 add $4,4 add $4,$0 mul $0,$3 mod $0,9 mov $1,1 add $4,$2 bin $4,2 lpb $0,1 mov $0,1 sub $4,2 add $4,$1 lpe add $6,$4 lpe add $9,$6 lpe mov $1,$9
programs/oeis/273/A273336.asm
jmorken/loda
1
4812
; A273336: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 657", based on the 5-celled von Neumann neighborhood. ; 1,5,22,70,150,270,438,662,950,1310,1750,2278,2902,3630,4470,5430,6518,7742,9110,10630,12310,14158,16182,18390,20790,23390,26198,29222,32470,35950,39670,43638,47862,52350,57110,62150,67478,73102,79030,85270,91830,98718 lpb $0 mov $4,$0 sub $0,1 add $3,$4 add $3,1 add $2,$3 lpe mul $2,2 mov $1,$2 trn $1,11 add $2,1 add $1,$2
oeis/010/A010166.asm
neoneye/loda-programs
11
161627
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A010166: Continued fraction for sqrt(95). ; 9,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1 seq $0,40304 ; Continued fraction for sqrt(322). dif $0,4 mul $0,8 div $0,5 dif $0,3
alloy4fun_models/trashltl/models/5/ropwZCvArykyveBCP.als
Kaixi26/org.alloytools.alloy
0
3064
open main pred idropwZCvArykyveBCP_prop6 { some f:File | always f in Trash' } pred __repair { idropwZCvArykyveBCP_prop6 } check __repair { idropwZCvArykyveBCP_prop6 <=> prop6o }
mc-sema/validator/x86/tests/ROL16rCL.asm
randolphwong/mcsema
2
82707
<filename>mc-sema/validator/x86/tests/ROL16rCL.asm BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_OF ;TEST_FILE_META_END ; ROL16rCL mov bx, 0x414 mov cl, 0x3 ;TEST_BEGIN_RECORDING rol bx, cl ;TEST_END_RECORDING
tools/uaflex/macros.adb
faelys/gela-asis
4
22387
------------------------------------------------------------------------------ -- <NAME> A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- - - - - - - - - - - - - - - - -- -- Read copyright and license at the end of this file -- ------------------------------------------------------------------------------ -- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $ with Ada.Strings.Unbounded; package body Macros is package U renames Ada.Strings.Unbounded; type Node; type Node_Access is access all Node; type Node is record Next : Node_Access; Name : U.Unbounded_String; Expr : Expression; end record; List : Node_Access; procedure Find_One (Name : in String; Expr : out Expression; Found : out Boolean); --------- -- Add -- --------- procedure Add (Name : String; Expr : Expression) is Temp : Expression; Found : Boolean; begin Find_One (Name, Temp, Found); if not Found then List := new Node'(List, U.To_Unbounded_String (Name), Expr); end if; end Add; ---------- -- Find -- ---------- function Find (Name : String) return Expression is Expr : Expression; Found : Boolean; begin Find_One (Name, Expr, Found); if not Found then raise Not_Found; end if; return Expr; end Find; -------------- -- Find_One -- -------------- procedure Find_One (Name : in String; Expr : out Expression; Found : out Boolean) is use type U.Unbounded_String; Ptr : Node_Access := List; begin while Ptr /= null loop if Ptr.Name = Name then Expr := Ptr.Expr; Found := True; return; end if; Ptr := Ptr.Next; end loop; Found := False; end Find_One; end Macros; ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, <NAME> -- 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 <NAME>, IE 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. ------------------------------------------------------------------------------
src/antlr/ParadoxFile.g4
brahle/paradox
2
1370
grammar ParadoxFile; config: (assignment)*; assignment: field OPERATOR? value; field: string | symbol | variable | LIST_START; value: integer | percent | real | date | string | symbol | variable | variable_expression | map | array | list | constructor; symbol: string | INT | REAL | SYMBOL; string: DSTRING | SSTRING | CSTRING; integer: INT; real: REAL; date: DATE; percent: PCT; map: BLOCK_START (assignment)* BLOCK_END; array : BLOCK_START value COMMA? ((value | assignment) COMMA?)* BLOCK_END | BLOCK_START (assignment COMMA?)+ value COMMA? ((value | assignment) COMMA?)* BLOCK_END ; variable: VARIABLE_START SYMBOL | VARIABLE_START INT; variable_expression: VARIABLE_START VARIABLE_EXPRESSION_START expression VARIABLE_EXPRESSION_END; expression : expression MULTIPLY_DIVIDE expression | expression PLUS_MINUS expression | ABS_VALUE expression ABS_VALUE | OPEN_PARENS expression CLOSE_PARENS | PLUS_MINUS value | value ; list: LIST_START (SYMBOL | string); constructor: symbol array; OPERATOR: '=' | '<>' | '>' | '<' | '<=' | '>=' | '!=' | '=='; BLOCK_START: '{'; BLOCK_END: '}'; VARIABLE_START: '@' '\\'?; VARIABLE_EXPRESSION_START: '['; VARIABLE_EXPRESSION_END: ']'; ABS_VALUE: '|'; OPEN_PARENS: '('; CLOSE_PARENS: ')'; LIST_START: 'list'; INT: PLUS_MINUS?[0-9]+; PCT: PLUS_MINUS?[0-9]+'%'; REAL: PLUS_MINUS?[0-9]*'.'[0-9]+; DATE: [0-9]+'.'[0-9]+'.'[0-9]+; SSTRING : '\'' (~('"' | '\\') | '\\' ('"' | '\\'))* '\''; DSTRING : '"' (~('"' | '\\') | '\\' ('"' | '\\'))* '"'; CSTRING: '“' (~('"' | '\\') | '\\' ('"' | '\\'))* '”'; SYMBOL: SYMBOL_START (| SYMBOL_END | SYMBOL_INNER+ SYMBOL_END); PLUS_MINUS: PLUS_MINUS_F; MULTIPLY_DIVIDE: MULTIPLY_DIVIDE_F; COMMA: ','; WHITESPACE: [ \t\n\r] + -> skip; LINE_COMMENT: '#'~[\r\n]* -> channel(HIDDEN); fragment STRING_DELIM: ('"' | '\''); fragment PLUS_MINUS_F: [-+]; fragment MULTIPLY_DIVIDE_F: [*/]; fragment SYMBOL_START: [0-9\p{Cased}\p{Ideographic}·“”’$_]; fragment SYMBOL_INNER: [\p{Cased}\p{Ideographic}0-9'·“”’&/$|:@_.?^%-]; fragment SYMBOL_END: [\p{Cased}\p{Ideographic}0-9'·“”’&/$:@_.%-];
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1019.asm
ljhsiun2/medusa
9
179192
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1e628, %r9 nop nop xor $23405, %r12 vmovups (%r9), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $0, %xmm2, %rdi nop nop nop cmp %rsi, %rsi lea addresses_D_ht+0x1ded0, %rdi sub %rax, %rax movb (%rdi), %r9b nop nop nop inc %rax lea addresses_WC_ht+0x8ad0, %r15 nop nop nop nop add $63164, %r14 and $0xffffffffffffffc0, %r15 vmovaps (%r15), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $0, %xmm2, %rsi nop add $29401, %r15 lea addresses_WT_ht+0xcd10, %r15 clflush (%r15) sub %r14, %r14 movw $0x6162, (%r15) inc %rsi lea addresses_WC_ht+0xdad0, %r14 add %r15, %r15 mov $0x6162636465666768, %r12 movq %r12, %xmm6 movups %xmm6, (%r14) nop add $45508, %r15 lea addresses_WT_ht+0x16bb4, %rsi lea addresses_WT_ht+0x1c910, %rdi nop nop add %r14, %r14 mov $36, %rcx rep movsb nop nop nop cmp %r9, %r9 lea addresses_WC_ht+0x1dd98, %r14 nop nop nop sub %r15, %r15 mov (%r14), %r12d nop nop nop nop nop add $44467, %rax lea addresses_A_ht+0xed02, %rsi lea addresses_D_ht+0xa290, %rdi nop nop nop nop xor %r12, %r12 mov $97, %rcx rep movsq nop nop nop nop cmp %r12, %r12 pop %rsi pop %rdi pop %rcx pop %rax pop %r9 pop %r15 pop %r14 pop %r12 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r15 push %rax push %rdi push %rdx // Faulty Load lea addresses_UC+0x92d0, %r13 nop xor $43968, %r12 mov (%r13), %edi lea oracles, %r12 and $0xff, %rdi shlq $12, %rdi mov (%r12,%rdi,1), %rdi pop %rdx pop %rdi pop %rax pop %r15 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_UC', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 3}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 4}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 11}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 5}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 10}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 2, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 3}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_D_ht'}} {'37': 21829} 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 */
src/GUI/time_select_window.adb
Fabien-Chouteau/coffee-clock
7
18151
<filename>src/GUI/time_select_window.adb ------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- -- Copyright (C) 2016-2017 <NAME> -- -- -- -- Coffee Clock 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 3 of the -- -- License, or (at your option) any later version. -- -- -- -- Coffee Clock 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 We Noise Maker. If not, see <http://www.gnu.org/licenses/>. -- -- -- ------------------------------------------------------------------------------- with ok_80x80; with cancel_80x80; with up_200x100; with down_200x100; with Dialog_Window; use Dialog_Window; with Giza.Colors; use Giza.Colors; package body Time_Select_Window is ------------- -- On_Init -- ------------- overriding procedure On_Init (This : in out Instance) is Size : constant Size_T := This.Get_Size; begin On_Init (Parent (This)); This.Set_Background (Black); This.Up_Hours.Disable_Frame; This.Up_Hours.Disable_Background; This.Up_Hours.Set_Image (up_200x100.Image); This.Up_Hours.Set_Size ((200, 100)); This.Add_Child (This.Up_Hours'Unchecked_Access, (75, 10)); This.Up_Minutes.Disable_Frame; This.Up_Minutes.Disable_Background; This.Up_Minutes.Set_Image (up_200x100.Image); This.Up_Minutes.Set_Size ((200, 100)); This.Add_Child (This.Up_Minutes'Unchecked_Access, (450, 10)); This.Down_Hours.Disable_Frame; This.Down_Hours.Disable_Background; This.Down_Hours.Set_Image (down_200x100.Image); This.Down_Hours.Set_Size ((200, 100)); This.Add_Child (This.Down_Hours'Unchecked_Access, (75, 370)); This.Down_Minutes.Disable_Frame; This.Down_Minutes.Disable_Background; This.Down_Minutes.Set_Image (down_200x100.Image); This.Down_Minutes.Set_Size ((200, 100)); This.Add_Child (This.Down_Minutes'Unchecked_Access, (450, 370)); This.Set_Top_Image (ok_80x80.Image); This.Set_Icon_Image (This.Icon); This.Set_Bottom_Image (cancel_80x80.Image); This.Clock.Set_Size (This.Clock.Required_Size); This.Add_Child (This.Clock'Unchecked_Access, ((Size.W - This.Clock.Get_Size.W) / 2, (Size.H - This.Clock.Get_Size.H) / 2)); end On_Init; ------------------ -- On_Displayed -- ------------------ overriding procedure On_Displayed (This : in out Instance) is pragma Unreferenced (This); begin null; end On_Displayed; --------------- -- On_Hidden -- --------------- overriding procedure On_Hidden (This : in out Instance) is pragma Unreferenced (This); begin null; end On_Hidden; ----------------------- -- On_Position_Event -- ----------------------- overriding function On_Position_Event (This : in out Instance; Evt : Position_Event_Ref; Pos : Point_T) return Boolean is use type HAL.Real_Time_Clock.RTC_Hour; use type HAL.Real_Time_Clock.RTC_Minute; Time : HAL.Real_Time_Clock.RTC_Time; begin if On_Position_Event (Parent (This), Evt, Pos) then Time := This.Clock.Get_Time; if This.Up_Hours.Active then This.Up_Hours.Set_Active (False); Time.Hour := Time.Hour + 1; elsif This.Down_Hours.Active then This.Down_Hours.Set_Active (False); Time.Hour := Time.Hour - 1; elsif This.Up_Minutes.Active then This.Up_Minutes.Set_Active (False); Time.Min := Time.Min + 1; elsif This.Down_Minutes.Active then This.Down_Minutes.Set_Active (False); Time.Min := Time.Min - 1; end if; This.Clock.Set_Time (Time); return True; else return False; end if; end On_Position_Event; -------------- -- Set_Time -- -------------- procedure Set_Time (This : in out Instance; Time : HAL.Real_Time_Clock.RTC_Time) is begin This.Clock.Set_Time (Time); end Set_Time; -------------- -- Get_Time -- -------------- function Get_Time (This : Instance) return HAL.Real_Time_Clock.RTC_Time is (This.Clock.Get_Time); end Time_Select_Window;
orka/src/orka/interface/orka-strings.ads
onox/orka
52
27860
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <<EMAIL>> -- -- 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. with Ada.Strings.Unbounded; package Orka.Strings is pragma Preelaborate; function Trim (Value : String) return String; -- Return value with whitespace removed from both the start and end function Strip_Line_Term (Value : String) return String; -- Return the value without any LF and CR characters at the end function Lines (Value : String) return Positive; -- Return the number of lines that the string contains package SU renames Ada.Strings.Unbounded; function "+" (Value : String) return SU.Unbounded_String renames SU.To_Unbounded_String; function "+" (Value : SU.Unbounded_String) return String renames SU.To_String; type String_List is array (Positive range <>) of SU.Unbounded_String; function Split (Value : String; Separator : String := " "; Maximum : Natural := 0) return String_List; function Join (List : String_List; Separator : String) return String; end Orka.Strings;
tools/aflex/src/scanner.adb
svn2github/matreshka
24
21976
<reponame>svn2github/matreshka<gh_stars>10-100 with Ada.Characters.Wide_Wide_Latin_1; with Ada.Integer_Wide_Wide_Text_IO; with Ada.Strings.Wide_Wide_Unbounded; with Ada.Wide_Wide_Text_IO; with misc_defs, misc, sym; use misc_defs; with Matreshka.Internals.Unicode.Ucd; with Unicode; with scanner.DFA; use scanner.DFA; with scanner.IO; use scanner.IO; package body scanner is use Ada.Integer_Wide_Wide_Text_IO; use Ada.Strings.Wide_Wide_Unbounded; use Ada.Wide_Wide_Text_IO; use Parser_Tokens; use Unicode; function "+" (Item : Wide_Wide_String) return Unbounded_Wide_Wide_String renames To_Unbounded_Wide_Wide_String; beglin : boolean := false; i, bracelevel: integer; function YYLex return Token is toktype : Token; didadef, indented_code : boolean; cclval : Integer; nmdefptr : Unbounded_Wide_Wide_String; nmdef : Unbounded_Wide_Wide_String; tmpbuf : Unbounded_Wide_Wide_String; procedure ACTION_ECHO is begin Put (temp_action_file, YYText (1 .. YYLength)); end ACTION_ECHO; procedure MARK_END_OF_PROLOG is begin Put (temp_action_file, "%%%% end of prolog"); New_Line (temp_action_file); end MARK_END_OF_PROLOG; --------------------- -- Put_Back_String -- --------------------- procedure Put_Back_String (Str : Unbounded_Wide_Wide_String; Start : Integer) is begin for J in reverse Start + 1 .. Length (Str) loop unput (Element (Str, J)); end loop; end Put_Back_String; function check_yylex_here return boolean is begin return yytext'length >= 2 and then ((yytext(1) = '#') and (yytext(2) = '#')); end check_yylex_here; function YYLex return Token is subtype short is Integer range -32768..32767; yy_act : Integer; yy_c : short; -- returned upon end-of-file YY_END_TOK : constant Integer := 0; YY_END_OF_BUFFER : constant := 84; YY_JAMSTATE : constant := 331; YY_FIRST_TEMPLATE : constant := 332; YY_Current_State : YY_State_Type; INITIAL : constant YY_State_Type := 0; SECT2 : constant YY_State_Type := 1; SECT2PROLOG : constant YY_State_Type := 2; SECT3 : constant YY_State_Type := 3; PICKUPDEF : constant YY_State_Type := 4; SC : constant YY_State_Type := 5; CARETISBOL : constant YY_State_Type := 6; NUM : constant YY_State_Type := 7; QUOTE : constant YY_State_Type := 8; FIRSTCCL : constant YY_State_Type := 9; CCL : constant YY_State_Type := 10; ACTION : constant YY_State_Type := 11; RECOVER : constant YY_State_Type := 12; BRACEERROR : constant YY_State_Type := 13; ACTION_STRING : constant YY_State_Type := 14; yy_accept : constant array(0..331) of short := ( 0, 0, 0, 0, 0, 0, 0, 82, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 13, 6, 12, 10, 1, 11, 13, 13, 13, 9, 40, 31, 32, 25, 40, 39, 23, 40, 40, 40, 31, 21, 40, 40, 24, 83, 19, 82, 82, 15, 14, 16, 46, 83, 42, 43, 45, 47, 61, 62, 59, 58, 60, 48, 50, 49, 48, 54, 53, 54, 54, 56, 56, 56, 57, 67, 72, 71, 73, 67, 73, 68, 65, 66, 83, 17, 64, 63, 74, 76, 77, 78, 6, 12, 10, 1, 11, 0, 0, 2, 0, 7, 4, 5, 0, 9, 31, 32, 0, 28, 0, 0, 0, 79, 79, 79, 79, 27, 26, 27, 0, 31, 21, 0, 0, 35, 0, 0, 19, 18, 82, 82, 15, 14, 44, 45, 58, 80, 80, 80, 80, 51, 52, 55, 67, 0, 70, 0, 67, 68, 0, 17, 74, 75, 0, 7, 0, 0, 3, 0, 29, 0, 36, 0, 0, 0, 79, 0, 0, 27, 27, 38, 0, 0, 0, 35, 0, 30, 80, 0, 0, 67, 69, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 0, 22, 0, 22, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 79, 0, 0, 80, 34, 0, 0, 0, 0, 0, 79, 0, 0, 80, 0, 0, 0, 0, 0, 79, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 81, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ); type Secondary_Stage_Index is range 0 .. 16#FF#; type Primary_Stage_Index is range 0 .. 16#10FF#; type Secondary_Stage_Array is array (Secondary_Stage_Index) of Short; type Secondary_Stage_Array_Access is access constant Secondary_Stage_Array; yy_ec_0 : aliased constant Secondary_Stage_Array := ( 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 6, 7, 8, 9, 1, 10, 11, 11, 11, 11, 12, 13, 11, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 16, 1, 17, 11, 1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 32, 36, 37, 38, 39, 32, 40, 41, 42, 32, 18, 19, 20, 21, 22, 1, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 32, 32, 33, 34, 35, 32, 36, 37, 38, 39, 32, 40, 41, 42, 32, 43, 44, 45, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ); yy_ec_1 : aliased constant Secondary_Stage_Array := ( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ); yy_ec_base : constant array (Primary_Stage_Index) of Secondary_Stage_Array_Access := ( 0 => yy_ec_0'Access, others => yy_ec_1'Access); function yy_ec (Item : Wide_Wide_Character) return short is Code : constant Integer := Wide_Wide_Character'Pos (Item); Group : constant Primary_Stage_Index := Primary_Stage_Index (Code / 256); Offset : constant Secondary_Stage_Index := Secondary_Stage_Index (Code mod 256); begin return yy_ec_base (Group) (Offset); end yy_ec; yy_meta : constant array(0..45) of short := ( 0, 1, 2, 3, 2, 2, 4, 1, 1, 1, 5, 1, 1, 6, 5, 7, 1, 1, 1, 8, 9, 1, 10, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 5, 1, 12 ); yy_base : constant array(0..385) of short := ( 0, 0, 45, 89, 132, 1244, 1243, 1242, 1241, 107, 111, 176, 0, 1222, 1221, 114, 115, 125, 136, 144, 149, 153, 219, 239, 0, 1237, 1236, 116, 119, 282, 283, 1238, 1248, 221, 1248, 0, 290, 1248, 1232, 278, 1221, 0, 1248, 294, 1248, 1248, 96, 1248, 1217, 1211, 275, 338, 382, 1248, 1220, 1215, 1248, 1222, 0, 1221, 1248, 0, 119, 1248, 1248, 1248, 1248, 1202, 0, 1248, 1248, 1248, 1248, 1205, 1248, 1248, 1248, 1248, 81, 1248, 1248, 285, 1206, 1248, 0, 290, 1248, 0, 1248, 1248, 139, 1205, 1248, 0, 1248, 1248, 1212, 1248, 1248, 1248, 0, 1248, 1248, 0, 225, 1248, 0, 304, 1248, 1201, 1210, 1248, 1205, 0, 1171, 1248, 1205, 0, 386, 1248, 1166, 1248, 1141, 214, 296, 1248, 1152, 1121, 0, 0, 1248, 430, 1150, 474, 1248, 1149, 309, 0, 1156, 1155, 0, 1248, 1154, 1248, 0, 328, 1248, 0, 1127, 1248, 1126, 1097, 0, 1248, 1248, 1248, 0, 294, 1248, 0, 518, 0, 1114, 1248, 0, 1248, 1103, 0, 1079, 1098, 1248, 1097, 1248, 1031, 1248, 216, 373, 549, 1038, 139, 0, 0, 0, 1248, 1033, 315, 323, 0, 1039, 1248, 1026, 364, 0, 0, 1248, 577, 1021, 1248, 987, 983, 381, 378, 607, 977, 980, 0, 999, 993, 987, 951, 943, 0, 923, 943, 383, 385, 387, 621, 907, 886, 0, 920, 1248, 885, 1248, 879, 1248, 835, 833, 0, 1248, 853, 461, 395, 635, 819, 802, 0, 682, 665, 0, 1248, 398, 463, 649, 676, 672, 0, 659, 657, 0, 402, 465, 663, 652, 646, 1248, 638, 632, 1248, 469, 471, 404, 638, 624, 626, 610, 474, 476, 610, 607, 597, 604, 479, 486, 581, 297, 577, 474, 580, 583, 567, 559, 557, 538, 538, 541, 546, 585, 587, 1248, 537, 536, 1248, 484, 484, 591, 594, 466, 459, 448, 391, 618, 632, 404, 398, 396, 384, 493, 589, 368, 319, 286, 301, 660, 620, 284, 254, 634, 202, 136, 646, 144, 131, 673, 100, 81, 675, 77, 75, 678, 1248, 705, 717, 729, 741, 753, 765, 777, 789, 801, 813, 825, 832, 843, 855, 862, 873, 885, 897, 909, 921, 933, 945, 952, 963, 975, 987, 999, 1008, 1015, 1026, 1038, 1050, 1062, 1074, 1086, 1092, 1103, 1114, 1126, 1132, 1143, 1149, 1154, 1159, 1170, 1182, 1194, 1200, 1205, 1210, 1215, 1220, 1225, 1230 ); yy_def : constant array(0..385) of short := ( 0, 331, 331, 332, 332, 333, 333, 334, 334, 335, 335, 331, 11, 336, 336, 337, 337, 338, 338, 339, 339, 340, 340, 331, 23, 341, 341, 336, 336, 342, 342, 331, 331, 331, 331, 343, 331, 331, 344, 345, 331, 346, 331, 331, 331, 331, 331, 331, 331, 347, 348, 331, 349, 331, 331, 331, 331, 350, 351, 352, 331, 353, 331, 331, 331, 331, 331, 331, 354, 331, 331, 331, 331, 331, 331, 331, 331, 331, 348, 331, 331, 355, 356, 331, 357, 348, 331, 358, 331, 331, 359, 358, 331, 360, 331, 331, 361, 331, 331, 331, 362, 331, 331, 363, 331, 331, 343, 331, 331, 331, 344, 331, 331, 364, 331, 331, 365, 346, 331, 331, 366, 331, 331, 347, 347, 331, 331, 331, 367, 368, 331, 331, 331, 349, 331, 331, 366, 369, 370, 350, 351, 331, 352, 331, 353, 331, 331, 354, 331, 331, 331, 331, 371, 331, 331, 331, 358, 359, 331, 359, 331, 360, 361, 331, 362, 331, 372, 364, 331, 365, 331, 366, 331, 331, 331, 347, 347, 347, 331, 331, 373, 368, 131, 331, 331, 370, 366, 369, 370, 331, 331, 331, 374, 160, 331, 160, 372, 331, 331, 331, 347, 347, 177, 331, 331, 375, 376, 377, 378, 331, 331, 379, 331, 331, 347, 347, 347, 177, 331, 331, 380, 376, 331, 377, 331, 378, 331, 331, 331, 381, 331, 331, 347, 347, 177, 331, 331, 382, 331, 331, 383, 331, 347, 347, 177, 331, 331, 384, 331, 331, 385, 347, 347, 177, 331, 331, 331, 331, 331, 331, 347, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 331, 331, 347, 347, 347, 331, 331, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 331, 331, 347, 347, 331, 331, 347, 331, 331, 347, 331, 331, 347, 331, 331, 347, 331, 331, 347, 0, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331 ); yy_nxt : constant array(0..1293) of short := ( 0, 32, 33, 34, 33, 33, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 32, 32, 32, 32, 36, 37, 36, 36, 32, 38, 32, 39, 32, 32, 32, 40, 32, 32, 32, 32, 32, 32, 32, 32, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 32, 32, 32, 43, 44, 43, 43, 45, 126, 46, 121, 121, 47, 121, 284, 47, 281, 48, 329, 49, 50, 62, 63, 62, 62, 62, 63, 62, 62, 71, 71, 98, 128, 145, 98, 145, 145, 328, 72, 72, 76, 73, 73, 77, 51, 47, 52, 53, 52, 52, 45, 76, 46, 54, 77, 47, 78, 55, 47, 65, 48, 158, 49, 50, 65, 56, 326, 78, 65, 80, 159, 74, 74, 99, 80, 81, 99, 82, 84, 325, 81, 203, 82, 323, 85, 86, 204, 51, 47, 64, 64, 65, 64, 64, 64, 64, 64, 64, 64, 64, 66, 64, 64, 64, 64, 67, 64, 64, 64, 64, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 64, 64, 64, 65, 104, 105, 104, 104, 104, 105, 104, 104, 200, 84, 124, 174, 124, 174, 322, 85, 86, 87, 87, 88, 87, 87, 89, 87, 87, 87, 90, 87, 87, 91, 92, 87, 87, 87, 87, 87, 87, 87, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 93, 94, 87, 95, 101, 101, 113, 102, 102, 126, 320, 107, 108, 107, 107, 118, 119, 118, 118, 150, 103, 103, 109, 158, 126, 107, 108, 107, 107, 127, 175, 172, 159, 128, 114, 123, 109, 189, 115, 151, 319, 186, 317, 152, 127, 172, 284, 207, 128, 145, 176, 145, 145, 282, 177, 208, 283, 120, 129, 129, 316, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 129, 130, 129, 129, 129, 129, 129, 129, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 129, 129, 129, 133, 134, 133, 133, 118, 119, 118, 118, 124, 174, 209, 135, 214, 124, 174, 210, 124, 174, 124, 174, 124, 174, 124, 174, 215, 281, 233, 313, 232, 216, 124, 174, 201, 124, 174, 312, 251, 124, 174, 124, 174, 311, 136, 310, 260, 307, 120, 181, 181, 243, 181, 181, 181, 181, 181, 181, 181, 181, 181, 182, 181, 182, 181, 181, 181, 181, 181, 181, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 182, 181, 181, 183, 133, 134, 133, 133, 124, 174, 124, 174, 124, 174, 306, 135, 124, 174, 124, 174, 261, 124, 174, 124, 174, 305, 124, 174, 267, 252, 242, 273, 304, 124, 174, 268, 280, 274, 279, 285, 124, 174, 286, 301, 314, 300, 136, 193, 193, 194, 193, 193, 195, 193, 193, 193, 195, 193, 193, 193, 195, 193, 193, 193, 193, 193, 193, 193, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 193, 195, 202, 124, 174, 299, 124, 174, 298, 295, 202, 202, 202, 202, 202, 202, 195, 195, 294, 195, 195, 293, 195, 195, 195, 292, 195, 195, 195, 214, 195, 195, 195, 195, 195, 195, 195, 124, 174, 291, 124, 174, 124, 174, 124, 174, 124, 174, 124, 174, 290, 124, 174, 284, 315, 297, 287, 281, 288, 195, 217, 289, 302, 303, 278, 296, 277, 276, 217, 217, 217, 217, 217, 217, 234, 124, 174, 124, 174, 275, 318, 272, 234, 234, 234, 234, 234, 234, 244, 124, 174, 124, 174, 271, 308, 270, 244, 244, 244, 244, 244, 244, 253, 124, 174, 269, 266, 265, 309, 321, 253, 253, 253, 253, 253, 253, 262, 124, 174, 324, 264, 263, 258, 257, 262, 262, 262, 262, 262, 262, 124, 174, 124, 174, 327, 124, 174, 255, 330, 287, 254, 249, 248, 287, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 96, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 106, 106, 246, 245, 106, 106, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 112, 117, 117, 241, 239, 117, 117, 123, 123, 238, 123, 123, 123, 123, 123, 226, 123, 123, 123, 125, 125, 224, 125, 125, 125, 125, 125, 125, 125, 125, 125, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 132, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 141, 222, 236, 141, 141, 141, 141, 141, 141, 141, 141, 141, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 142, 144, 144, 235, 144, 144, 144, 144, 144, 144, 144, 144, 144, 147, 147, 231, 230, 147, 147, 149, 149, 228, 149, 149, 149, 149, 149, 149, 149, 149, 149, 153, 153, 227, 153, 153, 153, 153, 153, 153, 153, 153, 153, 155, 155, 226, 155, 155, 155, 155, 155, 224, 155, 155, 155, 156, 156, 222, 219, 218, 156, 156, 156, 156, 157, 157, 213, 157, 157, 157, 157, 157, 157, 157, 157, 157, 161, 161, 212, 197, 161, 161, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 164, 164, 149, 189, 164, 164, 164, 206, 164, 164, 164, 164, 165, 165, 125, 165, 165, 165, 165, 165, 165, 165, 165, 165, 167, 167, 199, 167, 167, 167, 167, 167, 167, 167, 167, 167, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 180, 172, 170, 198, 180, 181, 181, 197, 181, 181, 181, 181, 181, 181, 181, 181, 187, 187, 163, 187, 187, 187, 187, 187, 187, 187, 187, 187, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 192, 191, 190, 148, 192, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 205, 143, 140, 189, 205, 211, 185, 184, 179, 211, 220, 178, 173, 172, 220, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 229, 170, 168, 166, 229, 237, 111, 116, 163, 237, 240, 160, 154, 148, 240, 247, 146, 143, 140, 247, 250, 138, 137, 124, 250, 256, 122, 116, 111, 256, 259, 331, 97, 97, 259, 69, 69, 60, 60, 58, 58, 31, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331 ); yy_chk : constant array(0..1293) of short := ( 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 78, 3, 46, 46, 3, 46, 329, 3, 328, 3, 326, 3, 3, 9, 9, 9, 9, 10, 10, 10, 10, 15, 16, 27, 78, 62, 28, 62, 62, 325, 15, 16, 17, 15, 16, 17, 3, 3, 4, 4, 4, 4, 4, 18, 4, 4, 18, 4, 17, 4, 4, 19, 4, 90, 4, 4, 20, 4, 323, 18, 21, 19, 90, 15, 16, 27, 20, 19, 28, 19, 21, 322, 20, 179, 20, 320, 21, 21, 179, 4, 4, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 22, 33, 33, 33, 33, 104, 104, 104, 104, 175, 22, 123, 123, 175, 175, 319, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 29, 30, 39, 29, 30, 50, 317, 36, 36, 36, 36, 43, 43, 43, 43, 81, 29, 30, 36, 157, 85, 107, 107, 107, 107, 50, 124, 136, 157, 50, 39, 124, 107, 185, 39, 81, 316, 136, 313, 81, 85, 186, 312, 185, 85, 145, 124, 145, 145, 276, 124, 186, 276, 43, 51, 51, 311, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 52, 52, 52, 52, 118, 118, 118, 118, 176, 176, 191, 52, 200, 201, 201, 191, 200, 200, 214, 214, 215, 215, 216, 216, 201, 310, 216, 307, 215, 201, 233, 233, 176, 242, 242, 306, 242, 251, 251, 262, 262, 305, 52, 304, 251, 301, 118, 131, 131, 233, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 133, 133, 133, 133, 232, 232, 243, 243, 252, 252, 300, 133, 260, 260, 261, 261, 252, 267, 267, 268, 268, 299, 273, 273, 260, 243, 232, 267, 298, 274, 274, 261, 274, 268, 273, 278, 308, 308, 278, 295, 308, 294, 133, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 160, 177, 287, 287, 292, 177, 177, 291, 286, 177, 177, 177, 177, 177, 177, 195, 195, 285, 195, 195, 284, 195, 195, 195, 283, 195, 195, 195, 287, 195, 195, 195, 195, 195, 195, 195, 279, 279, 282, 280, 280, 288, 288, 289, 289, 309, 309, 296, 296, 281, 297, 297, 277, 309, 289, 279, 275, 280, 195, 202, 280, 296, 297, 272, 288, 271, 270, 202, 202, 202, 202, 202, 202, 217, 302, 302, 315, 315, 269, 315, 266, 217, 217, 217, 217, 217, 217, 234, 303, 303, 318, 318, 265, 302, 264, 234, 234, 234, 234, 234, 234, 244, 321, 321, 263, 258, 257, 303, 318, 244, 244, 244, 244, 244, 244, 253, 314, 314, 321, 255, 254, 249, 248, 253, 253, 253, 253, 253, 253, 324, 324, 327, 327, 324, 330, 330, 246, 327, 314, 245, 239, 238, 330, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 332, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 335, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 337, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 338, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 340, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 342, 343, 343, 236, 235, 343, 343, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 344, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 345, 346, 346, 231, 228, 346, 346, 347, 347, 227, 347, 347, 347, 347, 347, 225, 347, 347, 347, 348, 348, 223, 348, 348, 348, 348, 348, 348, 348, 348, 348, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 349, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 351, 221, 219, 351, 351, 351, 351, 351, 351, 351, 351, 351, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 352, 353, 353, 218, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 213, 212, 354, 354, 355, 355, 210, 355, 355, 355, 355, 355, 355, 355, 355, 355, 356, 356, 209, 356, 356, 356, 356, 356, 356, 356, 356, 356, 357, 357, 208, 357, 357, 357, 357, 357, 207, 357, 357, 357, 358, 358, 206, 204, 203, 358, 358, 358, 358, 359, 359, 199, 359, 359, 359, 359, 359, 359, 359, 359, 359, 360, 360, 198, 196, 360, 360, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 361, 362, 362, 190, 188, 362, 362, 362, 184, 362, 362, 362, 362, 363, 363, 178, 363, 363, 363, 363, 363, 363, 363, 363, 363, 364, 364, 173, 364, 364, 364, 364, 364, 364, 364, 364, 364, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 365, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 366, 367, 171, 169, 168, 367, 368, 368, 166, 368, 368, 368, 368, 368, 368, 368, 368, 369, 369, 162, 369, 369, 369, 369, 369, 369, 369, 369, 369, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 370, 371, 151, 150, 148, 371, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 372, 373, 142, 139, 138, 373, 374, 135, 132, 127, 374, 375, 126, 122, 120, 375, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 376, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 378, 379, 116, 114, 112, 379, 380, 110, 109, 96, 380, 381, 91, 82, 73, 381, 382, 67, 59, 57, 382, 383, 55, 54, 49, 383, 384, 48, 40, 38, 384, 385, 31, 26, 25, 385, 14, 13, 8, 7, 6, 5, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, 331 ); -- copy whatever the last rule matched to the standard output procedure ECHO is begin if Ada.Wide_Wide_Text_IO.Is_Open (User_Output_File) then Ada.Wide_Wide_Text_IO.Put (User_Output_File, YYText); else Ada.Wide_Wide_Text_IO.Put (YYText); end if; end ECHO; -- enter a start condition. -- Using procedure requires a () after the ENTER, but makes -- everything much neater. procedure ENTER (State : Integer) is begin YY_Start := 1 + 2 * State; end ENTER; pragma Inline (ENTER); -- action number for EOF rule of a given start state function YY_STATE_EOF(state : Integer) return Integer is begin return YY_END_OF_BUFFER + state + 1; end YY_STATE_EOF; pragma Inline (YY_STATE_EOF); -- return all but the first 'n' matched characters back to the input stream procedure yyless(n : Integer) is begin yy_cp := yy_bp + n; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again end yyless; pragma Inline (yyless); -- redefine this if you have something you want each time. procedure YY_USER_ACTION is begin null; end; pragma Inline (YY_USER_ACTION); -- yy_get_previous_state - get the state just before the EOB char -- was reached function YY_Get_Previous_State return YY_State_Type is YY_Current_State : YY_State_Type; YY_C : Short; Index : Integer; Code : Wide_Wide_Character; yy_bp : integer := yytext_ptr; begin yy_current_state := yy_start; if Previous (yy_ch_buf, yy_bp) = Ada.Characters.Wide_Wide_Latin_1.LF then yy_current_state := yy_current_state + 1; end if; declare yy_cp : integer := yytext_ptr; begin while yy_cp < yy_c_buf_p loop Index := yy_cp; Index := yy_cp; Next (yy_ch_buf, Index, Code); yy_c := yy_ec(Code); if (yy_accept(yy_current_state) /= 0 ) then yy_last_accepting_state := yy_current_state; yy_last_accepting_cpos := yy_cp; end if; while ( yy_chk(yy_base(yy_current_state) + yy_c) /= yy_current_state ) loop yy_current_state := yy_def(yy_current_state); if yy_current_state >= YY_FIRST_TEMPLATE then yy_c := yy_meta(yy_c); end if; end loop; yy_current_state := yy_nxt(yy_base(yy_current_state) + yy_c); yy_cp := Index; end loop; end; return yy_current_state; end yy_get_previous_state; procedure YYRestart (Input_File : Ada.Wide_Wide_Text_IO.File_Type) is begin Open_Input (Ada.Wide_Wide_Text_IO.Name (Input_File)); end YYRestart; Index : Integer; Code : Wide_Wide_Character; begin -- of YYLex <<new_file>> -- This is where we enter upon encountering an end-of-file and -- yywrap() indicating that we should continue processing if ( yy_init ) then if ( yy_start = 0 ) then yy_start := 1; -- first start state end if; -- we put in the '\n' and start reading from [1] so that an -- initial match-at-newline will be true. yy_ch_buf.data (0) := Ada.Characters.Wide_Wide_Latin_1.LF; yy_n_chars := 1; -- we always need two end-of-buffer characters. The first causes -- a transition to the end-of-buffer state. The second causes -- a jam in that state. yy_ch_buf.data (yy_n_chars) := YY_END_OF_BUFFER_CHAR; yy_ch_buf.data (yy_n_chars + 1) := YY_END_OF_BUFFER_CHAR; yy_eof_has_been_seen := false; yytext_ptr := 1; yy_c_buf_p := yytext_ptr; yy_init := false; end if; -- yy_init loop -- loops until end-of-file is reached yy_cp := yy_c_buf_p; -- yy_bp points to the position in yy_ch_buf of the start of the -- current run. yy_bp := yy_cp; yy_current_state := yy_start; if Previous (yy_ch_buf, yy_bp) = Ada.Characters.Wide_Wide_Latin_1.LF then yy_current_state := yy_current_state + 1; end if; loop Index := yy_cp; Next (yy_ch_buf, Index, Code); yy_c := yy_ec(Code); if (yy_accept(yy_current_state) /= 0 ) then yy_last_accepting_state := yy_current_state; yy_last_accepting_cpos := yy_cp; end if; while ( yy_chk(yy_base(yy_current_state) + yy_c) /= yy_current_state ) loop yy_current_state := yy_def(yy_current_state); if yy_current_state >= YY_FIRST_TEMPLATE then yy_c := yy_meta(yy_c); end if; end loop; yy_current_state := yy_nxt(yy_base(yy_current_state) + yy_c); yy_cp := Index; exit when yy_current_state = YY_JAMSTATE; end loop; yy_cp := yy_last_accepting_cpos; yy_current_state := yy_last_accepting_state; <<next_action>> yy_act := yy_accept(yy_current_state); YY_DO_BEFORE_ACTION; YY_USER_ACTION; if Aflex_Debug then -- output acceptance info. for (-d) debug mode Ada.Wide_Wide_Text_IO.Put (Ada.Wide_Wide_Text_IO.Standard_Error, "--accepting rule #" ); Ada.Wide_Wide_Text_IO.Put (Ada.Wide_Wide_Text_IO.Standard_Error, Integer'Wide_Wide_Image (YY_Act)); Ada.Wide_Wide_Text_IO.Put_Line (Ada.Wide_Wide_Text_IO.Standard_Error, "(""" & yytext & """)"); end if; <<do_action>> -- this label is used only to access EOF actions case yy_act is when 0 => -- must backtrack yy_cp := yy_last_accepting_cpos; yy_current_state := yy_last_accepting_state; goto next_action; when 1 => --# line 47 "scanner.l" indented_code := true; when 2 => --# line 48 "scanner.l" linenum := linenum + 1; ECHO; -- treat as a comment; when 3 => --# line 51 "scanner.l" linenum := linenum + 1; ECHO; when 4 => --# line 52 "scanner.l" return ( SCDECL ); when 5 => --# line 53 "scanner.l" return ( XSCDECL ); when 6 => --# line 55 "scanner.l" return ( WHITESPACE ); when 7 => --# line 57 "scanner.l" sectnum := 2; misc.line_directive_out; ENTER(SECT2PROLOG); return ( SECTEND ); when 8 => --# line 64 "scanner.l" Put (Standard_Error, "old-style lex command at line "); Put (Standard_Error, Linenum); Put (Standard_Error, "ignored:"); New_Line (Standard_Error ); Put (Standard_Error, Unicode.HT ); Put (Standard_Error, YYText (1 .. YYLength)); Linenum := Linenum + 1; when 9 => --# line 74 "scanner.l" nmstr := +YYText (1 .. YYLength); didadef := false; ENTER(PICKUPDEF); when 10 => --# line 80 "scanner.l" nmstr := +YYText (1 .. YYLength); return NAME; when 11 => --# line 83 "scanner.l" linenum := linenum + 1; -- allows blank lines in section 1; when 12 => --# line 86 "scanner.l" linenum := linenum + 1; return Newline; when 13 => --# line 87 "scanner.l" misc.synerr( "illegal character" );ENTER(RECOVER); when 14 => --# line 89 "scanner.l" null; -- separates name and definition; when 15 => --# line 93 "scanner.l" nmdef := +YYText (1 .. YYLength); i := length (nmdef); while i >= 1 loop if Element (nmdef, i) /= ' ' and Element (nmdef, i) /= Unicode.HT then exit; end if; i := i - 1; end loop; sym.ndinstal (nmstr, Unbounded_Slice (nmdef, 1, i)); didadef := true; when 16 => --# line 110 "scanner.l" if ( not didadef ) then misc.synerr( "incomplete name definition" ); end if; ENTER(0); linenum := linenum + 1; when 17 => --# line 118 "scanner.l" linenum := linenum + 1; ENTER(0); nmstr := +YYText (1 .. YYLength); return NAME; when 18 => yy_cp := yy_cp - 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 124 "scanner.l" linenum := linenum + 1; ACTION_ECHO; MARK_END_OF_PROLOG; ENTER(SECT2); when 19 => --# line 131 "scanner.l" linenum := linenum + 1; ACTION_ECHO; when YY_END_OF_BUFFER +SECT2PROLOG + 1 => --# line 133 "scanner.l" MARK_END_OF_PROLOG; return End_Of_Input; when 21 => --# line 137 "scanner.l" linenum := linenum + 1; -- allow blank lines in sect2; -- this rule matches indented lines which -- are not comments. when 22 => --# line 142 "scanner.l" misc.synerr("indented code found outside of action"); linenum := linenum + 1; when 23 => --# line 147 "scanner.l" ENTER(SC); return ( '<' ); when 24 => --# line 148 "scanner.l" return ( '^' ); when 25 => --# line 149 "scanner.l" ENTER(QUOTE); return ( '"' ); when 26 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 150 "scanner.l" ENTER(NUM); return ( '{' ); when 27 => --# line 151 "scanner.l" ENTER(BRACEERROR); when 28 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 152 "scanner.l" return ( '$' ); when 29 => --# line 154 "scanner.l" continued_action := true; linenum := linenum + 1; return Newline; when 30 => --# line 159 "scanner.l" linenum := linenum + 1; ACTION_ECHO; when 31 => --# line 161 "scanner.l" -- this rule is separate from the one below because -- otherwise we get variable trailing context, so -- we can't build the scanner using -f,F bracelevel := 0; continued_action := false; ENTER(ACTION); return Newline; when 32 => yy_cp := yy_cp - 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 172 "scanner.l" bracelevel := 0; continued_action := false; ENTER(ACTION); return Newline; when 33 => --# line 179 "scanner.l" linenum := linenum + 1; return Newline; when 34 => --# line 181 "scanner.l" return ( EOF_OP ); when 35 => --# line 183 "scanner.l" sectnum := 3; ENTER(SECT3); return ( End_Of_Input ); -- to stop the parser when 36 => --# line 190 "scanner.l" nmstr := +YYText (1 .. YYLength); -- check to see if we've already encountered this ccl cclval := sym.ccllookup (nmstr); if ( cclval /= 0 ) then yylval := cclval; cclreuse := cclreuse + 1; return ( PREVCCL ); else -- we fudge a bit. We know that this ccl will -- soon be numbered as lastccl + 1 by cclinit sym.cclinstal (nmstr, lastccl + 1); -- push back everything but the leading bracket -- so the ccl can be rescanned Put_Back_String (nmstr, 1); ENTER(FIRSTCCL); return ( '[' ); end if; when 37 => --# line 215 "scanner.l" declare Image : constant Wide_Wide_String := YYText; begin YYLVal := Matreshka.Internals.Unicode.Ucd.Boolean_Properties'Pos (Matreshka.Internals.Unicode.Ucd.Boolean_Properties'Wide_Wide_Value (Image (Image'First + 3 .. Image'Last - 1))) + 1; if Image (Image'First + 1) = 'P' then YYLVal := -YYLVal; end if; return PROP; end; when 38 => --# line 233 "scanner.l" nmstr := +YYText (1 .. YYLength); -- chop leading and trailing brace tmpbuf := Unbounded_Slice (+yytext (1 .. YYLength), 2, YYLength - 1); nmdefptr := sym.ndlookup (tmpbuf); if nmdefptr = Null_Unbounded_Wide_Wide_String then misc.synerr( "undefined {name}" ); else -- push back name surrounded by ()'s unput(')'); Put_Back_String (nmdefptr, 0); unput('('); end if; when 39 => --# line 250 "scanner.l" tmpbuf := +YYText (1 .. YYLength); case Element (tmpbuf, 1) is when '/' => return '/'; when '|' => return '|'; when '*' => return '*'; when '+' => return '+'; when '?' => return '?'; when '.' => return '.'; when '(' => return '('; when ')' => return ')'; when others => Misc.Aflex_Error ("error in aflex case"); end case; when 40 => --# line 264 "scanner.l" tmpbuf := +YYText (1 .. YYLength); yylval := Wide_Wide_Character'Pos (Element (tmpbuf, 1)); return CHAR; when 41 => --# line 268 "scanner.l" linenum := linenum + 1; return Newline; when 42 => --# line 271 "scanner.l" return ( ',' ); when 43 => --# line 272 "scanner.l" ENTER(SECT2); return ( '>' ); when 44 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 273 "scanner.l" ENTER(CARETISBOL); return ( '>' ); when 45 => --# line 274 "scanner.l" nmstr := +YYText (1 .. YYLength); return NAME; when 46 => --# line 277 "scanner.l" misc.synerr( "bad start condition name" ); when 47 => --# line 279 "scanner.l" ENTER(SECT2); return ( '^' ); when 48 => --# line 282 "scanner.l" tmpbuf := +YYText (1 .. YYLength); yylval := Wide_Wide_Character'Pos (Element (tmpbuf, 1)); return CHAR; when 49 => --# line 286 "scanner.l" ENTER(SECT2); return ( '"' ); when 50 => --# line 288 "scanner.l" misc.synerr( "missing quote" ); ENTER(SECT2); linenum := linenum + 1; return ( '"' ); when 51 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 296 "scanner.l" ENTER(CCL); return ( '^' ); when 52 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 297 "scanner.l" return ( '^' ); when 53 => --# line 298 "scanner.l" ENTER(CCL); yylval := Wide_Wide_Character'Pos('-'); return ( CHAR ); when 54 => --# line 299 "scanner.l" ENTER(CCL); tmpbuf := +YYText (1 .. YYLength); yylval := Wide_Wide_Character'Pos (Element (tmpbuf, 1)); return CHAR; when 55 => yy_cp := yy_bp + 1; yy_c_buf_p := yy_cp; YY_DO_BEFORE_ACTION; -- set up yytext again --# line 305 "scanner.l" return ( '-' ); when 56 => --# line 306 "scanner.l" tmpbuf := +YYText (1 .. YYLength); yylval := Wide_Wide_Character'Pos (Element (tmpbuf, 1)); return CHAR; when 57 => --# line 310 "scanner.l" ENTER(SECT2); return ( ']' ); when 58 => --# line 313 "scanner.l" yylval := misc.myctoi (+YYText (1 .. YYLength)); return ( NUMBER ); when 59 => --# line 318 "scanner.l" return ( ',' ); when 60 => --# line 319 "scanner.l" ENTER(SECT2); return ( '}' ); when 61 => --# line 321 "scanner.l" misc.synerr( "bad character inside {}'s" ); ENTER(SECT2); return ( '}' ); when 62 => --# line 327 "scanner.l" misc.synerr( "missing }" ); ENTER(SECT2); linenum := linenum + 1; return ( '}' ); when 63 => --# line 335 "scanner.l" misc.synerr( "bad name in {}'s" ); ENTER(SECT2); when 64 => --# line 336 "scanner.l" misc.synerr( "missing }" ); linenum := linenum + 1; ENTER(SECT2); when 65 => --# line 341 "scanner.l" bracelevel := bracelevel + 1; when 66 => --# line 342 "scanner.l" bracelevel := bracelevel - 1; when 67 => --# line 343 "scanner.l" ACTION_ECHO; when 68 => --# line 344 "scanner.l" ACTION_ECHO; when 69 => --# line 345 "scanner.l" linenum := linenum + 1; ACTION_ECHO; when 70 => --# line 346 "scanner.l" ACTION_ECHO; -- character constant; when 71 => --# line 350 "scanner.l" ACTION_ECHO; ENTER(ACTION_STRING); when 72 => --# line 352 "scanner.l" linenum := linenum + 1; ACTION_ECHO; if ( bracelevel = 0 ) then New_Line (Temp_Action_File); ENTER(SECT2); end if; when 73 => --# line 360 "scanner.l" ACTION_ECHO; when 74 => --# line 362 "scanner.l" ACTION_ECHO; when 75 => --# line 363 "scanner.l" ACTION_ECHO; when 76 => --# line 364 "scanner.l" linenum := linenum + 1; ACTION_ECHO; when 77 => --# line 365 "scanner.l" ACTION_ECHO; ENTER(ACTION); when 78 => --# line 366 "scanner.l" ACTION_ECHO; when 79 => --# line 369 "scanner.l" yylval := Unicode_Character'Pos (Misc.MYESC (+YYText (1 .. YYLength))); return CHAR; when 80 => --# line 377 "scanner.l" yylval := Unicode_Character'Pos (misc.myesc (+YYText (1 .. YYLength))); ENTER(CCL); return ( CHAR ); when 81 => --# line 385 "scanner.l" declare Image : constant Wide_Wide_String := YYText; begin YYLVal := Matreshka.Internals.Unicode.Ucd.Boolean_Properties'Pos (Matreshka.Internals.Unicode.Ucd.Boolean_Properties'Wide_Wide_Value (Image (Image'First + 3 .. Image'Last - 1))) + 1; if Image (Image'First + 1) = 'P' then YYLVal := -YYLVal; end if; ENTER(CCL); return PROP; end; when 82 => --# line 406 "scanner.l" if ( check_yylex_here ) then return End_Of_Input; else ECHO; end if; when 83 => --# line 412 "scanner.l" raise AFLEX_SCANNER_JAMMED; when YY_END_OF_BUFFER + INITIAL + 1 | YY_END_OF_BUFFER + SECT2 + 1 | YY_END_OF_BUFFER + SECT3 + 1 | YY_END_OF_BUFFER + PICKUPDEF + 1 | YY_END_OF_BUFFER + SC + 1 | YY_END_OF_BUFFER + CARETISBOL + 1 | YY_END_OF_BUFFER + NUM + 1 | YY_END_OF_BUFFER + QUOTE + 1 | YY_END_OF_BUFFER + FIRSTCCL + 1 | YY_END_OF_BUFFER + CCL + 1 | YY_END_OF_BUFFER + ACTION + 1 | YY_END_OF_BUFFER + RECOVER + 1 | YY_END_OF_BUFFER + BRACEERROR + 1 | YY_END_OF_BUFFER + ACTION_STRING + 1 => return End_Of_Input; when YY_END_OF_BUFFER => yytext_ptr := yy_bp; case yy_get_next_buffer is when EOB_ACT_END_OF_FILE => begin if yywrap then -- note: because we've taken care in -- yy_get_next_buffer() to have set up yytext, -- we can now set up yy_c_buf_p so that if some -- total hoser (like aflex itself) wants -- to call the scanner after we return the -- End_Of_Input, it'll still work - another -- End_Of_Input will get returned. yy_c_buf_p := yytext_ptr; yy_act := YY_STATE_EOF ((yy_start - 1) / 2); goto do_action; else -- start processing a new file yy_init := true; goto new_file; end if; end; when EOB_ACT_RESTART_SCAN => yy_c_buf_p := yytext_ptr; when EOB_ACT_LAST_MATCH => yy_c_buf_p := yy_n_chars; yy_current_state := yy_get_previous_state; yy_cp := yy_c_buf_p; yy_bp := yytext_ptr; goto next_action; end case; -- case yy_get_next_buffer() when others => Ada.Wide_Wide_Text_IO.Put ("action # "); Ada.Wide_Wide_Text_IO.Put (Integer'Wide_Wide_Image (yy_act)); Ada.Wide_Wide_Text_IO.New_Line; raise AFLEX_INTERNAL_ERROR; end case; -- case (yy_act) end loop; -- end of loop waiting for end of file end YYLex; --# line 412 "scanner.l" begin if (call_yylex) then toktype := YYLex; call_yylex := false; return toktype; end if; if eofseen then toktype := End_Of_Input; else toktype := YYLex; end if; -- this tracing code allows easy tracing of aflex runs if trace then New_Line (Standard_Error); Put (Standard_Error, "toktype = :"); Put (Standard_Error, Token'Wide_Wide_Image (toktype)); Put_line (Standard_Error, ":"); end if; if toktype = End_Of_Input then eofseen := true; if sectnum = 1 then misc.synerr( "unexpected EOF" ); sectnum := 2; toktype := SECTEND; elsif sectnum = 2 then sectnum := 3; toktype := SECTEND; end if; end if; if trace then if ( beglin ) then Put (Standard_Error, Num_Rules + 1); Put (Standard_Error, Unicode.HT); Beglin := False; end if; case toktype is when '<' | '>'|'^'|'$'|'"'|'['|']'|'{'|'}'|'|'|'('| ')'|'-'|'/'|'?'|'.'|'*'|'+'|',' => Put (Standard_Error, Token'Wide_Wide_Image (Toktype)); when NEWLINE => New_Line (Standard_Error); if sectnum = 2 then beglin := true; end if; when SCDECL => Put (Standard_Error, "%s"); when XSCDECL => Put (Standard_Error, "%x"); when WHITESPACE => Put (Standard_Error, " "); when SECTEND => Put_Line (Standard_Error, "%%"); -- we set beglin to be true so we'll start -- writing out numbers as we echo rules. aflexscan() has -- already assigned sectnum if sectnum = 2 then beglin := true; end if; when NAME => Put (Standard_Error, '''); Put (Standard_Error, YYText); Put (Standard_Error, '''); when CHAR => if ( (yylval < Wide_Wide_Character'Pos (' ')) or (yylval = Wide_Wide_Character'Pos (Unicode.DEL)) ) then Put (Standard_Error, '\'); Put (Standard_Error, YYLVal); Put (Standard_Error, '\'); else Put (Standard_Error, Token'Wide_Wide_Image (toktype)); end if; when NUMBER => Put (Standard_Error, YYLVal); when PREVCCL => Put (Standard_Error, '['); Put (Standard_Error, YYLVal); Put (Standard_Error, ']'); when End_Of_Input => Put (Standard_Error, "End Marker"); when others => Put (Standard_Error, "Something weird:"); Put_Line (Standard_Error, Token'Wide_Wide_Image (toktype)); end case; end if; return toktype; end YYLex; end scanner;
src/lumen-gl.adb
darkestkhan/lumen
0
26420
-- Lumen.GL -- Lumen's own thin OpenGL bindings -- -- <NAME>, NiEstu, Phoenix AZ, Summer 2010 -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- -- The software is provided "as is" and the author disclaims all warranties -- with regard to this software including all implied warranties of -- merchantability and fitness. In no event shall the author be liable for any -- special, direct, indirect, or consequential damages or any damages -- whatsoever resulting from loss of use, data or profits, whether in an -- action of contract, negligence or other tortious action, arising out of or -- in connection with the use or performance of this software. with Interfaces.C.Strings; package body Lumen.GL is --------------------------------------------------------------------------- -- Misc stuff function Get_String (Name : Enum) return String is use type Interfaces.C.Strings.chars_ptr; function glGetString (Name : Enum) return Interfaces.C.Strings.chars_ptr; pragma Import (StdCall, glGetString, "glGetString"); Ptr : constant Interfaces.C.Strings.chars_ptr := glGetString (Name); begin -- Get_String if Ptr = Interfaces.C.Strings.Null_Ptr then return ""; else return Interfaces.C.Strings.Value (Ptr); end if; end Get_String; function Get_String (Name : Enum; Index : Int) return String is use type Interfaces.C.Strings.chars_ptr; function glGetStringi (Name : Enum; Index : Int) return Interfaces.C.Strings.chars_ptr; pragma Import (StdCall, glGetStringi, "glGetStringi"); Ptr : constant Interfaces.C.Strings.chars_ptr := glGetStringi (Name, Index); begin -- Get_String if Ptr = Interfaces.C.Strings.Null_Ptr then return ""; else return Interfaces.C.Strings.Value (Ptr); end if; end Get_String; --------------------------------------------------------------------------- -- Transformations procedure Rotate (Angle : in Double; X : in Double; Y : in Double; Z : in Double) is procedure glRotated (Angle : in Double; X : in Double; Y : in Double; Z : in Double); pragma Import (StdCall, glRotated, "glRotated"); begin -- Rotate glRotated (Angle, X, Y, Z); end Rotate; procedure Rotate (Angle : in Float; X : in Float; Y : in Float; Z : in Float) is procedure glRotatef (Angle : in Float; X : in Float; Y : in Float; Z : in Float); pragma Import (StdCall, glRotatef, "glRotatef"); begin -- Rotate glRotatef (Angle, X, Y, Z); end Rotate; procedure Scale (X : in Double; Y : in Double; Z : in Double) is procedure glScaled (X : in Double; Y : in Double; Z : in Double); pragma Import (StdCall, glScaled, "glScaled"); begin -- Scale glScaled (X, Y, Z); end Scale; procedure Scale (X : in Float; Y : in Float; Z : in Float) is procedure glScalef (X : in Float; Y : in Float; Z : in Float); pragma Import (StdCall, glScalef, "glScalef"); begin -- Scale glScalef (X, Y, Z); end Scale; procedure Translate (X : in Double; Y : in Double; Z : in Double) is procedure glTranslated (X : in Double; Y : in Double; Z : in Double); pragma Import (StdCall, glTranslated, "glTranslated"); begin -- Translate glTranslated (X, Y, Z); end Translate; procedure Translate (X : in Float; Y : in Float; Z : in Float) is procedure glTranslatef (X : in Float; Y : in Float; Z : in Float); pragma Import (StdCall, glTranslatef, "glTranslatef"); begin -- Translate glTranslatef (X, Y, Z); end Translate; --------------------------------------------------------------------------- -- Matrix operations procedure Load_Matrix (M : in Float_Matrix) is procedure glLoadMatrixf (M : in System.Address); pragma Import (StdCall, glLoadMatrixf, "glLoadMatrixf"); begin -- LoadMatrix glLoadMatrixf (M'Address); end Load_Matrix; procedure Load_Matrix (M : in Double_Matrix) is procedure glLoadMatrixd (M : in System.Address); pragma Import (StdCall, glLoadMatrixd, "glLoadMatrixd"); begin -- LoadMatrix glLoadMatrixd (M'Address); end Load_Matrix; procedure Mult_Matrix (M : in Float_Matrix) is procedure glMultMatrixf (M : in System.Address); pragma Import (StdCall, glMultMatrixf, "glMultMatrixf"); begin -- MultMatrix glMultMatrixf (M'Address); end Mult_Matrix; procedure Mult_Matrix (M : in Double_Matrix) is procedure glMultMatrixd (M : in System.Address); pragma Import (StdCall, glMultMatrixd, "glMultMatrixd"); begin -- MultMatrix glMultMatrixd (M'Address); end Mult_Matrix; --------------------------------------------------------------------------- -- Component color procedure Color (Red : in Byte; Green : in Byte; Blue : in Byte) is procedure glColor3b (Red : in Byte; Green : in Byte; Blue : in Byte); pragma Import (StdCall, glColor3b, "glColor3b"); begin -- Color glColor3b (Red, Green, Blue); end Color; procedure Color (Red : in Short; Green : in Short; Blue : in Short) is procedure glColor3s (Red : in Short; Green : in Short; Blue : in Short); pragma Import (StdCall, glColor3s, "glColor3s"); begin -- Color glColor3s (Red, Green, Blue); end Color; procedure Color (Red : in Int; Green : in Int; Blue : in Int) is procedure glColor3i (Red : in Int; Green : in Int; Blue : in Int); pragma Import (StdCall, glColor3i, "glColor3i"); begin -- Color glColor3i (Red, Green, Blue); end Color; procedure Color (Red : in Float; Green : in Float; Blue : in Float) is procedure glColor3f (Red : in Float; Green : in Float; Blue : in Float); pragma Import (StdCall, glColor3f, "glColor3f"); begin -- Color glColor3f (Red, Green, Blue); end Color; procedure Color (Red : in Double; Green : in Double; Blue : in Double) is procedure glColor3d (Red : in Double; Green : in Double; Blue : in Double); pragma Import (StdCall, glColor3d, "glColor3d"); begin -- Color glColor3d (Red, Green, Blue); end Color; procedure Color (Red : in UByte; Green : in UByte; Blue : in UByte) is procedure glColor3ub (Red : in UByte; Green : in UByte; Blue : in UByte); pragma Import (StdCall, glColor3ub, "glColor3ub"); begin -- Color glColor3ub (Red, Green, Blue); end Color; procedure Color (Red : in UShort; Green : in UShort; Blue : in UShort) is procedure glColor3us (Red : in UShort; Green : in UShort; Blue : in UShort); pragma Import (StdCall, glColor3us, "glColor3us"); begin -- Color glColor3us (Red, Green, Blue); end Color; procedure Color (Red : in UInt; Green : in UInt; Blue : in UInt) is procedure glColor3ui (Red : in UInt; Green : in UInt; Blue : in UInt); pragma Import (StdCall, glColor3ui, "glColor3ui"); begin -- Color glColor3ui (Red, Green, Blue); end Color; procedure Color (Red : in Byte; Green : in Byte; Blue : in Byte; Alpha : in Byte) is procedure glColor4b (Red : in Byte; Green : in Byte; Blue : in Byte; Alpha : in Byte); pragma Import (StdCall, glColor4b, "glColor4b"); begin -- Color glColor4b (Red, Green, Blue, Alpha); end Color; procedure Color (Red : in Short; Green : in Short; Blue : in Short; Alpha : in Short) is procedure glColor4s (Red : in Short; Green : in Short; Blue : in Short; Alpha : in Short); pragma Import (StdCall, glColor4s, "glColor4s"); begin -- Color glColor4s (Red, Green, Blue, Alpha); end Color; procedure Color (Red : in Int; Green : in Int; Blue : in Int; Alpha : in Int) is procedure glColor4i (Red : in Int; Green : in Int; Blue : in Int; Alpha : in Int); pragma Import (StdCall, glColor4i, "glColor4i"); begin -- Color glColor4i (Red, Green, Blue, Alpha); end Color; procedure Color (Red : in Float; Green : in Float; Blue : in Float; Alpha : in Float) is procedure glColor4f (Red : in Float; Green : in Float; Blue : in Float; Alpha : in Float); pragma Import (StdCall, glColor4f, "glColor4f"); begin -- Color glColor4f (Red, Green, Blue, Alpha); end Color; procedure Color (Red : in Double; Green : in Double; Blue : in Double; Alpha : in Double) is procedure glColor4d (Red : in Double; Green : in Double; Blue : in Double; Alpha : in Double); pragma Import (StdCall, glColor4d, "glColor4d"); begin -- Color glColor4d (Red, Green, Blue, Alpha); end Color; procedure Color (Red : in UByte; Green : in UByte; Blue : in UByte; Alpha : in UByte) is procedure glColor4ub (Red : in UByte; Green : in UByte; Blue : in UByte; Alpha : in UByte); pragma Import (StdCall, glColor4ub, "glColor4ub"); begin -- Color glColor4ub (Red, Green, Blue, Alpha); end Color; procedure Color (Red : in UShort; Green : in UShort; Blue : in UShort; Alpha : in UShort) is procedure glColor4us (Red : in UShort; Green : in UShort; Blue : in UShort; Alpha : in UShort); pragma Import (StdCall, glColor4us, "glColor4us"); begin -- Color glColor4us (Red, Green, Blue, Alpha); end Color; procedure Color (Red : in UInt; Green : in UInt; Blue : in UInt; Alpha : in UInt) is procedure glColor4ui (Red : in UInt; Green : in UInt; Blue : in UInt; Alpha : in UInt); pragma Import (StdCall, glColor4ui, "glColor4ui"); begin -- Color glColor4ui (Red, Green, Blue, Alpha); end Color; procedure Color (V : in Bytes_3) is procedure glColor3bv (V : in Bytes_3); pragma Import (StdCall, glColor3bv, "glColor3bv"); begin -- Color glColor3bv (V); end Color; procedure Color (V : in Bytes_4) is procedure glColor4bv (V : in Bytes_4); pragma Import (StdCall, glColor4bv, "glColor4bv"); begin -- Color glColor4bv (V); end Color; procedure Color (V : in Shorts_3) is procedure glColor3sv (V : in Shorts_3); pragma Import (StdCall, glColor3sv, "glColor3sv"); begin -- Color glColor3sv (V); end Color; procedure Color (V : in Shorts_4) is procedure glColor4sv (V : in Shorts_4); pragma Import (StdCall, glColor4sv, "glColor4sv"); begin -- Color glColor4sv (V); end Color; procedure Color (V : in Ints_3) is procedure glColor3iv (V : in Ints_3); pragma Import (StdCall, glColor3iv, "glColor3iv"); begin -- Color glColor3iv (V); end Color; procedure Color (V : in Ints_4) is procedure glColor4iv (V : in Ints_4); pragma Import (StdCall, glColor4iv, "glColor4iv"); begin -- Color glColor4iv (V); end Color; procedure Color (V : in Floats_3) is procedure glColor3fv (V : in Floats_3); pragma Import (StdCall, glColor3fv, "glColor3fv"); begin -- Color glColor3fv (V); end Color; procedure Color (V : in Floats_4) is procedure glColor4fv (V : in Floats_4); pragma Import (StdCall, glColor4fv, "glColor4fv"); begin -- Color glColor4fv (V); end Color; procedure Color (V : in Doubles_3) is procedure glColor3dv (V : in Doubles_3); pragma Import (StdCall, glColor3dv, "glColor3dv"); begin -- Color glColor3dv (V); end Color; procedure Color (V : in Doubles_4) is procedure glColor4dv (V : in Doubles_4); pragma Import (StdCall, glColor4dv, "glColor4dv"); begin -- Color glColor4dv (V); end Color; procedure Color (V : in UBytes_3) is procedure glColor3ubv (V : in UBytes_3); pragma Import (StdCall, glColor3ubv, "glColor3ubv"); begin -- Color glColor3ubv (V); end Color; procedure Color (V : in UBytes_4) is procedure glColor4ubv (V : in UBytes_4); pragma Import (StdCall, glColor4ubv, "glColor4ubv"); begin -- Color glColor4ubv (V); end Color; procedure Color (V : in UShorts_3) is procedure glColor3usv (V : in UShorts_3); pragma Import (StdCall, glColor3usv, "glColor3usv"); begin -- Color glColor3usv (V); end Color; procedure Color (V : in UShorts_4) is procedure glColor4usv (V : in UShorts_4); pragma Import (StdCall, glColor4usv, "glColor4usv"); begin -- Color glColor4usv (V); end Color; procedure Color (V : in UInts_3) is procedure glColor3uiv (V : in UInts_3); pragma Import (StdCall, glColor3uiv, "glColor3uiv"); begin -- Color glColor3uiv (V); end Color; procedure Color (V : in UInts_4) is procedure glColor4uiv (V : in UInts_4); pragma Import (StdCall, glColor4uiv, "glColor4uiv"); begin -- Color glColor4uiv (V); end Color; --------------------------------------------------------------------------- -- Lighting and materials procedure Light (Light : in Enum; PName : in Enum; Params : in Int_Params) is procedure glLightiv (Light : in Enum; PName : in Enum; Params : in System.Address); pragma Import (StdCall, glLightiv, "glLightiv"); begin -- Light glLightiv (Light, PName, Params (Params'First)'Address); end Light; procedure Light (Light : in Enum; PName : in Enum; Params : in Float_Params) is procedure glLightfv (Light : in Enum; PName : in Enum; Params : in System.Address); pragma Import (StdCall, glLightfv, "glLightfv"); begin -- Light glLightfv (Light, PName, Params (Params'First)'Address); end Light; procedure Material (Face : in Enum; PName : in Enum; Params : in Int_Params) is procedure glMaterialiv (Face : in Enum; PName : in Enum; Params : in System.Address); pragma Import (StdCall, glMaterialiv, "glMaterialiv"); begin -- Material glMaterialiv (Face, PName, Params (Params'First)'Address); end Material; procedure Material (Face : in Enum; PName : in Enum; Params : in Float_Params) is procedure glMaterialfv (Face : in Enum; PName : in Enum; Params : in System.Address); pragma Import (StdCall, glMaterialfv, "glMaterialfv"); begin -- Material glMaterialfv (Face, PName, Params (Params'First)'Address); end Material; --------------------------------------------------------------------------- -- Lighting procedure Light (Light : in Enum; PName : in Enum; Param : in Float) is procedure glLightf (Light : in Enum; PName : in Enum; Param : in Float); pragma Import (StdCall, glLightf, "glLightf"); begin -- Light glLightf (Light, PName, Param); end Light; procedure Light (Light : in Enum; PName : in Enum; Params : in Floats_1) is procedure glLightfv (Light : in Enum; PName : in Enum; Params : in Floats_1); pragma Import (StdCall, glLightfv, "glLightfv"); begin -- Light glLightfv (Light, PName, Params); end Light; procedure Light (Light : in Enum; PName : in Enum; Params : in Floats_3) is procedure glLightfv (Light : in Enum; PName : in Enum; Params : in Floats_3); pragma Import (StdCall, glLightfv, "glLightfv"); begin -- Light glLightfv (Light, PName, Params); end Light; procedure Light (Light : in Enum; PName : in Enum; Params : in Floats_4) is procedure glLightfv (Light : in Enum; PName : in Enum; Params : in Floats_4); pragma Import (StdCall, glLightfv, "glLightfv"); begin -- Light glLightfv (Light, PName, Params); end Light; procedure Light (Light : in Enum; PName : in Enum; Param : in Int) is procedure glLighti (Light : in Enum; PName : in Enum; Param : in Int); pragma Import (StdCall, glLighti, "glLighti"); begin -- Light glLighti (Light, PName, Param); end Light; procedure Light (Light : in Enum; PName : in Enum; Params : in Ints_1) is procedure glLightiv (Light : in Enum; PName : in Enum; Params : in Ints_1); pragma Import (StdCall, glLightiv, "glLightiv"); begin -- Light glLightiv (Light, PName, Params); end Light; procedure Light (Light : in Enum; PName : in Enum; Params : in Ints_3) is procedure glLightiv (Light : in Enum; PName : in Enum; Params : in Ints_3); pragma Import (StdCall, glLightiv, "glLightiv"); begin -- Light glLightiv (Light, PName, Params); end Light; procedure Light (Light : in Enum; PName : in Enum; Params : in Ints_4) is procedure glLightiv (Light : in Enum; PName : in Enum; Params : in Ints_4); pragma Import (StdCall, glLightiv, "glLightiv"); begin -- Light glLightiv (Light, PName, Params); end Light; -- Normal Vector procedure Normal (X, Y, Z : Byte) is procedure glNormal3b (X, Y, Z : Byte); pragma Import (StdCall, glNormal3b, "glNormal3b"); begin -- Normal glNormal3b (X, Y, Z); end Normal; procedure Normal (X, Y, Z : Double) is procedure glNormal3d (X, Y, Z : Double); pragma Import (StdCall, glNormal3d, "glNormal3d"); begin -- Normal glNormal3d (X, Y, Z); end Normal; procedure Normal (X, Y, Z : Float) is procedure glNormal3f (X, Y, Z : Float); pragma Import (StdCall, glNormal3f, "glNormal3f"); begin -- Normal glNormal3f (X, Y, Z); end Normal; procedure Normal (X, Y, Z : Int) is procedure glNormal3i (X, Y, Z : Int); pragma Import (StdCall, glNormal3i, "glNormal3i"); begin -- Normal glNormal3i (X, Y, Z); end Normal; procedure Normal (X, Y, Z : Short) is procedure glNormal3s (X, Y, Z : Short); pragma Import (StdCall, glNormal3s, "glNormal3s"); begin -- Normal glNormal3s (X, Y, Z); end Normal; procedure Normal (V : Bytes_3) is procedure glNormal3bv (V : Bytes_3); pragma Import (StdCall, glNormal3bv, "glNormal3bv"); begin -- Normal glNormal3bv (V); end Normal; procedure Normal (V : Doubles_3) is procedure glNormal3dv (V : Doubles_3); pragma Import (StdCall, glNormal3dv, "glNormal3dv"); begin -- Normal glNormal3dv (V); end Normal; procedure Normal (V : Floats_3) is procedure glNormal3fv (V : Floats_3); pragma Import (StdCall, glNormal3fv, "glNormal3fv"); begin -- Normal glNormal3fv (V); end Normal; procedure Normal (V : Ints_3) is procedure glNormal3iv (V : Ints_3); pragma Import (StdCall, glNormal3iv, "glNormal3iv"); begin -- Normal glNormal3iv (V); end Normal; procedure Normal (V : Shorts_3) is procedure glNormal3sv (V : Shorts_3); pragma Import (StdCall, glNormal3sv, "glNormal3sv"); begin -- Normal glNormal3sv (V); end Normal; procedure Tex_Gen (Coord : in Enum; PName : in Enum; Param : in Int) is procedure glTexGeni (Coord : in Enum; PName : in Enum; Param : in Int); pragma Import (StdCall, glTexGeni, "glTexGeni"); begin -- Tex_Gen glTexGeni (Coord, PName, Param); end Tex_Gen; procedure Tex_Gen (Coord : in Enum; PName : in Enum; Param : in Float) is procedure glTexGenf (Coord : in Enum; PName : in Enum; Param : in Float); pragma Import (StdCall, glTexGenf, "glTexGenf"); begin -- Tex_Gen glTexGenf (Coord, PName, Param); end Tex_Gen; procedure Tex_Gen (Coord : in Enum; PName : in Enum; Param : in Double) is procedure glTexGend (Coord : in Enum; PName : in Enum; Param : in Double); pragma Import (StdCall, glTexGend, "glTexGend"); begin -- Tex_Gen glTexGend (Coord, PName, Param); end Tex_Gen; procedure Tex_Parameter (Target : in Enum; PName : in Enum; Param : in Enum) is procedure glTexParameteri (Target : in Enum; PName : in Enum; Param : in Enum); pragma Import (StdCall, glTexParameteri, "glTexParameteri"); begin -- TexParameter glTexParameteri (Target, PName, Param); end Tex_Parameter; procedure Tex_Parameter (Target : in Enum; PName : in Enum; Param : in Int) is procedure glTexParameteri (Target : in Enum; PName : in Enum; Param : in Int); pragma Import (StdCall, glTexParameteri, "glTexParameteri"); begin -- TexParameter glTexParameteri (Target, PName, Param); end Tex_Parameter; procedure Tex_Parameter (Target : in Enum; PName : in Enum; Param : in Float) is procedure glTexParameterf (Target : in Enum; PName : in Enum; Param : in Float); pragma Import (StdCall, glTexParameterf, "glTexParameterf"); begin -- TexParameter glTexParameterf (Target, PName, Param); end Tex_Parameter; -- Texture images procedure Tex_Image (Target : in Enum; Level : in Int; Internal_Format : in Enum; Width : in SizeI; Border : in Int; Format : in Enum; Pixel_Type : in Enum; Pixels : in System.Address) is procedure glTexImage1D (Target : in Enum; Level : in Int; Internal_Format : in Enum; Width : in SizeI; Border : in Int; Format : in Enum; Pixel_Type : in Enum; Pixels : in System.Address); pragma Import (StdCall, glTexImage1D, "glTexImage1D"); begin -- TexImage glTexImage1D (Target, Level, Internal_Format, Width, Border, Format, Pixel_Type, Pixels); end Tex_Image; procedure Tex_Image (Target : in Enum; Level : in Int; Internal_Format : in Enum; Width : in SizeI; Height : in SizeI; Border : in Int; Format : in Enum; Pixel_Type : in Enum; Pixels : in System.Address) is procedure glTexImage2D (Target : in Enum; Level : in Int; Internal_Format : in Enum; Width : in SizeI; Height : in SizeI; Border : in Int; Format : in Enum; Pixel_Type : in Enum; Pixels : in System.Address); pragma Import (StdCall, glTexImage2D, "glTexImage2D"); begin -- TexImage glTexImage2D (Target, Level, Internal_Format, Width, Height, Border, Format, Pixel_Type, Pixels); end Tex_Image; procedure Tex_Sub_Image (Target : in Enum; Level : in Int; X_Offset : in Int; Y_Offset : in Int; Width : in SizeI; Height : in SizeI; Format : in Enum; Pixel_Type : in Enum; Pixels : in GL.Pointer) is procedure glTexSubImage2D (Target : in Enum; Level : in Int; X_Offset : in Int; Y_Offset : in Int; Width : in SizeI; Height : in SizeI; Format : in Enum; Pixel_Type : in Enum; Pixels : in GL.Pointer); pragma Import (StdCall, glTexSubImage2D, "glTexSubImage2D"); begin glTexSubImage2D (Target, Level, X_Offset, Y_Offset, Width, Height, Format, Pixel_Type, Pixels); end Tex_Sub_Image; -- procedure Tex_Image (Target : in Enum; -- Level : in Int; -- Internal_Format : in Int; -- Width : in SizeI; -- Height : in SizeI; -- Depth : in SizeI; -- Border : in Int; -- Format : in Enum; -- Pixel_Type : in Enum; -- Pixels : in System.Address) is -- procedure glTexImage3D (Target : in Enum; -- Level : in Int; -- Internal_Format : in Int; -- Width : in SizeI; -- Height : in SizeI; -- Depth : in SizeI; -- Border : in Int; -- Format : in Enum; -- Pixel_Type : in Enum; -- Pixels : in System.Address); -- pragma Import (StdCall, glTexImage3D, "glTexImage3D"); -- begin -- TexImage -- glTexImage3D (Target, -- Level, -- Internal_Format, -- Width, -- Height, -- Depth, -- Border, -- Format, -- Pixel_Type, -- Pixels); -- end Tex_Image; -- Texture coordinates procedure Tex_Coord (S : in Short) is procedure glTexCoord1s (S : in Short); pragma Import (StdCall, glTexCoord1s, "glTexCoord1s"); begin -- Tex_Coord glTexCoord1s (S); end Tex_Coord; procedure Tex_Coord (S : in Int) is procedure glTexCoord1i (S : in Int); pragma Import (StdCall, glTexCoord1i, "glTexCoord1i"); begin -- Tex_Coord glTexCoord1i (S); end Tex_Coord; procedure Tex_Coord (S : in Float) is procedure glTexCoord1f (S : in Float); pragma Import (StdCall, glTexCoord1f, "glTexCoord1f"); begin -- Tex_Coord glTexCoord1f (S); end Tex_Coord; procedure Tex_Coord (S : in Double) is procedure glTexCoord1d (S : in Double); pragma Import (StdCall, glTexCoord1d, "glTexCoord1d"); begin -- Tex_Coord glTexCoord1d (S); end Tex_Coord; procedure Tex_Coord (S : in Short; T : in Short) is procedure glTexCoord2s (S : in Short; T : in Short); pragma Import (StdCall, glTexCoord2s, "glTexCoord2s"); begin -- Tex_Coord glTexCoord2s (S, T); end Tex_Coord; procedure Tex_Coord (S : in Int; T : in Int) is procedure glTexCoord2i (S : in Int; T : in Int); pragma Import (StdCall, glTexCoord2i, "glTexCoord2i"); begin -- Tex_Coord glTexCoord2i (S, T); end Tex_Coord; procedure Tex_Coord (S : in Float; T : in Float) is procedure glTexCoord2f (S : in Float; T : in Float); pragma Import (StdCall, glTexCoord2f, "glTexCoord2f"); begin -- Tex_Coord glTexCoord2f (S, T); end Tex_Coord; procedure Tex_Coord (S : in Double; T : in Double) is procedure glTexCoord2d (S : in Double; T : in Double); pragma Import (StdCall, glTexCoord2d, "glTexCoord2d"); begin -- Tex_Coord glTexCoord2d (S, T); end Tex_Coord; procedure Tex_Coord (S : in Short; T : in Short; R : in Short) is procedure glTexCoord3s (S : in Short; T : in Short; R : in Short); pragma Import (StdCall, glTexCoord3s, "glTexCoord3s"); begin -- Tex_Coord glTexCoord3s (S, T, R); end Tex_Coord; procedure Tex_Coord (S : in Int; T : in Int; R : in Int) is procedure glTexCoord3i (S : in Int; T : in Int; R : in Int); pragma Import (StdCall, glTexCoord3i, "glTexCoord3i"); begin -- Tex_Coord glTexCoord3i (S, T, R); end Tex_Coord; procedure Tex_Coord (S : in Float; T : in Float; R : in Float) is procedure glTexCoord3f (S : in Float; T : in Float; R : in Float); pragma Import (StdCall, glTexCoord3f, "glTexCoord3f"); begin -- Tex_Coord glTexCoord3f (S, T, R); end Tex_Coord; procedure Tex_Coord (S : in Double; T : in Double; R : in Double) is procedure glTexCoord3d (S : in Double; T : in Double; R : in Double); pragma Import (StdCall, glTexCoord3d, "glTexCoord3d"); begin -- Tex_Coord glTexCoord3d (S, T, R); end Tex_Coord; procedure Tex_Coord (S : in Short; T : in Short; R : in Short; Q : in Short) is procedure glTexCoord4s (S : in Short; T : in Short; R : in Short; Q : in Short); pragma Import (StdCall, glTexCoord4s, "glTexCoord4s"); begin -- Tex_Coord glTexCoord4s (S, T, R, Q); end Tex_Coord; procedure Tex_Coord (S : in Int; T : in Int; R : in Int; Q : in Int) is procedure glTexCoord4i (S : in Int; T : in Int; R : in Int; Q : in Int); pragma Import (StdCall, glTexCoord4i, "glTexCoord4i"); begin -- Tex_Coord glTexCoord4i (S, T, R, Q); end Tex_Coord; procedure Tex_Coord (S : in Float; T : in Float; R : in Float; Q : in Float) is procedure glTexCoord4f (S : in Float; T : in Float; R : in Float; Q : in Float); pragma Import (StdCall, glTexCoord4f, "glTexCoord4f"); begin -- Tex_Coord glTexCoord4f (S, T, R, Q); end Tex_Coord; procedure Tex_Coord (S : in Double; T : in Double; R : in Double; Q : in Double) is procedure glTexCoord4d (S : in Double; T : in Double; R : in Double; Q : in Double); pragma Import (StdCall, glTexCoord4d, "glTexCoord4d"); begin -- Tex_Coord glTexCoord4d (S, T, R, Q); end Tex_Coord; procedure Tex_Coord (V : in Shorts_1) is procedure glTexCoord1sv (S : in Shorts_1); pragma Import (StdCall, glTexCoord1sv, "glTexCoord1sv"); begin -- Tex_Coord glTexCoord1sv (V); end Tex_Coord; procedure Tex_Coord (V : in Shorts_2) is procedure glTexCoord2sv (S : in Shorts_2); pragma Import (StdCall, glTexCoord2sv, "glTexCoord2sv"); begin -- Tex_Coord glTexCoord2sv (V); end Tex_Coord; procedure Tex_Coord (V : in Shorts_3) is procedure glTexCoord3sv (S : in Shorts_3); pragma Import (StdCall, glTexCoord3sv, "glTexCoord3sv"); begin -- Tex_Coord glTexCoord3sv (V); end Tex_Coord; procedure Tex_Coord (V : in Shorts_4) is procedure glTexCoord4sv (S : in Shorts_4); pragma Import (StdCall, glTexCoord4sv, "glTexCoord4sv"); begin -- Tex_Coord glTexCoord4sv (V); end Tex_Coord; procedure Tex_Coord (V : in Ints_1) is procedure glTexCoord1iv (S : in Ints_1); pragma Import (StdCall, glTexCoord1iv, "glTexCoord1iv"); begin -- Tex_Coord glTexCoord1iv (V); end Tex_Coord; procedure Tex_Coord (V : in Ints_2) is procedure glTexCoord2iv (S : in Ints_2); pragma Import (StdCall, glTexCoord2iv, "glTexCoord2iv"); begin -- Tex_Coord glTexCoord2iv (V); end Tex_Coord; procedure Tex_Coord (V : in Ints_3) is procedure glTexCoord3iv (S : in Ints_3); pragma Import (StdCall, glTexCoord3iv, "glTexCoord3iv"); begin -- Tex_Coord glTexCoord3iv (V); end Tex_Coord; procedure Tex_Coord (V : in Ints_4) is procedure glTexCoord4iv (S : in Ints_4); pragma Import (StdCall, glTexCoord4iv, "glTexCoord4iv"); begin -- Tex_Coord glTexCoord4iv (V); end Tex_Coord; procedure Tex_Coord (V : in Floats_1) is procedure glTexCoord1fv (S : in Floats_1); pragma Import (StdCall, glTexCoord1fv, "glTexCoord1fv"); begin -- Tex_Coord glTexCoord1fv (V); end Tex_Coord; procedure Tex_Coord (V : in Floats_2) is procedure glTexCoord2fv (S : in Floats_2); pragma Import (StdCall, glTexCoord2fv, "glTexCoord2fv"); begin -- Tex_Coord glTexCoord2fv (V); end Tex_Coord; procedure Tex_Coord (V : in Floats_3) is procedure glTexCoord3fv (S : in Floats_3); pragma Import (StdCall, glTexCoord3fv, "glTexCoord3fv"); begin -- Tex_Coord glTexCoord3fv (V); end Tex_Coord; procedure Tex_Coord (V : in Floats_4) is procedure glTexCoord4fv (S : in Floats_4); pragma Import (StdCall, glTexCoord4fv, "glTexCoord4fv"); begin -- Tex_Coord glTexCoord4fv (V); end Tex_Coord; procedure Tex_Coord (V : in Doubles_1) is procedure glTexCoord1dv (S : in Doubles_1); pragma Import (StdCall, glTexCoord1dv, "glTexCoord1dv"); begin -- Tex_Coord glTexCoord1dv (V); end Tex_Coord; procedure Tex_Coord (V : in Doubles_2) is procedure glTexCoord2dv (S : in Doubles_2); pragma Import (StdCall, glTexCoord2dv, "glTexCoord2dv"); begin -- Tex_Coord glTexCoord2dv (V); end Tex_Coord; procedure Tex_Coord (V : in Doubles_3) is procedure glTexCoord3dv (S : in Doubles_3); pragma Import (StdCall, glTexCoord3dv, "glTexCoord3dv"); begin -- Tex_Coord glTexCoord3dv (V); end Tex_Coord; procedure Tex_Coord (V : in Doubles_4) is procedure glTexCoord4dv (S : in Doubles_4); pragma Import (StdCall, glTexCoord4dv, "glTexCoord4dv"); begin -- Tex_Coord glTexCoord4dv (V); end Tex_Coord; --------------------------------------------------------------------------- procedure Map (Target : in Enum; U1 : in Float; U2 : in Float; Stride : in Int; Order : in Int; Points : in System.Address) is procedure glMap1f (Target : in Enum; U1 : in Float; U2 : in Float; Stride : in Int; Order : in Int; Points : in System.Address); pragma Import (StdCall, glMap1f, "glMap1f"); begin -- Map glMap1f (Target, U1, U2, Stride, Order, Points); end Map; procedure Map (Target : in Enum; U1 : in Double; U2 : in Double; Stride : in Int; Order : in Int; Points : in System.Address) is procedure glMap1d (Target : in Enum; U1 : in Double; U2 : in Double; Stride : in Int; Order : in Int; Points : in System.Address); pragma Import (StdCall, glMap1d, "glMap1d"); begin -- Map glMap1d (Target, U1, U2, Stride, Order, Points); end Map; procedure Map (Target : in Enum; U1 : in Float; U2 : in Float; UStride : in Int; UOrder : in Int; V1 : in Float; V2 : in Float; VStride : in Int; VOrder : in Int; Points : in System.Address) is procedure glMap2f (Target : in Enum; U1 : in Float; U2 : in Float; UStride : in Int; UOrder : in Int; V1 : in Float; V2 : in Float; VStride : in Int; VOrder : in Int; Points : in System.Address); pragma Import (StdCall, glMap2f, "glMap2f"); begin -- Map glMap2f (Target, U1, U2, UStride, UOrder, V1, V2, VStride, VOrder, Points); end Map; procedure Map (Target : in Enum; U1 : in Double; U2 : in Double; UStride : in Int; UOrder : in Int; V1 : in Double; V2 : in Double; VStride : in Int; VOrder : in Int; Points : in System.Address) is procedure glMap2d (Target : in Enum; U1 : in Double; U2 : in Double; UStride : in Int; UOrder : in Int; V1 : in Double; V2 : in Double; VStride : in Int; VOrder : in Int; Points : in System.Address); pragma Import (StdCall, glMap2d, "glMap2d"); begin -- Map glMap2d (Target, U1, U2, UStride, UOrder, V1, V2, VStride, VOrder, Points); end Map; procedure Map_Grid (Un : in Int; U1 : in Float; U2 : in Float) is procedure glMapGrid1f (Un : in Int; U1 : in Float; U2 : in Float); pragma Import (StdCall, glMapGrid1f, "glMapGrid1f"); begin -- Map_Grid glMapGrid1f (Un, U1, U2); end Map_Grid; procedure Map_Grid (Un : in Int; U1 : in Double; U2 : in Double) is procedure glMapGrid1d (Un : in Int; U1 : in Double; U2 : in Double); pragma Import (StdCall, glMapGrid1d, "glMapGrid1d"); begin -- Map_Grid glMapGrid1d (Un, U1, U2); end Map_Grid; procedure Map_Grid (Un : in Int; U1 : in Float; U2 : in Float; Vn : in Int; V1 : in Float; V2 : in Float) is procedure glMapGrid2f (Un : in Int; U1 : in Float; U2 : in Float; Vn : in Int; V1 : in Float; V2 : in Float); pragma Import (StdCall, glMapGrid2f, "glMapGrid2f"); begin -- Map_Grid glMapGrid2f (Un, U1, U2, Vn, V1, V2); end Map_Grid; procedure Map_Grid (Un : in Int; U1 : in Double; U2 : in Double; Vn : in Int; V1 : in Double; V2 : in Double) is procedure glMapGrid2d (Un : in Int; U1 : in Double; U2 : in Double; Vn : in Int; V1 : in Double; V2 : in Double); pragma Import (StdCall, glMapGrid2d, "glMapGrid2d"); begin -- Map_Grid glMapGrid2d (Un, U1, U2, Vn, V1, V2); end Map_Grid; procedure Eval_Point (I : Int) is procedure glEvalPoint1 (I : in Int); pragma Import (StdCall, glEvalPoint1, "glEvalPoint1"); begin -- Eval_Point glEvalPoint1 (I); end Eval_Point; procedure Eval_Point (I : in Int; J : in Int) is procedure glEvalPoint2 (I : in Int; J : in Int); pragma Import (StdCall, glEvalPoint2, "glEvalPoint2"); begin -- Eval_Point glEvalPoint2 (I, J); end Eval_Point; procedure Eval_Mesh (Mode : in Enum; I1 : in Int; I2 : in Int) is procedure glEvalMesh1 (Mode : in Enum; I1 : in Int; I2 : in Int); pragma Import (StdCall, glEvalMesh1, "glEvalMesh1"); begin -- Eval_Mesh glEvalMesh1 (Mode, I1, I2); end Eval_Mesh; procedure Eval_Mesh (Mode : in Enum; I1 : in Int; I2 : in Int; J1 : in Int; J2 : in Int) is procedure glEvalMesh2 (Mode : in Enum; I1 : in Int; I2 : in Int; J1 : in Int; J2 : in Int); pragma Import (StdCall, glEvalMesh2, "glEvalMesh2"); begin -- Eval_Mesh glEvalMesh2 (Mode, I1, I2, J1, J2); end Eval_Mesh; --------------------------------------------------------------------------- procedure Vertex (X : in Short; Y : in Short) is procedure glVertex2s (X : in Short; Y : in Short); pragma Import (StdCall, glVertex2s, "glVertex2s"); begin -- Vertex glVertex2s (X, Y); end Vertex; procedure Vertex (X : in Int; Y : in Int) is procedure glVertex2i (X : in Int; Y : in Int); pragma Import (StdCall, glVertex2i, "glVertex2i"); begin -- Vertex glVertex2i (X, Y); end Vertex; procedure Vertex (X : in Float; Y : in Float) is procedure glVertex2f (X : in Float; Y : in Float); pragma Import (StdCall, glVertex2f, "glVertex2f"); begin -- Vertex glVertex2f (X, Y); end Vertex; procedure Vertex (X : in Double; Y : in Double) is procedure glVertex2d (X : in Double; Y : in Double); pragma Import (StdCall, glVertex2d, "glVertex2d"); begin -- Vertex glVertex2d (X, Y); end Vertex; procedure Vertex (X : in Short; Y : in Short; Z : in Short) is procedure glVertex3s (X : in Short; Y : in Short; Z : in Short); pragma Import (StdCall, glVertex3s, "glVertex3s"); begin -- Vertex glVertex3s (X, Y, Z); end Vertex; procedure Vertex (X : in Int; Y : in Int; Z : in Int) is procedure glVertex3i (X : in Int; Y : in Int; Z : in Int); pragma Import (StdCall, glVertex3i, "glVertex3i"); begin -- Vertex glVertex3i (X, Y, Z); end Vertex; procedure Vertex (X : in Float; Y : in Float; Z : in Float) is procedure glVertex3f (X : in Float; Y : in Float; Z : in Float); pragma Import (StdCall, glVertex3f, "glVertex3f"); begin -- Vertex glVertex3f (X, Y, Z); end Vertex; procedure Vertex (X : in Double; Y : in Double; Z : in Double) is procedure glVertex3d (X : in Double; Y : in Double; Z : in Double); pragma Import (StdCall, glVertex3d, "glVertex3d"); begin -- Vertex glVertex3d (X, Y, Z); end Vertex; procedure Vertex (X : in Short; Y : in Short; Z : in Short; W : in Short) is procedure glVertex4s (X : in Short; Y : in Short; Z : in Short; W : in Short); pragma Import (StdCall, glVertex4s, "glVertex4s"); begin -- Vertex glVertex4s (X, Y, Z, W); end Vertex; procedure Vertex (X : in Int; Y : in Int; Z : in Int; W : in Int) is procedure glVertex4i (X : in Int; Y : in Int; Z : in Int; W : in Int); pragma Import (StdCall, glVertex4i, "glVertex4i"); begin -- Vertex glVertex4i (X, Y, Z, W); end Vertex; procedure Vertex (X : in Float; Y : in Float; Z : in Float; W : in Float) is procedure glVertex4f (X : in Float; Y : in Float; Z : in Float; W : in Float); pragma Import (StdCall, glVertex4f, "glVertex4f"); begin -- Vertex glVertex4f (X, Y, Z, W); end Vertex; procedure Vertex (X : in Double; Y : in Double; Z : in Double; W : in Double) is procedure glVertex4d (X : in Double; Y : in Double; Z : in Double; W : in Double); pragma Import (StdCall, glVertex4d, "glVertex4d"); begin -- Vertex glVertex4d (X, Y, Z, W); end Vertex; procedure Vertex (V : in Shorts_2) is procedure glVertex2sv (V : in Shorts_2); pragma Import (StdCall, glVertex2sv, "glVertex2sv"); begin -- Vertex glVertex2sv (V); end Vertex; procedure Vertex (V : in Shorts_3) is procedure glVertex3sv (V : in Shorts_3); pragma Import (StdCall, glVertex3sv, "glVertex3sv"); begin -- Vertex glVertex3sv (V); end Vertex; procedure Vertex (V : in Shorts_4) is procedure glVertex4sv (V : in Shorts_4); pragma Import (StdCall, glVertex4sv, "glVertex4sv"); begin -- Vertex glVertex4sv (V); end Vertex; procedure Vertex (V : in Ints_2) is procedure glVertex2iv (V : in Ints_2); pragma Import (StdCall, glVertex2iv, "glVertex2iv"); begin -- Vertex glVertex2iv (V); end Vertex; procedure Vertex (V : in Ints_3) is procedure glVertex3iv (V : in Ints_3); pragma Import (StdCall, glVertex3iv, "glVertex3iv"); begin -- Vertex glVertex3iv (V); end Vertex; procedure Vertex (V : in Ints_4) is procedure glVertex4iv (V : in Ints_4); pragma Import (StdCall, glVertex4iv, "glVertex4iv"); begin -- Vertex glVertex4iv (V); end Vertex; procedure Vertex (V : in Floats_2) is procedure glVertex2fv (V : in Floats_2); pragma Import (StdCall, glVertex2fv, "glVertex2fv"); begin -- Vertex glVertex2fv (V); end Vertex; procedure Vertex (V : in Floats_3) is procedure glVertex3fv (V : in Floats_3); pragma Import (StdCall, glVertex3fv, "glVertex3fv"); begin -- Vertex glVertex3fv (V); end Vertex; procedure Vertex (V : in Floats_4) is procedure glVertex4fv (V : in Floats_4); pragma Import (StdCall, glVertex4fv, "glVertex4fv"); begin -- Vertex glVertex4fv (V); end Vertex; procedure Vertex (V : in Doubles_2) is procedure glVertex2dv (V : in Doubles_2); pragma Import (StdCall, glVertex2dv, "glVertex2dv"); begin -- Vertex glVertex2dv (V); end Vertex; procedure Vertex (V : in Doubles_3) is procedure glVertex3dv (V : in Doubles_3); pragma Import (StdCall, glVertex3dv, "glVertex3dv"); begin -- Vertex glVertex3dv (V); end Vertex; procedure Vertex (V : in Doubles_4) is procedure glVertex4dv (V : in Doubles_4); pragma Import (StdCall, glVertex4dv, "glVertex4dv"); begin -- Vertex glVertex4dv (V); end Vertex; --------------------------------------------------------------------------- procedure Vertex_Pointer (Size : in SizeI; Element_Type : in Enum; Stride : in SizeI; Data_Pointer : in Pointer) is procedure glVertexPointer (Size : in SizeI; Element_Type : in Enum; Stride : in SizeI; Data_Pointer : in System.Address); pragma Import (StdCall, glVertexPointer, "glVertexPointer"); begin glVertexPointer (Size, Element_Type, Stride, Data_Pointer); end Vertex_Pointer; procedure Vertex_Pointer (Size : in SizeI; Element_Type : in Enum; Stride : in SizeI; Offset : in SizeI) is procedure glVertexPointer (Size : in SizeI; Element_Type : in Enum; Stride : in SizeI; Offset : in SizeI); pragma Import (StdCall, glVertexPointer, "glVertexPointer"); begin glVertexPointer (Size, Element_Type, Stride, Offset); end Vertex_Pointer; --------------------------------------------------------------------------- -- Shader variables function Get_Uniform_Location (Program : UInt; Name : String) return Int is C_Name : Interfaces.C.char_array := Interfaces.C.To_C (Name); function glGetUniformLocation (Program : UInt; Name : Pointer) return Int; pragma Import (StdCall, glGetUniformLocation, "glGetUniformLocation"); begin -- Get_Uniform_Location return glGetUniformLocation (Program, C_Name'Address); end Get_Uniform_Location; procedure Uniform (Location : in Int; V0 : in Float) is procedure glUniform1f (Location : in Int; V0 : in Float); pragma Import (StdCall, glUniform1f, "glUniform1f"); begin -- Uniform glUniform1f (Location, V0); end Uniform; procedure Uniform (Location : in Int; V0 : in Float; V1 : in Float) is procedure glUniform2f (Location : in Int; V0 : in Float; V1 : in Float); pragma Import (StdCall, glUniform2f, "glUniform2f"); begin -- Uniform glUniform2f (Location, V0, V1); end Uniform; procedure Uniform (Location : in Int; V0 : in Float; V1 : in Float; V2 : in Float) is procedure glUniform3f (Location : in Int; V0 : in Float; V1 : in Float; V2 : in Float); pragma Import (StdCall, glUniform3f, "glUniform3f"); begin -- Uniform glUniform3f (Location, V0, V1, V2); end Uniform; procedure Uniform (Location : in Int; V0 : in Float; V1 : in Float; V2 : in Float; V3 : in Float) is procedure glUniform4f (Location : in Int; V0 : in Float; V1 : in Float; V2 : in Float; V3 : in Float); pragma Import (StdCall, glUniform4f, "glUniform4f"); begin -- Uniform glUniform4f (Location, V0, V1, V2, V3); end Uniform; procedure Uniform (Location : in Int; V0 : in Int) is procedure glUniform1i (Location : in Int; V0 : in Int); pragma Import (StdCall, glUniform1i, "glUniform1i"); begin -- Uniform glUniform1i (Location, V0); end Uniform; procedure Uniform (Location : in Int; V0 : in Int; V1 : in Int) is procedure glUniform2i (Location : in Int; V0 : in Int; V1 : in Int); pragma Import (StdCall, glUniform2i, "glUniform2i"); begin -- Uniform glUniform2i (Location, V0, V1); end Uniform; procedure Uniform (Location : in Int; V0 : in Int; V1 : in Int; V2 : in Int) is procedure glUniform3i (Location : in Int; V0 : in Int; V1 : in Int; V2 : in Int); pragma Import (StdCall, glUniform3i, "glUniform3i"); begin -- Uniform glUniform3i (Location, V0, V1, V2); end Uniform; procedure Uniform (Location : in Int; V0 : in Int; V1 : in Int; V2 : in Int; V3 : in Int) is procedure glUniform4i (Location : in Int; V0 : in Int; V1 : in Int; V2 : in Int; V3 : in Int); pragma Import (StdCall, glUniform4i, "glUniform4i"); begin -- Uniform glUniform4i (Location, V0, V1, V2, V3); end Uniform; procedure Uniform (Location : in Int; V0 : in UInt) is procedure glUniform1ui (Location : in Int; V0 : in UInt); pragma Import (StdCall, glUniform1ui, "glUniform1ui"); begin -- Uniform glUniform1ui (Location, V0); end Uniform; procedure Uniform (Location : in Int; V0 : in UInt; V1 : in UInt) is procedure glUniform2ui (Location : in Int; V0 : in UInt; V1 : in UInt); pragma Import (StdCall, glUniform2ui, "glUniform2ui"); begin -- Uniform glUniform2ui (Location, V0, V1); end Uniform; procedure Uniform (Location : in Int; V0 : in UInt; V1 : in UInt; V2 : in UInt) is procedure glUniform3ui (Location : in Int; V0 : in UInt; V1 : in UInt; V2 : in UInt); pragma Import (StdCall, glUniform3ui, "glUniform3ui"); begin -- Uniform glUniform3ui (Location, V0, V1, V2); end Uniform; procedure Uniform (Location : in Int; V0 : in UInt; V1 : in UInt; V2 : in UInt; V3 : in UInt) is procedure glUniform4ui (Location : in Int; V0 : in UInt; V1 : in UInt; V2 : in UInt; V3 : in UInt); pragma Import (StdCall, glUniform4ui, "glUniform4ui"); begin -- Uniform glUniform4ui (Location, V0, V1, V2, V3); end Uniform; procedure Uniform (Location : in Int; Count : in SizeI; Transpose : in Bool; Value : in Float_Matrix) is procedure glUniformMatrix4fv (Location : in Int; Count : in SizeI; Transpose : in Bool; Value : in Pointer); pragma Import (StdCall, glUniformMatrix4fv, "glUniformMatrix4fv"); begin glUniformMatrix4fv (Location, Count, Transpose, Value'Address); end Uniform; function Get_Attribute_Location (Program : UInt; Name : String) return Int is C_Name : Interfaces.C.char_array := Interfaces.C.To_C (Name); function glGetAttribLocation (Program : UInt; Name : Pointer) return Int; pragma Import (StdCall, glGetAttribLocation, "glGetAttribLocation"); begin -- Get_Attribute_Location return glGetAttribLocation (Program, C_Name'Address); end Get_Attribute_Location; procedure Vertex_Attrib (Index : in UInt; X : in Float) is procedure glVertexAttrib1f (Index : in UInt; X : in Float); pragma Import (StdCall, glVertexAttrib1f, "glVertexAttrib1f"); begin glVertexAttrib1f (Index, X); end Vertex_Attrib; procedure Vertex_Attrib (Index : in UInt; X : in Float; Y : in Float) is procedure glVertexAttrib2f (Index : in UInt; X : in Float; Y : in Float); pragma Import (StdCall, glVertexAttrib2f, "glVertexAttrib2f"); begin glVertexAttrib2f (Index, X, Y); end Vertex_Attrib; procedure Vertex_Attrib (Index : in UInt; X : in Float; Y : in Float; Z : in Float) is procedure glVertexAttrib3f (Index : in UInt; X : in Float; Y : in Float; Z : in Float); pragma Import (StdCall, glVertexAttrib3f, "glVertexAttrib3f"); begin glVertexAttrib3f (Index, X, Y, Z); end Vertex_Attrib; procedure Vertex_Attrib (Index : in UInt; X : in Float; Y : in Float; Z : in Float; W : in Float) is procedure glVertexAttrib4f (Index : in UInt; X : in Float; Y : in Float; Z : in Float; W : in Float); pragma Import (StdCall, glVertexAttrib4f, "glVertexAttrib4f"); begin glVertexAttrib4f (Index, X, Y, Z, W); end Vertex_Attrib; procedure Get_Double (Pname : in Enum; Params : out Double_Matrix) is procedure glGetDoublev (Pname : in Enum; Params : in Pointer); pragma Import (StdCall, glGetDoublev, "glGetDoublev"); begin glGetDoublev (Pname, Params'Address); end Get_Double; --------------------------------------------------------------------------- end Lumen.GL;
src/kernel/exe/cpu/8259A.asm
zelinf/MyOS
2
80352
BITS 32 [SECTION .text] global cpu_init8259A cpu_init8259A: mov al, 0x11 out 0x20, al call io_delay out 0xA0, al call io_delay mov al, 0x20 out 0x21, al call io_delay mov al, 0x28 out 0xA1, al call io_delay mov al, 0x04 out 0x21, al call io_delay mov al, 0x02 out 0xA1, al call io_delay mov al, 0x01 out 0x21, al call io_delay out 0xA1, al call io_delay mov al, 0b00000000 out 0x21, al call io_delay mov al, 0b00000000 out 0xA1, al call io_delay ret io_delay: nop nop nop nop ret
NCoreUtils.Data.Protocol.Grammar/Protocol.g4
artyomszasa/NCoreUtils.Data.Protocol
0
1562
<reponame>artyomszasa/NCoreUtils.Data.Protocol grammar Protocol; /* PARSER */ start: lambda EOF | expr EOF ; lambda: IDENT ARROW expr; expr: LPAREN expr RPAREN | ident | constant | call | expr binOp=(MUL | DIV | MOD) expr | expr binOp=(PLUS | MINUS) expr | expr binOp=(EQ | NEQ | GT | LT | GE | LE) expr | expr binOp=AND expr | expr binOp=OR expr | lambda ; args: expr (COMMA expr)*; ident: IDENT (DOT IDENT)*; call: IDENT LPAREN args RPAREN; constant: numValue | stringValue; numValue: NUMVALUE; stringValue: STRINGVALUE; /* LEXER */ fragment NUM: [0-9]; fragment ALPHA: [a-zA-Z_]; fragment ALPHANUM: (NUM|ALPHA); fragment QUOTE: '"'; fragment NOT_QUOTE: ~'"'; fragment ESCAPEDQUOTE: '\\"'; WS: (' '|'\t')+ -> skip; DOT: '.'; AND: '&&'; OR: '||'; EQ: '='; NEQ: '!='; LE: '<='; GE: '>='; LT: '<'; GT: '>'; LPAREN: '('; RPAREN: ')'; COMMA: ','; ARROW: '=>'; PLUS: '+'; MINUS: '-'; DIV: '/'; MUL: '*'; MOD: '%'; NUMVALUE: NUM+('.'NUM+)?; STRINGVALUE: QUOTE (ESCAPEDQUOTE|NOT_QUOTE)* QUOTE; IDENT: ALPHA (ALPHANUM)*;
programs/oeis/087/A087413.asm
karttu/loda
1
171456
<reponame>karttu/loda ; A087413: a(n) = Sum_{k=1..n} C(3*k,k)/3. ; 1,6,34,199,1200,7388,46148,291305,1853580,11868585,76380825,493606725,3201081873,20821158233,135776966761,887393271310,5811082966885,38119865826420,250447855600320,1647729357535485,10854207824989830,71581930485576630 mov $1,$0 add $1,1 cal $1,24719 ; a(n) = (1/3)*(2 + Sum_{k=0..n} C(3k,k)). sub $1,1
programs/oeis/130/A130257.asm
jmorken/loda
1
15406
<reponame>jmorken/loda<filename>programs/oeis/130/A130257.asm<gh_stars>1-10 ; A130257: Partial sums of the 'lower' odd Fibonacci Inverse A130255. ; 1,3,5,7,10,13,16,19,22,25,28,31,35,39,43,47,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230,235,240,245,250,255,260,265,270,275,280,285,290,295,300,305,310,315,320,325,330,335,340,345,350,355,360,365,370,375,380,385,390,396,402,408,414,420,426,432,438,444,450,456,462,468,474,480,486,492,498,504,510,516,522,528,534,540,546,552,558,564,570,576,582,588,594,600,606,612,618,624,630,636,642,648,654,660,666,672,678,684,690,696,702,708,714,720,726,732,738,744,750,756,762,768,774,780,786,792,798,804,810,816,822,828,834,840,846,852,858,864,870,876,882,888,894,900,906,912,918,924,930,936,942,948,954,960,966,972,978,984,990,996,1002,1008,1014,1020,1026,1032,1038,1044,1050,1056,1062,1068,1074,1080,1086,1092,1098,1104,1110,1116,1122,1128,1134,1140,1146,1152,1158,1164,1170,1176,1182,1188,1194,1200,1206,1212,1218,1224,1230,1236,1242,1248,1254,1261,1268,1275,1282,1289,1296,1303,1310,1317,1324,1331,1338,1345,1352,1359,1366,1373,1380 mov $3,$0 add $3,1 mov $0,$3 lpb $0 add $1,$0 add $0,$1 sub $0,1 add $2,$3 trn $0,$2 add $2,1 lpe
programs/oeis/166/A166977.asm
neoneye/loda
22
27086
<gh_stars>10-100 ; A166977: Jacobsthal-Lucas numbers A014551, except a(0) = 0. ; 0,1,5,7,17,31,65,127,257,511,1025,2047,4097,8191,16385,32767,65537,131071,262145,524287,1048577,2097151,4194305,8388607,16777217,33554431,67108865,134217727,268435457,536870911,1073741825,2147483647,4294967297,8589934591,17179869185,34359738367,68719476737,137438953471,274877906945,549755813887,1099511627777,2199023255551,4398046511105,8796093022207,17592186044417,35184372088831,70368744177665,140737488355327,281474976710657,562949953421311,1125899906842625,2251799813685247,4503599627370497,9007199254740991,18014398509481985,36028797018963967,72057594037927937,144115188075855871,288230376151711745,576460752303423487,1152921504606846977,2305843009213693951,4611686018427387905,9223372036854775807,18446744073709551617,36893488147419103231,73786976294838206465,147573952589676412927,295147905179352825857,590295810358705651711,1180591620717411303425,2361183241434822606847,4722366482869645213697,9444732965739290427391,18889465931478580854785,37778931862957161709567,75557863725914323419137,151115727451828646838271,302231454903657293676545,604462909807314587353087,1208925819614629174706177,2417851639229258349412351,4835703278458516698824705,9671406556917033397649407,19342813113834066795298817,38685626227668133590597631,77371252455336267181195265,154742504910672534362390527,309485009821345068724781057,618970019642690137449562111,1237940039285380274899124225,2475880078570760549798248447,4951760157141521099596496897,9903520314283042199192993791,19807040628566084398385987585,39614081257132168796771975167,79228162514264337593543950337,158456325028528675187087900671,316912650057057350374175801345,633825300114114700748351602687 lpb $0 mov $2,$0 sub $0,1 mod $0,2 add $1,2 pow $1,$2 lpe trn $1,1 mov $0,$1
src/main/antlr/AtLexer.g4
MinecraftForge/accesstransformers
6
451
lexer grammar AtLexer; COMMENT : '#' ~('\r' | '\n')* ; KEYWORD : ('public' | 'private' | 'protected' | 'default') ([-+]'f')? -> pushMode(CLASS_NAME_MODE) ; WS : [ \t]+ ; CRLF : '\r' | '\n' | '\r\n' ; mode CLASS_NAME_MODE ; CLASS_NAME : ([\p{L}_\p{Sc}][\p{L}\p{N}_\p{Sc}]*'.')*[\p{L}_\p{Sc}][\p{L}\p{N}_\p{Sc}]* -> popMode, pushMode(MEMBER_NAME) ; CLASS_NAME_MODE_CRLF : CRLF -> popMode, type(CRLF) ; CLASS_NAME_MODE_COMMENT : COMMENT -> type(COMMENT) ; CLASS_NAME_MODE_WS : WS -> type(WS) ; mode MEMBER_NAME ; ASTERISK : '*' ; ASTERISK_METHOD : '*()' ; NAME_ELEMENT : (([\p{L}_\p{Sc}][\p{L}\p{N}_\p{Sc}]*) | '<init>') -> popMode, pushMode(TYPES) ; MEMBER_NAME_CRLF : CRLF -> popMode, type(CRLF) ; MEMBER_NAME_COMMENT : COMMENT -> type(COMMENT) ; MEMBER_NAME_WS : WS -> type(WS) ; mode TYPES ; OPEN_PARAM : '(' ; CLOSE_PARAM : ')' ; CLASS_VALUE : '['+ [ZBCSIFDJ] | '['* 'L' ~[;\n]+ ';' ; PRIMITIVE : [ZBCSIFDJV] ; TYPES_CRLF : CRLF -> popMode, type(CRLF) ; TYPES_COMMENT : COMMENT -> type(COMMENT) ; TYPES_WS : WS -> type(WS) ;
programs/oeis/021/A021316.asm
neoneye/loda
22
20203
; A021316: Decimal expansion of 1/312. ; 0,0,3,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8 add $0,1 mov $1,10 pow $1,$0 mul $1,2 div $1,624 mod $1,10 mov $0,$1
testcases/execute_dynabound/execute_dynabound.adb
jrmarino/AdaBase
30
5261
<gh_stars>10-100 with AdaBase; with Connect; with CommonText; with Ada.Text_IO; with Ada.Calendar; with AdaBase.Results.Sets; with Interfaces; procedure Execute_Dynabound is package CON renames Connect; package TIO renames Ada.Text_IO; package AR renames AdaBase.Results; package ARS renames AdaBase.Results.Sets; package CT renames CommonText; package CAL renames Ada.Calendar; package Byte_Io is new Ada.Text_Io.Modular_Io (Interfaces.Unsigned_8); type halfbyte is mod 2 ** 4; stmt_acc : CON.Stmt_Type_access; procedure dump_result; function halfbyte_to_hex (value : halfbyte) return Character; function convert_chain (chain : AR.Chain) return String; function convert_set (set : AR.Settype) return String; function pad (S : String; Slen : Natural) return String; function pad (S : String; Slen : Natural) return String is field : String (1 .. Slen) := (others => ' '); len : Natural := S'Length; begin field (1 .. len) := S; return field; end pad; function halfbyte_to_hex (value : halfbyte) return Character is zero : constant Natural := Character'Pos ('0'); alpham10 : constant Natural := Character'Pos ('A') - 10; begin case value is when 0 .. 9 => return Character'Val (zero + Natural (value)); when others => return Character'Val (alpham10 + Natural (value)); end case; end halfbyte_to_hex; function convert_chain (chain : AR.Chain) return String is use type AR.NByte1; blocks : constant Natural := chain'Length; mask_ones : constant AR.NByte1 := 16#0F#; work_4bit : halfbyte; result : String (1 .. blocks * 3 - 1) := (others => ' '); index : Natural := 0; fullbyte : Interfaces.Unsigned_8; begin for x in Positive range 1 .. blocks loop index := index + 1; fullbyte := Interfaces.Unsigned_8 (chain (x)); fullbyte := Interfaces.Shift_Right (fullbyte, 4); work_4bit := halfbyte (fullbyte); result (index) := halfbyte_to_hex (work_4bit); index := index + 1; work_4bit := halfbyte (chain (x) and mask_ones); result (index) := halfbyte_to_hex (work_4bit); index := index + 1; end loop; if blocks = 0 then return "(empty)"; end if; return result; end convert_chain; function convert_set (set : AR.Settype) return String is result : CT.Text; begin for x in set'Range loop if not CT.IsBlank (set (x).enumeration) then if x > set'First then CT.SU.Append (result, ","); end if; CT.SU.Append (result, set (x).enumeration); end if; end loop; return CT.USS (result); end convert_set; procedure dump_result is row : ARS.Datarow; numcols : constant Natural := stmt_acc.column_count; begin loop row := stmt_acc.fetch_next; exit when row.data_exhausted; TIO.Put_Line (""); for c in Natural range 1 .. numcols loop TIO.Put (CT.zeropad (c, 2) & ". "); TIO.Put (pad (stmt_acc.column_name (c), 16)); TIO.Put (pad (stmt_acc.column_native_type (c)'Img, 15)); case stmt_acc.column_native_type (c) is when AdaBase.ft_chain => TIO.Put_Line (convert_chain (row.column (c).as_chain)); when others => TIO.Put_Line (row.column (c).as_string); end case; end loop; end loop; TIO.Put_Line (""); end dump_result; cols : constant String := "id_nbyte3, nbyte0, " & "nbyte1, byte2, byte4, nbyte8, real9, real18, " & "exact_decimal, my_date, my_timestamp, " & "my_time, my_year, my_tinytext, enumtype, " & "settype, my_varbinary, my_blob"; sql3 : constant String := "INSERT INTO all_types (" & cols & ") VALUES " & "(?,?, ?,?,?,?,?,?, ?,?,?, ?,?,?,?, ?,?,?)"; sql1 : constant String := "SELECT " & cols & " FROM all_types " & "WHERE id_nbyte3 > 8"; begin CON.connect_database; declare numrows : AdaBase.Affected_Rows; begin numrows := CON.DR.execute ("DELETE FROM all_types WHERE id_nbyte3 > 8"); if Natural (numrows) > 0 then CON.DR.commit; end if; end; declare vals1 : constant String := "20|1|150|-10|-90000|3200100|87.2341|" & "15555.213792831213|875.44|2014-10-20|2000-03-25 15:15:00|" & "20:18:13|1986|AdaBase is so cool!|green|yellow,black|" & " 0123|456789ABC.,z[]"; vals2 : constant String := "25;0;200;25;22222;50;4.84324982;" & "9234963.123235987;15.79;1910-11-05;2030-12-25 11:59:59;" & "04:00:45;1945;This is what it sounds like when doves cry;" & "red;blue,white;Q|ER;01234" & Character'Val (0) & Character'Val (10) & "789"; good : Boolean := True; stmt : CON.Stmt_Type := CON.DR.prepare (sql3); begin -- This has to be done only once after the prepare command -- Set the type for each parameter (required for at least MySQL) stmt.assign (1, AR.PARAM_IS_NBYTE_3); stmt.assign (2, AR.PARAM_IS_BOOLEAN); stmt.assign (3, AR.PARAM_IS_NBYTE_1); stmt.assign (4, AR.PARAM_IS_BYTE_2); stmt.assign (5, AR.PARAM_IS_BYTE_4); stmt.assign (6, AR.PARAM_IS_NBYTE_8); stmt.assign (7, AR.PARAM_IS_REAL_9); stmt.assign (8, AR.PARAM_IS_REAL_18); stmt.assign (9, AR.PARAM_IS_REAL_9); stmt.assign (10, AR.PARAM_IS_TIMESTAMP); stmt.assign (11, AR.PARAM_IS_TIMESTAMP); stmt.assign (12, AR.PARAM_IS_TIMESTAMP); stmt.assign (13, AR.PARAM_IS_NBYTE_2); stmt.assign (14, AR.PARAM_IS_TEXTUAL); stmt.assign (15, AR.PARAM_IS_ENUM); stmt.assign (16, AR.PARAM_IS_SET); stmt.assign (17, AR.PARAM_IS_CHAIN); stmt.assign (18, AR.PARAM_IS_CHAIN); good := stmt.execute (vals1); if good then good := stmt.execute (parameters => vals2, delimiter => ';'); end if; if good then CON.DR.commit; else TIO.Put_Line ("statement execution failed"); CON.DR.rollback; end if; end; declare stmt : aliased CON.Stmt_Type := CON.DR.query (sql1); begin if stmt.successful then stmt_acc := stmt'Unchecked_Access; TIO.Put_Line ("Dumping Result from direct statement ..."); dump_result; end if; end; declare stmt : aliased CON.Stmt_Type := CON.DR.prepare (sql1); begin if stmt.execute then stmt_acc := stmt'Unchecked_Access; TIO.Put_Line ("Dumping Result from prepared statement ..."); dump_result; end if; end; TIO.Put_Line ("Note slight differences in real9 and real18 field values"); TIO.Put_Line ("due to rounding differences inherent in the different"); TIO.Put_Line ("retrieval mechanisms of direct and prep stmt results."); CON.DR.disconnect; end Execute_Dynabound;
programs/oeis/193/A193588.asm
neoneye/loda
22
14392
; A193588: A Fibonacci triangle: T(n,k) = Fib(k+2) for 0 <= k <= n. ; 1,1,2,1,2,3,1,2,3,5,1,2,3,5,8,1,2,3,5,8,13,1,2,3,5,8,13,21,1,2,3,5,8,13,21,34,1,2,3,5,8,13,21,34,55,1,2,3,5,8,13,21,34,55,89,1,2,3,5,8,13,21,34,55,89,144,1,2,3,5,8,13,21,34,55,89,144,233 lpb $0 add $2,1 sub $0,$2 lpe add $0,1 seq $0,187107 ; Number of nontrivial compositions of differential operations and directional derivative of the n-th order on the space R^9. sub $0,7
unittests/ASM/REP/F3_BD.asm
cobalt2727/FEX
628
170571
%ifdef CONFIG { "RegData": { "RAX": "0", "RCX": "0x10", "RDX": "0x20", "RSI": "0x40", "RDI": "0", "RBP": "0", "RSP": "0", "R8": "0x8", "R9": "0x10", "R10": "0x20", "R15": "0x2A540" } } %endif ; Uses AX and BX and stores result in r15 ; CF:ZF %macro zfcfmerge 0 lahf ; Shift CF to zero shr ax, 8 ; Move to a temp mov bx, ax and rbx, 1 shl r15, 1 or r15, rbx shl r15, 1 ; Move to a temp mov bx, ax ; Extract ZF shr bx, 6 and rbx, 1 ; Insert ZF or r15, rbx %endmacro mov rax, 0x80000001 cpuid shr ecx, 5 and ecx, 1 cmp ecx, 1 je .continue ; We don't support the instruction. Leave mov rax, 0xDEADBEEF41414141 hlt .continue: mov rax, 0 mov rbx, 0 mov r15, 0 ; Test zeroes mov rcx, 0 lzcnt cx, cx zfcfmerge mov rdx, 0 lzcnt edx, edx zfcfmerge mov rsi, 0 lzcnt rsi, rsi zfcfmerge ; Test highest bit set to 1 mov rdi, 0x8000 lzcnt di, di zfcfmerge mov rbp, 0x80000000 lzcnt ebp, ebp zfcfmerge mov rsp, 0x8000000000000000 lzcnt rsp, rsp zfcfmerge ; Test bit in the middle of the range mov r8, 0x0080 lzcnt r8w, r8w zfcfmerge mov r9, 0x00008000 lzcnt r9d, r9d zfcfmerge mov r10, 0x00000080000000 lzcnt r10, r10 zfcfmerge mov rax, 0 hlt
programs/oeis/084/A084431.asm
karttu/loda
1
96737
<filename>programs/oeis/084/A084431.asm ; A084431: Expansion of (1 + 6*x + 5*x^2)/((1-2*x)*(1+2*x)). ; 1,6,9,24,36,96,144,384,576,1536,2304,6144,9216,24576,36864,98304,147456,393216,589824,1572864,2359296,6291456,9437184,25165824,37748736,100663296,150994944,402653184,603979776,1610612736,2415919104,6442450944,9663676416,25769803776,38654705664,103079215104,154618822656,412316860416,618475290624,1649267441664,2473901162496,6597069766656,9895604649984,26388279066624,39582418599936,105553116266496,158329674399744,422212465065984,633318697598976,1688849860263936,2533274790395904,6755399441055744 cal $0,133572 ; Row sums of triangle A133571. mov $1,64 add $1,$0 div $0,2 add $0,1 add $1,1 add $1,$0 sub $1,66
programs/oeis/330/A330063.asm
karttu/loda
0
97845
<filename>programs/oeis/330/A330063.asm ; A330063: Beatty sequence for x, where 1/x + sech(x) = 1. ; 1,3,4,6,8,9,11,12,14,16,17,19,21,22,24,25,27,29,30,32,33,35,37,38,40,42,43,45,46,48,50,51,53,54,56,58,59,61,63,64,66,67,69,71,72,74,76,77,79,80,82,84,85,87,88,90,92,93,95,97,98,100,101,103,105 mov $16,$0 mov $18,$0 add $18,1 lpb $18,1 mov $0,$16 sub $18,1 sub $0,$18 mov $12,$0 mov $14,2 lpb $14,1 mov $0,$12 sub $14,1 add $0,$14 sub $0,1 mov $8,$0 mov $10,2 lpb $10,1 clr $0,8 mov $0,$8 sub $10,1 add $0,$10 sub $0,1 mov $5,$0 mov $7,$0 lpb $7,1 mov $0,$5 sub $7,1 sub $0,$7 mov $1,$0 add $1,$0 mov $2,$1 mov $1,7 add $2,$0 mov $3,3 add $3,$2 mul $1,$3 lpb $0,1 sub $0,1 mov $3,1 lpe sub $1,$3 div $1,34 add $6,$1 lpe mov $1,$6 mov $11,$10 lpb $11,1 mov $9,$1 sub $11,1 lpe lpe lpb $8,1 mov $8,0 sub $9,$1 lpe mov $1,$9 mov $15,$14 lpb $15,1 mov $13,$1 sub $15,1 lpe lpe lpb $12,1 mov $12,0 sub $13,$1 lpe mov $1,$13 add $1,1 add $17,$1 lpe mov $1,$17
gb_01/src_bug/root-child.ads
gerr135/gnat_bugs
0
10194
generic package root.child is type Base_Type is abstract new Base_Interface with null record; type Derived_Type is abstract new Base_Type and Derived_Interface with null record; end root.child;
tests/bases-ship-test_data-tests.adb
thindil/steamsky
80
28887
<filename>tests/bases-ship-test_data-tests.adb -- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the test environment should be -- placed into Bases.Ship.Test_Data. with AUnit.Assertions; use AUnit.Assertions; with System.Assertions; -- begin read only -- id:2.2/00/ -- -- This section can be used to add with clauses if necessary. -- -- end read only -- begin read only -- end read only package body Bases.Ship.Test_Data.Tests is -- begin read only -- id:2.2/01/ -- -- This section can be used to add global variables and other elements. -- -- end read only -- begin read only -- end read only -- begin read only procedure Wrap_Test_Repair_Ship_a28a55_2d5600(Module_Index: Integer) is begin begin pragma Assert((Module_Index <= Player_Ship.Modules.Last_Index)); null; exception when System.Assertions.Assert_Failure => AUnit.Assertions.Assert (False, "req_sloc(bases-ship.ads:0):Test_RepairShip test requirement violated"); end; GNATtest_Generated.GNATtest_Standard.Bases.Ship.Repair_Ship (Module_Index); begin pragma Assert(True); null; exception when System.Assertions.Assert_Failure => AUnit.Assertions.Assert (False, "ens_sloc(bases-ship.ads:0:):Test_RepairShip test commitment violated"); end; end Wrap_Test_Repair_Ship_a28a55_2d5600; -- end read only -- begin read only procedure Test_Repair_Ship_test_repairship(Gnattest_T: in out Test); procedure Test_Repair_Ship_a28a55_2d5600(Gnattest_T: in out Test) renames Test_Repair_Ship_test_repairship; -- id:2.2/a28a558c7a663eb4/Repair_Ship/1/0/test_repairship/ procedure Test_Repair_Ship_test_repairship(Gnattest_T: in out Test) is procedure Repair_Ship(Module_Index: Integer) renames Wrap_Test_Repair_Ship_a28a55_2d5600; -- end read only pragma Unreferenced(Gnattest_T); Durability: constant Positive := Player_Ship.Modules(1).Durability; begin Player_Ship.Modules(1).Durability := Player_Ship.Modules(1).Durability - 10; Repair_Ship(1); Assert (Player_Ship.Modules(1).Durability = Durability, "Failed to repair selected player ship module in base."); Player_Ship.Modules(1).Durability := Player_Ship.Modules(1).Durability - 10; Repair_Ship(0); Assert (Player_Ship.Modules(1).Durability = Durability, "Failed to repair player ship module in base."); -- begin read only end Test_Repair_Ship_test_repairship; -- end read only -- begin read only procedure Wrap_Test_Upgrade_Ship_a05e89_cdbb2e (Install: Boolean; Module_Index: Unbounded_String) is begin begin pragma Assert((Module_Index /= Null_Unbounded_String)); null; exception when System.Assertions.Assert_Failure => AUnit.Assertions.Assert (False, "req_sloc(bases-ship.ads:0):Test_UpdgradeShip test requirement violated"); end; GNATtest_Generated.GNATtest_Standard.Bases.Ship.Upgrade_Ship (Install, Module_Index); begin pragma Assert(True); null; exception when System.Assertions.Assert_Failure => AUnit.Assertions.Assert (False, "ens_sloc(bases-ship.ads:0:):Test_UpdgradeShip test commitment violated"); end; end Wrap_Test_Upgrade_Ship_a05e89_cdbb2e; -- end read only -- begin read only procedure Test_Upgrade_Ship_test_updgradeship(Gnattest_T: in out Test); procedure Test_Upgrade_Ship_a05e89_cdbb2e(Gnattest_T: in out Test) renames Test_Upgrade_Ship_test_updgradeship; -- id:2.2/a05e89b53e62c9ad/Upgrade_Ship/1/0/test_updgradeship/ procedure Test_Upgrade_Ship_test_updgradeship(Gnattest_T: in out Test) is procedure Upgrade_Ship (Install: Boolean; Module_Index: Unbounded_String) renames Wrap_Test_Upgrade_Ship_a05e89_cdbb2e; -- end read only pragma Unreferenced(Gnattest_T); begin Upgrade_Ship(False, To_Unbounded_String("10")); Assert (Player_Ship.Modules.Length = 12, "Failed to remove module on player ship."); Upgrade_Ship(True, To_Unbounded_String("6")); Assert (Player_Ship.Modules.Length = 13, "Failed to install module on player ship."); -- begin read only end Test_Upgrade_Ship_test_updgradeship; -- end read only -- begin read only procedure Wrap_Test_Pay_For_Dock_9dddef_d92d34 is begin GNATtest_Generated.GNATtest_Standard.Bases.Ship.Pay_For_Dock; end Wrap_Test_Pay_For_Dock_9dddef_d92d34; -- end read only -- begin read only procedure Test_Pay_For_Dock_test_payfordock(Gnattest_T: in out Test); procedure Test_Pay_For_Dock_9dddef_d92d34(Gnattest_T: in out Test) renames Test_Pay_For_Dock_test_payfordock; -- id:2.2/9dddef712271b3af/Pay_For_Dock/1/0/test_payfordock/ procedure Test_Pay_For_Dock_test_payfordock(Gnattest_T: in out Test) is procedure Pay_For_Dock renames Wrap_Test_Pay_For_Dock_9dddef_d92d34; -- end read only pragma Unreferenced(Gnattest_T); Money: constant Positive := Player_Ship.Cargo(1).Amount; begin Pay_For_Dock; Assert(Player_Ship.Cargo(1).Amount < Money, "Failed to pay for docks."); -- begin read only end Test_Pay_For_Dock_test_payfordock; -- end read only -- begin read only procedure Wrap_Test_Repair_Cost_eb3d7e_6cc7b1 (Cost, Time: in out Natural; Module_Index: Integer) is begin begin pragma Assert(Module_Index in -2 .. Player_Ship.Modules.Last_Index); null; exception when System.Assertions.Assert_Failure => AUnit.Assertions.Assert (False, "req_sloc(bases-ship.ads:0):Test_RepairCost test requirement violated"); end; GNATtest_Generated.GNATtest_Standard.Bases.Ship.Repair_Cost (Cost, Time, Module_Index); begin pragma Assert(Cost > 0 and Time > 0); null; exception when System.Assertions.Assert_Failure => AUnit.Assertions.Assert (False, "ens_sloc(bases-ship.ads:0:):Test_RepairCost test commitment violated"); end; end Wrap_Test_Repair_Cost_eb3d7e_6cc7b1; -- end read only -- begin read only procedure Test_Repair_Cost_test_repaircost(Gnattest_T: in out Test); procedure Test_Repair_Cost_eb3d7e_6cc7b1(Gnattest_T: in out Test) renames Test_Repair_Cost_test_repaircost; -- id:2.2/eb3d7e6578095883/Repair_Cost/1/0/test_repaircost/ procedure Test_Repair_Cost_test_repaircost(Gnattest_T: in out Test) is procedure Repair_Cost (Cost, Time: in out Natural; Module_Index: Integer) renames Wrap_Test_Repair_Cost_eb3d7e_6cc7b1; -- end read only pragma Unreferenced(Gnattest_T); Cost, Time, OverallCost, OverallTime: Natural := 0; begin Player_Ship.Modules(1).Durability := Player_Ship.Modules(1).Durability - 5; Repair_Cost(Cost, Time, 1); Assert(Cost > 0, "Failed to count player ship repair costs."); Assert(Time > 0, "Failed to count player ship repair time."); Repair_Cost(OverallCost, OverallTime, 0); Assert (Cost = OverallCost, "Failed to count player ship overall repair costs."); Assert (Time = OverallTime, "Failed to count player ship overall repair time."); -- begin read only end Test_Repair_Cost_test_repaircost; -- end read only -- begin read only -- id:2.2/02/ -- -- This section can be used to add elaboration code for the global state. -- begin -- end read only null; -- begin read only -- end read only end Bases.Ship.Test_Data.Tests;
1-base/lace/source/events/mixin/xgc/lace-make_observer-deferred.adb
charlie5/lace
20
9540
with lace.Event.Logger, lace.Event.utility, ada.unchecked_Deallocation; package body lace.make_Observer.deferred is procedure free is new ada.unchecked_Deallocation (String, String_view); overriding procedure destroy (Self : in out Item) is begin make_Observer.destroy (make_Observer.item (Self)); -- Destroy base class. Self.pending_Events.free; end destroy; overriding procedure receive (Self : access Item; the_Event : in Event.item'Class := event.null_Event; from_Subject : in Event.subject_Name) is begin Self.pending_Events.add (the_Event, from_Subject); end receive; overriding procedure respond (Self : access Item) is use Event_Vectors; my_Name : constant String := Observer.item'Class (Self.all).Name; procedure actuate (the_Responses : in event_response_Map; the_Events : in Event_Vector; from_subject_Name : in Event.subject_Name) is Cursor : Event_Vectors.Cursor := the_Events.First; begin while has_Element (Cursor) loop declare use event_response_Maps, Event.utility, ada.Containers; use type Observer.view; the_Event : constant Event.item'Class := Element (Cursor); Response : constant event_response_Maps.Cursor := the_Responses.find (to_Kind (the_Event'Tag)); begin if has_Element (Response) then Element (Response).respond (the_Event); if observer.Logger /= null then observer.Logger.log_Response (Element (Response), Observer.view (Self), the_Event, from_subject_Name); end if; elsif Self.Responses.relay_Target /= null then -- Self.relay_Target.notify (the_Event, from_Subject_Name); -- todo: Re-enable relayed events. if observer.Logger /= null then observer.Logger.log ("[Warning] ~ Relayed events are currently disabled."); else raise program_Error with "Event relaying is currently disabled."; end if; else if observer.Logger /= null then observer.Logger.log ("[Warning] ~ Observer " & my_Name & " has no response to " & Name_of (the_Event) & " from " & from_subject_Name & "."); observer.Logger.log (" Count of responses =>" & Count_type'Image (the_Responses.Length)); else raise program_Error with "Observer " & my_Name & " has no response to " & Name_of (the_Event) & " from " & from_subject_Name & "."; end if; end if; end; next (Cursor); end loop; end actuate; the_subject_Events : subject_events_Pairs (1 .. 5_000); Count : Natural; begin Self.pending_Events.fetch (the_subject_Events, Count); for i in 1 .. Count loop declare subject_Name : String_view := the_subject_Events (i).Subject; the_Events : Event_vector renames the_subject_Events (i).Events; begin if Self.Responses.Contains (subject_Name.all) then actuate (Self.Responses.Element (subject_Name.all), the_Events, subject_Name.all); else if observer.Logger /= null then observer.Logger.log (my_Name & " has no responses for events from " & subject_Name.all & "."); else raise program_Error with my_Name & " has no responses for events from '" & subject_Name.all & "'."; end if; end if; free (subject_Name); end; end loop; end respond; protected body safe_Events is procedure add (the_Event : in Event.item'Class) is begin the_Events.append (the_Event); end add; procedure fetch (all_Events : out Event_Vector) is begin all_Events := the_Events; the_Events.clear; end fetch; end safe_Events; protected body safe_subject_Map_of_safe_events is procedure add (the_Event : in Event.item'Class; from_Subject : in String) is begin if not the_Map.contains (from_Subject) then the_Map.insert (from_Subject, new safe_Events); end if; the_Map.Element (from_Subject).add (the_Event); end add; procedure fetch (all_Events : out subject_events_Pairs; Count : out Natural) is use subject_Maps_of_safe_events; Cursor : subject_Maps_of_safe_events.Cursor := the_Map.First; Index : Natural := 0; begin while has_Element (Cursor) loop declare the_Events : Event_vector; begin Element (Cursor).fetch (the_Events); Index := Index + 1; all_Events (Index) := (subject => new String' (Key (Cursor)), events => the_Events); end; next (Cursor); end loop; Count := Index; end fetch; procedure free is use subject_Maps_of_safe_events; procedure deallocate is new ada.unchecked_Deallocation (safe_Events, safe_Events_view); Cursor : subject_Maps_of_safe_events.Cursor := the_Map.First; the_Events : safe_Events_view; begin while has_Element (Cursor) loop the_Events := Element (Cursor); deallocate (the_Events); next (Cursor); end loop; end free; end safe_subject_Map_of_safe_events; end lace.make_Observer.deferred;
script/boot2docker.scpt
jawshooah/dotfiles
0
4626
tell application "iTerm" make new terminal tell the current terminal activate current session launch session "Default Session" tell the last session write text "unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH" write text "mkdir -p ~/.boot2docker" write text "if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi" write text "/usr/local/bin/boot2docker init && /usr/local/bin/boot2docker up && $(boot2docker shellinit) && docker version" end tell end tell end tell
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_isub.asm
prismotizm/gigaleak
0
171515
Name: zel_isub.asm Type: file Size: 255627 Last-Modified: '2016-05-13T04:22:15Z' SHA-1: D4899693F307304441C571130AC38B571650B14C Description: null
components/src/motion/bno055/bosch_bno055.ads
rocher/Ada_Drivers_Library
192
24333
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- 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. -- -- 3. Neither the name of the copyright holder nor the names of its -- -- contributors may be used to endorse or promote products derived -- -- from this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -- -- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -- -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -- -- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -- -- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -- -- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- This package provides an interface for the Bosch 9-DOF Absolute -- Orientation IMU, integrating a triaxial 14-bit accelerometer, a triaxial -- 16-bit gyroscope, a triaxial geomagnetic sensor and a 32-bit cortex M0+ -- microcontroller running Bosch Sensortec sensor fusion software. -- -- See https://www.adafruit.com/products/2472 -- -- See the Datasheet: "BNO055 Intelligent 9-axis absolute orientation sensor" -- by <NAME>. -- Document number BST-BNO055-DS000-13 (BST_BNO055_DS000_13-838248.pdf) -- Version 1.3 or higher, although version 1.2 is likely close enough. -- Give the supplied package for I2C-based communication (BNO055_I2C_IO), -- and a procedure for delaying a given number of milliseconds, one could -- instantiate the package as follows (for example): -- -- with BNO055_I2C_IO; use BNO055_I2C_IO; -- with HAL.I2C; use HAL.I2C; -- -- with Bosch_BNO055; -- with Delay_Milliseconds; -- -- package BNO055_I2C is new Bosch_BNO055 -- (IO_Port => IO_Port, -- Any_IO_Port => Any_IO_Port, -- Sensor_Data_Buffer => I2C_Data); -- -- In the above we are specifying the generic actual types from the -- BNO055_I2C_IO package and the HAL.I2C package, in that order, and taking -- the defaults for the generic formal I/O subprograms made visible via the -- use-clause for the BNO055_I2C_IO package. Note that a USART-based -- instantiation could look very similar; given similar naming only the -- first two lines would change. -- -- Similarly, the with-clause on procedure Delay_Milliseconds makes a -- procedure matching the formal subprogram's profile directly visible -- (and only one), so the default can be taken there as well. pragma Restrictions (No_Streams); with System; with Interfaces; use Interfaces; with HAL.I2C; use HAL.I2C; use HAL; generic -- Driving the BNO055 is accomplished by writing to, and reading from, -- 8-bit registers on the device. This internal communication is in -- terms of either I2C or serial (UART) input/output, specified as -- actual parameters for the following generic formal parameters. -- -- Note that selection of the protocol is configured by the hardware -- "protocol select" pins PS0 and PS1, described in section 4.5 of the -- Bosch manual. These are explicitly marked header pins on the AdaFruit -- breakout board, for example. The protocol selected via the pins must -- match the generic actual parameters used to instantiate this generic -- unit. Thus, for example, if you use the pins to select the I2C-based -- protocol you must instantiate the generic unit with an I2C-based -- software abstraction via these parameters. type IO_Port (<>) is abstract tagged limited private; type Any_IO_Port is access all IO_Port'Class; with procedure Read (This : Any_IO_Port; Register : UInt8; Value : out UInt8) is <>; -- Get the Value at the address specified in Register via This port. with procedure Write (This : Any_IO_Port; Register : UInt8; Value : UInt8) is <>; -- Write the Value to the address specified in Register via This port. type Sensor_Data_Buffer is array (Natural range <>) of UInt8; with procedure Read_Buffer (This : Any_IO_Port; Register : UInt8; Value : out Sensor_Data_Buffer) is <>; -- Get the multiple Values at the address specified in Register via This -- port. with procedure Delay_Milliseconds (Count : Positive) is <>; -- Issue a relative delay for Count milliseconds. This formal subprogram -- removes the dependency on Ada.Real_Time so that this driver can be used -- with runtimes that do not have that language-defined facility. package Bosch_BNO055 is type BNO055_9DOF_IMU (Port : not null Any_IO_Port) is tagged limited private; -- The BNO055 is a System in Package (SiP) integrating a triaxial 14-bit -- accelerometer, a triaxial 16-bit gyroscope, a triaxial geomagnetic -- sensor and a 32-bit Cortex M0+ microcontroller running Bosch Sensortec -- sensor fusion software providing fused orientation data. The designated -- IO_Port is used to communicate with the sensor, and will be a concrete -- instance of either an I2C port or a USART port. function Device_Id (This : in out BNO055_9DOF_IMU) return UInt8; -- Interacts with the device to read a device-class specific identifier -- that can be checked for a BNO055-specific value I_Am_BNO055 : constant := 16#A0#; -- The value expected to be returned from Device_Id -- These are the possible I2C addresses for the BNO055. Note that I2C is -- one of two options for communicating with the BNO055 device (the other -- being serial, ie USART). BNO055_Primary_Address : constant I2C_Address := 16#28# * 2; BNO055_Alternate_Address : constant I2C_Address := 16#29# * 2; -- shift left one bit since we're using 7-bit addresses. BNO055_Min_Sample_Interval : constant := 10; -- According to the Datasheet, when using the internal oscillator the max -- data rate is 100Hz for the data-fusion configurations. The AdaFruit -- breakout has an external crystal available so this rate could be higher. -- See Datasheet Table 0-2 in section 1.2, and especially Table 3-14 in -- section 3.6.3. Rates for the Compass and M4G configurations are lower. -- The procedure Configure has a parameter named Use_External_Crystal to -- control that option. type Power_Modes is (Power_Mode_Normal, Power_Mode_Lowpower, Power_Mode_Suspend); for Power_Modes use (Power_Mode_Normal => 16#00#, Power_Mode_Lowpower => 16#01#, Power_Mode_Suspend => 16#02#); -- see section 3.3 of the Datasheet type Operating_Modes is (Operating_Mode_Config, Operating_Mode_Acc_Only, Operating_Mode_Mag_Only, Operating_Mode_Gyro_Only, Operating_Mode_Acc_Mag, Operating_Mode_Acc_Gyro, Operating_Mode_Mag_Gyro, Operating_Mode_AMG, Operating_Mode_IMU, Operating_Mode_Compass, Operating_Mode_M4G, Operating_Mode_NDOF_FMC_Off, Operating_Mode_NDOF); for Operating_Modes use (Operating_Mode_Config => 16#00#, Operating_Mode_Acc_Only => 16#01#, Operating_Mode_Mag_Only => 16#02#, Operating_Mode_Gyro_Only => 16#03#, Operating_Mode_Acc_Mag => 16#04#, Operating_Mode_Acc_Gyro => 16#05#, Operating_Mode_Mag_Gyro => 16#06#, Operating_Mode_AMG => 16#07#, Operating_Mode_IMU => 16#08#, Operating_Mode_Compass => 16#09#, Operating_Mode_M4G => 16#0A#, Operating_Mode_NDOF_FMC_Off => 16#0B#, Operating_Mode_NDOF => 16#0C#); function Current_Mode (This : in out BNO055_9DOF_IMU) return Operating_Modes; -- After power up reset, returns Operating_Mode_Config procedure Configure (This : in out BNO055_9DOF_IMU; Operating_Mode : Operating_Modes := Operating_Mode_NDOF; Power_Mode : Power_Modes := Power_Mode_Normal; Use_External_Crystal : Boolean := True) with Post => Current_Mode (This) = Operating_Mode; procedure Set_Mode (This : in out BNO055_9DOF_IMU; Mode : Operating_Modes) with Post => Current_Mode (This) = Mode; type Acceleration_Units is (Meters_Second_Squared, Milligravity); -- linear and gravity vector for Acceleration_Units use (Meters_Second_Squared => 2#00000000#, Milligravity => 2#00000001#); procedure Set_Acceleration_Units (This : in out BNO055_9DOF_IMU; Units : Acceleration_Units) with Post => Selected_Acceleration_Units (This) = Units; type Angular_Rate_Units is (Degrees_Second, Radians_Second); -- for gyro for Angular_Rate_Units use (Degrees_Second => 2#00000000#, Radians_Second => 2#00000010#); procedure Set_Angular_Rate_Units (This : in out BNO055_9DOF_IMU; Units : Angular_Rate_Units); type Euler_Angle_Units is (Degrees, Radians); for Euler_Angle_Units use (Degrees => 2#00000000#, Radians => 2#00000100#); procedure Set_Euler_Angle_Units (This : in out BNO055_9DOF_IMU; Units : Euler_Angle_Units) with Post => Selected_Euler_Units (This) = Units; type Temperature_Units is (Celsius, Fahrenheit); for Temperature_Units use (Celsius => 2#00000000#, Fahrenheit => 2#00010000#); procedure Set_Temperature_Units (This : in out BNO055_9DOF_IMU; Units : Temperature_Units) with Post => Selected_Temperature_Units (This) = Units; type Pitch_Rotation_Conventions is (Clockwise_Increasing, Clockwise_Decreasing); -- See the Datasheet, Table 3-12, in section 3.6.2 "Data output format" -- in which "Android" and "Windows" are used for these possible values. -- Nobody seems to know why they are used so we give them different names. -- Clockwise_Increasing corresponds to "Windows" and Clockwise_Decreasing -- corresponds to "Android" in that table. Clockwise_Increasing is the -- default on power-up. -- -- The effect is only applied to Pitch angle values, as follows: -- Clockwise_Increasing => -180 to +180 degrees -- Clockwise_Decreasing => +180 to -180 degrees for Pitch_Rotation_Conventions use (Clockwise_Increasing => 2#00000000#, Clockwise_Decreasing => 2#10000000#); procedure Set_Pitch_Rotation (This : in out BNO055_9DOF_IMU; Convention : Pitch_Rotation_Conventions); function Selected_Euler_Units (This : in out BNO055_9DOF_IMU) return Euler_Angle_Units; function Selected_Acceleration_Units (This : in out BNO055_9DOF_IMU) return Acceleration_Units; function Selected_Temperature_Units (This : in out BNO055_9DOF_IMU) return Temperature_Units; procedure Reset (This : in out BNO055_9DOF_IMU); -- Issues a software-reset command to the device, as opposed to a -- hardware-based reset that requires a physical connection. type Revision_Information is record Accelerometer : UInt8; Magnetometer : UInt8; Gyroscope : UInt8; Software : UInt16; Bootloader : UInt8; end record; procedure Get_Revision_Info (This : in out BNO055_9DOF_IMU; Info : out Revision_Information); -- see section 4.3.58 type System_Status_Values is (Idle, System_Error, Initializing_Peripherals, System_Initalization, Executing_Self_Test, Sensor_Fusion_Algorithm_Running, System_Running_Without_Fusion_Algorithms) with Size => 8; for System_Status_Values use -- confirming (Idle => 0, System_Error => 1, Initializing_Peripherals => 2, System_Initalization => 3, Executing_Self_Test => 4, Sensor_Fusion_Algorithm_Running => 5, System_Running_Without_Fusion_Algorithms => 6); -- see section 3.8 type Self_Test_Results is record Accelerometer_Passed : Boolean; Magnetometer_Passed : Boolean; Gyroscope_Passed : Boolean; MCU_Passed : Boolean; end record with Size => 8, Alignment => 1, Bit_Order => System.Low_Order_First; for Self_Test_Results use record Accelerometer_Passed at 0 range 0 .. 0; Magnetometer_Passed at 0 range 1 .. 1; Gyroscope_Passed at 0 range 2 .. 2; MCU_Passed at 0 range 3 .. 3; end record; All_Tests_Passed : constant Self_Test_Results := (others => True); -- see section 4.3.59 type System_Error_Values is (No_Error, Peripheral_Initialization_Error, System_Initialization_Error, Self_Test_Result_Failed, Register_Map_Value_Range_Error, Register_Map_Address_Range_Error, Register_Map_Write_Error, BNO_Low_Power_Mode_Not_Available, Accelerometer_Power_Mode_Not_Available, Fusion_Algorithm_Configuration_Error, Sensor_Configuration_Error) with Size => 8; for System_Error_Values use -- confirming (No_Error => 0, Peripheral_Initialization_Error => 1, System_Initialization_Error => 2, Self_Test_Result_Failed => 3, Register_Map_Value_Range_Error => 4, Register_Map_Address_Range_Error => 5, Register_Map_Write_Error => 6, BNO_Low_Power_Mode_Not_Available => 7, Accelerometer_Power_Mode_Not_Available => 8, Fusion_Algorithm_Configuration_Error => 9, Sensor_Configuration_Error => 10); procedure Get_Status (This : in out BNO055_9DOF_IMU; System_Status : out System_Status_Values; Self_Test : out Self_Test_Results; System_Error : out System_Error_Values); subtype Calibration_Level is UInt8 range 0 .. 3; subtype Uncalibrated is Calibration_Level range 0 .. 0; subtype Partially_Calibrated is Calibration_Level range 1 .. 2; subtype Fully_Calibrated is Calibration_Level range 3 .. 3; type Calibration_States is record Platform : Calibration_Level; Gyroscope : Calibration_Level; Accelerometer : Calibration_Level; Magnetometer : Calibration_Level; end record; -- NB: The "platform" component ("system" in the Datasheet) can indicate -- that the platform is (fully) calibrated, but that does not mean that -- all sensors are individually fully calibrated. We define function -- Calibration_Complete for determining the state based on the three -- (or fewer, if so selected) sensors. function Sensor_Calibration (This : in out BNO055_9DOF_IMU) return Calibration_States; -- Note that you can select individual values if you don't want the -- full record result. For example, given an object of type BNO055_9DOF_IMU -- named "IMU" we could write any of the following: -- -- Calibration_Data : Calibration_Values := IMU.Calibration; -- or -- Gyro_Calibration : UInt8 := IMU.Calibration.Gyroscope; -- or -- if IMU.Calibration.Gyroscope in Fully_Calibrated then type Sensor_Id is (Accelerometer, Gyroscope, Magnetometer); for Sensor_Id use (Accelerometer => 0, Gyroscope => 1, Magnetometer => 2); -- confirming, but these are the required values so we make it explicit type Sensors_Selection is array (Positive range <>) of Sensor_Id; All_Sensors : constant Sensors_Selection := (Accelerometer, Magnetometer, Gyroscope); function Calibration_Complete (This : in out BNO055_9DOF_IMU; Selection : Sensors_Selection := All_Sensors) return Boolean with Pre => Selection'Length in 1 .. 3; -- Returns True iff all the selected sensors in Selection are in the -- Fully_Calibrated state. Sensors not specified are ignored. For example, -- to see if the gyroscope and magnetometer are fully configured, and -- ignore the accelerometer: -- -- IMU.Calibration_Complete ((Gyroscope, Magnetometer)); -- -- but to check all three: -- -- IMU.Calibration_Complete; type Axis is (X, Y, Z); type Sensor_Data is array (Axis) of Float; type Sensor_Data_Kinds is (Accelerometer_Data, Magnetometer_Data, Gyroscope_Data, Euler_Orientation, Linear_Acceleration_Data, Gravity_Data); function Output (This : in out BNO055_9DOF_IMU; Kind : Sensor_Data_Kinds) return Sensor_Data; -- This is one of the two primary data access functions, the other being -- function Quaternion_Orientation. type Quaternion is array (1 .. 4) of Float; -- W value is in the first indexed value -- X value is in the second indexed value -- Y value is in the third indexed value -- Z value is in the fourth indexed value -- -- We define this type here, rather than using the full Quaternions package -- and type, because this facility does not manipulate quaternions itself, -- it just provides the data. In addition, we use a numeric type for the -- index so that this type will support direct conversion to the full -- Quaternion type without requiring UC or a user-defined function. An -- enumeration type for the index would not allow direct type conversion. function Quaternion_Orientation (This : in out BNO055_9DOF_IMU) return Quaternion; subtype Temperature_Source is Sensor_Id with Static_Predicate => Temperature_Source in Accelerometer | Gyroscope; -- The magnetometer's temperature is not available, per section 3.6.5.8 -- of the Datasheet. function Sensor_Temperature (This : in out BNO055_9DOF_IMU; Source : Temperature_Source) return Integer_8; -- Returns the temperature of the selected on-board device, for the sake -- of calibrating the unit as it warms up. NB: this is NOT the ambiant air -- temperature. By default, units are Celsius. type Sensor_Offset_Values is record Accel_Offset_X : Integer_16; Accel_Offset_Y : Integer_16; Accel_Offset_Z : Integer_16; Gyro_Offset_X : Integer_16; Gyro_Offset_Y : Integer_16; Gyro_Offset_Z : Integer_16; Mag_Offset_X : Integer_16; Mag_Offset_Y : Integer_16; Mag_Offset_Z : Integer_16; Accel_Radius : Integer_16; Mag_Radius : Integer_16; end record; function Sensor_Offsets (This : in out BNO055_9DOF_IMU) return Sensor_Offset_Values with Pre => This.Calibration_Complete (All_Sensors); -- The precondition reflects the Datasheet, section 3.11.4, under the -- "Reading Calibration profile " subsection. procedure Set_Sensor_Offsets (This : in out BNO055_9DOF_IMU; Offsets : Sensor_Offset_Values); type Axis_Remapping_Selections is (Remap_To_X, Remap_To_Y, Remap_To_Z) with Size => 2; for Axis_Remapping_Selections use (Remap_To_X => 0, Remap_To_Y => 1, Remap_To_Z => 2); -- confirming type Axes_Remapping is array (Axis) of Axis_Remapping_Selections; -- see section 3.4 of the Datasheet procedure Remap_Axes (This : in out BNO055_9DOF_IMU; Map : Axes_Remapping); -- -- sample call: -- Remap_Axes (Map => (X => Remap_To_Z, Y => Remap_To_X, Z => Remap_To_Y)); type Axis_Sign_Selections is (Remap_To_Positive, Remap_To_Negative) with Size => 2; for Axis_Sign_Selections use (Remap_To_Positive => 0, Remap_To_Negative => 1); -- confirming type Axes_Sign_Remapping is array (Axis) of Axis_Sign_Selections; -- see section 3.4 of the Datasheet procedure Remap_Axes_Signs (This : in out BNO055_9DOF_IMU; Map : Axes_Sign_Remapping); private type BNO055_9DOF_IMU (Port : not null Any_IO_Port) is tagged limited record Mode : Operating_Modes := Operating_Mode_Config; end record; -- masks for unit selections with the BNO055_UNIT_SEL register Acceleration_Units_Mask : constant := 2#0000_0001#; Angular_Rate_Units_Mask : constant := 2#0000_0010#; Euler_Angle_Units_Mask : constant := 2#0000_0100#; Temperature_Units_Mask : constant := 2#0001_0000#; Pitch_Rotation_Convention_Mask : constant := 2#1000_0000#; Operating_Mode_Mask : constant := 2#00001111#; -- Page0 register definition start BNO055_CHIP_ID_ADDR : constant := 16#00#; BNO055_ACCEL_REV_ID_ADDR : constant := 16#01#; BNO055_MAG_REV_ID_ADDR : constant := 16#02#; BNO055_GYRO_REV_ID_ADDR : constant := 16#03#; BNO055_SW_REV_ID_LSB_ADDR : constant := 16#04#; BNO055_SW_REV_ID_MSB_ADDR : constant := 16#05#; BNO055_BL_REV_ID_ADDR : constant := 16#06#; -- Page id register definition BNO055_PAGE_ID_ADDR : constant := 16#07#; -- Accel data register BNO055_ACCEL_DATA_X_LSB_ADDR : constant := 16#08#; BNO055_ACCEL_DATA_X_MSB_ADDR : constant := 16#09#; BNO055_ACCEL_DATA_Y_LSB_ADDR : constant := 16#0A#; BNO055_ACCEL_DATA_Y_MSB_ADDR : constant := 16#0B#; BNO055_ACCEL_DATA_Z_LSB_ADDR : constant := 16#0C#; BNO055_ACCEL_DATA_Z_MSB_ADDR : constant := 16#0D#; -- Mag data register BNO055_MAG_DATA_X_LSB_ADDR : constant := 16#0E#; BNO055_MAG_DATA_X_MSB_ADDR : constant := 16#0F#; BNO055_MAG_DATA_Y_LSB_ADDR : constant := 16#10#; BNO055_MAG_DATA_Y_MSB_ADDR : constant := 16#11#; BNO055_MAG_DATA_Z_LSB_ADDR : constant := 16#12#; BNO055_MAG_DATA_Z_MSB_ADDR : constant := 16#13#; -- Gyro data registers BNO055_GYRO_DATA_X_LSB_ADDR : constant := 16#14#; BNO055_GYRO_DATA_X_MSB_ADDR : constant := 16#15#; BNO055_GYRO_DATA_Y_LSB_ADDR : constant := 16#16#; BNO055_GYRO_DATA_Y_MSB_ADDR : constant := 16#17#; BNO055_GYRO_DATA_Z_LSB_ADDR : constant := 16#18#; BNO055_GYRO_DATA_Z_MSB_ADDR : constant := 16#19#; -- Euler data registers BNO055_EULER_H_LSB_ADDR : constant := 16#1A#; BNO055_EULER_H_MSB_ADDR : constant := 16#1B#; BNO055_EULER_R_LSB_ADDR : constant := 16#1C#; BNO055_EULER_R_MSB_ADDR : constant := 16#1D#; BNO055_EULER_P_LSB_ADDR : constant := 16#1E#; BNO055_EULER_P_MSB_ADDR : constant := 16#1F#; -- Quaternion data registers BNO055_QUATERNION_DATA_W_LSB_ADDR : constant := 16#20#; BNO055_QUATERNION_DATA_W_MSB_ADDR : constant := 16#21#; BNO055_QUATERNION_DATA_X_LSB_ADDR : constant := 16#22#; BNO055_QUATERNION_DATA_X_MSB_ADDR : constant := 16#23#; BNO055_QUATERNION_DATA_Y_LSB_ADDR : constant := 16#24#; BNO055_QUATERNION_DATA_Y_MSB_ADDR : constant := 16#25#; BNO055_QUATERNION_DATA_Z_LSB_ADDR : constant := 16#26#; BNO055_QUATERNION_DATA_Z_MSB_ADDR : constant := 16#27#; -- Linear acceleration data registers BNO055_LINEAR_ACCEL_DATA_X_LSB_ADDR : constant := 16#28#; BNO055_LINEAR_ACCEL_DATA_X_MSB_ADDR : constant := 16#29#; BNO055_LINEAR_ACCEL_DATA_Y_LSB_ADDR : constant := 16#2A#; BNO055_LINEAR_ACCEL_DATA_Y_MSB_ADDR : constant := 16#2B#; BNO055_LINEAR_ACCEL_DATA_Z_LSB_ADDR : constant := 16#2C#; BNO055_LINEAR_ACCEL_DATA_Z_MSB_ADDR : constant := 16#2D#; -- Gravity data registers BNO055_GRAVITY_DATA_X_LSB_ADDR : constant := 16#2E#; BNO055_GRAVITY_DATA_X_MSB_ADDR : constant := 16#2F#; BNO055_GRAVITY_DATA_Y_LSB_ADDR : constant := 16#30#; BNO055_GRAVITY_DATA_Y_MSB_ADDR : constant := 16#31#; BNO055_GRAVITY_DATA_Z_LSB_ADDR : constant := 16#32#; BNO055_GRAVITY_DATA_Z_MSB_ADDR : constant := 16#33#; -- Temperature data register BNO055_TEMP_ADDR : constant := 16#34#; -- Status registers BNO055_CALIB_STAT_ADDR : constant := 16#35#; BNO055_SELFTEST_RESULT_ADDR : constant := 16#36#; BNO055_INTR_STAT_ADDR : constant := 16#37#; BNO055_SYS_CLK_STAT_ADDR : constant := 16#38#; BNO055_SYS_STAT_ADDR : constant := 16#39#; BNO055_SYS_ERR_ADDR : constant := 16#3A#; -- Unit selection register BNO055_UNIT_SEL_ADDR : constant := 16#3B#; BNO055_DATA_SELECT_ADDR : constant := 16#3C#; -- Mode registers BNO055_OPR_MODE_ADDR : constant := 16#3D#; BNO055_PWR_MODE_ADDR : constant := 16#3E#; BNO055_SYS_TRIGGER_ADDR : constant := 16#3F#; BNO055_TEMP_SOURCE_ADDR : constant := 16#40#; -- Axis remap registers BNO055_AXIS_MAP_CONFIG_ADDR : constant := 16#41#; BNO055_AXIS_MAP_SIGN_ADDR : constant := 16#42#; -- SIC registers BNO055_SIC_MATRIX_0_LSB_ADDR : constant := 16#43#; BNO055_SIC_MATRIX_0_MSB_ADDR : constant := 16#44#; BNO055_SIC_MATRIX_1_LSB_ADDR : constant := 16#45#; BNO055_SIC_MATRIX_1_MSB_ADDR : constant := 16#46#; BNO055_SIC_MATRIX_2_LSB_ADDR : constant := 16#47#; BNO055_SIC_MATRIX_2_MSB_ADDR : constant := 16#48#; BNO055_SIC_MATRIX_3_LSB_ADDR : constant := 16#49#; BNO055_SIC_MATRIX_3_MSB_ADDR : constant := 16#4A#; BNO055_SIC_MATRIX_4_LSB_ADDR : constant := 16#4B#; BNO055_SIC_MATRIX_4_MSB_ADDR : constant := 16#4C#; BNO055_SIC_MATRIX_5_LSB_ADDR : constant := 16#4D#; BNO055_SIC_MATRIX_5_MSB_ADDR : constant := 16#4E#; BNO055_SIC_MATRIX_6_LSB_ADDR : constant := 16#4F#; BNO055_SIC_MATRIX_6_MSB_ADDR : constant := 16#50#; BNO055_SIC_MATRIX_7_LSB_ADDR : constant := 16#51#; BNO055_SIC_MATRIX_7_MSB_ADDR : constant := 16#52#; BNO055_SIC_MATRIX_8_LSB_ADDR : constant := 16#53#; BNO055_SIC_MATRIX_8_MSB_ADDR : constant := 16#54#; -- Accelerometer Offset registers ACCEL_OFFSET_X_LSB_ADDR : constant := 16#55#; ACCEL_OFFSET_X_MSB_ADDR : constant := 16#56#; ACCEL_OFFSET_Y_LSB_ADDR : constant := 16#57#; ACCEL_OFFSET_Y_MSB_ADDR : constant := 16#58#; ACCEL_OFFSET_Z_LSB_ADDR : constant := 16#59#; ACCEL_OFFSET_Z_MSB_ADDR : constant := 16#5A#; -- Magnetometer Offset registers MAG_OFFSET_X_LSB_ADDR : constant := 16#5B#; MAG_OFFSET_X_MSB_ADDR : constant := 16#5C#; MAG_OFFSET_Y_LSB_ADDR : constant := 16#5D#; MAG_OFFSET_Y_MSB_ADDR : constant := 16#5E#; MAG_OFFSET_Z_LSB_ADDR : constant := 16#5F#; MAG_OFFSET_Z_MSB_ADDR : constant := 16#60#; -- Gyroscope Offset registers GYRO_OFFSET_X_LSB_ADDR : constant := 16#61#; GYRO_OFFSET_X_MSB_ADDR : constant := 16#62#; GYRO_OFFSET_Y_LSB_ADDR : constant := 16#63#; GYRO_OFFSET_Y_MSB_ADDR : constant := 16#64#; GYRO_OFFSET_Z_LSB_ADDR : constant := 16#65#; GYRO_OFFSET_Z_MSB_ADDR : constant := 16#66#; -- Radius registers ACCEL_RADIUS_LSB_ADDR : constant := 16#67#; ACCEL_RADIUS_MSB_ADDR : constant := 16#68#; MAG_RADIUS_LSB_ADDR : constant := 16#69#; MAG_RADIUS_MSB_ADDR : constant := 16#6A#; end Bosch_BNO055;
src/Ch1-5.agda
banacorn/hott
0
6837
{-# OPTIONS --without-K #-} module Ch1-5 where open import Data.Product open import Ch2-1 uniq : ∀ {a b} {A : Set a} {B : Set b} → (x : A × B) → ((proj₁ x , proj₂ x) ≡ x) uniq (fst , snd) = refl ind : ∀ {a b c} {A : Set a} {B : Set b} → (C : A × B → Set c) → ((x : A) → (y : B) → C (x , y)) → (p : A × B) → C p ind C c (fst , snd) = c fst snd -- Definition 1.5.2 Definition-1-5-2 : ∀ {a b c} {A : Set a} {B : Set b} → (C : Set c) → (f : A → B → C) → A × B → C Definition-1-5-2 {_} {_} {_} {A} {B} C f (fst , snd) = f fst snd
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_415.asm
ljhsiun2/medusa
9
86834
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x5dc3, %rsi lea addresses_UC_ht+0x2b89, %rdi nop sub %r14, %r14 mov $34, %rcx rep movsq nop nop nop cmp $23534, %rdx lea addresses_WT_ht+0x122b9, %r15 nop nop nop nop and %r9, %r9 mov (%r15), %rsi nop dec %rsi lea addresses_D_ht+0x6f39, %rsi lea addresses_WC_ht+0x11db9, %rdi clflush (%rsi) clflush (%rdi) nop nop nop cmp %r14, %r14 mov $108, %rcx rep movsq nop nop nop nop dec %rdi lea addresses_WT_ht+0x153d9, %r9 nop nop nop nop nop inc %r15 mov $0x6162636465666768, %rdx movq %rdx, %xmm0 vmovups %ymm0, (%r9) nop nop cmp %r9, %r9 lea addresses_D_ht+0x1b39, %rsi lea addresses_UC_ht+0x17f69, %rdi nop sub %r9, %r9 mov $63, %rcx rep movsl nop nop nop nop nop add $49854, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %r9 pop %r15 pop %r14 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r13 push %r14 push %r15 push %r9 // Store lea addresses_A+0x19279, %r10 nop nop nop nop nop add $8367, %r13 movb $0x51, (%r10) nop nop nop add %r9, %r9 // Load lea addresses_normal+0x12cb9, %r12 nop nop nop nop dec %r14 and $0xffffffffffffffc0, %r12 movaps (%r12), %xmm7 vpextrq $1, %xmm7, %r9 and $13126, %r10 // Load lea addresses_normal+0x17ab9, %r14 nop nop nop sub %r12, %r12 mov (%r14), %r9w nop nop dec %r13 // Load lea addresses_A+0x2955, %r15 nop xor %r11, %r11 vmovups (%r15), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $1, %xmm3, %r13 nop nop inc %r12 // Store lea addresses_WC+0x170b9, %r11 nop nop nop sub %r14, %r14 mov $0x5152535455565758, %r15 movq %r15, (%r11) xor %r11, %r11 // Store lea addresses_PSE+0x5599, %r10 cmp $35672, %r12 mov $0x5152535455565758, %r13 movq %r13, %xmm0 movups %xmm0, (%r10) nop nop add $15550, %r14 // Faulty Load lea addresses_RW+0xbab9, %r15 nop nop nop and %r14, %r14 vmovups (%r15), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $1, %xmm7, %r13 lea oracles, %r11 and $0xff, %r13 shlq $12, %r13 mov (%r11,%r13,1), %r13 pop %r9 pop %r15 pop %r14 pop %r13 pop %r12 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_RW', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 1, 'type': 'addresses_A', 'congruent': 4}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': True, 'size': 16, 'type': 'addresses_normal', 'congruent': 9}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_normal', 'congruent': 11}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_A', 'congruent': 1}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WC', 'congruent': 8}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_PSE', 'congruent': 5}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_RW', 'congruent': 0}} <gen_prepare_buffer> {'dst': {'same': False, 'congruent': 3, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_UC_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': True, 'size': 8, 'type': 'addresses_WT_ht', 'congruent': 9}} {'dst': {'same': False, 'congruent': 5, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_D_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_WT_ht', 'congruent': 4}, 'OP': 'STOR'} {'dst': {'same': False, 'congruent': 4, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_D_ht'}} {'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 */
parser/SimpleAsm.g4
mulderp/plutoasm
0
6476
<reponame>mulderp/plutoasm<filename>parser/SimpleAsm.g4 /** * grammar for simpleAsm */ grammar SimpleAsm; @header { package antlrparser; // PARSER_VERSION = "0.2"; } /** A rule called init that matches comma-separated values between {...}. */ init : stmt* ; stmt : segmentStmt | dataDecl | numberList ; segmentStmt : TEXTS | DATAS ; dataDecl : label TYPE numberList ; label : ALPHA ':' ; numberList : value (',' value)* ; // must match at least one value /** A value can be either a nested array/struct or a simple integer (INT) */ value : INT ; // parser rules start with lowercase letters, lexer rules with uppercase INT : [0-9]+ ; // Define token INT as one or more digits ALPHA: [a-zA-Z]+ ; TYPE : '.word' ; WS : [ \t\r\n]+ -> skip ; // Define whitespace rule, toss it out TEXTS : '.text' ; DATAS : '.data' ;
programs/oeis/024/A024080.asm
karttu/loda
1
160691
<filename>programs/oeis/024/A024080.asm ; A024080: a(n) = 7^n - n^5. ; 1,6,17,100,1377,13682,109873,806736,5732033,40294558,282375249,1977165692,13841038369,96888639114,678222535025,4747560750568,33232929521025,232630512567350,1628413596020881,11398895182897044 mov $2,$0 pow $0,5 mov $1,7 pow $1,$2 sub $1,$0
tools/asm/src/mrboom.asm
SimpleTease2/mrboom-libretro
0
175603
<gh_stars>0 ; _________ _________ _________ _________ _________ _________ ; ___\______ /___\____ /_____\____ /___\_____ /___\_____ /___\______ /___ ; \_ | | _ |_____/\_ ____ _ |/ _ |/ _ | | _/ ; |___|___|___|_____| sns |___________|___________|___________|___|___|___| ;==[mr.boom 3.0]=====================================================[1997-99]= ; ? tapis roulants nivo 1 ; ? fleches sur le sol pour les bombes kon pousse %MACS ;NB_JOUEURS_MIN EQU 1 duree_saut EQU 64 duree_mort EQU 32 ;ttp EQU 4000 ;emps avant le mode demo (touches pressees ...) ;ttp EQU 40 ;emps avant le mode demo (touches pressees ...) ttp2 EQU 180 ;temps avant le mode demo (pas de touches pressees) TRICHE EQU 0 ;faire des apocalypse differentes ;version_du_jeu EQU 00110000B ;10110000B nombre_de_vbl_avant_le_droit_de_poser_bombe2 EQU 60*2 invisibilite_totale EQU 100 ;nombre de résistance apres un choc. invinsibilite_bonus equ 750 ;nombre vbl de mégaforce apres manger bonus... duree_match EQU 512 ;001000000000B ;2 minutes duree_match2 EQU 48 ; 000000110000B ;30 secondes duree_match4 EQU 512 ;001000000000B ;2 minutes duree_match3 EQU 256 ;000100000000B ;1 minutes duree_match5 EQU 304 ; 000100110000B ;1 minutes 30 ;+duree_match EQU 512 ;001000000000B ;2 minutes^M ;+duree_match2 EQU 48 ; 000000110000B ;30 secondes^M ;+duree_match4 EQU 512 ;001000000000B ;2 minutes^M ;+duree_match3 EQU 256 ;000100000000B ;1 minutes^M ;+duree_match5 EQU 304 ; 000100110000B ;1 minutes 30^M ;010011B ;001100000000B time_bouboule equ 5 ;temps pour rotation boules menu pic_max equ 420 ;durée attente sur gfx de zaac duree_conta EQU 0800 ;nombre de vbl pour une contamination. duree_draw2 EQU 500 ;durée du draw game duree_med2 EQU 1200 ;durée du med cere ;10 secondes... duree_vic2 EQU 1200 ;durée du vic cere attente_avant_draw2 equ 100 attente_avant_med2 equ 100 temps_re_menu equ 15 resistance_au_debut_pour_un_dyna equ 0 ;----- pour les joueurs... info1 equ 1 info2 equ 1 info3 equ 210 info4 equ 3 ;1,2,3 (normal),4:double... ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé ; PMODE/W Assembly Example File #1 ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé .386p ; ;extrn ExitProcess : PROC ;procedure to shut down a process ; ;extrn ShowWindow : PROC ;extrn GetModuleHandleA: PROC ;extrn GetForegroundWindow : PROC ;extrn ExitProcess : PROC ;procedure to shut down a process ;extrn GetForegroundWindow : PROC ;extrn SendMessageA : PROC ;extrn IsZoomed : PROC ;extrn ShowWindow : PROC vbl MACRO local avbl1 local avbl2 inc dword ptr [changement] mov dx,3dah avbl1: in al,dx test al,8 jne avbl1 avbl2: in al,dx test al,8 je avbl2 xor eax,eax xor edx,edx ENDM BIGENDIANPATCH MACRO a local blablablatoto cmp isbigendian,1 jne blablablatoto mov bigendianin,a push eax mov al,byte ptr [bigendianin] mov byte ptr [bigendianout+3],al mov al,byte ptr [bigendianin+1] mov byte ptr [bigendianout+2],al mov al,byte ptr [bigendianin+2] mov byte ptr [bigendianout+1],al mov al,byte ptr [bigendianin+3] mov byte ptr [bigendianout+0],al pop eax mov a,bigendianout blablablatoto: ENDM PUSHALL MACRO ; Pushes all registers onto stack = 18c PUSHAD PUSH DS ES ENDM POPALL MACRO ; Pops all registers from stack = 18c POP ES DS POPAD ENDM actionButtonPushed2 MACRO a local ok cmp byte ptr [total_t+ebx+4],1 je ok cmp byte ptr [total_t+ebx+5],1 je ok cmp byte ptr [total_t+ebx+6],1 je ok jmp a ok: endm actionButtonPushed MACRO a local ok cmp byte ptr [esi+4],1 je ok cmp byte ptr [esi+5],1 je ok cmp byte ptr [esi+6],1 je ok jmp a ok: endm _TEXT segment use32 dword public 'CODE' ;IGNORE assume cs:_TEXT,ds:_DATA start: ;IGNORE jmp _main db ' <NAME> ' ; The "WATCOM" string is needed in ; order to run under DOS/4G and WD. ;E db 'envois !!!',10,13,'$' ;a db 'attend... !!!',10,13,'$' get_all_infos3 MACRO local donoterasekeyslabel cmp taille_exe_gonfle,0 je donoterasekeyslabel PUSHALL ;------------- ;ordy local... push ds pop es mov esi,offset donnee2 mov edi,offset total_t mov ecx,touches_size rep movsb POPALL donoterasekeyslabel: ENDM get_all_infos2 MACRO local donoterasekeyslabel cmp taille_exe_gonfle,0 je donoterasekeyslabel PUSHALL ;------------- ;ordy local... push ds pop es mov esi,offset donnee2 mov edi,offset total_t mov ecx,touches_size rep movsb ;------------------ ;edi est bien placé... POPALL donoterasekeyslabel: ENDM num proc near ;entree eax:juska 9999999999 push dx esi push ebx eax ecx ;mov eax,0543212345 mov ebx,eax mov esi,offset liste_de_machin mov ecx,[esi] errrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr: mov ax,0 rrtetrertertretertterert: cmp ebx,ecx ;10000 jb reerrereerret sub ebx,ecx ;10000 inc ax jmp rrtetrertertretertterert reerrereerret: ;affchiffre push ax push dx add al,48 mov dl,al mov ah,2 int 21h pop ax pop dx add esi,4 mov ecx,[esi] or ecx,ecx jz reererreer jmp errrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr reererreer: mov dl,' ' mov ah,2 int 21h pop ecx eax ebx pop esi dx ret endp ; ;----- aff hexa. ;notreadresse db 4 dup (0FFh) ;netadd ; db 6 dup (0FFh) ;nodeadd ; dw 0FFFFh ;sockette... aff_adresse proc near ; ds:si sur adresse push ds es Pushad mov cx,10 dds: call hexa cmp cx,1 je ertertertertert mov dl,'.' cmp cx,9 jne reterertert mov dl,' ' reterertert: cmp cx,3 jne reterertertu mov dl,' ' reterertertu: mov ah,2 int 21h loop dds ertertertertert: mov dl,10 mov ah,2 int 21h mov dl,13 mov ah,2 int 21h popad pop es ds ret aff_adresse endp hexa proc near ; ds:si sur variable xor ax,ax lodsb push ax shr ax,4 movzx ebx,ax mov dl,cs:[trucs+ebx] mov ah,2 int 21h pop ax and al,01111B movzx ebx,ax mov dl,cs:[trucs+ebx] mov ah,2 int 21h ret hexa endp printeax proc near ;----------------------- ; convert the value in EAX to hexadecimal ASCIIs ;----------------------- mov edi,OFFSET ASCII ; get the offset address mov cl,8 ; number of ASCII P1: rol eax,4 ; 1 Nibble (start with highest byte) mov bl,al and bl,0Fh ; only low-Nibble add bl,30h ; convert to ASCII cmp bl,39h ; above 9? jna short P2 add bl,7 ; "A" to "F" P2: mov [edi],bl ; store ASCII in buffer inc edi ; increase target address dec cl ; decrease loop counter jnz P1 ; jump if cl is not equal 0 (zeroflag is not set) ;----------------------- ; Print string ;----------------------- mov edx,OFFSET ASCII ; DOS 1+ WRITE STRING TO STANDARD OUTPUT mov ah,9 ; DS:DX->'$'-terminated string int 21h ; maybe redirected under DOS 2+ for output to file ; (using pipe character">") or output to printer ret endp last_color proc near PUSHALL ;------------ ;dans BX: la couleur k'on veut !!! ;mov bl,0100B ;rouge ;mov bh,10000000B ;indique clignotement push bx ;mov ax,0b800h ;mov es,ax ;mov ds,ax push ds pop es mov edi,0b8000h mov esi,0b8000h ;xor di,di ;xor si,si ;----- mov ah,03h mov bh,0 int 10h ;dans dh ligne du curseur dec dh ; car toujours > 1 vu k'on balance apres avoir afficvhé ;movzx edx,dh ;*128 shr dx,8 and edx,255 mov eax,edx shl edx,7 shl eax,5 add edx,eax add esi,edx add edi,edx mov cx,80 pop bx nooon: inc edi inc esi lodsb or al,bh and al,11110000B or al,bl stosb dec cx jne nooon ;--------------------------------- POPALL ret last_color endp ;sortie: ebx entree ebp... direction_du_joueur MACRO a local trrtertyrtytyrtyrrtyRz local trrtertyrtytyrtyrrtyRzt local ytrrtertyrtytyrtyrrtyy local ytrrtertyrtytyrtyrrtyRy push eax xor ebx,ebx mov eax,[touches+ebp] and eax,127 cmp eax,16 jne trrtertyrtytyrtyrrtyRz mov ebx,-1*a trrtertyrtytyrtyrrtyRz: cmp eax,8 jne trrtertyrtytyrtyrrtyRzt mov ebx,1*a trrtertyrtytyrtyrrtyRzt: cmp eax,00 jne ytrrtertyrtytyrtyrrtyy mov ebx,32*a ytrrtertyrtytyrtyrrtyy: cmp eax,24 jne ytrrtertyrtytyrtyrrtyRy mov ebx,-32*a ytrrtertyrtytyrtyrrtyRy: pop eax ENDM ;esi: endroit ou on pose la bombe... ;edi: infojoueur du dyna pose_une_bombe MACRO local vania local ttyrrtyrtyrtyrtytyrrtyrtyyrtrty local erertertrteterert local nononono_onest_en_recordplay mov byte ptr [esi],1 ;utilise Esi par rapport a truc2 pour gauche/droite. bruit2 11,34 ;,BLOW_WHAT2 ;bruit de kan on pose une bombe ;"hazard" pour ke les bombes soit pas toutes pareille lors du tri bombe push eax mov eax,dword ptr [edi] ;nombre de bombes k'on peut encore poser... and eax,011B add byte ptr [esi],al pop eax ;--------------- dec dword ptr [edi] ;nombre de bombes k'on peut encore poser... ;donnee dw 20,20,277,277,150,200,250,280 ;x du dynablaster ; dw 9,170,9,170,78,98,98,10 ;y du dynablaster ;liste_bombe dd 0 ; nombre de bombes... ; dd 247 dup (0,0,0,0) ;1er: offset de l'infojoeur ;2eme: nombre de tours avant que ca PETE !!! ;3eme:distance par rapport au debut de truc2 ;4eme puissance de la bombe. + retardee ou non ;mov ebx,[liste_bombe] ;shl ebx,4 ;*16 ;recherche la premiere place de libre !!! xor ebx,ebx ttyrrtyrtyrtyrtytyrrtyrtyyrtrty: cmp dword ptr [liste_bombe+ebx+4+1*4],0 ;indique emplacement non remplis !!! je erertertrteterert add ebx,taille_dune_info_bombe jmp ttyrrtyrtyrtyrtytyrrtyrtyyrtrty erertertrteterert: mov edx,dword ptr [edi+4] ;récupere la puissance de la bombe dans ;l'info du joueur... mov ecx,dword ptr [edi+8] ;récupere la taille de la meiche de la ;bombe dans l'info du joueur... ;mov [nomonster],1 cmp action_replay,0 jne nononono_onest_en_recordplay cmp twice,1 jne nononono_onest_en_recordplay shr ecx,1 nononono_onest_en_recordplay: mov [liste_bombe+ebx+4+2*4],eax ;distance par rapport au debut de truc2 mov word ptr [liste_bombe+ebx+4+3*4],dx ;puissance de la bombe. ;------------------------------------ mouvement de la bombe ;truc_X db 32*0,0,0,0,0,0,0,0,0,0,0,0,0 ;+ ou -... ;truc_Y db 32*0,0,0,0,0,0,0,0,0,0,0,0,0 mov byte ptr [truc_X+eax],0 mov byte ptr [truc_Y+eax],0 mov word ptr [liste_bombe+ebx+4+4*4],0 ;!!!!!!!!!1 ;adder X automatique. mov word ptr [liste_bombe+ebx+4+4*4+2],0 mov word ptr [liste_bombe+ebx+4+5*4],0 ;adder X mov word ptr [liste_bombe+ebx+4+5*4+2],0 ;adder Y ;------------------------------------------------- push ebx mov ebx,[infojoueur+ebp] ;uniquement s'il y a droit... mov edx,dword ptr [ebx+4*4] pop ebx ;---- maladie de la bonbinette ??? cmp word ptr [maladie+ebp],6 ;malade ??? (en general) jne vania mov word ptr [liste_bombe+ebx+4+3*4],1 ;puissance de la bombe. vania: ;------ mov word ptr [liste_bombe+ebx+4+3*4+2],dx ;bombe a retardement ou pas ??? mov [liste_bombe+ebx+4+1*4],ecx ;nombre de tours avant que ca PETE !!! mov [liste_bombe+ebx+4+0*4],edi ;offset de l'infojoeur inc dword ptr [liste_bombe] mov [tribombe2+ebp],0 ENDM lapinomb MACRO a local nooooiii local nooooiii2 local nan_prend_pas_lombre cmp word ptr [donnee4+4+ebx],-1 je nooooiii2 push ecx ebx mov ecx,edi add ecx,ecx mov ebx,[kel_ombre] shr ebx,cl and ebx,1111B jz nan_prend_pas_lombre cmp ebx,3 ja nan_prend_pas_lombre pop ebx ecx ;ombres dw 8 dup (0) ;mov ax,[ombres+edi] ;push ecx ebx ;sub ecx mov a,[ombres+edi] add a,8*320 jmp nooooiii nan_prend_pas_lombre: pop ebx ecx nooooiii: ;ca c pour lordre daffichage, pour pas ke 2 dyna se croisent de maniere bizarre add a,bx add a,bx add a,bx nooooiii2: ENDM poussage MACRO ou,xy_adder,xy_x32 local pas_changement_case local pas_ca___ local stooppppes local continue_lme_train_train local stooppppes_pas local ya_une_bombe_stope_ou_explose local ttyrrtyrtyrtyrtytyrrtyrtyyrtrty local nan_pas_de_bombe_ayant_squatte_entre_temps local erertertrteterert local fait_pas_peter local tantpis local nanana local reterertertertertterertert push ebx eax xor eax,eax cmp word ptr [liste_bombe+ebp+4+4*4+xy_adder],ou ;adder X automatique. jne pas_ca___ ;************* _il ya a donc une force ki nous pousser a pousser ********* mov ebx,[liste_bombe+ebp+4+2*4] ;offset dans truc cmp word ptr [liste_bombe+ebp+4+5*4+xy_adder],0 ; on est au milieu ??? ; changement possible jne continue_lme_train_train ; cmp byte ptr [truc+ebx+(ou*xy_x32)],66 ;ya du dur rebondissant a cote ? jne reterertertertertterertert neg word ptr [liste_bombe+ebp+4+4*4+xy_adder] bruit2b 3,45 jmp continue_lme_train_train reterertertertertterertert: cmp byte ptr [truc+ebx+(ou*xy_x32)],0 ;ya du dur a cote ? jne stooppppes cmp byte ptr [truc_monstre+ebx],'' ;stoppe si on est sur un dyna/monstre.. je stooppppes cmp byte ptr [truc2+ebx+(ou*xy_x32)],0 ;ya du dur a cote ? je stooppppes_pas cmp byte ptr [truc2+ebx+(ou*xy_x32)],5 ;ya du dur a cote ? jb ya_une_bombe_stope_ou_explose cmp byte ptr [truc2+ebx+(ou*xy_x32)],54 ;ya du dur a cote ? ja stooppppes stooppppes_pas: jmp continue_lme_train_train ya_une_bombe_stope_ou_explose: ;***************** CHOC EVENTUEL AVEC UNE BOMBE 50% ****************************** ;---------- recherche la bombe... pour la faire eventuellement peter. ;fait un diiiing (chok entre deux bombes) ;bruit3 6 30 BLOW_WHAT2 push esi ebx mov esi,ebx add esi,ou*xy_x32 xor ebx,ebx ttyrrtyrtyrtyrtytyrrtyrtyyrtrty: cmp dword ptr [liste_bombe+ebx+4+2*4],esi ;regarde si ya une bombe a cet endroit je erertertrteterert add ebx,taille_dune_info_bombe jmp ttyrrtyrtyrtyrtytyrrtyrtyyrtrty erertertrteterert: ;fait peter ke si elle bouge... cmp word ptr [liste_bombe+ebx+4+4*4],0 jne tantpis cmp word ptr [liste_bombe+ebx+4+4*4+2],0 je fait_pas_peter tantpis: mov dword ptr [liste_bombe+ebx+4+1*4],1 ;fait peter la bombe... mov word ptr [liste_bombe+ebx+4+4*3+2],0 ;(la rend la bombe normalle. au cas ou) pop ebx esi jmp stooppppes fait_pas_peter: ;---------------------------------------------------------- pop ebx esi ;jmp continue_lme_train_train ;------------------------------- stooppppes: mov word ptr [liste_bombe+ebp+4+4*4+xy_adder],0 ;adder X automatique. ;bruit2b 2 40 bruit2 0 40 jmp pas_ca___ continue_lme_train_train: ;------------ rien ne peu nous arreter: on pousse. add word ptr [liste_bombe+ebp+4+5*4+xy_adder],ou ;ax ;adder X cmp word ptr [liste_bombe+ebp+4+5*4+xy_adder],8*(ou) ;on a change de case !!! jne pas_changement_case ;--- cas particulier des 50% de bombes restantexs non detectees. ; (forcement en deplacement celles la.) ; (peut aussi etre un bonus, une flamme; un espoir. euh non, pas despoir) cmp [truc2+ebx+(ou*xy_x32)],0 je nan_pas_de_bombe_ayant_squatte_entre_temps sub word ptr [liste_bombe+ebp+4+5*4+xy_adder],ou mov dword ptr [liste_bombe+ebp+4+1*4],1 ;fait peter la bombe... mov word ptr [liste_bombe+ebp+4+4*3+2],0 ;(la rend la bombe normalle. au cas ou) jmp stooppppes ;remonte... nan_pas_de_bombe_ayant_squatte_entre_temps: ;------------------------------------------- mov word ptr [liste_bombe+ebp+4+5*4+xy_adder],-8*(ou) mov al,byte ptr [truc2+ebx] mov byte ptr [truc2+ebx],0 add ebx,ou*xy_x32 add dword ptr [liste_bombe+ebp+4+2*4],ou*xy_x32 mov byte ptr [truc2+ebx],al pas_changement_case: ;validation du nouveau X/Y.... mov ax,word ptr [liste_bombe+ebp+4+5*4+xy_adder] mov ebx,[liste_bombe+ebp+4+2*4] mov byte ptr [truc_X+ebx],0 mov byte ptr [truc_Y+ebx],0 mov byte ptr [truc_X+ebx+(13*16*xy_adder)],al pas_ca___: pop eax ebx ENDM ;viseur esi-1 sur TRUC. colle_un_bonus MACRO viseur_hazard_bonus,hazard_bonus,correspondance_bonus local uihuiuihhuiouiohuihuiorteerrty local reertertert local pas_rec local pas_rect local drtytyrrtyrteterertert local drtytyrrtyrteterertert2 ;------------- ne pose pas de bonus sur une bombe non explosee cmp byte ptr [esi-1+32*13],0 je drtytyrrtyrteterertert2 cmp byte ptr [esi-1+32*13],5 jb drtytyrrtyrteterertert drtytyrrtyrteterertert2: ;-------------------------------------------------- ;local rteterertert ;-------------- met ou du vide ou un bonus... ;hazard_bonus db 54,0,54,0,54,0,54,0,0,0,54,0 ;viseur_hazard_bonus dd 0 push eax push esi inc [viseur_hazard_bonus] mov esi,offset hazard_bonus mov eax,[changement] ;renegade and eax,000000011B add esi,eax add esi,[viseur_hazard_bonus] cmp esi,offset viseur_hazard_bonus jb reertertert mov [viseur_hazard_bonus],0 mov esi,offset hazard_bonus mov eax,[changement] and eax,000000011B add esi,eax reertertert: mov al,[esi] pop esi ;or al,al ;jz rteterertert push ebx xor ebx,ebx mov bl,al mov al,[correspondance_bonus+ebx] ;********************** TRAFFIC POUR PLAY !!! ********* cmp action_replay,2 ;play jne pas_rect push ebx ;STRUTURE DE REC: xor ebx,ebx ;mov bl,byte ptr fs:[1966080+TAILLE_HEADER_REC] ;mov byte ptr al,fs:[1966080+TAILLE_HEADER_REC+ebx] ;inc byte ptr fs:[1966080+TAILLE_HEADER_REC] push esi mov esi,replayer_saver4 mov bl,replayer_saver5 ;byte ptr fs:[esi+TAILLE_HEADER_REC] mov byte ptr al,fs:[esi+TAILLE_HEADER_REC+ebx] inc replayer_saver5 ;byte ptr fs:[esi+TAILLE_HEADER_REC] pop esi pop ebx pas_rect: ;************************************************** ;;cas particulier: terrain6 plus apres lapocalypse, pas de bonus cmp special_nivo_6,0 jz uihuiuihhuiouiohuihuiorteerrty xor al,al uihuiuihhuiouiohuihuiorteerrty: ;--------------- mov byte ptr [esi-1+32*13],al ;54 pop ebx pop eax drtytyrrtyrteterertert: ENDM resistance MACRO saut,monstre_ou_pas local finito_baby local erterdynanormalito local passaut2 cmp [invinsible+ebp],0 ;flamme ? sauf si on est en invinsible apres un coups... jne saut ;évite la mort de justesse... cmp [lapipipino+ebp],0 ;lapin ? je erterdynanormalito cmp [lapipipino2+ebp],0 ;lapin qui saute ? je passaut2 cmp [lapipipino5+ebp],0 ;hauteur du saut jne saut passaut2: ;tue le lapin... bruit3 12,34,BLOW_WHAT2 ;bruit de kan on pose une bombe mov [lapipipino2+ebp],3 ;mort du lapin mov [lapipipino3+ebp],duree_mort erterdynanormalito: ;--- rend normalles toutes ses bombes ;--- qui etaient a retardement. et retire son pouvoir.. push ebx mov ebx,[infojoueur+ebp] mov dword ptr [ebx+4*4],0 ;retire pouvoir call nike_toutes_ses_bombes pop ebx ;--------------------- ;**décrémente le nombre de coups k'on peut prendre *** cmp [nombre_de_coups+ebp],0 je finito_baby dec dword ptr [nombre_de_coups+ebp] mov [invinsible+ebp],invisibilite_totale ;---- retire le pouvoir de pousser (and car on le retire pas pour les monstres) and dword ptr [pousseur+ebp],monstre_ou_pas ;retire les patins a roulette mov dword ptr [patineur+ebp],0 ;retire le tribombe mov dword ptr [tribombe+ebp],0 jmp saut finito_baby: ENDM aff_spt666 MACRO lignes,colonnes local yuertertertrteerti local yuconcerti local yuertertertrtei mov ecx,lignes yuertertertrteerti: mov ebx,colonnes yuconcerti: movsb dec ebx jnz yuconcerti add edi,320-colonnes add esi,320-colonnes dec ecx jnz yuertertertrteerti ENDM aff_spt2 MACRO lignes,colonnes,a local yuertertertrteerti local yuconcerti local yuertertertrteiE local yuertertertrtei local rtrtyrtyrtyrtyrtyrtyrty mov ecx,lignes yuertertertrteerti: mov ebx,colonnes yuconcerti: lodsb or al,al jz rtrtyrtyrtyrtyrtyrtyrty cmp al,1 je yuertertertrtei cmp al,156 je yuertertertrteiE mov byte ptr es:[edi],al jmp rtrtyrtyrtyrtyrtyrtyrty yuertertertrteiE: push ebx xor ebx,ebx mov bl,es:[edi] mov al,es:[couleurssss+ebx] add al,93 ;! mov byte ptr es:[edi],al pop ebx jmp rtrtyrtyrtyrtyrtyrtyrty yuertertertrtei: push ebx xor ebx,ebx mov bl,es:[edi] mov al,es:[couleurssss+ebx] add al,a mov byte ptr es:[edi],al pop ebx rtrtyrtyrtyrtyrtyrtyrty: inc edi dec ebx jnz yuconcerti add edi,320-colonnes add esi,320-colonnes dec ecx jnz yuertertertrteerti ENDM return_presse MACRO e,machin local retertertertertetrtrertertert local erterertertert PUSHALL mov ecx,[nb_ordy_connected] inc ecx ;nombre d'ordy en tout... mov esi,offset total_t ;control_joueur dd 8 dup (?) ;-1,6,32,32+6,-1,-1,-1,-1 retertertertertetrtrertertert: cmp byte ptr [esi+7*8],1 jne erterertertert cmp [nombre_de_dyna],2 ;uniquement s'il y a au moins 2 dyna... jb erterertertert mov byte ptr [e],machin erterertertert: add esi,64 dec ecx jnz retertertertertetrtrertertert POPALL ENDM touche_pressedd MACRO e,machin local retertertertertetrtrertertert local erterertertert PUSHALL mov ecx,[nb_ordy_connected] inc ecx ;nombre d'ordy en tout... mov esi,offset total_t ;control_joueur dd 8 dup (?) ;-1,6,32,32+6,-1,-1,-1,-1 retertertertertetrtrertertert: cmp byte ptr [esi+7*8+2],1 jne erterertertert push eax mov eax,machin mov [e],eax pop eax erterertertert: add esi,64 dec ecx jnz retertertertertetrtrertertert POPALL ENDM touche_presse MACRO e,machin local retertertertertetrtrertertert local erterertertert PUSHALL mov ecx,[nb_ordy_connected] inc ecx ;nombre d'ordy en tout... mov esi,offset total_t ;control_joueur dd 8 dup (?) ;-1,6,32,32+6,-1,-1,-1,-1 retertertertertetrtrertertert: cmp byte ptr [esi+7*8+2],1 jne erterertertert mov [e],machin erterertertert: add esi,64 dec ecx jnz retertertertertetrtrertertert POPALL ENDM touche_presseque_master MACRO e,machin local erterertertert PUSHALL cmp [master],0 jne erterertertert cmp byte ptr [total_t+7*8+2],1 jne erterertertert mov byte ptr [e],machin erterertertert: POPALL ENDM bonus_tete MACRO a ;active un bonus... quand on marche dessus local yertterertertertert push eax cmp byte ptr [esi],a jb yertterertertertert cmp byte ptr [esi],a+10 ;54+10 jnb yertterertertertert bruit2 1,40 ;bruit 1 40 mov byte ptr [esi],0 mov eax,[changement] and eax,01111B mov al,[hazard_maladie+eax] and ax,255 mov word ptr [maladie+ebp],ax ;ax ;4: touches inversée... ;3 : la chiasse... ;2 : maladie de la lenteur... ;1 : maladie du speeD. ;5 : maladie de la constipation ;6 : maladie de la bonbinette mov word ptr [maladie+ebp+2],duree_conta ;500 ; dd 8 dup (?) ;mov esi,[infojoueur+ebp] ;cmp byte ptr [esi+c],b ;bombe_max ;je yertterertertertert ;inc byte ptr [esi+c] yertterertertertert: pop eax ENDM bruit MACRO a,b,t local op ;a:panning 0 droite ; ;last_voice dd 0 ; ;derniere voix utilisée (*2) ; ; ;0.1.2.3.4.5.6 7 ;8.9.0.1.2.3.4.5 ;a: sample, b:note push ebp eax mov al,a or al,01110000B mov ebp,[last_voice] add [last_voice],2 cmp [last_voice],14*2 jne op mov [last_voice],0 op: mov byte ptr [t+ebp],al ;al ;073h ;4 bits:panning, 4 bits: sample ;0 droite. ici. F left mov eax,[changement] and eax,011B add eax,b mov byte ptr [t+ebp+1],al ;note pop eax ebp ENDM ; au milieu bruit3 MACRO a,b,t local op ;a:panning 0 droite ; ;last_voice dd 0 ; ;derniere voix utilisée (*2) ; ; ;0.1.2.3.4.5.6 7 ;8.9.0.1.2.3.4.5 ;a: sample, b:note push ebp eax mov al,a or al,01110000B mov ebp,[last_voice] add [last_voice],2 cmp [last_voice],14*2 jne op mov [last_voice],0 op: mov byte ptr [t+ebp],al ;al ;073h ;4 bits:panning, 4 bits: sample ;0 droite. ici. F left ;,mov eax,[changement] ;and eax,011B mov eax,b mov byte ptr [t+ebp+1],al ;note pop eax ebp ENDM bruit3b MACRO a,b,t ; au milieu local op ;a:panning 0 droite ; ;last_voice dd 0 ; ;derniere voix utilisée (*2) ; ; ;0.1.2.3.4.5.6 7 ;8.9.0.1.2.3.4.5 ;a: sample, b:note push ebp eax mov al,a or al,01110000B mov ebp,[last_voice] add [last_voice],2 cmp [last_voice],14*2 jne op mov [last_voice],0 op: mov byte ptr [t+ebp],al ;al ;073h ;4 bits:panning, 4 bits: sample ;0 droite. ici. F left mov eax,[changement] and eax,011B add eax,b mov byte ptr [t+ebp+1],al ;note pop eax ebp ENDM bruit2 MACRO a,b local op ;a: sample, b:note push ebp eax esi ebx mov al,a ; ;--------------- sub esi,offset truc2 and esi,011111B ;0 a 32. mov bl,byte ptr [panning2+esi] shl ebx,4 ;------------ fait exploser la bombe ------------------------------------- or al,bl ;apnning mov ebp,[last_voice] add [last_voice],2 cmp [last_voice],14*2 jne op mov [last_voice],0 op: mov byte ptr [BLOW_WHAT2+ebp],al ;al ;073h ;4 bits:panning, 4 bits: sample ;0 droite. ici. F left mov eax,[changement] and eax,010B add eax,b ;mov eax,b ;!! mov byte ptr [BLOW_WHAT2+ebp+1],al ;note pop ebx esi eax ebp ENDM bruit2b MACRO a,b local op ;a: sample, b:note push ebp eax esi ebx ; ;on recup le panning sur ebx and ebx,011111B mov bl,byte ptr [panning2+ebx] mov al,a shl ebx,4 ;------------ fait exploser la bombe ------------------------------------- or al,bl ;apnning mov ebp,[last_voice] add [last_voice],2 cmp [last_voice],14*2 jne op mov [last_voice],0 op: mov byte ptr [BLOW_WHAT2+ebp],al ;al ;073h ;4 bits:panning, 4 bits: sample ;0 droite. ici. F left mov eax,[changement] and eax,010B add eax,b ;mov eax,b ;!! mov byte ptr [BLOW_WHAT2+ebp+1],al ;note pop ebx esi eax ebp ENDM SOUND_FAC MACRO a PUSHALL mov ax,ds mov es,ax lea edi,a mov ecx,14 xor ax,ax rep stosw POPALL ENDM SOUND MACRO PUSHALL mov ax,ds mov es,ax lea edi,BLOW_WHAT lea esi,BLOW_WHAT2 mov ecx,14 rep movsw POPALL ENDM sound_menu MACRO PUSHALL mov ax,ds mov es,ax lea edi,BLOW_WHAT lea esi,fx mov ecx,14 rep movsw POPALL ENDM crocro macro local eretretrertertert lodsb or al,al jz eretretrertertert mov es:[edi],bl eretretrertertert: inc edi ENDM copie macro a PUSHALL mov ax,ds mov es,ax mov ax,fs mov ds,ax mov ecx,a rep movsd POPALL ENDM aff_oeuf MACRO local ertertrteertrterte local zerertertter local retertterert sub edi,3 mov dx,16 ertertrteertrterte: mov bx,22 zerertertter: lodsb or al,al jz retertterert mov es:[edi],al retertterert: inc edi dec bx jnz zerertertter add edi,320-22 add esi,320-22 dec dx jnz ertertrteertrterte ENDM ;b: max... bonus_ MACRO a,b,c ;active un bonus... quand on marche dessus local yertterertertertert local FIREUERTKjertjertkljertertertertter2 local FIREUERTKjertjertkljertertertertter push esi cmp byte ptr [esi],a jb yertterertertertert cmp byte ptr [esi],a+10 ;54+10 jnb yertterertertertert mov byte ptr [esi],0 bruit2 1,40 mov esi,[infojoueur+ebp] cmp dword ptr [esi+c],b ;bombe_max je FIREUERTKjertjertkljertertertertter2 ;yertterertertertert inc dword ptr [esi+c] ;------------ tricheur notoire cmp dword ptr [esi+c],b ;bombe_max je yertterertertertert push esi mov esi,offset nick_t add esi,[control_joueur+ebp] cmp dword ptr [esi+4],0 pop esi jne yertterertertertert inc dword ptr [esi+c] ;-------------------------------------------------- yertterertertertert: pop esi jmp FIREUERTKjertjertkljertertertertter FIREUERTKjertjertkljertertertertter2: pop esi mov byte ptr [esi],194 ;degage le bonus bruit2 4,40 FIREUERTKjertjertkljertertertertter: ENDM bonus_2 MACRO a,b,c ;active un bonus... quand on marche dessus local yertterertertertert cmp byte ptr [esi],a jb yertterertertertert cmp byte ptr [esi],a+10 ;54+10 jnb yertterertertertert bruit2 1,40 ;mov byte ptr [esi],0 ;mov esi,[infojoueur+ebp] ;cmp byte ptr [esi+c],b ;bombe_max ;je yertterertertertert ;inc byte ptr [esi+c] mov byte ptr [esi],0 add [c+ebp],b ;------------ tricheur notoire push esi mov esi,offset nick_t add esi,[control_joueur+ebp] cmp byte ptr [esi+4],'' pop esi jne yertterertertertert add [c+ebp],b ;-------------------------------------------------- yertterertertertert: ENDM bonus_3 MACRO a,b,c ;active un bonus... quand on marche dessus local yertterertertertert local rteelmkklmertklmertklmertertterter ;cas particulier,bon kon peut deja avoir cmp byte ptr [esi],a jb yertterertertertert cmp byte ptr [esi],a+10 ;54+10 jnb yertterertertertert cmp [c+ebp],b jne rteelmkklmertklmertklmertertterter mov byte ptr [esi],194 ;degage le bonus bruit2 4,40 jmp yertterertertertert rteelmkklmertklmertklmertertterter: bruit2 1,40 mov byte ptr [esi],0 mov [c+ebp],b yertterertertertert: ENDM bonus_5 MACRO a ;active un bonus... quand on marche dessus local yertterertertertert local rteelmkklmertklmertklmertertterter ;cas particulier,bon kon peut deja avoir cmp byte ptr [esi],a jne yertterertertertert cmp [lapipipino+ebp],1 jne rteelmkklmertklmertklmertertterter mov byte ptr [esi],194 ;degage le bonus bruit2 4,40 jmp yertterertertertert rteelmkklmertklmertklmertertterter: ;ke kan on est au milieu au_milieu_x_et_y yertterertertertert ;--------- bruit2 1,40 mov byte ptr [esi],0 ;mov byte ptr [esi],194 ;degage le bonus ;mov [lapipipino3+ebp],duree_saut ;mov [lapipipino2+ebp],1 mov [lapipipino6+ebp],1 inc [nombre_de_coups+ebp] ;saut de lapin le lapin... bruit3 10,30,BLOW_WHAT2 ;bruit kan 1 lapin saute ;nombre_de_coups dd 8 dup (?) ;avant la mort... ;clignotement dd 8 dup (?) ;varie entre 1 et 0 quand invinsible <>0 ; ;mis a jour par la proc "blanchiment" ;pousseur dd 8 dup (0) ;patineur dd 8 dup (?) ;invinsible dd 8 dup (?) ;invincibilité. nombre de vbl restant ... décrémentée... 0= none... yertterertertertert: ENDM bonus_4 MACRO a ;pour horloge local yertterertertertert local pas_zeroerrterteert cmp byte ptr [esi],a jb yertterertertertert cmp byte ptr [esi],a+10 jnb yertterertertertert bruit2 1,40 mov byte ptr [esi],0 ;degage le bonus ;cas particulier si le temps = 0 ;alors on fait exploser le bonus :) test temps,000111111111111B jnz pas_zeroerrterteert mov byte ptr [esi],194 ;degage le bonus bruit2 4,40 jmp yertterertertertert pas_zeroerrterteert: push ax bx mov ax,temps ;duree_match ;001100000000B ;time mov bx,ax and bx,0111100000000B cmp bx,9*256 je non_fait_rien mov special_clignotement,2 add ax,256 ;ajoute une minute non_fait_rien: mov temps,ax pop bx ax yertterertertertert: ENDM ;pour xblast bonus_6 MACRO a local yertterertertertert local pas_zeroerrterteert cmp byte ptr [esi],a jb yertterertertertert cmp byte ptr [esi],a+10 jnb yertterertertertert bruit2 1,40 mov byte ptr [esi],0 ;degage le bonus call nike_toutes_les_bombes yertterertertertert: ENDM au_milieu_x_et_y MACRO a local pas_milieu local boooh local wqtreertter local wqtreertter2 push ebp eax shr ebp,1 xor eax,eax mov ax,word ptr [donnee+nb_dyna*2+ebp] ;recup Y add ax,14 and ax,00000000000001111B cmp action_replay,2 jne wqtreertter cmp ax,7 jne pas_milieu wqtreertter: cmp ax,4 jb pas_milieu cmp ax,10 ja pas_milieu mov ax,word ptr [donnee+ebp] ;recup X add ax,3 and ax,01111B cmp action_replay,2 jne wqtreertter2 cmp ax,7 jne pas_milieu wqtreertter2: cmp ax,4 jb pas_milieu cmp ax,10 ja pas_milieu pop eax ebp jmp boooh pas_milieu: pop eax ebp jmp a boooh: ENDM au_milieu_y2 MACRO a local ertzerterta push ebp eax shr ebp,1 xor eax,eax mov ax,word ptr [donnee+nb_dyna*2+ebp] ;recup Y add ax,14 and ax,00000000000001111B cmp ax,7 je ertzerterta pop eax ebp jmp a ertzerterta: pop eax ebp ENDM au_milieu_X2 MACRO a local ertzerterta push ebp eax shr ebp,1 xor eax,eax mov ax,word ptr [donnee+ebp] ;recup X add ax,3 and ax,01111B cmp ax,7 je ertzerterta pop eax ebp jmp a ertzerterta: pop eax ebp ENDM au_milieu_y MACRO local ertzerterta local erterererererertertYUTYUyutyuu local retreterertertterertertert push ebp shr ebp,1 xor eax,eax mov ax,word ptr [donnee+nb_dyna*2+ebp] ;recup Y add ax,14 and ax,00000000000001111B cmp ax,7 jne ertzerterta pop ebp jmp erterererererertertYUTYUyutyuu ertzerterta: pop ebp ;---- pas au milieu 2 cas de figure: ;la place est libre en face cmp ax,7 jb retreterertertterertertert cmp byte ptr [esi+ebx+32],0 jne erterererererertert2 jmp erterererererertertYUTYUyutyuu retreterertertterertertert: cmp byte ptr [esi+ebx-32],0 jne erterererererertert2 ;ne fait pas le saut, transforme en saut vertical erterererererertertYUTYUyutyuu: mov [lapipipino2+ebp],2 ;saut directionel mov [lapipipino7+ebp],17 ;endroit a partir dukel on arrete de bouger ;------------------------------ ENDM au_milieu_x MACRO local ertzerterta local erterererererertertYUTYUyutyuuty222 local retreterertertterertertertty222 push ebp shr ebp,1 xor eax,eax mov ax,word ptr [donnee+ebp] ;recup X add ax,3 and ax,01111B cmp ax,7 jne ertzerterta pop ebp jmp erterererererertertYUTYUyutyuuty222 ertzerterta: pop ebp ;---- pas au milieu 2 cas de figure: ;la place est libre en face cmp ax,7 jb retreterertertterertertertty222 cmp byte ptr [esi+ebx+1],0 jne erterererererertert2 jmp erterererererertertYUTYUyutyuuty222 retreterertertterertertertty222: cmp byte ptr [esi+ebx-1],0 jne erterererererertert2 erterererererertertYUTYUyutyuuty222: mov [lapipipino2+ebp],2 ;saut directionel mov [lapipipino7+ebp],17 ;endroit a partir dukel on arrete de bouger ;------------------------------ ENDM xy_to_offset MACRO xor eax,eax shr ebp,1 mov ax,word ptr [donnee+nb_dyna*2+ebp] ;recup Y add ax,14 ;shr ax,4 mov bx,word ptr [donnee+ebp] ;X and ax,01111111111110000B add bx,3 shl ax,1 ;*32 ;mov esi,offset truc2 shr bx,4 add ax,bx ;add esi,eax ENDM explosion MACRO a,b,c local nononononono_rien_pas_de_bonus local nononononono_rien_pas_de_bombe local trrtyyrtrytrtyrytrytrtyyrtyrt local reerertterertteretr local ferretertrterteetrrteertrterteretrteretertertrteert local retertertert local ttyrrtyrtyrtyrtytyrrtyrtyyrtrty local erertertrteterert local erterertrteert local erterertrteertre local ytyutyuiityuityu PUSHALL ;puissance bombe xor ecx,ecx mov cx,word ptr [liste_bombe+ebp+4+3*4] ;[eax+4] ;mov eax,[liste_bombe+ebp+4+0*4] ;offset de l'infojoeur trrtyyrtrytrtyrytrytrtyyrtyrt: add esi,a ;-32 cmp byte ptr [esi-32*13],0 je reerertterertteretr cmp byte ptr [esi-32*13],2 jne ferretertrterteetrrteertrterteretrteretertertrteert ;on arrete tout ;si ce n'est pas une ;Pierre cassable. mov byte ptr [esi-32*13],3 ;casse la brique... jmp ferretertrterteetrrteertrterteretrteretertertrteert reerertterertteretr: ;donc il n'y a rien dans truc... c'est vide... ;3 possibilité: vide.. ou une bombe,ou un bonus... visible dans truc 2. cmp byte ptr [esi],1 jb nononononono_rien_pas_de_bombe ;1 = bombe... (2,3,4) respirant... cmp byte ptr [esi],4 ja nononononono_rien_pas_de_bombe ;---- il y a une bombe il faut la faire exploser... PUSHALL sub esi,offset truc2 ;dans esi: distance par rapport a truc2 ;liste_bombe dd 0 ; nombre de bombes... ; dd 247 dup (0,0,0,0) ;1er: offset de l'infojoeur ;2eme: nombre de tours avant que ca PETE !!! ; si = 0 ca veut dire ; ;emplacement libre... ;3eme:distance par rapport au debut de truc2 ;4eme puissance de la bombe. ;recherche la bombe a niker... xor ebx,ebx ttyrrtyrtyrtyrtytyrrtyrtyyrtrty: cmp dword ptr [liste_bombe+ebx+4+2*4],esi ;regarde si ya une bombe a cet endroit je erertertrteterert add ebx,taille_dune_info_bombe jmp ttyrrtyrtyrtyrtytyrrtyrtyyrtrty erertertrteterert: mov dword ptr [liste_bombe+ebx+4+1*4],1 ;fait peter la bombe... mov word ptr [liste_bombe+ebx+4+4*3+2],0 ;(la rend la bombe normalle. au cas ou) POPALL jmp ferretertrterteetrrteertrterteretrteretertertrteert ;---------------------------------------- nononononono_rien_pas_de_bombe: ;----- ya t'il un bonus ??? ----- ;54-- bonus bombe... de 54 a 63 (offset 144) ;64-- bonus flamme... de 64 a 73 (offset 144+320*16) ; ; ;194-- explosion d'un bonus... de 194 a 200 (offset 0.172 31x27 +32) cmp byte ptr [esi],54 jb nononononono_rien_pas_de_bonus ;1 = bombe... (2,3,4) respirant... cmp byte ptr [esi],194 ja nononononono_rien_pas_de_bonus ;-- ya un bonus.. il faut le faire exploseR. -- ;194 bruit2 4,40 mov byte ptr [esi],194 jmp ferretertrterteetrrteertrterteretrteretertertrteert nononononono_rien_pas_de_bonus: ;--------------------------------- cmp byte ptr [esi],0 ;uniquement si ya aucune autre bombe en train d'exploser ; a cet endroit. en ce moment ... je erterertrteertre ;--- on choisit quelle bombe il faut proviligier... ; si c'est un coeur de bombe.. on le laissE... ; ;5 = centre de bombe. de 5 a 11 cmp byte ptr [esi],5 jb ytyutyuiityuityu cmp byte ptr [esi],12 ;b erterertrteert ;c un coeur.. on arrete... jb ferretertrterteetrrteertrterteretrteretertertrteert ytyutyuiityuityu: erterertrteertre: mov al,b ;33 ;truc verti... cmp ecx,1 jne retertertert mov al,c ;40 retertertert: mov byte ptr [esi],al erterertrteert: dec ecx jnz trrtyyrtrytrtyrytrytrtyyrtyrt ferretertrterteetrrteertrterteretrteretertertrteert: POPALL ENDM bombe MACRO baba local tetererterertrteerterrteertertrteertrteertertterooi local terertrteerterto cmp ax,baba jnb tetererterertrteerterrteertertrteertrteertertterooi test dword ptr [changement],0000000000011B jnz terertrteerterto inc byte ptr [esi-1] cmp byte ptr [esi-1],baba jne terertrteerterto mov byte ptr [esi-1],0 ;renegade terertrteerterto: and eax,011111111B sub ax,5 shl eax,1 mov ax,word ptr [central_b+eax] stosw mov ax,bx stosw inc cx jmp tzererrte tetererterertrteerterrteertertrteertrteertertterooi: ENDM bonus MACRO baba,toto local tetererterertrteerterrteertertrteertrteertertterooit local terertrteertertot cmp ax,baba jnb tetererterertrteerterrteertertrteertrteertertterooit test dword ptr [changement],0000000000111B jnz terertrteertertot inc byte ptr [esi-1] cmp byte ptr [esi-1],baba jne terertrteertertot mov byte ptr [esi-1],baba-10 terertrteertertot: and eax,011111111B sub ax,baba-10 shl eax,4 ;*16 add eax,toto stosw mov ax,bx stosw inc cx jmp tzererrte tetererterertrteerterrteertertrteertrteertertterooit: ENDM explo_bonus MACRO baba,toto local tetererterertrteerterrteertertrteertrteertertterooit local terertrteertertot cmp ax,baba jnb tetererterertrteerterrteertertrteertrteertertterooit test dword ptr [changement],0000000000111B jnz terertrteertertot inc byte ptr [esi-1] cmp byte ptr [esi-1],baba jne terertrteertertot mov byte ptr [esi-1],0 ;baba-8 terertrteertertot: and eax,011111111B sub ax,baba-7 shl eax,5 ;*32 add eax,toto stosw mov ax,bx stosw inc cx jmp tzererrte tetererterertrteerterrteertertrteertrteertertterooit: ENDM oeuf_bonus MACRO baba,toto local tetererterertrteerterrteertertrteertrteertertterooit cmp ax,baba jne tetererterertrteerterrteertertrteertrteertertterooit ;and eax,011111111B ;sub ax,baba-7 ;shl eax,5 ;*32 mov ax,toto stosw mov ax,bx stosw inc cx jmp tzererrte tetererterertrteerterrteertertrteertrteertertterooit: ENDM affiche_sprites proc near PUSHALL mov ax,ds mov es,ax SOUND ;----------------------------------------------------- cmp terrain,5 jne pas_nuages cmp [detail],1 je pas_nuages call gestion_nuage pas_nuages: ;----- mignon petit oiseau: ceux ki sont derriere nos dynas cmp [terrain],2 jne retrterterte5rtrze cmp [detail],1 je retrterterte5rtrze call noel2 retrterterte5rtrze: ;foot cmp [terrain],8 jne retrterterte5ertertertreteer cmp [detail],1 je retrterterte5ertertertreteer call animfoot_haut retrterterte5ertertertreteer: ;---------------------------------------------------------- ;-------------------- briques .... ;briques dw 3,0,0,0,32,0,64 xor ecx,ecx mov esi,offset briques lodsw or ax,ax jz reertertertertertterrterte mov cx,ax xor ebx,ebx libere: xor eax,eax lodsw mov bx,ax lodsw push esi push ds push fs pop ds mov esi,1582080 ;mov esi,offset buffer3 add esi,ebx mov edi,offset buffer add edi,eax cmp es:[terrain],2 ;pas ce cas particulier avec la neige... je retterterertertertertertertertertertert cmp es:[terrain],4 ;pas ce cas particulier avec la foret je retterterertertertertertertertertertert or bx,bx jnz retterterertertertertertertertertertert ;cas particulier:brique en ;destruction. retrterterte: call aff_brique retterterertertertertertertertertertert2: pop ds pop esi dec cx jnz libere reertertertertertterrterte: ; ;-------------------- bombes, explosions & bonus ;briques dw 3,0,0,0,32,0,64 xor ecx,ecx mov esi,offset bombes lodsw or ax,ax jz reertertertertertterrtertet mov cx,ax xor ebx,ebx liberet: xor eax,eax lodsw mov bx,ax lodsw push esi mov esi,1582080+64000*5 ;offset buffer3 add esi,ebx push ds push fs pop ds ;--- mov edi,offset buffer add edi,eax cmp bx,320*172 ;cas particulier : bonus en explosion... (ne fait rien) jnb reetrertertert2tyrtyryrtrtyrtyrty cmp bx,320*16+112 ;cas particulier : oeuf (ne fait rien) je reetrertertert2tyrtyryrtrtyrtyrty ;aff_bombe SPRITE_16_16 reetrertertert2tyrtyryrtrtyrtyrty: pop ds pop esi dec cx jnz liberet reertertertertertterrtertet: ;.... bonus oeuf et explosion de bonus (par dessus) xor ecx,ecx mov esi,offset bombes lodsw or ax,ax jz treertertertertertterrtertet mov cx,ax xor ebx,ebx tliberet: xor eax,eax lodsw mov bx,ax lodsw push esi mov esi,1582080+64000*5 ;offset buffer3 add esi,ebx push ds push fs pop ds ;--- mov edi,offset buffer add edi,eax cmp bx,320*172 ;cas particulier : bonus en explosion... jnb reetrertertert2 cmp bx,320*16+112 ;cas particulier : oeuf je reetrertertert3 ;aff_bombe reetrertertert: pop ds pop esi dec cx jnz tliberet treertertertertertterrtertet: ;--- ombres call aff_ombres ;----- dynablaster call expere ;affiche le... ;---- arbre de noel cmp [terrain],2 ;NEIGE !!! jne retrterterte5ertertert call noel retrterterte5ertertert: ;mov edi,896000+384000+46080+64000+64000 ; 128000 ;307200 ;1966080+64000*22;foot 7 ;---- faux foot (soucoupes volantes) cmp [terrain],7 jne retrterterte5ertertertrete ;cmp [detail],1 ;je retrterterte5ertertertrete call soucoupe retrterterte5ertertertrete: ;---- vrai soccer cmp [terrain],8 jne retrterterte5ertertertretee call animfoot_oblige cmp [detail],1 je retrterterte5ertertertretee call animfoot retrterterte5ertertertretee: ;mov edi,1966080+64000*24 ;---- feuilles de la foret. cmp [terrain],4 ;foret. jne retrterterte5ertertertret cmp [detail],1 je retrterterte5ertertertret call feuillage retrterterte5ertertertret: ;---- puzzles sur les crayons cmp [terrain],6 ;crayon jne retrterterte5ertertertrett cmp [detail],1 je retrterterte5ertertertrett call puzzle2 retrterterte5ertertertrett: call tv ;cmp action_replay,2 ;je retrterterte5ertertertretterrettereererettrr cmp [detail],1 je retrterterte5ertertertretterrettereererettrr call bdraw retrterterte5ertertertretterrettereererettrr: call horloge call pauseur ;mov edi,1582080 POPALL ret tv: ;cmp adder_inser_coin,320*67 ;je rerteerterterterttrertertertertetrertertert ;AFFICHAGE DU INSER COIN POUR LE MODE DEMO ;cmp [detail],1 ;je rerteerterterterttrertertertertetrertertert ;cmp special_on_a_loadee_nivo,2 ;si on load un .mrb pas de truc a droite !! ;je rerteerterterterttrertertertertetrertertert ;cmp action_replay,2 ;je ertrteertretterertrteertrte ;rerteerterterterttrertertertertetrertertert: ret ertrteertretterertrteertrte: PUSHALL ; ;pause db 0 ;0=nan inverse = oui ;pas de pause en action replay ;cmp action_replay,2 ;je pas_en_a xor ebx,ebx ;mov bl,pauseur2 ;mov esi,[offset_pause+ebx] ;offset_ic dd 0,74*2,74 ;viseur_ic2 dd 0 ;inser_coin dd 256 dec inser_coin jnz rerteertertyrt mov inser_coin,32 add viseur_ic2,4 cmp viseur_ic2,4*4 jne rerteertertyrt mov viseur_ic2,0 rerteertertyrt: mov ebx,viseur_ic2 mov esi,[offset_ic+ebx] add esi,adder_inser_coin ;cmp attente_avant_adder_inser_coin,0 ;je ertrteertertertertetrertertert ;dec attente_avant_adder_inser_coin ;jmp ertertertertetrertertert ;ertrteertertertertetrertertert: cmp adder_inser_coin,0 ;320*67 je ertertertertetrertertert sub adder_inser_coin,320 ertertertertetrertertert: add esi,1582080+64000*4+74+22*320 push ds pop es push fs pop ds ;add esi,1582080 mov edi,offset buffer+(0*320+256) aff_spt2 67,58,0 pas_en_a: POPALL ret bdraw: cmp adder_bdraw,50*320 jne reterreer233 ;test temps,000111111111111B ;jz zerooo ; ;mov in_the_apocalypse,0 ; ;cmp nombre_de_vbl_avant_le_droit_de_poser_bombe,0 ;je reterreer233 ret reterreer233: ;mov esi,1966080+64000*22+32 ;foot 7896000+384000+46080+64000+64000+11 PUSHALL ;bdraw666 db '30' ;--- affichage des chiffres --- xor eax,eax mov al,bdraw666 sub al,'0' shl eax,3 mov esi,eax PUSHALL push fs pop es push fs pop ds add esi,1966080+64000*22+173+320*33 mov edi,1966080+64000*22+137+320*64 aff_spt666 5,8 POPALL xor eax,eax mov al,bdraw666+1 sub al,'0' shl eax,3 mov esi,eax PUSHALL push fs pop es push fs pop ds add esi,1966080+64000*22+173+320*33 mov edi,1966080+64000*22+137+8+320*64 aff_spt666 5,8 POPALL ;----------------------- xor esi,esi mov si,adder_bdraw add esi,1966080+64000*22+96+41*320 cmp slowcpu,1 je cunfalcon ; ;add esi,adder_bdraw push ds pop es push fs pop ds ;add esi,1582080 mov edi,offset buffer+8 aff_spt2 43,78,11-31 ; POPALL ret cunfalcon: push ds pop es push fs pop ds ;add esi,1582080 mov edi,offset buffer+8 SPRITE_TIMEOUT POPALL ret pauseur: PUSHALL ; ;pause db 0 ;0=nan inverse = oui ;pas de pause en action replay cmp pauseur2,0 je pas_en_pause xor ebx,ebx mov bl,pauseur2 mov esi,[offset_pause+ebx] push ds pop es push fs pop ds add esi,1582080 mov edi,offset buffer+(136+(100-32)*320) SPRITE_64_46 pas_en_pause: POPALL ret animfoot: ;mov edi,1966080+64000*24 PUSHALL inc dword ptr [compteur_nuage] push ds pop es push fs pop ds ;supporter.. ; ;ov ebx,es:[compteur_nuage] ;nd ebx,0000000000110000B ; 011111110000B ;hr ebx,4 ;ov esi,1966080+64000*24+24+28*320 ;or ecx,ecx ;ov cl,es:[offset_supporter+ebx] ;dd esi,ecx ;ov edi,offset buffer+320*2+2 ;ff_spt 19 23 ;camera 2 mov ebx,es:[compteur_nuage] and ebx,0000000111110000B ; 011111110000B shr ebx,4 mov esi,1966080+64000*24 xor ecx,ecx mov cl,es:[offset_cameraman+ebx] add esi,ecx mov edi,offset buffer+140*320 SPRITE_23_21 ;camera mov ebx,es:[compteur_nuage] add ebx,8+16 and ebx,0000000111110000B ; 011111110000B shr ebx,4 mov esi,1966080+64000*24 xor ecx,ecx mov cl,es:[offset_cameraman+ebx] add esi,ecx add esi,5*24 mov edi,offset buffer+25*320+299 SPRITE_23_21 ; girl mov ebx,es:[compteur_nuage] and ebx,00011110000B shr ebx,3 mov esi,1966080+64000*24 xor ecx,ecx mov cx,es:[offset_fille+ebx] add esi,ecx mov edi,offset buffer+170*320+140+32 SPRITE_30_48 mov ebx,es:[compteur_nuage] and ebx,00011110000B shr ebx,3 mov esi,1966080+64000*24 xor ecx,ecx mov cx,es:[offset_fille+ebx] add esi,ecx mov edi,offset buffer+170*320+140+33+32 SPRITE_30_48 mov ebx,es:[compteur_nuage] and ebx,00011110000B shr ebx,3 mov esi,1966080+64000*24 xor ecx,ecx mov cx,es:[offset_fille+ebx] add esi,ecx mov edi,offset buffer+170*320+140+66+32 SPRITE_30_48 mov ebx,es:[compteur_nuage] and ebx,00011110000B shr ebx,3 mov esi,1966080+64000*24 xor ecx,ecx mov cx,es:[offset_fille+ebx] add esi,ecx mov edi,offset buffer+170*320+10 SPRITE_30_48 mov ebx,es:[compteur_nuage] and ebx,00011110000B shr ebx,3 mov esi,1966080+64000*24 xor ecx,ecx mov cx,es:[offset_fille+ebx] add esi,ecx mov edi,offset buffer+170*320+42 SPRITE_30_48 ;---- ;mov edi,1966080+64000*22 POPALL ret animfoot_haut: PUSHALL push ds pop es push fs pop ds ;supporter.. mov ebx,es:[compteur_nuage] and ebx,0000000000110000B ; 011111110000B shr ebx,4 mov esi,1966080+64000*24+24+28*320 xor ecx,ecx mov cl,es:[offset_supporter+ebx] add esi,ecx mov edi,offset buffer+320*2+2 SPRITE_19_23 ;supporter..2 mov ebx,es:[compteur_nuage] add ebx,7 and ebx,0000000000110000B ; 011111110000B shr ebx,4 mov esi,1966080+64000*24+144+28*320 xor ecx,ecx mov cl,es:[offset_supporter+ebx] add esi,ecx mov edi,offset buffer+320*3+295 SPRITE_19_23 POPALL ret animfoot_oblige: ;mov edi,1966080+64000*24 PUSHALL push ds pop es push fs pop ds mov esi,1966080+64000*22+11+52*320 mov edi,offset buffer+11+52*320 SPRITE_77_12 mov esi,1966080+64000*22+297+52*320 mov edi,offset buffer+297+52*320 SPRITE_77_12 POPALL ret soucoupe: PUSHALL inc dword ptr [compteur_nuage] mov ebx,[compteur_nuage] xor esi,esi and ebx,0000000000010000B jnz mlkjmljktrjklmrejklmtrjklmjklmteerrtrtrrttrrttre mov esi,232 mlkjmljktrjklmrejklmtrjklmjklmteerrtrtrrttrrttre: push ds pop es push fs pop ds add esi,1966080+64000*22+133*320 ;foot 7896000+384000+46080+64000+64000+11 mov edi,offset buffer+232 SPRITE_36_88 POPALL ret feuillage: PUSHALL push ds pop es push fs pop ds mov esi,896000+384000+46080+64000+64000+11 mov edi,offset buffer+11 SPRITE_192_21 mov esi,896000+384000+46080+64000+64000+288 mov edi,offset buffer+288 SPRITE_192_21 mov esi,896000+384000+46080+64000+64000+36-6 mov edi,offset buffer+30 SPRITE_16_263 mov esi,896000+384000+46080+64000+64000+69+166*320 mov edi,offset buffer+69+166*320 ;166 SPRITE_26_206 POPALL ret puzzle2: PUSHALL push ds pop es push fs pop ds mov esi,1582080+64000*4+51 ;le haut mov edi,offset buffer+51 SPRITE_16_187 ;ov esi,1582080+64000*4+155+6*320 ;ov edi,offset buffer+155+6*320 ;ff_spt 10 10 ;ov esi,1582080+64000*7+217+6*320 ;ov edi,offset buffer+217+6*320 ;ff_spt 10 10 mov esi,1582080+64000*4+16 ;a gauche mov edi,offset buffer+16 SPRITE_191_16 ;a droite mov esi,1582080+64000*4+288 mov edi,offset buffer+288 SPRITE_92_17 mov esi,1582080+64000*4+288+107*320 mov edi,offset buffer+288+107*320 SPRITE_85_17 POPALL ret gestion_nuage: PUSHALL inc dword ptr [compteur_nuage] ;nuage_sympa dd 72+296*320,0 mov ecx,16 lea esi,nuage_sympa ;------- teryrtyrtyuuiyuyu: ;add eax,160 mov eax,dword ptr [esi+16] test dword ptr [compteur_nuage],eax jnz pas_cette_fois inc dword ptr [esi+4] pas_cette_fois: mov eax,[esi] mov ebx,[esi+8] cmp dword ptr [esi+4],ebx jb ertrteterertert mov dword ptr [esi+4],0 ertrteterertert: cmp dword ptr [esi+4],319 ja ertertrteterertert sub eax,[esi+4] mov edx,dword ptr [esi+12] PUSHALL mov esi,1582080+64000*5 add esi,edx mov edi,offset buffer add edi,eax push ds pop es push fs pop ds SPRITE_CLOUD POPALL ertertrteterertert: add esi,4*5 dec ecx jnz teryrtyrtyuuiyuyu POPALL ret noel: PUSHALL push ds pop es push fs pop ds mov esi,64000*8+136*320 inc es:[arbre] test es:[arbre],0000100000B jz retterertertert add esi,33 retterertertert: mov edi,offset buffer+112+31*320 mov ecx,48 ;64 uertertertrteert: mov ebx,33 uconcert: lodsb or al,al jz uertertertrte mov byte ptr es:[edi],al uertertertrte: inc edi dec ebx jnz uconcert add edi,320-33 add esi,320-33 dec ecx jnz uertertertrteert mov esi,64000*8+077*320 mov edi,offset buffer+232+56*320 mov ecx,42 yuertertertrteert: mov ebx,48 yuconcert: lodsb or al,al jz yuertertertrte mov byte ptr es:[edi],al yuertertertrte: inc edi dec ebx jnz yuconcert add edi,320-48 add esi,320-48 dec ecx jnz yuertertertrteert ;--- oiseaux cmp es:[detail],1 je retrterterte5 mov esi,64000*8+040*320+69+16*4 mov ebx,es:[arbre] and ebx,0000010000B jz ertertreterterter add esi,16 ertertreterterter: mov edi,offset buffer+320*184+50 call oiseau mov edi,offset buffer+320*184+50+17*1 call oiseau mov edi,offset buffer+320*184+50+17*4 call oiseau mov edi,offset buffer+320*184+50+17*9 call oiseau mov esi,64000*8+040*320+69+16*0 mov ebx,es:[arbre] and ebx,0000010000B jz iertertreterterter add esi,16 iertertreterterter: mov edi,offset buffer+320*164+1 call oiseau mov edi,offset buffer+320*148+1 call oiseau mov edi,offset buffer+320*101+1 call oiseau mov edi,offset buffer+320*30+1 call oiseau mov edi,offset buffer+320*47+1 call oiseau retrterterte5: POPALL ret noel2: PUSHALL push ds pop es push fs pop ds mov esi,64000*8+023*320+69 ;mov edi,offset buffer+112+86*320 mov edi,offset buffer+1+320+9 mov ebx,es:[arbre] add ebx,18*16 and ebx,0111110000B shr ebx,2 add esi,es:[offset_oiseau+ebx] call oiseau mov edi,offset buffer+1+320+16+1+9 call oiseau mov edi,offset buffer+1+320+16+1+16+1+9 call oiseau mov esi,64000*8+023*320+69 mov ebx,es:[arbre] add ebx,20*16 and ebx,0111100000B shr ebx,3 add esi,es:[offset_oiseau+ebx] mov edi,offset buffer+1+320+16+1+16+1+16*8 call oiseau mov edi,offset buffer+1+320+16+1+16+1+16*10 call oiseau mov esi,64000*8+023*320+69 mov ebx,es:[arbre] add ebx,20*16 and ebx,0011110000B shr ebx,2 add esi,es:[offset_oiseau+ebx] mov edi,offset buffer+1+320+16+1+16+1+16*5 call oiseau mov edi,offset buffer+1+320+16+1+6+1+16*14 call oiseau ;---- devant l'arbre mov esi,64000*8+023*320+69 mov edi,offset buffer+112+89*320 mov ebx,es:[arbre] and ebx,0111110000B shr ebx,2 add esi,es:[offset_oiseau+ebx] call oiseau mov edi,offset buffer+112+89*320+16+1 call oiseau retrterterte5rt: POPALL ret oiseau: PUSHALL mov ecx,16 iyuertertertrteert: mov ebx,16 iyuconcert: lodsb or al,al jz iyuertertertrte mov byte ptr es:[edi],al iyuertertertrte: inc edi dec ebx jnz iyuconcert add edi,320-16 add esi,320-16 dec ecx jnz iyuertertertrteert POPALL ret ;rterterteertrteertert: ;xor ebx,ebx ;mov ecx,[nombre_de_dyna] expere: PUSHALL ;POPALL ;push ecx ;xor eax,eax ;mov ax,word ptr [donnee+nb_dyna*2+ebx] ;y ; ;push eax ;shl eax,6 ; x 64 ;mov edi,eax ;pop eax ;shl eax,8 ; x 256 ;add edi,eax ; ;xor eax,eax ;xor esi,esi ;mov ax,word ptr [donnee+ebx] ;mov si,word ptr [donnee+nb_dyna*2*2+ebx] ;cmp si,666 ;code speical indique affiche rien... ;je nanananana_il_est_mort ;;------- source en fonction de si c'est un boy ou une girl... ;add esi,576000 ; 128000 ;307200 ;cmp ebx,2*4 ;jb reterterertrte45 ;c'est une girl... ;add esi,64000 ;reterterertrte45: ;;------------------------------- ;mov ebx,320*200 ;307200 ;mov ax,fs ; (serra trié a l'affichage par chaque machine.mettra dest a 0ffffh) mov ecx,8 ;[nombre_de_dyna] oooooooo: push ecx ;----- recherche le dyna le plus haut !!! xor ebx,ebx xor edi,edi xor eax,eax mov al,byte ptr [donnee4+6+ebx] EAX_X_320 add ax,word ptr [donnee4+4+ebx] ;--- cas particulier: on a une ombre: donc on prend l'ombre a la place lapinomb ax ;---------------------------------------- ;---- mov ebp,ebx push ecx mov ecx,8 ;[nombre_de_dyna] gogotingo: add ebx,nb_unite_donnee4 ;8 add edi,2 ;pour avoir un viseur x2 sur le numero du dyna kon a choisit dec ecx jz mwai xor edx,edx mov dl,byte ptr [donnee4+6+ebx] EDX_X_320 add dx,word ptr [donnee4+4+ebx] ;--- cas particulier: on a une ombre: donc on prend l'ombre a la place lapinomb dx ;---------------------------------------- ;cmp word ptr [donnee4+4+ebx],ax cmp dx,ax jnb fraiche xor eax,eax mov al,byte ptr [donnee4+6+ebx] EAX_X_320 add ax,word ptr [donnee4+4+ebx] ;add ax,319 ;pour ke ka on se croie gauche droite ca change pas bizarre ; ;rement au milieu ;--- cas particulier: on a une ombre: donc on prend l'ombre a la place lapinomb ax ;---------------------------------------- mov ebp,ebx fraiche: jmp gogotingo mwai: pop ecx mov esi,dword ptr [donnee4+ebp] cmp esi,666 je nanananana_il_est_mort push edi xor edi,edi mov di,word ptr [donnee4+4+ebp] ;offset "bloc" push ds xor bx,bx mov bl,byte ptr [donnee4+6+ebp] ;nombre des lignes. xor cx,cx mov cl,byte ptr [donnee4+7+ebp] ;nombre de colonnes. mov dl,byte ptr [donnee4+8+ebp] ;1er bit: clignotement ??? and dl,01B push fs pop ds call affiche_bomby pop ds pop edi nanananana_il_est_mort: mov word ptr [donnee4+4+ebp],-1 mov byte ptr [donnee4+6+ebp],0 pop ecx dec ecx jnz oooooooo POPALL ret ;cas particulier. brique en destruction... retterterertertertertertertertertertert: SPRITE_16_16 ;PUSHALL ;aff_bombe ;POPALL jmp retterterertertertertertertertertertert2 affiche_bomby: ;mov dl,byte ptr [donnee4+8+ebp] ;1er bit: clignotement ??? ;and dl,01B cmp dl,1 je blancheur_supreme affiche_bomby2: ;sans blancheur ;----- add edi,offset buffer sprite_bn ret ;affiche sprite mais en blanc. blancheur_supreme: add edi,offset buffer sprite_bw ret ; 6.71447 aff_brique: mov eax,[esi] mov [edi],eax mov eax,[esi+4] mov [edi+4],eax mov eax,[esi+8] mov [edi+8],eax mov eax,[esi+12] mov [edi+12],eax mov eax,[esi+320] mov [edi+320],eax mov eax,[esi+320+4] mov [edi+320+4],eax mov eax,[esi+320+8] mov [edi+320+8],eax mov eax,[esi+320+12] mov [edi+12+320],eax mov eax,[esi+320*2] mov [edi+320*2],eax mov eax,[esi+320*2+4] mov [edi+320*2+4],eax mov eax,[esi+320*2+8] mov [edi+320*2+8],eax mov eax,[esi+320*2+12] mov [edi+12+320*2],eax mov eax,[esi+320*3] mov [edi+320*3],eax mov eax,[esi+320*3+4] mov [edi+320*3+4],eax mov eax,[esi+320*3+8] mov [edi+320*3+8],eax mov eax,[esi+320*3+12] mov [edi+12+320*3],eax mov eax,[esi+320*4] mov [edi+320*4],eax mov eax,[esi+320*4+4] mov [edi+320*4+4],eax mov eax,[esi+320*4+8] mov [edi+320*4+8],eax mov eax,[esi+320*4+12] mov [edi+12+320*4],eax mov eax,[esi+320*5] mov [edi+320*5],eax mov eax,[esi+320*5+4] mov [edi+320*5+4],eax mov eax,[esi+320*5+8] mov [edi+320*5+8],eax mov eax,[esi+320*5+12] mov [edi+12+320*5],eax mov eax,[esi+320*6] mov [edi+320*6],eax mov eax,[esi+320*6+4] mov [edi+320*6+4],eax mov eax,[esi+320*6+8] mov [edi+320*6+8],eax mov eax,[esi+320*6+12] mov [edi+12+320*6],eax mov eax,[esi+320*7] mov [edi+320*7],eax mov eax,[esi+320*7+4] mov [edi+320*7+4],eax mov eax,[esi+320*7+8] mov [edi+320*7+8],eax mov eax,[esi+320*7+12] mov [edi+12+320*7],eax mov eax,[esi+320*8] mov [edi+320*8],eax mov eax,[esi+320*8+4] mov [edi+320*8+4],eax mov eax,[esi+320*8+8] mov [edi+320*8+8],eax mov eax,[esi+320*8+12] mov [edi+12+320*8],eax mov eax,[esi+320*9] mov [edi+320*9],eax mov eax,[esi+320*9+4] mov [edi+320*9+4],eax mov eax,[esi+320*9+8] mov [edi+320*9+8],eax mov eax,[esi+320*9+12] mov [edi+12+320*9],eax mov eax,[esi+320*10] mov [edi+320*10],eax mov eax,[esi+320*10+4] mov [edi+320*10+4],eax mov eax,[esi+320*10+8] mov [edi+320*10+8],eax mov eax,[esi+320*10+12] mov [edi+12+320*10],eax mov eax,[esi+320*11] mov [edi+320*11],eax mov eax,[esi+320*11+4] mov [edi+320*11+4],eax mov eax,[esi+320*11+8] mov [edi+320*11+8],eax mov eax,[esi+320*11+12] mov [edi+12+320*11],eax mov eax,[esi+320*12] mov [edi+320*12],eax mov eax,[esi+320*12+4] mov [edi+320*12+4],eax mov eax,[esi+320*12+8] mov [edi+320*12+8],eax mov eax,[esi+320*12+12] mov [edi+12+320*12],eax mov eax,[esi+320*13] mov [edi+320*13],eax mov eax,[esi+320*13+4] mov [edi+320*13+4],eax mov eax,[esi+320*13+8] mov [edi+320*13+8],eax mov eax,[esi+320*13+12] mov [edi+12+320*13],eax mov eax,[esi+320*14] mov [edi+320*14],eax mov eax,[esi+320*14+4] mov [edi+320*14+4],eax mov eax,[esi+320*14+8] mov [edi+320*14+8],eax mov eax,[esi+320*14+12] mov [edi+12+320*14],eax mov eax,[esi+320*15] mov [edi+320*15],eax mov eax,[esi+320*15+4] mov [edi+320*15+4],eax mov eax,[esi+320*15+8] mov [edi+320*15+8],eax mov eax,[esi+320*15+12] mov [edi+12+320*15],eax ret reetrertertert3: ;affichage d'un oeuf aff_oeuf jmp reetrertertert reetrertertert2: ;affichage d'une explosion de bonus... sub edi,11*320+6 SPRITE_27_31 jmp reetrertertert affiche_sprites endp ;load proc near ; xor eax,eax ; mov al,00h ;ouverture du fichier pour lecture. ; mov ah,03dh ; mov edx,offset fichier ; int 21h ; jc erreur_filec;saute si carry=1 ; ; mov ebx,eax ; mov ah,03fh ; mov ecx,064000 ; mov edx,offset buffer ; int 21h ; ; mov ah,03eh ; int 21h ;ret ; DOS INT 21h ;call affsigne ;ret ;load endp beuh proc near push ds mov ax,fs ;SOURCE... mov ds,ax ; mov es,ax mov esi,0 mov edi,614400 mov ecx,76800 rep movsd pop ds ret beuh endp aff_page proc near ;affiche en ram video ce k'il y a a : FS:ESI ;ENTREE : ESI push ds xor edi,edi mov ax,fs ;SOURCE... mov ds,ax ; xor bx,bx ;pour l'int. xor dx,dx call change_page push edi mov ecx,016384 rep movsd pop edi call change_page push edi mov ecx,016384 rep movsd pop edi call change_page push edi mov ecx,016384 rep movsd pop edi call change_page push edi mov ecx,016384 rep movsd pop edi call change_page push edi mov ecx,45056/4 rep movsd pop edi pop ds ret change_page: ;mov dx,bp ;numero de la fenetre ;ax ;xor bx,bx mov ax,4f05h int 10h inc dx ;bp ret aff_page endp ;copie_page proc near ;copie dans buffer ce k'il y a a : FS:ESI ;PUSHALL ;mov ax,ds ;mov es,ax ;mov ax,fs ;mov ds,ax ;mov edi,offset buffer ;mov ecx,64000/4 ;rep movsd ; ;POPALL ;ret ;copie_page endp aff_page2 proc near ;affiche en ram video ce k'il y a a dans le buffer RAMBUFFER ;PUSH ESI ;mov esi,offset buffer ;ram ;POP ESI RET ;PUSHALL ; ;cmp [affiche_pal],1 ;!!! sauf si on eteint la pal... ;jne erertrte ;POPALL ;ret ;erertrte: ; ;xor edi,edi ; ;;mov ax,fs ;SOURCE... ;;mov ds,ax ; ; ;mov esi,offset buffer ; ;mov ecx,320*200/4 ;rep movsd ; ;POPALL ;ret aff_page2 endp FILEERROR MACRO local erreur_filec jnc erreur_filec ;saute si carry=1 mov ax,3h int 10h lea edx,loaderror mov ah,9 int 21h mov bl,0100B ;rouge mov bh,10000000B ;indique clignotement call last_color mov ax,4c00h ; AH=4Ch - Exit To DOS int 21h erreur_filec: ENDM load_pcx proc near ; ecx: offset dans le fichier. ; edx: offset nom du fichier ; edi: viseur dans données ou ca serra copié (ax:) ; ebx: nombre de pixels dans le pcx pushad push es ds mov [load_pcx_interne],ebx mov es,ax xor eax,eax mov al,00h ;ouverture du fichier pour lecture. mov ah,03dh int 21h FILEERROR mov [load_handle],eax ;... deplacement a l'interieur du fichier rmd ... push ecx ;(1) mov ebx,[load_handle] mov ah,042h mov al,00h ;debut du fichier mov dx,cx shr ecx,16 ;dans cx:dx deplacement a l'interieur du fichier int 21h FILEERROR ;...lecture du fichier... mov ebx,[load_handle] mov ah,03fh mov ecx,0FFFFh mov edx,offset buffer int 21h FILEERROR pop eax ;(1) push ebx mov ebx,dword ptr [buffer] BIGENDIANPATCH ebx add eax,ebx pop ebx sub eax,768 push eax ;(1) ;xor edi,edi xor ebx,ebx ;nombre de pixel k'on a affiche xor ecx,ecx mov esi,offset buffer+128 encore_un_pixel: cmp ebx,[load_pcx_interne] jnb cestfini lodsb cmp esi,offset buffer+0ffffh jne coke call charge_encore mov esi,offset buffer coke: cmp al,192 jb non_c_un_octet_seul and al,0111111B movzx cx,al ;non signe... 8 -> 16 bits lodsb cmp esi,offset buffer+0ffffh jne cok call charge_encore mov esi,offset buffer cok: viennes: stosb inc ebx ;nombre de pixels k'on a affiches. dec cx jnz viennes jmp encore_un_pixel non_c_un_octet_seul: stosb inc ebx ;nombre de pixels k'on a affiches. jmp encore_un_pixel cestfini: ;.... plus k'a recopier la palette... ;mov ax,c ;mov es,ax ;mov ds,ax mov ebx,[load_handle] ;;mov eax,0 ;-768 ;259995 ;768 pop eax ;(1) !! ; mov dx,ax shr eax,16 mov cx,ax mov ah,042h mov al,00h int 21h FILEERROR ; ;push dx ;mov ax,c ;mov es,ax ;mov ds,ax mov ebx,[load_handle] mov ah,03fh mov cx,0768 mov edx,offset pal int 21h ;pop dx ; ;;...............convertis la palette... ; ; ;;dans cx:dx deplacement a l'interieur du fichier ; ;mov ax,c ;mov es,ax ;mov ds,ax mov esi,offset pal ; mov di,offset pal mov cx,768 xor ax,ax rtrttr: mov al,[esi] shr al,2 mov [esi],al inc esi dec cx jnz rtrttr ; ;...fermeture fichier... mov ebx,[load_handle] mov ah,03eh int 21h FILEERROR pop ds es popad ret load_pcx endp load_raw proc near ; ecx: offset dans le fichier. ; edx: offset nom du fichier ; edi: viseur dans données ou ca serra copié (ax:) ; ebx: nombre de pixels dans le pcx pushad push es ds xor eax,eax mov al,00h ;ouverture du fichier pour lecture. mov ah,03dh int 21h jnc retyryurttyutyutyuutyyuiiyuuiyuiy mov dl,13 mov ah,2 int 21h lea edx,suite2 mov ah,09h int 21h mov bl,4 ;rouge mov bh,10000000B ;indique clignotement call last_color mov ax,4c00h ; AH=4Ch - Exit To DOS int 21h ; DOS INT 21h retyryurttyutyutyuutyyuiiyuuiyuiy: mov [load_handle],eax mov ebx,[load_handle] mov ah,042h mov al,00h ;debut du fichier mov dx,cx shr ecx,16 int 21h mov ebx,[load_handle] mov ah,03fh mov ecx,064000 ; edi: viseur dans données ou ca serra copié (ax:) push ds push fs pop ds mov edx,edi int 21h pop ds mov ebx,[load_handle] mov ah,03eh int 21h pop ds es popad ret load_raw endp charge_encore proc near push ds ax es ds ebx cx dx mov ebx,[load_handle] mov ah,03fh mov cx,0FFFFh mov edx,offset buffer int 21h pop dx cx ebx ds es ax ds ret charge_encore endp ;pal db 768 dup (?) ;pal de l'émulateur. ;pal_affiche db 768 dup (0) ;pal k'on affiche... ;affiche_pal db 0 ; 1: vas de la palette au noir (ne plus afficher ; ; d'écran !!!) ; ; ; ; 2: va du noir a la palette ; ; 0: ne fait rien... pal_visage proc near PUSHALL ;call noping ;call noping ;call noping ;call noping ;call noping ;call noping ;call noping ;call noping ;call noping ;call noping ;call noping ;call noping cmp [affiche_pal],0 jne histoire rty: POPALL ret histoire: push ds pop es cmp [affiche_pal],1 jne zorrro ;affiche_pal db 0 ; 1: vas de la palette au noir (ne plus afficher ; ; d'écran !!!) ;------------ xor bp,bp mov dx,4 reeeeee: ;mov esi,offset pal mov esi,offset pal_affiche mov cx,768 rchanger: cmp byte ptr [esi],0 je pareil dec byte ptr [esi] jmp pas_pareil pareil: inc bp pas_pareil: inc esi dec cx jnz rchanger dec dx jnz reeeeee cmp bp,768*4 jne erterterterrterte mov [affiche_pal],2 erterterterrterte: call affpal POPALL ret zorrro: xor bp,bp mov dx,4 yreeeeee: mov edi,offset pal ;cmp byte ptr [ordre2],'' ;uniqUEMENT si on est dans le jeu. ;jne terterertrteertyerertrteterter cmp byte ptr [ordre],'S' jne rezterterertrteertyerertrteterter cmp [master],0 jne opiopiioiouuiiuiuiuooo cmp [pic_time],0 je opiopiioiouuiiuiuiuooo lea edi,pal_pic ;cmp kel_pic_intro,1 ;jne opiopiioiouuiiuiuiuooo ;lea edi,pal_pic2 opiopiioiouuiiuiuiuooo: rezterterertrteertyerertrteterter: ; si on est pas dans le menu cmp byte ptr [ordre],'S' je terterertrteertyerertrteterter cmp byte ptr [ordre2],'' jne terrteterertterterertrteertyerertrtetertererer lea edi,pal_jeu terrteterertterterertrteertyerertrtetertererer: cmp byte ptr [ordre2],'V' jne terrteterertterterertrteertyerertrteterterererr lea edi,pal_jeu terrteterertterterertrteertyerertrteterterererr: cmp byte ptr [ordre2],'V' jne terrteterertterterertrteertyerertrtetertererereErr lea edi,pal_vic terrteterertterterertrteertyerertrtetertererereErr: cmp byte ptr [ordre2],'Z' jne terrteterertterterertrteertyerertrtetertererereE lea edi,pal_med terrteterertterterertrteertyerertrtetertererereE: cmp byte ptr [ordre2],'D' jne tyr2trtyrtyrtyrtyrtyterterertrteert lea edi,pal_draw tyr2trtyrtyrtyrtyrtyterterertrteert: terterertrteertyerertrteterter: cmp pic_de_tout_debut,1 jne ereetrtrtrtrteeete lea edi,pal_pic2 ereetrtrtrtrteeete: mov esi,offset pal_affiche mov cx,768 yrchanger: mov al,byte ptr [edi] cmp byte ptr [esi],al je ypareil inc byte ptr [esi] jmp ypas_pareil ypareil: inc bp ypas_pareil: inc edi inc esi dec cx jnz yrchanger dec dx jnz yreeeeee cmp bp,768*4 jne yerterterterrterte mov [affiche_pal],0 yerterterterrterte: call affpal POPALL ret endp ;get_pal_ansi proc near ;PUSHALL ; mov dx,3c7h ; XOR al,al ; out dx,al ; mov dx,3c9h ;push ds ;pop es ;lea edi,pal_txt_debut ; mov cx,256*3 ; u@@saaccvaaaax: ; in al,dx ;stosb ; dec cx ; JNZ u@@saaccvaaaax ;POPALL ;ret ;get_pal_ansi endp affpal proc near pushad mov esi,offset pal_affiche mov dx,3c8h XOR al,al out dx,al mov dx,3c9h mov cx,256*3 @@saaccvaaaax: LODSB out dx,al dec cx JNZ @@saaccvaaaax popad ret affpal endp affpal2 proc near pushad ; mov esi,offset pal_affichée mov dx,3c8h XOR al,al out dx,al mov dx,3c9h mov cx,256*3 a@@saaccvaaaax: LODSB out dx,al dec cx JNZ a@@saaccvaaaax popad ret affpal2 endp copie_le_fond proc near PUSHALL dec [attente] cmp [attente],0 jne erteteteerre add [viseur_sur_fond],4 mov [attente],max_attente cmp [terrain],2 ; eau... jne yertertertertertutyoooooortyyrt mov [attente],min_attente ; yertertertertertutyoooooortyyrt: erteteteerre: mov eax,4*4 cmp [terrain],2 ; db 2 ; 1:fete, 2: neige... jne yertertertertertutyoooooo mov eax,3*4 yertertertertertutyoooooo: mov ebx,[viseur_sur_fond] cmp ebx,eax ;4 [nombre_de_fond] jb erterertyurttyu mov [viseur_sur_fond],0 xor ebx,ebx erterertyurttyu: push ebx mov bl,terrain dec bl shl ebx,2 mov esi,[ebx+kelle_offset_fond] pop ebx mov esi,[esi+ebx] ;cmp [terrain],2 ; db 2 ; 1:fete, 2: neige... ;jne yertertertertert ;mov esi,[adresse_des_fonds_neige+ebx] ;yertertertertert: ; ;cmp [terrain],3 ; db 2 ; 1:fete, 2: neige... ;jne yertertertertert1 ;mov esi,[adresse_des_fonds_hell+ebx] ;yertertertertert1: ; ;cmp [terrain],4 ; db 2 ; 1:fete, 2: neige... ;jne yertertertertert2 ;mov esi,[adresse_des_fonds_foret+ebx] ;yertertertertert2: ; ;cmp [terrain],5 ; db 2 ; 1:fete, 2: neige... ;jne yertertertertert2r ;mov esi,[adresse_des_fonds_nuage+ebx] ;yertertertertert2r: ; ; ; ;cmp [terrain],1 ; db 2 ; 1:fete, 2: neige... ;jne rertertertertert ;mov esi,[adresse_des_fonds+ebx] ;rertertertertert: ;===== affiche en ram video ce k'il y a a : FS:ESI ; ENTREE : ESI ramesi copyblock POPALL ret copie_le_fond endp copie_le_fond_draw proc near PUSHALL ;adresse_des_fonds dd 0,64000,128000 ;nombre_de_fond dd 3*2 ;viseur_sur_fond dd 0 ;attente db 0 ;max_attente db 0 dec [attente] cmp [attente],0 jne yerteteteerre add [viseur_sur_draw],4 mov [attente],max_attente yerteteteerre: mov ebx,[viseur_sur_draw] cmp ebx,[nombre_de_draw] jne yerterertyurttyu mov [viseur_sur_draw],0 xor ebx,ebx yerterertyurttyu: mov esi,[adresse_des_draws+ebx] ;===== affiche en ram video ce k'il y a a : FS:ESI ; ENTREE : ESI ramesi copyblock POPALL ret copie_le_fond_draw endp copie_le_fond_vic proc near PUSHALL dec [attente] cmp [attente],0 jne iyyerteteteerre ;mov edi,704000 ; 128000 ;307200 add [viseur_sur_vic],4 mov [attente],max_attente4 iyyerteteteerre: mov ebx,[viseur_sur_vic] cmp ebx,[nombre_de_vic] jne iyerterertyurttyu mov [viseur_sur_vic],0 xor ebx,ebx iyerterertyurttyu: mov esi,[adresse_des_vic+ebx] ;===== affiche en ram video ce k'il y a a : FS:ESI ; ENTREE : ESI ramesi copyblock POPALL PUSHALL push ds pop es ;mov esi,offset donnee4+9*4 ;mov ecx,9 ;rep movsd ;mov esi,dword ptr [donnee4+9*4] ; ;mov esi,640000 ; 128000 ;307200 inc dword ptr [changementZZ] supreme_victory_group: mov eax,[nombre_de_dyna] mov edi,[latest_victory] mov ebx,[team+edi] xor edi,edi xor ecx,ecx supreme_victory_group_winners_loop: cmp ebx,[team+edi] jne supreme_victory_group_winners_next add ecx,16+8 supreme_victory_group_winners_next: add edi,4 dec eax jne supreme_victory_group_winners_loop mov edx,320 sub edx,ecx shr edx,1 add edx,57*320 xor ecx,ecx supreme_victory_group_loop: cmp ebx,[team+ecx] jne supreme_victory_group_next push ebx push ecx push edx test ecx,0100b jne supreme_victory_group_sprite add edx,3*320 supreme_victory_group_sprite: lea edi,[donnee4+9*4] mov esi,[ooo546+ecx] mov ebx,[liste_couleur+ecx] movzx eax,word ptr [ebx+0*2] add eax,esi stosd movzx eax,word ptr [ebx+1*2] add eax,esi stosd movzx eax,word ptr [ebx+2*2] add eax,esi stosd movzx eax,word ptr [ebx+3*2] add eax,esi stosd shr ecx,1 mov ax,[dummy1392+ecx] stosb mov ax,[dummy1393+ecx] stosb shl ecx,1 mov ebx,[changementZZ] and ebx,000110000B shr ebx,2 mov esi,[donnee4+9*4+ebx] mov edi,edx xor cx,cx mov cl,[donnee4+9*4+4*4+1] ;nombre de colonnes. xor bx,bx mov bl,[donnee4+9*4+4*4] ;nb lignes mov dl,[donnee4+8+ebp] ;1er bit: clignotement ??? and dl,01B push ds push fs pop ds call affiche_bomby2 pop ds pop edx pop ecx pop ebx add edx,16+8 supreme_victory_group_next: add ecx,4 cmp ecx,8*4 jb supreme_victory_group_loop POPALL ret copie_le_fond_vic endp copie_le_fond_med proc near PUSHALL SOUND ;adresse_des_fonds dd 0,64000,128000 ;nombre_de_fond dd 3*2 ;viseur_sur_fond dd 0 ;attente db 0 ;max_attente db 0 mov esi,64000*7 ;[adresse_des_draws+ebx] cmp [team3],1 jne pas_color mov esi,1582080+64000 pas_color: cmp [team3],2 jne pas_g mov esi,1582080+64000*2 pas_g: ;===== affiche en ram video ce k'il y a a : FS:ESI ; ENTREE : ESI ramesi copyblock ;---- copie les noms des joueurs PUSHALL push ds pop es mov ebx,offset briques mov [viseur_couleur],0 mov edi,offset buffer mov ecx,8 xor edx,edx pppppppgoeger: push edi ;viseur_namec dd 10+(69)*320,10+(69+9)*320,10+(43+42*2)*320,10+(43+42*3)*320 cmp [team3],1 jne pas_c3 add edi,[viseur_namec+edx] jmp ihjhuihui pas_c3: cmp [team3],2 jne pas_g3 add edi,[viseur_nameg+edx] jmp ihjhuihui pas_g3: add edi,[viseur_name+edx] ihjhuihui: ;------------- affiche un nom de joueur...-- PUSHALL call affiche_un_caractere POPALL add edi,8 inc ebx PUSHALL call affiche_un_caractere POPALL add edi,8 inc ebx PUSHALL call affiche_un_caractere POPALL inc [viseur_couleur] add ebx,2 ;affichae pas l'espace ;------------------------------------------- pop edi add edx,4 ;add ebx,4 dec ecx jnz pppppppgoeger POPALL ;------------------- POPALL PUSHALL ;------- copie les médailles --- ;victoires dd 8 dup (?) ;viseur pour on place la premiere médaille pour chacun des 8 joueurs. ; ;viseur_victory dd 44+44*320,44+86*320,44+128*320,44+170*320 ; dd 205+45*320,205+86*320,205+128*320,205+170*320 ;latest_victory dd ? ;offset_medaille dw 23*0,23*1,23*2,23*3,23*4,23*5,23*6,23*7,23*8,23*9,23*10,23*11,23*12 ; dw 23*320+23*0,23*320+23*1,23*320+23*2 push ds pop es ;mov edi,offset buffer ;mov ecx,320 ;mov eax,54501015 ;rep stosd mov esi,64000*8 xor ebx,ebx mov ax,fs ;;dans ax: source mov ds,ax ;add viseur sur la piece !!! mov ebx,es:[changementZZ] and ebx,0111100B shr ebx,1 inc dword ptr es:[changementZZ] xor ebp,ebp mov edi,offset buffer ertrterteterter: push edi mov ecx,dword ptr es:[donnee4+ebp] ;victoires or ecx,ecx jz ertertertertertertert cmp ecx,5 jb rerterteertrte mov ecx,5 rerterteertrte: ;----- erertererrteert: push edi esi xor eax,eax ;mov ebx,es:[changement] ;and ebx,0111100B ;shr ebx,1 ;add ebx,ebx mov ax,word ptr es:[offset_medaille+ebx] add esi,eax cmp es:[team3],1 jne pas_c32 add edi,es:[viseur_victoryc+ebp] jmp ihjhuihui2 pas_c32: cmp es:[team3],2 jne pas_c32r add edi,es:[viseur_victoryg+ebp] jmp ihjhuihui2 pas_c32r: add edi,es:[viseur_victory+ebp] ihjhuihui2: ;--- clignotement --- cmp ecx,1 jne eertterrtrteterert draw_skynet_team_medals: cmp es:[team3_sauve],4 jne check_victory_medal_player mov eax,es:[latest_victory] mov eax,es:[team+eax] cmp eax,es:[team+ebp] je draw_win_victory_medal check_victory_medal_player: cmp dword ptr es:[donnee4+4*8],ebp jne eertterrtrteterert draw_win_victory_medal: mov esi,64000*8 ;de face uniquement ;briques dw 1+19*13*2 dup (?) ;nombre de brique, source de la brique, destination ; ;dans buffer video ; ;si on est dans 'Z' médaille céremony ; ;les noms de chaque joueur. 8x4 octets. ; ; ;+ 1 db= faut afficher la brike ki clignote ou pas??? cmp byte ptr es:[briques+8*4],1 je ertterrtrteterert ;test dword ptr es:[changementZZ],0000110000B ;jnz eertterrtrteterert ;jmp ertterrtrteterert eertterrtrteterert: call aff_sprite ;// c'est le sprite pour les victoire ou autre ignorer. ertterrtrteterert: ;--- clignotement --- pop esi edi add edi,23 add ebx,2*2 and ebx,31 dec ecx jnz erertererrteert ;----- ertertertertertertert: pop edi add ebp,4 cmp ebp,4*8 jne ertrterteterter POPALL ret aff_sprite: PUSH ecx ebx esi mov ecx,22 ertertertrteert: mov ebx,22 concert: lodsb or al,al jz ertertertrte mov byte ptr es:[edi],al ertertertrte: inc edi dec ebx jnz concert add edi,320-22 add esi,320-22 dec ecx jnz ertertertrteert pop esi ebx ecx ret copie_le_fond_med endp inst_clavier proc near PUSHALL ;2.14 - Function 0200h - Get Real Mode Interrupt Vector: ;------------------------------------------------------- ; Returns the real mode segment:offset for the specified interrupt vector. ;In: ; AX = 0200h ; BL = interrupt number ;Out: ; always successful: ; carry flag clear ; CX:DX = segment:offset of real mode interrupt handler ;Notes: ;) The value returned in CX is a real mode segment address, not a protected ; mode selector. ;mov ax,0200h ;mov bl,9 ;int 31h ; ;mov word ptr [clavier_old_int],dx ;mov word ptr [clavier_old_int+2],cx ;2.15 - Function 0201h - Set Real Mode Interrupt Vector: ;------------------------------------------------------- ; Sets the real mode segment:offset for the specified interrupt vector. ;In: ; AX = 0201h ; BL = interrupt number ; CX:DX = segment:offset of real mode interrupt handler ;offset_2_adresse_physique proc near ;source ds:esi ; ;adresse physique (dx:ax) ;mov esi,offset HANDLER9 ;call offset_2_adresse_physique ;mov cx,dx ;mov dx,ax ;mov ax,201h ;int 31h ;2.18 - Function 0204h - Get Protected Mode Interrupt Vector: ;------------------------------------------------------------ ; ; Returns the address of the current protected mode interrupt handler for the ;specified interrupt. ; ;In: ; AX = 0204h ; BL = interrupt number ; ;Out: ; always successful: ; carry flag clear ; CX:EDX = selector:offset of protected mode interrupt handler ; AX = 0204h ; BL = interrupt number ; ;Out: ; always successful: ; carry flag clear ; CX:EDX = selector:offset of protected mode interrupt handler mov cx,cs mov edx,offset handler10 ;IGNORE mov ax,0205h mov bl,9 int 31h POPALL ret inst_clavier endp ;de_inst_clavier proc near ;PUSHALL ; ;mov dx,word ptr [clavier_old_int] ;mov cx,word ptr [clavier_old_int+2] ; ;mov ax,201h ;int 31h ; ; ;POPALL ;ret ; ;de_inst_clavier endp ;db 0b8h ;sisisis dw ? HANDLER10 PROC NEAR ;detourtenement int 9h (procedure k'on rajoute devant l'int.) PUSHF PUSHALL mov ecx,132456h mov edx,132456h db 0b8h ;IGNORE merdo dd ? ;IGNORE ;2144 mov ds,ax ;mov temps_avant_demo,ttp xor eax,eax in al,60h ;call affsigne ;mov [last_sucker],al ;mov [last_sucker],al test al,128 jnz ureertrteertert2 ureertrteertert2: mov edi,offset clavier cmp al,225 ; jne retertert_specialye mov [clavier_stuff2],2 cmp action_replay,0 jne retertert_specialye mov [pause],1 jmp tttttttttoooooi retertert_specialye: cmp al,224 ; jne retertert_special mov [clavier_stuff],1 jmp tttttttttoooooi retertert_special: ;------------- special pause ----------- cmp [clavier_stuff2],0 je reterrteertertter dec [clavier_stuff2] ;;;;;;;;jnz tttttttttoooooi ;;;;;;;;;;;mov [last_sucker],110 ;code pause... jmp tttttttttoooooi reterrteertertter: ;--------------------- cmp [clavier_stuff],1 jne pas_extanded mov [clavier_stuff],0 ;;-+---------------- ;cmp al,42 ;cas particulier.. les 224,42 on s'en tappe !!! ;je tttttttttoooooi ;;-+------------ ;---c as particulier pause !!!! cmp al,70 jne pas_poauser mov [pause],1 pas_poauser: ;-------- xor ebx,ebx CMP AL,128 JB uTOU and al,127 mov bl,al mov al,[clavier_extanded+ebx] or al,al ;si non prevu... fait rien... je tttttttttoooooi or al,128 jmp pas_extanded uTOU: mov bl,al mov al,[clavier_extanded+ebx] ;cmp al,42 ;cas particulier.. les 224,42 on s'en tappe !!! or al,al ;si non prevu... fait rien... je tttttttttoooooi pas_extanded: CMP AL,128 JB uTOUCHE_APPUYEE AND AL,01111111B ADD eDI,eAX MOV byte ptr [eDI],0 jMP uBE_ALL uTOUCHE_APPUYEE: add edi,eax ;;-----------------------***--------------** ;;touches_ dd 114,115,112,113,82,83,0, -1 ;; dd 20,21,16,30,57,15,0, -1 ;push ebx edi ;xor ebx,ebx ;encpoooe: ;cmp [touches_+ebx+7*4],-1 ;;jne pas_active ;cmp [touches_+ebx],eax ;je cceluila ;cmp [touches_+ebx+4],eax ;je cceluila ;cmp [touches_+ebx+8],eax ;je cceluila ;cmp [touches+ebx+12],eax ;je cceluila ; ;jmp pas_active ;cceluila: ;mov edi,offset clavier ;add edi,[touches_+ebx] ;MOV byte ptr [eDI],0 ; ;mov edi,offset clavier ;add edi,[touches_+ebx+4] ;;MOV byte ptr [eDI],0 ; ;mov edi,offset clavier ;add edi,[touches_+ebx+8] ;MOV byte ptr [eDI],0 ; ;mov edi,offset clavier ;add edi,[touches_+ebx+12] ;MOV byte ptr [eDI],0 ; ;pas_active: ;add ebx,8*4 ;cmp ebx,(8*4)*8 ;jne encpoooe ;pop edi ebx ;;------------********---------************- MOV byte ptr [eDI],1 ;mov [last_sucker],al uBE_ALL: tttttttttoooooi: cmp eax,1 jne uertterertert cmp [attente_nouveau_esc],0 jne uertterertert mov [sortie],1 uertterertert: uoitreterrtyrty: mov byte ptr [une_touche_a_telle_ete_pressee],1 ;et oui... mov al,20h out 20h,al POPALL POPF iret handleR10 ENdP ;donnee2 dd 0,0,0,0 ,0,0 ;1er joeur d'un ordy. ; dd 0,0,0,0 ,0,0 ;2eme joeur d'un ordy ; dd 0,0,0,0 ,0,0 ;3eme joeur d'un ordy ; dd 0,0,0,0 ,0,0 ;4eme joeur d'un ordy ;mov esi,offset donnee2 ;si joeur 1 controle proc near ;utilise par les slavers et les masters cmp taille_exe_gonfle,0 jne dfgdf222gfghjktrhtkrjjrtyhjkrtyjklrty ;mov byte ptr [donnee2+8*7+2],0 ret dfgdf222gfghjktrhtkrjjrtyhjkrtyjklrty: PUSHALL ;prépare le packet qu'on va transmettre en informant ;les touches ke l'on presse actuellement ; ;nbe_bomber_locaux dd 2 ;nombre de bombers locaux ; ;bomber_locaux dd 0,1,0,0 ;mode de controle pour les bombermans locaux. ;;0 key droit ;;1 keyb gauche ;--------- efface le packet... push ds pop es xor eax,eax mov edi,offset donnee2 mov ecx,touches_size rep stosb ;---------------------------- mov ecx,8 ;[nbe_bomber_locaux] ;ceci ne correspond pas a l'ordre des dyna ; juste les 8 dyna possilbe sur 1 becane mov esi,offset donnee2 mov edi,offset touches_ ;mode de control ;xor ebp,ebp ; ;mov ah,02h ;SUPER_SIGNE2 DB 0 ;mov dl,13 ;int 21h ertyertyjyuiyuiyuiiyu: push ecx push esi mov dword ptr [esi],0 ;on efface le dernier packet mov word ptr [esi+4],0 push edi cmp dword ptr [edi+7*4],-1 ;ke si joueur en action (via setup) jne retertertrtertetyyrtuui call controle_joueur_fleche retertertrtertetyyrtuui: pop edi pop esi add esi,7 ;6 ;7 add edi,8*4 ;mode de control ;add ebp,4 pop ecx dec ecx jnz ertyertyjyuiyuiyuiiyu cmp taille_exe_gonfle,0 je zappelesmachins ;return cmp byte ptr [clavier+28],1 jne erertertertp mov byte ptr [donnee2+8*7],1 erertertertp: ;esc cmp byte ptr [clavier+1],1 jne erertertertpt mov byte ptr [donnee2+8*7+1],1 erertertertpt: cmp byte ptr [une_touche_a_telle_ete_pressee],1 jne erertertertptEE mov byte ptr [donnee2+8*7+2],1 erertertertptEE: mov byte ptr [une_touche_a_telle_ete_pressee],0 zappelesmachins: POPALL ret controle endp start_cpu_player proc near PUSHALL mov esi,offset differents_offset_possible+4*8 xor eax,eax mov al,nb_ai_bombermen shl eax,2 add esi,eax mov ebp,nombre_de_dyna cmp ebp,8 je exit_function shl ebp,2 mov eax,[esi+ebp] mov [control_joueur+ebp],eax inc nombre_de_dyna inc nb_ai_bombermen exit_function: POPALL ret start_cpu_player endp menu_intelligence proc near PUSHALL SOUND_FAC fx ;n al,60h ;cmp al,57 ;jne reterrterterte2 ;mov byte ptr [ordre],'' ;reterrterterte2: ;cmp byte ptr [clavier+1],1 ;jne erertertertpt ;cmp byte ptr [total_t+6*4+1],1 ;------------- ordre du master -------------------------- ;****************************************************** cmp [nombre_de_dyna],0 ; jnz rtbrtyjkrtklrtyrtyrtyrty ; dont go to demo if someone is reg... dec temps_avant_demo jnz rtbrtyjkrtklrtyrtyrtyrty mov temps_avant_demo,ttp2 ;temps_avant_demo2/10 jmp rtrtytyutyutyutyuyuttyuyuttyuyutyuyuttyuyuttyuyut rtbrtyjkrtklrtyrtyrtyrty: ;cmp byte ptr [clavier+88],1 ;F12 ;jne retyeyutyuutyyutyutyuioodfgdfgdfggdf ; cmp action_replay,2 je rtrtytyutyutyutyuyuttyuyuttyuyutyuyuttyuyuttyuyut jmp retyeyutyuutyyutyutyuioodfgdfgdfggdf rtrtytyutyutyutyuyuttyuyuttyuyutyuyuttyuyuttyuyut: ;on ne passe pas en mode demo si on est sur le 386... ; cmp [assez_de_memoire],1 ; je retyeyutyuutyyutyutyuioodfgdfgdfggdf ;=========== restauration/sauvegarde replay =========== ;******** ACTION REPLAY-------------------- ; si play ;cmp action_replay,2 ; play,recup... ;jne pashjktrkhjerterttyrr ;mov edx,dword ptr fs:[1966080+TAILLE_HEADER_REC-5] ;rotation, offet 1 dans le header ! PUSHALL ; on joue une partie ;differentesply dd 1966080+64000,1966080+64000*2,1966080+64000*3,1966080+64000*4,1966080+64000*5 mov ebx,differentesply2 add differentesply2,4 cmp differentesply2,4*nb_sply jne ertyertyuityu mov differentesply2,0 ertyertyuityu: mov esi,[differentesply+ebx] mov replayer_saver4,esi ;mov ax,fs ;mov ds,ax ;mov es,ax ;mov eax,fs:[1966080+TAILLE_HEADER_REC-9] ;variable changement ;mov edi,1966080 ;;mov esi,1966080+64000 ;mov ecx,16000 ;rep movsd POPALL ;pashjktrkhjerterttyrr: ;======= ;initialisation des pointeurs.. mov esi,replayer_saver4 mov replayer_saver5,1 ;// byte ptr fs:[esi+TAILLE_HEADER_REC],1 ;(viseur bonus ?) ;mov byte ptr fs:[1966080+TAILLE_HEADER_REC],1 ;(viseur bonus ?) mov replayer_saver,4 ; (taille octet suite a BONUS_REC) mov eax,dword ptr fs:[esi+TAILLE_HEADER_REC-13] BIGENDIANPATCH eax mov replayer_saver2,eax mov action_replay,2 ;play mov eax,dword ptr fs:[esi+TAILLE_HEADER_REC-17] ;nombre de dyna BIGENDIANPATCH eax mov [nombre_de_dyna],eax mov replayer_saver3, eax mov byte ptr [ordre],'' POPALL ret retyeyutyuutyyutyutyuioodfgdfgdfggdf: ;**************************************************** cmp [total_t+8*7],1 jne erertertertpert ;cmp byte ptr [clavier+28],1 ;jne erertertertpert ;cmp nombre_de_dyna,1 ;ja startGame cmp team3_sauve,1 jne pascolormode cmp nombre_de_dyna,2 ja startGame bruit2 14 40 ;fail because not enough players in colormode jmp erertertertpert pascolormode: cmp [nombre_de_dyna],1 ja startGame cmp nombre_de_dyna,0 jne nozerodyna bruit2 14 40 ;fail because not enough players in colormode jmp erertertertpert nozerodyna: cmp nb_ai_bombermen,1 jne donenottoaddacpuifonlyonecpuregistered bruit2 14 40 ;fail because not enough players in colormode jmp erertertertpert donenottoaddacpuifonlyonecpuregistered: call start_cpu_player startGame: bruit2 15 40 ;cmp demande_partie_slave2,0 ;je jkrltjhetjhejhjhtejhhjthjehjehjerjherlhjetlhljter2 ;cmp demande_partie_slave,1 ;je jkrltjhetjhejhjhtejhhjthjehjehjerjherlhjetlhljter ;jkrltjhetjhejhjhtejhhjthjehjehjerjherlhjetlhljter2: ;jkrltjhetjhejhjhtejhhjthjehjehjerjherlhjetlhljter: ;mov demande_partie_slave,0 ;mov [on_a_bien_fait_une_partie],1 mov byte ptr [ordre],'' erertertertpert: ;cmp byte ptr [clavier+2],1 ;jne erertertertperterre ;mov [viseur_liste_terrain],0 ;erertertertperterre: ;cmp byte ptr [clavier+3],1 ;jne erertertertperterrert ;mov [viseur_liste_terrain],1 ;erertertertperterrert: ;cmp byte ptr [clavier+4],1 ;jne erertertertperterrert4t ;mov [viseur_liste_terrain],2 ;erertertertperterrert4t: ;cmp byte ptr [clavier+5],1 ;jne erertertertperterrert4t54 ;mov [viseur_liste_terrain],3 ;erertertertperterrert4t54: ;cmp byte ptr [clavier+6],1 ;jne erertertertperterrert4t54r ;mov [viseur_liste_terrain],4 ;erertertertperterrert4t54r: ;cmp byte ptr [clavier+7],1 ;jne erertertertperterrert4t54rt5 ;mov [viseur_liste_terrain],5 ;erertertertperterrert4t54rt5: ;cmp byte ptr [clavier+8],1 ;jne erertertertperterrert4t54rt5y ;mov [viseur_liste_terrain],6 ;erertertertperterrert4t54rt5y: ;cmp byte ptr [clavier+9],1 ;jne erertertertperterrert4t54rt5yd ;mov [viseur_liste_terrain],7 ;erertertertperterrert4t54rt5yd: ;cmp byte ptr [clavier+5],1 ;jne erertertertperterrert4t3 ;mov [viseur_liste_terrain],3 ;erertertertperterrert4t3: ;---------------------------------------------------------------- ;--------- récupere touches pour personnes déja inscrites... push ds pop es mov ebp,[nombre_de_dyna] or ebp,ebp jz yen_a_pas xor ebx,ebx xor edx,edx ooooooooh: cmp [name_joueur+ebx],4 ;finito je ms_dos ;---- copie le nom du joueur mov esi,offset nick_t add esi,[control_joueur+ebx] lodsd mov dword ptr [texte1+6*1+1+32*0+edx],eax mov dword ptr [texte1+6*1+1+32*1+edx],eax mov dword ptr [texte1+6*1+1+32*2+edx],eax mov dword ptr [texte1+6*1+1+32*3+edx],eax ;---- affiche le curseur. cmp [name_joueur+ebx],1 jb retrterteoooshow cmp [name_joueur+ebx],3 ja retrterteoooshow push edx mov dword ptr [texte1+6*2+32*0+edx],' ' mov dword ptr [texte1+6*2+32*1+edx],' ' mov dword ptr [texte1+6*2+32*2+edx],' ' mov dword ptr [texte1+6*2+32*3+edx],' ' add edx,[name_joueur+ebx] mov byte ptr [texte1+6*2+32*0+edx],'-' mov byte ptr [texte1+6*2+32*1+edx],'-' mov byte ptr [texte1+6*2+32*2+edx],'-' mov byte ptr [texte1+6*2+32*3+edx],'-' pop edx retrterteoooshow: ;------------------- ;regarde si on a pressé... dec [temps_joueur+ebx] cmp [temps_joueur+ebx],0 jne ertterrtytyrrtyrtyrtyrtytuoooooooooo ;les fleches... changement d'un caratere... mov esi,offset total_t add esi,[control_joueur+ebx] cmp byte ptr [esi+3],0 je pas_flechedu ;mov temps_avant_demo,ttp push esi mov esi,offset nick_t add esi,[control_joueur+ebx] add esi,[name_joueur+ebx] dec byte ptr [esi-1] cmp byte ptr [esi-1],'a'-1 jne ertrteertterrterterte mov byte ptr [esi-1],'z'+13 ;,'a' ertrteertterrterterte: pop esi mov [temps_joueur+ebx],temps_re_menu jmp finito_touches pas_flechedu: ;les fleches... changement d'un caratere... mov esi,offset total_t add esi,[control_joueur+ebx] cmp byte ptr [esi+0],0 je upas_flechedu ;mov temps_avant_demo,ttp push esi mov esi,offset nick_t add esi,[control_joueur+ebx] add esi,[name_joueur+ebx] inc byte ptr [esi-1] cmp byte ptr [esi-1],'z'+14 jne uertrteertterrterterte mov byte ptr [esi-1],'a' ;'z'+13 uertrteertterrterterte: pop esi mov [temps_joueur+ebx],temps_re_menu jmp finito_touches upas_flechedu: ;les fleches... mov esi,offset total_t add esi,[control_joueur+ebx] cmp byte ptr [esi+1],0 je pas_fleched ;mov temps_avant_demo,ttp inc [name_joueur+ebx] cmp [name_joueur+ebx],4 jne pertertras_flechedertertertret mov [name_joueur+ebx],3 jmp ooooiio pertertras_flechedertertertret: bruit 5,40,BLOW_WHAT2 ooooiio: mov [temps_joueur+ebx],temps_re_menu jmp finito_touches pas_fleched: cmp byte ptr [esi+2],0 je pas_flechedm ;mov temps_avant_demo,ttp dec [name_joueur+ebx] cmp [name_joueur+ebx],0 jne pertertras_flechedertertertretm mov [name_joueur+ebx],1 jmp ootoi pertertras_flechedertertertretm: bruit 5,40,BLOW_WHAT2 ootoi: mov [temps_joueur+ebx],temps_re_menu jmp finito_touches pas_flechedm: ;--- sort... ;cmp byte ptr [esi+4],0 ;je pas_flechedmy actionButtonPushed pas_flechedmy ;mov temps_avant_demo,ttp ;---- que si sur le 3eme caractere. sinon decalle... cmp [name_joueur+ebx],3 je pertertras_flechedertertertrety bruit 5,40,BLOW_WHAT2 inc [name_joueur+ebx] mov [temps_joueur+ebx],temps_re_menu jmp finito_touches pertertras_flechedertertertrety: ;;====================--------- cas particulier de gruge !!! rmc: ;PUSHALL ;mov esi,offset nick_t ;add esi,[control_joueur+ebx] ;;------ pourle retour ici dans longtemps -- ;cmp byte ptr [esi+4],'' ;pour ke ca soit retire ensuite... ;jne etreyytyyyuuuuuuuuuu ;mov byte ptr [esi+4],' ' ;etreyytyyyuuuuuuuuuu: ;;------------- ;;--- pour la 2eme fois ou on passe la !! (juste apres :)) ;cmp byte ptr [esi+4],'t' ;pour ke ca soit retire ensuite... ;jne treyytyyyuuuuuuuuuu ;mov byte ptr [esi+4],'' ;treyytyyyuuuuuuuuuu: ;;----------------------------- ;mov eax,dword ptr [nomdetriche] ;cmp dword ptr [esi],eax ;jne iiuiuiuoooooooooooooooooo ;mov eax,dword ptr [nomdetriche2] ;mov dword ptr [esi],eax ;mov byte ptr [esi+4],'t' ;POPALL ;mov [temps_joueur+ebx],temps_re_menu ;jmp finito_touches ;iiuiuiuoooooooooooooooooo: ;POPALL ;======================---------------------------------------------------------- bruit 3,40,BLOW_WHAT2 ;on est sur le 3eme caracte !! finito !! mov [name_joueur+ebx],4 mov eax,[control_joueur+ebx] shr eax,6 ;/64 inc eax add al,'0' mov esi,offset nick_t add esi,[control_joueur+ebx] push eax mov eax,[esi] mov esi,offset message2 mov [esi],eax mov [esi+32],eax mov last_name,eax pop eax mov byte ptr [esi+16+32*2],al mov byte ptr [esi+16+32*3],al mov edi,offset texte1 add edi,edx mov ecx,32 rep movsd ;dans ebx... nomé du mec... cas particulier... ;cmp ebx,'rmd ' PUSHALL xor ebx,ebx xor ebp,ebp enojjojortyrtyrtytyr: mov eax,dword ptr [love_si+ebx] cmp last_name,eax jne nonon_ mov esi,[offset_si+ebp] mov edi,offset texte1 add edi,edx mov ecx,[offset_si+ebp+4] rep movsd mov eax,'FFFF' ;pour sortir nonon_: add ebp,8 add ebx,4 cmp eax,'FFFF' jne enojjojortyrtyrtytyr POPALL jmp finito_touches pas_flechedmy: mov [temps_joueur+ebx],1 finito_touches: ertterrtytyrrtyrtyrtyrtytuoooooooooo: ;------------------- ms_dos: add ebx,4 add edx,32*4 dec ebp jnz ooooooooh ;name_joueur dd 8 dup (?) ;pour dans le menu... ;name_joueur dd 8 dup (?) ;pour dans le menu... ;0: pas encore inscrit. ;1: récupere la premiere lettre ;2: récupere la premiere lettre ;3: récupere la troisieme lettre ;4: finis... attend de jouer ;temps_joueur dd 8 dup (temps_re_menu) ;temps d'attente avant validation ;d'une nouvelle frappe de touche. ;dans menu... yen_a_pas: ;-------------------------------------------------------- mov ebp,[nombre_de_dyna] cmp ebp,8 je finito_trop_de_dyna shl ebp,2 ;nombre de joueurs x4 mov esi,offset differents_offset_possible ;dans la table des offset du tas ; de touches. eetterrterterterteertterertert: mov ebx,[esi] cmp ebx,666 ;fin... je ok_on_en_a_trouve_un ;cmp byte ptr [total_t+ebx+4],1 ;jne touche_non_appuyee actionButtonPushed2 touche_non_appuyee ;---regarde si ce EBX n'est pas deja dans le control_joeur... ; cmp byte ptr [esi+ebx+4],1 ;jmp plusieur ;renegade *********************** push ebp or ebp,ebp jz ca_roule_mon_coco tretrrtrtrtrtrttr: sub ebp,4 cmp [control_joueur+ebp],eBx jne reetretrert ;et non on l'avait deja pris... pop ebp jmp touche_non_appuyee reetretrert: or ebp,ebp jnz tretrrtrtrtrtrttr ca_roule_mon_coco: pop ebp ;-- plusieur: mov dword ptr [control_joueur+ebp],ebx inc [nombre_de_dyna] push ds pop es ;--- sonne ;a: sample, b:note bruit 3,40,BLOW_WHAT2 ; on va marquer le numero de l'ordy connecté... ;mov eax,esi ;sub eax,offset differents_offset_possible ;shr eax,4 ;inc eax ;add al,'0' ;mov ah,byte ptr [nombre_de_dyna] ;add ah,'0' mov esi,offset message3 ;2 ;mov byte ptr [esi+5],ah ;mov byte ptr [esi+5+32],ah ;mov byte ptr [esi+16+32*2],al ;mov byte ptr [esi+16+32*3],al mov [name_joueur+ebp],1 mov edi,offset texte1 shl ebp,5 ;*32 (deja x4) add edi,ebp mov ecx,32 rep movsd jmp ok_on_en_a_trouve_un touche_non_appuyee: add esi,4 jmp eetterrterterterteertterertert finito_trop_de_dyna: ok_on_en_a_trouve_un: ;---- POPALL ret menu_intelligence endp controle_joueur_fleche proc near ;touches fleches PUSHALL ;75,77,80,72 mov ebx,[edi] cmp byte ptr [clavier+ebx],1 jne erertertert mov byte ptr [esi+2],1 erertertert: mov ebx,[edi+4] cmp byte ptr [clavier+ebx],1 jne erertertert2 mov byte ptr [esi+1],1 erertertert2: mov ebx,[edi+8] cmp byte ptr [clavier+ebx],1 jne erertertert3 mov byte ptr [esi],1 erertertert3: mov ebx,[edi+12] cmp byte ptr [clavier+ebx],1 jne erertertert4 mov byte ptr [esi+03],1 erertertert4: mov ebx,[edi+16] cmp byte ptr [clavier+ebx],1 jne erertertert45 mov byte ptr [esi+04],1 erertertert45: mov ebx,[edi+20] cmp byte ptr [clavier+ebx],1 jne ererterter45 mov byte ptr [esi+05],1 ererterter45: mov ebx,[edi+24] cmp byte ptr [clavier+ebx],1 jne ererterter455 mov byte ptr [esi+06],1 ererterter455: ;offset 0 =1 si la fleche bas est pressé/ j1 ; 1 =1 si la fleche droite est pressé j1 ; 2 =1 si la fleche gauche est pressé j1 ; 3 =1 si la fleche haut est pressé2 j1 ; 4 =1 bouton 1 j1 ; 5 =1 bouton 2 j1 POPALL ret endp gestion_jeu proc near ;uniquement appelé par le master. PUSHALL ;;cas particulier: terrain6 plus apres lapocalypse, pas de bonus ;decompte le tempos pendant lekel ya pas de bonus ;--- cmp special_nivo_6,0 je iophrehuiophuioeterterrte dec special_nivo_6 iophrehuiophuioeterterrte: ;--- ;************************************* refuse une pause tout de suite !!! cmp action_replay,0 jne ytnononono_onest_en_recordplaye cmp twice,1 jne ytnononono_onest_en_recordplaye cmp nombre_de_vbl_avant_le_droit_de_poser_bombe,(nombre_de_vbl_avant_le_droit_de_poser_bombe2-10)/2 ja erteetetretrerterterter jmp klhlkjljkjkljlkjkljkljklkljkljkljkljklj ytnononono_onest_en_recordplaye: cmp nombre_de_vbl_avant_le_droit_de_poser_bombe,nombre_de_vbl_avant_le_droit_de_poser_bombe2-10 ja erteetetretrerterterter klhlkjljkjkljlkjkljkljklkljkljkljkljklj: ;mov byte ptr [esi],0 ;mov [lapipipino3+ebp],duree_saut ;mov [lapipipino2+ebp],1 ;mov [lapipipino6+ebp],1 ;transformation homme -> lapin doit se faire uniqment ici. car ca serrait ;un demi-lapin dans le process sinon. clair ? PUSHALL xor ebp,ebp ertyrtyutyutyutyuioooppp: cmp [lapipipino6+ebp],1 jne ertytyuyututyuyyuiyui mov [lapipipino6+ebp],0 mov [lapipipino+ebp],1 mov [lapipipino3+ebp],duree_saut mov [lapipipino2+ebp],1 ertytyuyututyuyyuiyui: cmp [lapipipino6+ebp],2 jne ertytyuyututyuyyuiyuir mov [lapipipino6+ebp],0 mov [lapipipino+ebp],0 mov [lapipipino3+ebp],0 mov [lapipipino2+ebp],0 ertytyuyututyuyyuiyuir: add ebp,4 cmp ebp,4*8 jne ertyrtyutyutyutyuioooppp POPALL ; call gestion_pause cmp pauseur2,0 je erteetetretrerterterter call donnee_to_donnee4 ;passe de donne a donnee4 POPALL ret erteetetretrerterterter: ;****************** call transmet_central ; transmet au CENTRAL les infos k'on vient de pomper. SOUND_FAC BLOW_WHAT2 call dec_temps call gestion_bdraw cmp action_replay,0 jne nononono_onest_en_recordplaye cmp twice,1 jne nononono_onest_en_recordplaye cmp twice2,1 je nononono_onest_en_recordplaye call dec_temps call gestion_bdraw nononono_onest_en_recordplaye: call fabrique_monstro_truc call gestion_blanchiment call contamination ;contamination de dyna ?. mov ecx,[nombre_de_dyna] xor ebp,ebp ;--- bp: joeur en ce moment *4 brouter: push ecx mov esi,[liste_couleur+ebp] ;offset blanc ;esi: couleur du joeur... call gestion_lapin ;------ patineur ---------------------------- cmp [patineur+ebp],0 je OooooOooooooOooooooooooOooooooooooOoooooo call gestion_lapin OooooOooooooOooooooooooOooooooooooOoooooo: ;--- maladie de la speed --- cmp word ptr [maladie+ebp],01B jne OooooOooooooOooooooooooOooooooooooOooooooe call gestion_lapin OooooOooooooOooooooooooOooooooooooOooooooe: cmp action_replay,0 jne tnononono_onest_en_recordplaye cmp twice,1 jne tnononono_onest_en_recordplaye call gestion_lapin tnononono_onest_en_recordplaye: ;-malade ??? cmp word ptr [maladie+ebp],0 ;malade ??? (en general) je ertterterrterterte cmp [lapipipino+ebp],0 ;lapin ? jne ertterterrterterte ;si oui, on doit pas gerer le changement de couleur ;ici... mov ax, word ptr [maladie+ebp+2] and eax, 1023 cmp [blinking+eax], 0 jnz ertterterrterterte mov esi,[liste_couleur_malade+ebp] ertterterrterterte: ;----- call anim_un_joeur cmp [vie+ebp],1 jne erertert Call touches_action call la_mort ;regarde si elle a frappée. OU si on a mangé un BONUS... erertert: add ebp,4 pop ecx dec ecx jnz brouter ;dans ebp: viseur sur numéro du joeur. enfin du premier monstre ;------ il reste les méchants é gérer --- cmp [nombre_de_monstres],0 je y_en_a_pas mov ecx,[nombre_de_monstres] ;--- bp: joeur en ce moment *4 tbrouter: push ecx cmp [vie+ebp],1 jne next_monstre cmp [blocage+ebp],0 jne ertreteretterter call intelligence_monstre ertreteretterter: call la_mort_monstre ;regarde si elle a frappée. next_monstre: mov esi,[liste_couleur+ebp] ;offset blanc ;esi: couleur du joeur... PUSHALL call anim_un_joeur POPALL cmp [vie+ebp],1 jne next_monstre2 cmp [blocage+ebp],0 jne next_monstre2 ;---- si le monstre est monté sur la flamme.. on lui dit pas bonne idée.. jmp anti_bomb_monstre nonononononononon: ;retours anti_bomb pas sur une bombe... ;;si pas reussit a bouger. remet anciennes touches ... cmp [avance+ebp],1 ;=0 si PAS reussit a bouger je retererttZERer ;=1 si reussit a bouger... mov eax,[touches_save+ebp] or eax,128 ;fige... mov [touches+ebp],eax ouiuouiouiuoi: ;retours anti_bomb aletre rouge changement de CAP.... mov esi,[liste_couleur+ebp] ;offset blanc ;esi: couleur du joeur... PUSHALL call anim_un_joeur POPALL retererttZERer: next_monstre2: add ebp,4 pop ecx dec ecx jnz tbrouter y_en_a_pas: ;------------------------------------------ call minuteur ;pour les bombes... fauit le tic tic tic :) call monsieur_bombe ;crée l'affichage les bombes call monsieur_brik call calc_ombres call phase ;draw game ??? fin machin ??? cmp byte ptr [ordre2],'' ;on ne fait pas ca si on a quitté le jeu... jne reertertertertert call donnee_to_donnee4 ;passe de donne a donnee4 reertertertertert: POPALL ret gestion_lapin: ;====== SPECIAL LE LASCAR EST UN MOTHAFUCKAAAA DE LAPINA (3lit3) cmp [lapipipino+ebp],1 jne ertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuioe ;c'est un lapin mov esi,[lapin_mania1+ebp] ; pointeur sur la bloc de position ; du lapin normal ;c'est un lapin qui fait un saut vertical de lapin ; cmp [lapipipino2+ebp],2 ;saut direction ; je ertrterterteertzerzererzzer cmp [lapipipino2+ebp],0 ;lapin ki fait rien je ertrterterteert ; cmp [lapipipino2+ebp],1 ;saut vertical ou mort du lapin ; jne ertrterterteert ;lapin ki fait rien ertrterterteertzerzererzzer: ;..................... LAPIN QUI SAUTE ...................................... mov [lapipipino4+ebp],0 ;hauteur du lapin (Y) mov [lapipipino5+ebp],0 ;hauteur du lapin (Y) ;decrementation du compteur saut ; dec [lapipipino3+ebp] ; jz ohohohohohohh dec [lapipipino3+ebp] jnz erterterterterertrterterteert ;ohohohohohohh: ;--- cas particulier lapin mort cmp [lapipipino2+ebp],3 ;mort jne rttyuooooooo mov [lapipipino6+ebp],2 jmp ertrterterteert ;c pu un lapin ki saute (ou lapin mort..) rttyuooooooo: ;------------- mov [lapipipino2+ebp],0 ;arrete le saut jmp ertrterterteert ;c pu un lapin ki saute (ou lapin mort..) erterterterterertrterterteert: ;******************* lapin ki saute phase 1 *********************** cmp [lapipipino3+ebp],duree_saut-15 ;compteur dans le saut du lapin ja trtyrtyrtyrtyrtyrty cmp [lapipipino3+ebp],15 ;compteur dans le saut du lapin jb trtyrtyrtyrtyrtyrty cmp [lapipipino2+ebp],3 ;mort (cas particulier, esi, tjs le meme) je ertertertrterterteertzerzererzzerrtyrtrtyyrtrty mov esi,[lapin_mania3+ebp] ; milieu de saut ertertertrterterteertzerzererzzerrtyrtrtyyrtrty: push eax ebx mov ebx,[lapipipino3+ebp] ;compteur dans le saut du lapin sub ebx,15 add ebx,ebx xor eax,eax mov ax,[saut_de_lapin+ebx] cmp [lapipipino2+ebp],1 ;saut vertical jne ertrterterteertererer mov ax,[saut_de_lapin2+ebx] ertrterterteertererer: mov [lapipipino5+ebp],eax ;hauteur du lapin x1 EAX_X_320 mov [lapipipino4+ebp],eax ;hauteur du lapin x320 pop ebx eax ;********************************** lapin qui saute directionnellement ;---- deplace le lapin --- cmp [lapipipino3+ebp],duree_saut-15 ;compteur dans le saut du lapin je ertrterterteert cmp [lapipipino2+ebp],2 ;que lapin sautant dans une direction jne ertrterterteert ;compteur a partir dukel on ne fait plus avancer le lapin 17 normallement push eax mov eax,[lapipipino7+ebp] cmp [lapipipino3+ebp],eax jnb ertrterterteert_oooo pop eax jmp ertrterterteert ertrterterteert_oooo: pop eax push eax ebx mov ebx,ebp shr ebx,1 ;mov ah,02h ;SUPER_SIGNE2 DB 0 ;mov dl,13 ;int 21h ;8: gauche mov eax,[touches+ebp] and eax,127 cmp eax,8 jne trrtertyrtytyrtyrrty ;donnee dw 8 dup (?) ;x du dynablaster ; dw 8 dup (?) ;y du dynablaster inc [donnee+ebx] trrtertyrtytyrtyrrty: cmp eax,16 jne trrtertyrtytyrtyrrtyR dec [donnee+ebx] trrtertyrtytyrtyrrtyR: cmp eax,00 jne trrtertyrtytyrtyrrtyy ;donnee dw 8 dup (?) ;x du dynablaster ; dw 8 dup (?) ;y du dynablaster inc [donnee+8*2+ebx] trrtertyrtytyrtyrrtyy: cmp eax,24 jne trrtertyrtytyrtyrrtyRy dec [donnee+8*2+ebx] trrtertyrtytyrtyrrtyRy: pop ebx eax PUSHALL push ebp xy_to_offset pop ebp lea esi,[truc+eax] mov [last_bomb+ebp],esi POPALL jmp ertrterterteert ;------------------------- trtyrtyrtyrtyrtyrty: ;******************* LAPIN FASE SE COURBE (?) * cmp [lapipipino3+ebp],duree_saut-7 ja trtyrtyrtyrtyrtyrtyu cmp [lapipipino3+ebp],7 jb trtyrtyrtyrtyrtyrtyu mov esi,[lapin_mania4+ebp] ; preske normal jmp ertrterterteert trtyrtyrtyrtyrtyrtyu: mov esi,[lapin_mania2+ebp] ; se courbe ertrterterteert: ;----- lapin mort !!! ---- cmp [lapipipino2+ebp],3 ;mort (cas particulier, esi, tjs le meme) jne kertrterterteert push eax ebx mov ebx,[lapipipino3+ebp] ;compteur dans le saut du lapin add ebx,ebx xor eax,eax mov ax,[mort_de_lapin+ebx] mov [lapipipino5+ebp],eax ;hauteur du lapin x1 EAX_X_320 mov [lapipipino4+ebp],eax ;hauteur du lapin x320 mov esi,[lapin_mania5+ebp] ; pointeur sur la bloc de position ; du lapin mort pop ebx eax kertrterterteert: ;--------------- ertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuioe: ;==================================================== ret gestion_pause: ;******************************* ;gestion, sprite ;pas de pause en action replay cmp pauseur2,0 je pas_en_pauseer test dword ptr [changement],0000000001111B jnz pas_en_pauseer xor ebx,ebx mov bl,pauseur2 add ebx,4 cmp [offset_pause+ebx],666 jne ihhihiertteretr mov ebx,4 ihhihiertteretr: mov pauseur2,bl pas_en_pauseer: ;******************************* cmp pause2,0 je uerertertert dec pause2 uerertertert: cmp pause,1 ;touche vient d'etre touchee/relachee ? jne raison_detat ;;------------- gestion sprite ;xor ebx,ebx ;mov bl,pause ;dec bl ;shl ebx,2 ; ;add ebx,4 ;cmp [offset_pause+ebx],666 ;jne uiyuighguirrtrt ;xor ebx,ebx ;uiyuighguirrtrt: ;inc bl ;mov pause,bl ;;------------------------------ mov pause,0 cmp pause2,0 jne dejapresseyapaslongtemps mov pause2,15 ;pauseur2 ;NOT pauseur2 cmp pauseur2,0 jne reeertertterert mov pauseur2,4 jmp raison_detat reeertertterert: mov pauseur2,0 raison_detat: dejapresseyapaslongtemps: ret anti_bomb_monstre: cmp [invinsible+ebp],0 jne nonononononononon ;si il s'est prit dans la bombe il faut k'il se tretourne. ;ou alors il resiste donc on s'en fou. PUSHALL ;cmp [avance+ebp],1 ;=0 si PAS reussit a bouger ;je reterertter ;=1 si reussit a bouger... push ebp xy_to_offset lea esi,[truc2+eax] pop ebp cmp byte ptr [esi],5 jb ertterertertertertt cmp byte ptr [esi],54 jnb ertterertertertertt mov [avance+ebp],0 ;=0 si PAS reussit a bouger. vaut mieu pas babe.. ;+ mouvement inverse... mov ebx,[touches+ebp] and ebx,127 ;défige... mov eax,[anti_bomb+ebx] mov [touches+ebp],eax POPALL jmp ouiuouiouiuoi ertterertertertertt: POPALL jmp nonononononononon ;retours anti_bomb intelligence_monstre: mov esi,[infojoueur+ebp] mov ecx,dword ptr [esi+12] cmp ecx,1 jne pas_1i test dword ptr [changement],00000000111B jnz non_bouge_pasttryrtytyr jmp ok_il_bougert pas_1i: cmp ecx,2 jne ok_il_bougert test dword ptr [changement],00000000011B jnz non_bouge_pasttryrtytyr jmp ok_il_bougert non_bouge_pasttryrtytyr: ret ok_il_bougert: ;1,2,3 (normal),4:double... ;--- intelligence ---- mov eax,[changement] add eax,[avance2+ebp] ;hazard add eax,[viseur_change_in+ebp] ;hazard total... ;add eax,[maladie+ebp] ;hazard.. ;add eax,dword ptr [donnee+ebp] ;hazard.. add eax,ebp ;nouveau hazard.. violent and eax,01111111B jnz alllagrishna cmp [avance2+ebp],3 ;compte a rebourd avant nouvelle action... jb arrete__ mov [avance2+ebp],3 ;compte a rebourd avant nouvelle action... jmp arrete__ alllagrishna: cmp [avance+ebp],1 ;=0 si PAS reussit a bouger je reterertter ;=1 si reussit a bouger... ;si reussit continue... ;pas reussit arrete__: dec [avance2+ebp] ;compte a rebourd avant nouvelle action... jnz mendier hier2: mov [avance2+ebp],15 PUSHALL mov ebx,[viseur_change_in+ebp] mov eax,[changeiny+ebx] mov [touches+ebp],eax add [viseur_change_in+ebp],4 cmp [viseur_change_in+ebp],16*4 jne retkortykokoptrkopkop mov [viseur_change_in+ebp],0 retkortykokoptrkopkop: POPALL ;0= face bas. ;8= droite droite ;16= gauche gauche ;24= haut haut jmp mendier reterertter: mov eax,[touches+ebp] ;sauvegarde du dernier success d'un monstre... mov [touches_save+ebp],eax ;------------------ mendier: ret donnee_to_donnee4: PUSHALL ;POPALL ;push ecx xor ecx,ecx ;0,nb_unite_donnee4,... xor ebx,ebx ;0,2,4, xor ebp,ebp ;0,4,8,12,... ;*** hooooooop: ;----- calcule dans edi le Y en le multipliant par 320 ;;EAX_X_320 ;;mov [vise_de_ca_haut2+ebp],eax xor eax,eax mov ax,word ptr [donnee+nb_dyna*2+ebx] ;y push eax shl eax,6 ; x 64 mov edi,eax pop eax shl eax,8 ; x 256 add edi,eax ;-------------- rajoute le X xor eax,eax mov ax,word ptr [donnee+ebx] add edi,eax ;--------------- mov [vise_de_ca_haut+ebp],0 mov [vise_de_ca_haut2+ebp],0 ;====== SPECIAL LE LASCAR EST UN MOTHAFUCKAAAA DE LAPINA (3lit3) cmp [lapipipino+ebp],1 jne ertrtyyuttyutyurtyutyutyuyutyut ;=== cas particulier: trop haut./ deborderait de l'ecran push eax xor eax,eax mov ax,word ptr [donnee+nb_dyna*2+ebx] ;y mov edx,[lapipipino5+ebp] add edx,13 cmp ax,dx ja erertzertertertertertert ;combien_faut_baisser dd 320*14,320*13,320*12,320*11,320*10,320*9,320*8 ; dd 320*7,320*6,320*5,320*4,320*3,320*2,320*1 ;combien_faut_baisser2 dd 14,13,12,11,10,9,8 ; dd 7,6,5,4,3,2,1 ;push ebx ;push eax neg eax add eax,edx inc eax mov [vise_de_ca_haut2+ebp],eax ;pop eax ;mov [vise_de_ca_haut2+ebp],eax ;xor ebx,ebx ;shl ax,2 ;mov bx,ax ;mov eax,[combien_faut_baisser2+ebx] ;mov [vise_de_ca_haut2+ebp],eax ;mov eax,[combien_faut_baisser+ebx] EAX_X_320 ;mov [vise_de_ca_haut2+ebp],eax ;pop ebx add edi,eax ;320*14 mov [vise_de_ca_haut+ebp],eax ;320*14 erertzertertertertertert: pop eax ;=== attention au adder, faut pas kon le mette trop haut ================ add edi,-14*320-4 sub edi,[lapipipino4+ebp] ;saut du lapin (y) or edi,edi ;! jns rterteerertertterteryuyyuuuuu ;! add edi,[lapipipino4+ebp] ;saut du lapin (y) ;! ;! ;bon on bidouille !! push eax mov eax,[lapipipino4+ebp] ; add [lapin_mania+ebp],eax ;pointeur sur la source memoire ; add [vise_de_ca_haut+ebp],eax pop eax rterteerertertterteryuyyuuuuu: jmp tryrtyyrttyutyuyuttyutyutyutyutyutyutyu ertrtyyuttyutyurtyutyutyuyutyut: ;pas un lapin add edi,dword ptr [donnee+112+ebp] ;adder y.. (car girl plus gaut!!!) tryrtyyrttyutyuyuttyutyutyutyutyutyutyu: ;============ mov word ptr [donnee4+ecx+4],di ;--------------- ;----- OFFSET EN MEMOIRE ------------- xor eax,eax mov ax,word ptr [donnee+nb_dyna*4+ebx] cmp ax,666 ;mort... et on affiche plus... je reertertertrte ;====== SPECIAL LE LASCAR EST UN MOTHAFUCKAAAA DE LAPINA (3lit3) cmp [lapipipino+ebp],1 jne ertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuio add eax,[vise_de_ca_haut+ebp] ;decalleur spoecial y ;--- glignotement des lapins malades --- cmp word ptr [maladie+ebp],0 ;malade ??? (en general) je ertterterrtertertertt mov dx, word ptr [maladie+ebp+2] and edx, 1023 cmp [blinking+edx], 0 jnz ertterterrtertertertt add eax,[lapin_mania_malade+ebp] ;pointeur sur la source memoire jmp reertertertrte ertterterrtertertertt: ;------------------------------------------ add eax,[lapin_mania+ebp] ;pointeur sur la source memoire jmp reertertertrte ertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuio: ;==================================================== add eax,dword ptr [donnee+8*2*3+ebp] ;ou en mémoire!!! reertertertrte: mov dword ptr [donnee4+ecx],eax ;source... 666 indique: ne rien afficher ;--- mov ax,word ptr [donnee+8*5*2+ebx] mov byte ptr [donnee4+6+ecx],al ;nombre de lignes... mov ax,word ptr [donnee+8*6*2+ebx] mov byte ptr [donnee4+7+ecx],al ;nombre de colonnes.... ;--- ;====== SPECIAL LE LASCAR EST UN MOTHAFUCKAAAA DE LAPINA (3lit3) cmp [lapipipino+ebp],1 jne rertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuio push ax mov ax,37 sub ax,word ptr [vise_de_ca_haut2+ebp] mov byte ptr [donnee4+6+ecx],al ;nombre de lignes... pop ax mov byte ptr [donnee4+7+ecx],32 ;nombre de colonnes.... rertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuio: ;==================================================== ;dw 23,23,23,23,25,25,25,25 ;nombre de lignes pour un dyna... ;mov si,word ptr [donnee+nb_dyna*2*2+ebx] ;xor ecx,ecx ;0,7,... ;xor ebx,ebx ;0,2,4, ;xor ebp,ebp ;0,4,8,12,... mov eax,[clignotement+ebp] ; and byte ptr [donnee4+8+ecx],011111110B or byte ptr [donnee4+8+ecx],al add ecx,nb_unite_donnee4 add ebx,2 add ebp,4 cmp ebp,4*8 jne hooooooop POPALL ret ;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* la_mort: ;regarde si elle a frappée. ou si on a mangé un bonus. PUSHALL push ebp xy_to_offset lea esi,[truc2+eax] pop ebp ;==== mort par brike sur la gueule === cmp [lapipipino+ebp],0 ;lapin ? je nan_comme_dab cmp [lapipipino2+ebp],0 ;lapin qui saute pas? jne nan_laisse_tourner cmp byte ptr [esi-32*13],11 ;regarde si c a la fin... brique sur la gueulle.. jne nan_laisse_tourner mov [lapipipino2+ebp],3 mov [lapipipino3+ebp],duree_mort jmp nan_laisse_tourner nan_comme_dab: cmp byte ptr [esi-32*13],11 ;regarde si c a la fin... brique sur la gueulle.. je microsoft nan_laisse_tourner: ;================================== cmp byte ptr [esi],5 jb ertterertertertert cmp byte ptr [esi],54 jnb ertterertertertert ;invinsible dd 8 dup (?) ;invincibilité. nombre de vbl restant ... décrémentée... 0= none... ;nombre_de_coups dd 8 dup (3) ;avant la mort... ;résistance aux coups/calcul... resistance ertterertertertert,0 microsoft: ;LA c'est la mort. ;mort d'un dyna par flamme. ou brike sur la gueulle (de dayna) ;-- on lui ote le pouvoir d'explosion retarde ... (ca a deja du etre fait, ; sauf s'il est mort par apocalypse. donc on en remet une couche!) push ebx ;et sinon ses bombes elles resteraient. mov ebx,[infojoueur+ebp] mov dword ptr [ebx+4*4],0 call nike_toutes_ses_bombes pop ebx ;-------- bruit3 7,35,BLOW_WHAT2 mov [vie+ebp],0 ertterertertertert: ;regarde si on a mangé un bonus ;si on est un lapin en train de sauter on mange pas le bonus cmp [lapipipino+ebp],0 ;lapin ? je on_est_pas_un_lapin_on_mange_les_bonus cmp [lapipipino5+ebp],0 ;en hauteur ? jne baaaaaaaaaaaaaaaaaaaaaaaah_paas_de_bonus on_est_pas_un_lapin_on_mange_les_bonus: bonus_ 54,bombe_max,0 bonus_ 64,bombe_max2,4 bonus_tete 74 bonus_2 84,invinsibilite_bonus,invinsible bonus_2 94,1,nombre_de_coups bonus_ 104,1,4*4 bonus_3 114,1,pousseur bonus_3 124,1,patineur ;horloge bonus_4 134 bonus_3 144,1,tribombe bonus_6 154 ;oeuf bonus_5 193 baaaaaaaaaaaaaaaaaaaaaaaah_paas_de_bonus: ;--- regarde si un mechant nous a mangé... mov eax,[last_bomb+ebp] cmp [nombre_de_monstres],0 je y_en_a_pas2 mov ebx,[nombre_de_dyna] shl ebx,2 reetrertetert: cmp [vie+ebx],1 ;si le mechant il est mort. ben il peut pas nous tuer... jne pas_tue cmp eax,[last_bomb+ebx] jne pas_tue ;résistance aux coups/calcul... resistance pas_tue,0 ;mort d'un dyna bruit3 7,35,BLOW_WHAT2 mov [vie+ebp],0 pas_tue: add ebx,4 cmp ebx,32 jne reetrertetert y_en_a_pas2: POPALL ret la_mort_monstre: ;regarde si elle a frappée. PUSHALL push ebp xy_to_offset lea esi,[truc2+eax] pop ebp cmp byte ptr [esi-32*13],11 ;regarde si c a la fin... brique sur la gueulle.. je microsoft2 cmp byte ptr [esi],5 jb uertterertertertert cmp byte ptr [esi],54 jnb uertterertertertert ;résistance aux coups/calcul... resistance uertterertertertert,-1 PUSHALL sub esi,32*13-1 ;inc esi colle_un_bonus viseur_hazard_bonus2,hazard_bonus2,correspondance_bonus2 POPALL microsoft2: ;mort d'un monstre courageux. bruit3 8,35,BLOW_WHAT2 mov [vie+ebp],0 uertterertertertert: POPALL ret ;---------------- anim_un_joeur: cmp [vie+ebp],1 jne rtertterterrterte ;0= face ;8= droite ;16= gauche ;24= haut ;cas du lapin ki saute... ne bouge pas comme ca ; cmp [lapipipino+ebp],1 ; jne ertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuioeertertert ; cmp [lapipipino2+ebp],1 ;saut vertical ; je rtrtyyrtrtytrytyrrty ; ertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuioeertertert: cmp dword ptr [touches+ebp],128 ;on met le bit 7 a 1 si bouge pas. jb okbouge_pas ;on a un monstre/dyna ki ne se deplace pas.. ;donc on ne le je fait pas gigoter. ; sauf cas particulier: monstre du nivo 7, et nivo micro !! ; ki gigottent tout le temps and dword ptr [touches+ebp],127 add esi,[touches+ebp] ;variable en central ou ya une valeur pour chaque type ;de deplacement pour un joeur et ceci pour TOUS les ;joeurs... ;les touches. or dword ptr [touches+ebp],128 ;remet le bit a 1 ;---- cas particulier gigotage cmp [nombre_de_dyna_x4],ebp ; uniquement si on est pas un humain... ja non_c_pas_un_monstre2 cmp terrain,7 jne special_monstres_gigoteurs4 ;*** c un cas particulier dans le cas particulier.. BIDOUILLE ATTENTION ;il faut ke ca soit des sprites ou les pieds bougent pas !!! push ebx xor eax,eax ;mov eax,[changement] ;and eax,0011000B ;shr eax,2 mov ebx,[changement] ;and ebx,0110000B ;shr ebx,3 and ebx,011000B shr ebx,2 cmp bx,2 jne trhjllhjkrtlhjrhjkltyrlhjkrty mov ax,-17*2 trhjllhjkrtlhjrhjkltyrlhjkrty: cmp bx,6 jne trhjllhjkrtlhjrhjkltyrlhjkrty2 mov ax,-17 trhjllhjkrtlhjrhjkltyrlhjkrty2: add ax,[esi] ;;ATTENTION JE SUIS HARD CORE LA :)) pop ebx jmp rtrtyyrtrtytrytyrrtyZERZERZERZER ;**** special_monstres_gigoteurs4: cmp terrain,3 je special_monstres_gigoteurs non_c_pas_un_monstre2: jmp rtrtyyrtrtytrytyrrty ;-------- okbouge_pas: ;------------------------- TOUCHES INVERSEES ------------------------------- cmp [nombre_de_dyna_x4],ebp ; uniquement si on est un humain... jna ui cmp word ptr [maladie+ebp],4 ;touches inversée... jne ui cmp [touches+ebp],8 jne tyuo mov [touches+ebp],16 jmp ui tyuo: cmp [touches+ebp],16 jne tyuu mov [touches+ebp],8 jmp ui tyuu: cmp [touches+ebp],0 jne tyuo2 mov [touches+ebp],24 jmp ui tyuo2: cmp [touches+ebp],24 jne tyuu1 mov [touches+ebp],0 jmp ui tyuu1: ui: ;--------------------------------------------------------------------------- ;---- lapin ... annule tous les direction si on est en train de sauter --- ; cmp [lapipipino+ebp],1 ; jne rertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuioeertertert ; cmp [lapipipino2+ebp],1 ;saut vertical ; jne rertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuioeertertert ; or dword ptr [touches+ebp],128 ;remet le bit a 1 ; rertyrttyrrtytyuutyyuiyuiiyuyuityuioouiioyuuioyyuioeertertert: ;------ add esi,[touches+ebp] ;variable en central ou ya une valeur pour chaque type ;de deplacement pour un joeur et ceci pour TOUS les ;joeurs... ;les touches. ;pour le deplacement... ;-------------- variation du sprite si il bouge... (gauche/droite.. ) special_monstres_gigoteurs: ;cmp [nombre_de_dyna_x4],ebp ; uniquement si on est un humain... ;ja non_c_pas_un_monstre mov eax,[changement] ;--- c un monstre ??? ----- cmp [nombre_de_dyna_x4],ebp ; uniquement si on est pas un humain... ja non_c_pas_un_monstre push ecx ebx mov ecx,[vitesse_monstre+ebp] ;---- cmp action_replay,0 jne eanononono_onest_en_recordplaye cmp twice,1 jne eanononono_onest_en_recordplaye inc ecx eanononono_onest_en_recordplaye: ;----- mov ebx,011B shl ebx,cl and eax,ebx dec cl shr eax,cl pop ebx ecx jmp eanononono_onest_en_recordplay non_c_pas_un_monstre: ;---------------------- and eax,0110000B shr eax,3 cmp [patineur+ebp],0 ;patineur cour 2 fois plus vite je tryyyyyyyyyyytyuiouiiuoouiuiooui mov eax,[changement] and eax,0011000B shr eax,2 tryyyyyyyyyyytyuiouiiuoouiuiooui: ;mode twice...-------------------- cmp action_replay,0 jne eanononono_onest_en_recordplay cmp twice,1 jne eanononono_onest_en_recordplay ;cours 2 fois plus vite mov eax,[changement] and eax,0011000B shr eax,2 eanononono_onest_en_recordplay: ;--------------------------------- add esi,eax ;---------------- rtrtyyrtrtytrytyrrty: mov ax,[esi] rtrtyyrtrtytrytyrrtyZERZERZERZER: push ebp shr ebp,1 mov [donnee+nb_dyna*4+ebp],ax ;variables en central contenant les infos completes ;nivo affichage pour chaque joueur ;X,Y,offset pop ebp ;------------ regarde si le sprite se deplace... (X/Y) cmp [touches+ebp],128 ;variable en central ou ya une valeur pour chaque type jNB non_bouge_pas ;----- vitesse = normal.. + = + !!! ;infojoueur dd offset j1,offset j2,offset j3,offset j4,offset j5,offset j6,offset j7,offset j8 ;premier dd: nombre de bombes que le joeur peut encore mettre. ;deuxieme dd: puissance de ces bombes... minimum = 1 ... ;troisieme dd: nombre de tous avant que ca pete. ;quatrieme dd: vitesse du joeur... 1:normal... mov esi,[infojoueur+ebp] mov ecx,dword ptr [esi+12] ;1,2,3 (normal),4:double... ;-*-*-*-*-*-*-* GESTION vitesse -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ;---- modif.. cmp ecx,1 jne pas_1 test dword ptr [changement],00000000111B jnz non_bouge_pas ;mov ecx,1 jmp finto_gestion_vitesse pas_1: cmp ecx,2 jne pas_2 test dword ptr [changement],00000000011B jnz non_bouge_pas mov ecx,1 jmp finto_gestion_vitesse pas_2: cmp ecx,3 jne pas_3 mov ecx,1 jmp finto_gestion_vitesse pas_3: cmp ecx,4 jne pas_4 mov ecx,2 jmp finto_gestion_vitesse pas_4: finto_gestion_vitesse: ;-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- ;--- mode twice ------------ cmp action_replay,0 jne anononono_onest_en_recordplay cmp twice,1 jne anononono_onest_en_recordplay inc ecx anononono_onest_en_recordplay: ;------------------- ;--- patins a roulettes ? add ecx,[patineur+ebp] ;--- maladie de la speed --- cmp word ptr [maladie+ebp],01B ;255 ; dd 8 dup (?) jne ertertrterteterrteert2 add ecx,3 ertertrterteterrteert2: ;---------------------------- ;;--- maladie de la lenteur ne marche pas sur le lapin !!! ;cmp [lapipipino+ebp],1 ;je ertertrterteterrteert3 ;--- maladie de la lenteur -- cmp word ptr [maladie+ebp],02 ;255 ; dd 8 dup (?) jne ertertrterteterrteert3 test dword ptr [changement],00000000011B jnz non_bouge_pas ertertrterteterrteert3: ;---------------------------- ;---------------------------- cmp [blocage+ebp],0 je next_monstre2r2 dec [blocage+ebp] jmp non_bouge_pas next_monstre2r2: ;-------------------------------- mov [avance+ebp],1 ;reussit a bouger par défault. (pour monstre) ertertrterteterrteert: push ECX cmp [touches+ebp],8 ;*********** droite jne ererterertert4 push ebp shr ebp,1 ;------ remet au milieu ----- Y------------------------------- mov si,16 call remet_milieu_y jz errteterertertrte3 ;on l'a remis au milieu... ;------------------------------------------------------------- ;dx add x, cx: add y mov dx,8+1 mov cx,0 call possible_ou_pas jnz errteterertertrte2 ;impossible inc [donnee+ebp] ;add ebp,ebp jmp errteterertertrte3 errteterertertrte2: ;--------------------------- push ebp add ebp,ebp mov [avance+ebp],0 ;PAS reussit a bouger apres avoir été replacé. (pour monstre) pop ebp errteterertertrte3: ;----------------------------- pop ebp ererterertert4: cmp [touches+ebp],16 ;*********** gauche jne ererterertert4e push ebp shr ebp,1 ;------ remet au milieu ----- Y------------------------------- mov si,-16 call remet_milieu_y jz errteterertertrte3e ;------------------------------------------------------------- ;dx add x, cx: add y mov dx,-8 mov cx,0 call possible_ou_pas jnz errteterertertrte2e ;impossible dec [donnee+ebp] ;add ebp,ebp jmp errteterertertrte3e errteterertertrte2e: ;--------------------------- push ebp add ebp,ebp mov [avance+ebp],0 ;PAS reussit a bouger apres avoir été replacé. (pour monstre) pop ebp errteterertertrte3e: ;----------------------------- pop ebp ererterertert4e: cmp [touches+ebp],24 ;*********** haut jne ererterertert4ey push ebp shr ebp,1 ;------ remet au milieu ----- Y------------------------------- mov si,-16 ; ;16 ;8 call remet_milieu_x jz errteterertertrte3ey ;------------------------------------------------------------- ;dx add x, cx: add y mov dx,0 mov cx,-8 call possible_ou_pas jnz errteterertertrte2ey ;impossible dec [donnee+nb_dyna*2+ebp] ;add ebp,ebp ;errteterertertrte2ey: jmp errteterertertrte3ey errteterertertrte2ey: ;--------------------------- push ebp add ebp,ebp mov [avance+ebp],0 ;PAS reussit a bouger apres avoir été replacé. (pour monstre) pop ebp errteterertertrte3ey: ;----------------------------- pop ebp ererterertert4ey: cmp [touches+ebp],0 ;*********** bas jne ererterertert4eyt push ebp shr ebp,1 ;------ remet au milieu ----- Y------------------------------- mov si,16 call remet_milieu_x jz errteterertertrte3eyt ;------------------------------------------------------------- ;dx add x, cx: add y mov dx,0 mov cx,8+1 call possible_ou_pas jnz errteterertertrte2eyt ;impossible inc [donnee+nb_dyna*2+ebp] ;add ebp,ebp jmp errteterertertrte3eyt errteterertertrte2eyt: ;--------------------------- push ebp add ebp,ebp mov [avance+ebp],0 ;PAS reussit a bouger apres avoir été replacé. (pour monstre) pop ebp errteterertertrte3eyt: ;----------------------------- pop ebp ererterertert4eyt: ;----- vitesse/. 1 = normal.. + = + !!! pop ECX dec ecx jnz ertertrterteterrteert ; PUSHALL push ebp xy_to_offset pop ebp lea esi,[truc+eax] mov [last_bomb+ebp],esi POPALL non_bouge_pas: ret ;dead dyna. rtertterterrterte: ;add esi,32 ;[vie+ebp] ;add esi,[vie+ebp] ;add esi,0 ;32 add esi,[vie+ebp] mov ax,[esi+32] push ebp shr ebp,1 mov [donnee+nb_dyna*4+ebp],ax pop ebp mov eax,[changement] and eax,000000111B jnz ertterrteertrterteertrte cmp dword ptr [vie+ebp],16 ;8*2 je ertterrteertrterteertrte add dword ptr [vie+ebp],2 ertterrteertrterteertrte: ret monsieur_brik: ;--------------- gestion des briques --------------------------------- ;briques dw 3,0,0,0,32,0,64 mov ax,ds mov es,ax mov esi,offset truc mov edi,offset briques+2 xor cx,cx xor eax,eax mov bx,8 ;offset dans buffer destionation auquel la case correspond... mov dx,13 rettertyutyuuityyuityuityuiyuiyuiyui: push dx mov dx,19 reertertertertertreerertert: xor ax,ax lodsb or al,al jz zererrte cmp al,1 je zererrte cmp al,66 je zererrte cmp al,2 je ertrtyrtytyytutyutyuuty ;--- rajout de brique dure pour la fin... cmp al,11 jne nonononono xor ax,ax push ebx xor ebx,ebx mov bl,terrain dec bl add ebx,ebx mov ax,[kel_viseur_brike_fin+ebx] pop ebx jmp brique_dure_rajoutee nonononono: ;---------------- ;cmp [terrain],2 ;pas ce cas particulier avec la neige... ;jne retterterertertertertertertertertertertertret test dword ptr [changement],00000000011B jnz erertrteertert ;j,z rteterterrterterterte ;retterterertertertertertertertertertertertret: ; ;cmp [terrain],4 ;pas ce cas particulier avec la foret ;jne retterterertertertertertertertertertertertret5 ;test dword ptr [changement],00000000011B ;jz rteterterrterterterte ;retterterertertertertertertertertertertertret5: ; ;test dword ptr [changement],00000000111B ;jnz erertrteertert ;rteterterrterterterte: ;cas particulier neige + foret inc byte ptr [esi-1] cmp byte ptr [esi-1],11 jne erertrteertert mov byte ptr [esi-1],0 colle_un_bonus viseur_hazard_bonus,hazard_bonus,correspondance_bonus erertrteertert: ertrtyrtytyytutyutyuuty: sub ax,2 shl ax,4 ;------ affiche brique différentes en fonction du terrain... push ebx xor ebx,ebx mov bl,[terrain] ;offset_briques dw 0,0,65+116*320 dec bl add bx,bx add ax,word ptr [offset_briques+ebx] pop ebx ;----------------- brique_dure_rajoutee: inc cx ;add ax,320*16*2 stosw ;-------------------- mov ax,bx stosw ertteretretrertrte: zererrte: add bx,16 rettertertertert: ;************************************************************************* dec dx jnz reertertertertertreerertert pop dx add esi,13 add bx,320*16-16*19 dec dx jnz rettertyutyuuityyuityuityuiyuiyuiyui mov [briques],cx ;truc db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,1,2,1,2,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,1,2,1,2,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ret monsieur_bombe: ;briques dw 3,0,0,0,32,0,64 mov ax,ds mov es,ax mov esi,offset truc2 mov edi,offset bombes+2 xor cx,cx xor eax,eax mov bx,8 ;offset dans buffer destionation auquel la case correspond... mov dx,13 trettertyutyuuityyuityuityuiyuiyuiyui: push dx mov dx,19 treertertertertertreerertert: xor ax,ax lodsb or al,al jz tzererrte cmp al,5 jnb ftttrrtrtyyrtyrtrtyrtytyrrtyrtyrtyrtyrty ;******************************************** bombe qui respire... test dword ptr [changement],00000001111B jnz terertrteertert inc byte ptr [esi-1] cmp byte ptr [esi-1],5 jne terertrteertert mov byte ptr [esi-1],1 terertrteertert: inc cx dec ax shl ax,4 add ax,320*16 stosw ;add ax, ;add byte ptr [esi-1],5 ;mov ;--- special bombes... adder X/Y push cx xor ax,ax ;movsx ax,byte ptr [esi-1+32*13] ;trux_X mov al,byte ptr [esi-1+32*13] movsx ax,al ;byte ptr [esi-1+32*13] ;trux_X^M add ax,bx ;movsx cx,byte ptr [esi-1+32*13*2] ;trux_Y mov cl,byte ptr [esi-1+32*13*2] ;trux_Y^M movsx cx,cl push ax mov ax,cx shl ax,6 ;*64 shl cx,8 ;*256 add cx,ax pop ax add ax,cx stosw pop cx jmp tzererrte tertteretretrertrte: ;************************************************* ftttrrtrtyyrtyrtrtyrtytyrrtyrtyrtyrtyrty: ;*************************************************************************** bombe 12 bombe 12+7 bombe 12+7+7 bombe 12+7+7+7 bombe 12+7+7+7+7 bombe 12+7+7+7+7+7 bombe 12+7+7+7+7+7+7 ;----- bonus bonus 64,160 bonus 74,160+320*16 bonus 84,160+320*32 bonus 94,160+320*48 bonus 104,160+320*16*4 bonus 114,160+320*16*5 bonus 124,160+320*16*6 bonus 134,160+320*16*7 bonus 144,160+320*16*8 bonus 154,160+320*16*9 bonus 164,0 ;----- bonus qui explose... oeuf_bonus 193,112+16*320 explo_bonus 194+7,0+172*320 tzererrte: ;*************************************************************************** add bx,16 trettertertertert: ;************************************************************************* dec dx jnz treertertertertertreerertert pop dx add esi,13 add bx,320*16-16*19 dec dx jnz trettertyutyuuityyuityuityuiyuiyuiyui mov [bombes],cx ret touches_action: ;--- bp: joeur en ce moment *4 PUSHALL ;-pour par k'on pose une bombe au début tout de suite kan meme... cmp nombre_de_vbl_avant_le_droit_de_poser_bombe,0 je okokokok_pas_debut dec nombre_de_vbl_avant_le_droit_de_poser_bombe jmp treteterrterteterertter okokokok_pas_debut: ;-------------- cmp [attente_avant_med],attente_avant_med2 ;uniquement si le processus jb treteterrterteterertter ;de medaille est pas sur le point ;d'avoir lieu... plus de ; bombes ;--- maladie de la chiasse... cmp word ptr [maladie+ebp],03 ;255 ; dd 8 dup (?) je ertertrterteterrteert2rttyrrty ;--------------------------- inc [tribombe2+ebp] ;--- maladie de la constipation cmp word ptr [maladie+ebp],05 je treteterrterteterertter ;--------------------------- ;----- touche action 1 --- cmp byte ptr [ACTION+ebp],1 jne treteterrterteterertter ;------------------------ ertertrterteterrteert2rttyrrty: ;regarde si on peut poser une bombe... mov edi,[infojoueur+ebp] ;dans edi: viseur sur l'info d'un joueur. cmp dword ptr [edi],0 ;nombre de bombes qu'il peut encore poser. je treteterrterteterertter push ebp xy_to_offset pop ebp lea esi,[truc2+eax] cmp byte ptr [esi],0 ;regarde si ya rien ou l'on veut placer la bombe jne ya_une_bombeici cmp byte ptr [esi-32*13],0 ;regarde si ya rien ou l'on veut placer la bombe jne ya_une_bombeici PUSHALL pose_une_bombe POPALL jmp treteterrterteterertter ya_une_bombeici: cmp [tribombe+ebp],0 ;que si on a le bonus je treteterrterteterertter cmp [tribombe2+ebp],20 ja treteterrterteterertter cmp [tribombe2+ebp],2 ja ttrrttreteterrterteterertter mov [tribombe2+ebp],0 ;remet a zero si on presse tjs jmp treteterrterteterertter ttrrttreteterrterteterertter: ;utilise Esi par rapport a truc2 pour gauche/droite. ;2eme generation ;sortie: ebx entree ebp... direction_du_joueur 1 PUSHALL ;(1) encore_une_toto: cmp dword ptr [edi],0 ;nombre de bombes qu'il peut encore poser. jne nan_c_bon_on_peut_encore_poser POPALL ;(1) jmp treteterrterteterertter nan_c_bon_on_peut_encore_poser: add esi,ebx add eax,ebx cmp byte ptr [esi],0 ;regarde si ya rien ou l'on veut placer la bombe je ici_toto POPALL ;(1) jmp treteterrterteterertter ici_toto: cmp byte ptr [esi-32*13],0 ;regarde si ya rien ou l'on veut placer la bombe je ici_toto2 POPALL ;(1) jmp treteterrterteterertter ici_toto2: mov playSoundFx,1 PUSHALL pose_une_bombe POPALL jmp encore_une_toto treteterrterteterertter: cmp playSoundFx,1 jne dfgjhldfgkhjdflgkjhdfkljhdfglkjhdfglkjhgdfyeah bruit2 9,34 ;,BLOW_WHAT2 ;bruit du bonus tri bombe. mov playSoundFx,0 dfgjhldfgkhjdflgkjhdfkljhdfglkjhdfglkjhgdfyeah: ;---------- touche action 2 ----------- ;*** ;PUSHALL ;mov ah,02h ;SUPER_SIGNE2 DB 0 ;mov dl,13 ;int 21h ;xor eax,eax ;shr ebp,1 ;mov ax,word ptr [donnee+nb_dyna*2+ebp] ;recup Y ;add ax,14 ;and ax,00000000000001111B ;call affsigne ;POPALL ;*** PUSHALL cmp byte ptr [ACTION+2+ebp],1 jne treteterrterteterertteruiotyterertertterert ;2 possibilites vertical ou pas vertical cmp [lapipipino+ebp],0 je treteterrterteterertteruiotyterertertterert cmp [lapipipino2+ebp],0 jne treteterrterteterertteruiotyterertertterert ;saut de lapin le lapin... bruit3 10,32,BLOW_WHAT2 ;bruit kan 1 lapin saute ;sortie: ebx entree ebp... direction_du_joueur 2 push ebp ebx xy_to_offset lea esi,[truc+eax] pop ebx ebp mov [lapipipino3+ebp],duree_saut mov [lapipipino2+ebp],1 ;saut vertical ;cas particulier: le lapin est ;en bas cmp ebx,32*2 jne ertytyyuttyuyuiyuiiyyuiiyuiyu2 cmp eax,32*10 ja erterererererertert ertytyyuttyuyuiyuiiyyuiiyuiyu2: ;cas particulier: le lapin est en haut: cmp ebx,-32*2 jne ertytyyuttyuyuiyuiiyyuiiyuiyuo cmp eax,32*2 jb erterererererertert ertytyyuttyuyuiyuiiyyuiiyuiyuo: ;========== cas pqrticulier: on veut sauter une brike ========== ;il ne faut pas ke lon soit pas au milieu d'une brike cmp ebx,-32*2 jne biooooiiii cmp byte ptr [esi+ebx+32],0 ;une brike ? je biooooiiii au_milieu_y2 erterererererertert2 biooooiiii: cmp ebx,32*2 jne biooooiiiiE2 cmp byte ptr [esi+ebx-32],0 ;une brike ? je biooooiiiiE2 au_milieu_y2 erterererererertert2 biooooiiiiE2: cmp ebx,2 jne biooooiiiiE24 cmp byte ptr [esi+ebx-1],0 ;une brike ? je biooooiiiiE24 au_milieu_X2 erterererererertert2 biooooiiiiE24: cmp ebx,-2 jne biooooiiiiE24y cmp byte ptr [esi+ebx+1],0 ;une brike ? je biooooiiiiE24y au_milieu_X2 erterererererertert2 biooooiiiiE24y: ;)=================================================================== ;--------------------------------------- cmp byte ptr [esi+ebx],0 ;si ya rien a l'endroit ou on va sauter jne erterererererertert ;-- 3 cases a gauche cmp ebx,-2 jne iuertytyyuttyuyuiyuiiyyuiiyuiyu ;--- si on est pas au milieu de la case en Y il faut verif ke on peut sauter au_milieu_y ;la place est pas libre en face ;cmp [touches+ebp],128 ;si on avance pas ;jb herterererererertert ;on saute a la verticale ;mov [lapipipino2+ebp],1 ;saut vertical ;jmp erterererererertert ;herterererererertert: ;mov [lapipipino3+ebp],0 ;mov [lapipipino2+ebp],0 ;pés de saut ;jmp treteterrterteterertteruiotyterertertterert ; ;erterererererertertYUTYUyutyuu: ; pour etre sur kon va pas avancer sur cette case ;-- si elle est dur en effet on pourrait deborder push eax push ebp shr ebp,1 xor eax,eax mov ax,word ptr [donnee+ebp] ;recup X add ax,3 and ax,1111B pop ebp cmp byte ptr [esi+ebx-1],0 ;pas vide a 3 cases a gauche je iuokeeey cmp ax,7 ja iuokeeey push eax sub eax,7 sub [lapipipino7+ebp],eax pop eax iuokeeey: pop eax iuertytyyuttyuyuiyuiiyyuiiyuiyu: ;------ ;-- 3 cases a droite ; pour etre sur kon va pas avancer sur cette case ;-- si elle est dur en effet on pourrait deborder cmp ebx,+2 jne iiuertytyyuttyuyuiyuiiyyuiiyuiyu ;--- si on est pas au milieu de la case en Y il faut verif ke on peut sauter au_milieu_y ;------------------------------ push eax push ebp shr ebp,1 xor eax,eax mov ax,word ptr [donnee+ebp] ;recup X add ax,3 and ax,1111B pop ebp cmp byte ptr [esi+ebx+1],0 ;pas vide a 3 cases a gauche je iiuokeeey cmp ax,8 jb iiuokeeey push eax sub eax,7 add [lapipipino7+ebp],eax pop eax iiuokeeey: pop eax iiuertytyyuttyuyuiyuiiyyuiiyuiyu: ;------ ;en bas ??? ; pour etre sur kon va pas avancer sur cette case ;-- si elle est dur en effet on pourrait deborder cmp ebx,32*2 jne nooooooooooooooooooooi ;saut vers le bas, avec truc dur a 3 cases dessous ;--- si on est pas au milieu de la case en X il faut verif ke on peut sauter au_milieu_x ;;---- donc on regarde si ya du dur juste en dessous de lendroit ======== ;; ou on va atterir, car on pourrait deborder... ;; ou on va arriver push eax push ebp shr ebp,1 xor eax,eax mov ax,word ptr [donnee+nb_dyna*2+ebp] ;recup Y add ax,14 and ax,00000000000001111B pop ebp cmp byte ptr [esi+ebx+32],0 ;pas vide a 3 cases en dessous ? je uokeeey cmp ax,8 jb uokeeey push eax sub eax,7 add [lapipipino7+ebp],eax pop eax uokeeey: pop eax nooooooooooooooooooooi: ;en haut ; pour etre sur kon va pas avancer sur cette case ;-- si elle est dur en effet on pourrait deborder cmp ebx,-32*2 ;en haut jne knooooooooooooooooooooi ;--- si on est pas au milieu de la case en X il faut verif ke on peut sauter au_milieu_x ;saut vers le bas, avec truc dur a 3 cases dessous ;;---- donc on regarde si ya du dur juste en dessous de lendroit ======== ;; ou on va atterir, car on pourrait deborder... ;; ou on va arriver push eax push ebp shr ebp,1 xor eax,eax mov ax,word ptr [donnee+nb_dyna*2+ebp] ;recup Y add ax,14 and ax,00000000000001111B pop ebp cmp byte ptr [esi+ebx-32],0 ;pas vide a 3 cases au dessus je kuokeeey ;pour cas particulier, on est avance vers le cmp ax,7 ;bas... donc on serra avance sur une case dure ja kuokeeey push eax sub eax,7 neg eax add [lapipipino7+ebp],eax pop eax kuokeeey: pop eax knooooooooooooooooooooi: ;;---=================================================================== erterererererertert: jmp baaaaaaaaaaa erterererererertert2: ;pour pas sauter a la verticale,dans tous les cas cmp [touches+ebp],127 ;si on avance pas ja baaaaaaaaaaa ;on saute a la verticale mov [lapipipino3+ebp],0 mov [lapipipino2+ebp],0 baaaaaaaaaaa: ;-------- treteterrterteterertteruiotyterertertterert: POPALL mov ebx,[infojoueur+ebp] ;uniquement s'il y a droit... cmp dword ptr [ebx+4*4],1 jne treteterrterteterertteruioty cmp byte ptr [ACTION+1+ebp],1 jne treteterrterteterertteruioty ;liste_bombe dd ? ; nombre de bombes... ; dd 247 dup (?,?,?,?) mov ecx,[liste_bombe] or ecx,ecx jz pasdutout lea esi,liste_bombe+4-taille_dune_info_bombe next_bomby: add esi,taille_dune_info_bombe cmp dword ptr [esi+4],0 jne ya_bombe_ici jmp next_bomby ya_bombe_ici: ;------- unqieuemnt si c'est notre propre bombe... mov ebx,[infojoueur+ebp] cmp dword ptr [esi],ebx jne non_dejar ;--------- uniquement si cette bombe est a retardement... cmp word ptr [esi+4*3+2],0 je non_dejar mov word ptr [esi+4*3+2],0 ;la transforme en bombe normalle mov dword ptr [esi+4],1 ;la fait exploser non_dejar: dec ecx jnz next_bomby pasdutout: ;1er: offset de l'infojoeur ;2eme: nombre de tours avant que ca PETE !!! ; si = 0 ca veut dire ; ;emplacement libre... ;3eme:distance par rapport au debut de truc2 ;4eme puissance de la bombe. treteterrterteterertteruioty: ;----------------------------------------- POPALL ret minuteur: ;le tic tic tic des bombes...+ deplacement PUSHALL mov ecx,[liste_bombe] or ecx,ecx jz ertrteertertrterteertertertrteertertert xor ebp,ebp tetrrtyrtyrtyrtyrtyrtytyrtyr: cmp dword ptr [liste_bombe+ebp+4+1*4],0 ;indique emplacement non remplis !!! jne rtytyrrtytyrtyuutyiyuuiouiopuiouiopioppiopiopp2 inc ecx jmp rtytyrrtytyrtyuutyiyuuiouiopuiouiopioppiopiopp rtytyrrtytyrtyuutyiyuuiouiopuiouiopioppiopiopp2: ;*****-*-*-------********----------POUSSER DEPLACEMENT *-*-*********------ ;add esi,[liste_bombe+ebp+4+2*4] ;distance par rapport au debut de truc2 ;mov word ptr [liste_bombe+ebx+4+4*4],1 ;adder X automatique. ;mov word ptr [liste_bombe+ebx+4+4*4+2],0 ;mov word ptr [liste_bombe+ebx+4+5*4],0 ;adder X ;mov word ptr [liste_bombe+ebx+4+5*4+2],0 ;adder Y ;movsx eax,word ptr [liste_bombe+ebp+4+4*4] ;force d'addage.. (+1 ou -1) ;or eax,eax ;je non_zero ;pas de force de deplacement X/Y ;add ebx,1 ;eax ;offset dans truc+addage ;--- réflechis au deplacement uniquement si on est a 0 en adder... ;cmp word ptr [liste_bombe+ebp+4+5*4],0 ;jne depeplacement_kan_mee ;cmp byte ptr [truc+ebx],0 ;jne non_ya_un_mur_ote ;mur a cote... ;depeplacement_kan_mee: ;on deplace.... ;jne nan_nan_normale ;xy_adder 0 ou 2 ;xy_x32 1 ou 32 ;truc_monstre db 32*13 dup (?) call deplacement_bombes cmp action_replay,0 jne nononono_onest_en_recordplayzrezerzeezr cmp twice,1 jne nononono_onest_en_recordplayzrezerzeezr call deplacement_bombes nononono_onest_en_recordplayzrezerzeezr: ;mov word ptr [liste_bombe+ebp+4+5*4],-7 ;----------- ;mov ax,word ptr [liste_bombe+ebp+4+5*4] ;mov ebx,[liste_bombe+ebp+4+2*4] ;mov byte ptr [truc_X+ebx],al ;jmp okey_abe ;mov word ptr [liste_bombe+ebp+4+4*4],0 ;okey_abe: ;non_zero: ;------------------ sauf si on a les bombes a retardement ;liste_bombe dd ? ; nombre de bombes... ; dd 247 dup (?,?,?,?) ;1er: offset de l'infojoeur ;2eme: nombre de tours avant que ca PETE !!! ; si = 0 ca veut dire ;3eme:distance par rapport au debut de truc2 ;4eme:DD= 1 DW: puissance de la bombe + 1 DW: bombe a retardement ??? (=1) ;mov ebx,[liste_bombe+ebp+4] ;cmp dword ptr [ebx+4*4],1 mov esi,offset truc2 add esi,[liste_bombe+ebp+4+2*4] ;distance par rapport au debut de truc2 ;---- cas particulier.. on est une bombe, est on vient de se prendre ;une brike sur la gueule... donc on explose... cmp byte ptr [esi-32*13],11 ;cas particulier... apres apocalypse... jne kklmjjkjklmklmjmjklmjklmjklmjkl ;on la fait exploser de suite... mov dword ptr [liste_bombe+ebp+4+1*4],1 ;pour ke ca pete :)) mov word ptr [liste_bombe+ebp+4+3*4+2],0 ;elle est plus retarde (enfin ;plus.. maintenant. si elle l'etait) jmp finis_la kklmjjkjklmklmjmjklmjklmjklmjkl: ;---- cmp word ptr [liste_bombe+ebp+4+3*4+2],1 ;si bombe retardee... je rertertertert ;ne decremente pas finis_la: dec dword ptr [liste_bombe+ebp+4+1*4] jnz rertertertert dec dword ptr [liste_bombe] ;------------ fait exploser la bombe ------------------------------------- ;bruit 1 40 BLOW_WHAT2 cmp byte ptr [esi-32*13],11 ;cas particulier... apres apocalypse... je nononononiioiouuio mov byte ptr [esi],05 ;centre. bruit2 2,40 nononononiioiouuio: mov eax,[liste_bombe+ebp+4+0*4] ;offset de l'infojoeur inc dword ptr [eax] ;augmente le nombre de bombe k'il a le droit de poser... ;,explosion ; -32 33 40 cmp byte ptr [esi-32*13],11 ;cas particulier... apres apocalypse... (pice dure) je nononononiioiouuiorytrty explosion -32,33,40 explosion 32,33,47 explosion 1,12,26 explosion -1,12,19 nononononiioiouuiorytrty: ;mov dword ptr [liste_bombe+ebp+4+3*4] mov dword ptr [liste_bombe+ebp+4+0*4],0 mov dword ptr [liste_bombe+ebp+4+1*4],0 mov dword ptr [liste_bombe+ebp+4+2*4],0 mov dword ptr [liste_bombe+ebp+4+3*4],0 mov dword ptr [liste_bombe+ebp+4+4*4],0 mov dword ptr [liste_bombe+ebp+4+5*4],0 ;---------------------------------------------------------------------- rertertertert: rtytyrrtytyrtyuutyiyuuiouiopuiouiopioppiopiopp: add ebp,taille_dune_info_bombe dec ecx jnz tetrrtyrtyrtyrtyrtyrtytyrtyr ertrteertertrterteertertertrteertertert: POPALL ret ;ya un draw game ??? ou une victoire ??? ;mov ecx,8 ;mov edi,offset victoires ;xor eax,eax ;rep stosd phase: pushad ;-- special... draw forcé --- cmp word ptr bdraw666,'99' je dikgrhrfhgrrethghkgh mov edi,offset vie mov ecx,[nombre_de_dyna] yretrteertertert: cmp dword ptr [edi],1 je et_non_pas_de_draw add edi,4 dec ecx jnz yretrteertertert ;-------- si on est au temps = 0 on compte moins vite !!!! ;car c le bordel faut k'on ai le temps de voir... ;;cmp in_the_apocalypse,1 ;;je pas_encore ;;---------------------- dec [attente_avant_draw] jnz pas_encore dikgrhrfhgrrethghkgh: mov byte ptr [ordre2],'D' cmp nombre_de_dyna,1 jne pas_encore mov byte ptr [ordre2],'M' pas_encore: et_non_pas_de_draw: ;----------------------------- ya une victoire ???? ---------------------- xor ebx,ebx xor edx,edx xor edi,edi mov eax,-1 ;equipe du dernier a avoir gagne.. mov ecx,[nombre_de_dyna] uyretrteertertert: cmp dword ptr [vie+edi],1 jne uil_est_mort ;team dd 0,1,2,3,4,5,6,7 cmp eax,[team+edi] ;si deja un gagnant de cette équipe. on le compte pas. je deja_dernier_un_gagnant_comme_ca inc edx ;------- nombre de gagnants mov eax,[team+edi] ;recup dans eax la team du gagnant... mov ebx,edi ;sauvegarde du gagnant. deja_dernier_un_gagnant_comme_ca: uil_est_mort: add edi,4 dec ecx jnz uyretrteertertert ;//** cas particulier si mode 1 player... retourne edx = 1 si 1 seul vivant (moi) cmp nombre_de_dyna,1 jne pasmode1player mov ecx,8 mov edx,0 xor edi,edi comptemonstresvivants: cmp dword ptr [vie+edi],1 jne monstreMort inc edx monstreMort: add edi,4 dec ecx jnz comptemonstresvivants pasmode1player: ;//********** ;// declenche victoire sur 2 joueur ou plus cmp edx,1 jne terertyrtytyrrtyrty ; plus k'1 EQUIPE vivante... !!! ! ; regarde si ya plus de bombes.... ;dans eax on a l'equipe du gagnat push eax ;-- transforme les bombes en semi-retardee push ebx xor ebx,ebx ertterertuuuuu: push ebx mov ebx,[infojoueur+ebx] ;mov dword ptr [ebx+4*4],0 call nike_toutes_ses_bombes pop ebx add ebx,4 cmp ebx,32 jne ertterertuuuuu pop ebx ;-------- pop eax ; juste pour la premiere fois... pour k'on ne pose plus de bombes. cmp [attente_avant_med],attente_avant_med2 jne reterertertertr89 mov [attente_avant_med],attente_avant_med2-1 reterertertertr89: ;cmp word ptr [bombes],0 ;jne terertyrtytyrrtyrty mov esi,offset truc2 mov ecx,32*13 zertertrtertetyrtyutyuiuiy: cmp byte ptr [esi],0 je terertyrtytyrrtyrtyert cmp byte ptr [esi],54 jb terertyrtytyrrtyrty ;bombe trouvée... terertyrtytyrrtyrtyert: inc esi dec ecx jnz zertertrtertetyrtyutyuiuiy ;truc2 db 32*13 dup (?) ; 40 ; 33 ; 19 12 05 12 26 ; 33 ; 47 ;1 = bombe... (2,3,4) respirant... si c sup a 4; on est mort... ;5 = centre de bombe. de 5 a 11 ;12 = ligne droite... ;19 = arrondie ligne droite vers la gauche... ;26 = arrondie ligne droite vers la droite ;33 = ligne verti ;40 arrondie verti vers le haut ;47-- bas ;---------- regarde si on est dans un terrain ou il faut attendre ke l'apocalypse ; soit terminee pour determiner un gagnant. push ebx mov bl,terrain dec bl shl ebx,2 cmp [ebx+kelle_fin],0 je pas_attente_fin_apocalypse pop ebx cmp in_the_apocalypse,1 ;c'est encore l'apo. decompte pas encore. je terertyrtytyrrtyrty push ebx pas_attente_fin_apocalypse: pop ebx ;;---------------------- dec [attente_avant_med] jnz terertyrtytyrrtyrty ;fabriquation du packet/victoires&médailles mov [ordre2],'Z' ;-------- on donne la victoire au tout premier de cette equipe xor ebx,ebx pas_celui_la: cmp [team+ebx],eax je reertertertertert90 add ebx,4 jmp pas_celui_la reertertertertert90: ; si un joueur on zappe les medailles cmp nombre_de_dyna,1 jne dfdfdfgkldgflkdgflkdlgklgdfl mov [ordre2],'%' dec dword ptr [victoires+ebx] dfdfdfgkldgflkdgflkdlgklgdfl: ; inc dword ptr [victoires+ebx] mov [latest_victory],ebx skynet_team_victory: cmp [team3_sauve],4 jne copy_victory_data mov ecx,[nombre_de_dyna] mov esi,[team+ebx] xor edi,edi skynet_team_victory_loop: cmp esi,[team+edi] jne skynet_team_victory_next cmp edi,[latest_victory] je skynet_team_victory_next inc dword ptr [victoires+edi] skynet_team_victory_next: add edi,4 dec ecx jne skynet_team_victory_loop copy_victory_data: push ds pop es mov esi,offset victoires mov edi,offset donnee4 mov ecx,9 rep movsd ;--- puis on copie: ;les 4 dd: des sources du dyna de face ki a gagné... ;puis 1 db: le nombre de lignes k'il fait... ;liste_couleur dd offset blanc, mov esi,[liste_couleur+ebx] xor eax,eax mov ax,word ptr [esi] add eax,dword ptr [donnee+8*3*2+ebx] ;--- adresse page stosd xor eax,eax mov ax,word ptr [esi+2] add eax,dword ptr [donnee+8*3*2+ebx] ;--- adresse page stosd xor eax,eax mov ax,word ptr [esi+4] add eax,dword ptr [donnee+8*3*2+ebx] ;--- adresse page stosd xor eax,eax mov ax,word ptr [esi+6] add eax,dword ptr [donnee+8*3*2+ebx] ;--- adresse page stosd shr ebx,1 mov ax,word ptr [donnee+8*5*2+ebx] ;--- nombre de lignes stosb mov ax,word ptr [donnee+8*6*2+ebx] ;--- nombre de colones. stosb ;--- puis copie les noms des différents joueurs... mov edi,offset briques xor ebx,ebx erertcharmant: mov esi,offset nick_t add esi,[control_joueur+ebx] ;lodsd movsd add ebx,4 cmp ebx,4*8 jne erertcharmant ;------------------------------------------------------- ;mov dword ptr [texte1+6*1+1+32*0+edx],eax ;mov dword ptr [texte1+6*1+1+32*1+edx],eax ;mov dword ptr [texte1+6*1+1+32*2+edx],eax ;mov dword ptr [texte1+6*1+1+32*3+edx],eax ;donnee dw 8 dup (?) ;x du dynablaster ; dw 8 dup (?) ;y du dynablaster ; dw 8 dup (?) ;source du dyna dans bloque ; dd 8 dup (?) ;source bloque memoire ; dw 8 dup (?) ;nombre de lignes pour un dyna... ; dw 8 dup (?) ;nombre de colonnes. ; dd 8 dup (?) ;adder di (pour la girl + grande...) ;liste_couleur dd 8 dup (?) ;donnee4+9*4+4*4 ;mov ecx,4 ;lodsw ;rep movsd ;des sources du dyna de face ki a gagné... ;stosd ;;donnee dw 8*3 dup (?) ;; dw 20,20,277,277,116,116,180,180 ;x du dynablaster ;; dw 9,170,9,170,41,137,41,137 ;y du dynablaster ;; dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna dans bloque ;;dd 576000,576000,576000,576000,640000,640000,640000,640000 ;source bloque memoire ;;dw 23,23,23,23,25,25,25,25 ;nombre de lignes pour un dyna... ;;dd 0,0,0,0,-3*320,-3*320,-3*320,-3*320 ;adder di (pour la girl + grande...) ;si ordre2='Z' ; copie de "victoires dd 8 dup (?)" ; et 1 dd avec le offset du dernier ki a eu une victoire... ; (latest_victory) terertyrtytyrrtyrty: popad ret gestion_jeu endp ;touches dd nb_dyna dup (0) ;0= face bas. ;8= droite droite ;16= gauche gauche ;24= haut haut load_data proc near cmp dataLoaded,1 jne doTheLoad RET doTheLoad: mov dataLoaded,2 PUSHALL call load_gus ;------------------- charge le fichier avec les sprites --------------- ;mov ecx,[packed_liste+4*6] ;mov edx,offset iff_file_name ;mov edi,offset buffer4 ; 128000 ;307200 ;mov ebx,320*200 ;307200 ;mov ax,ds ;call load_pcx ;mov esi,0 ;copyblock2 ;----------------------------------------------------------------------- ;mov ecx,0 ;mov edx,offset fichier1 mov ecx,[packed_liste+4*0] mov edx,offset iff_file_name ;adresse_des_fonds dd 640000,64000,328000 mov edi,0 mov ebx,320*200 ;307200 ;nombre de pixels. mov ax,fs call load_pcx ;mov ecx,0 ;mov edx,offset fichier2 mov ecx,[packed_liste+4*1] mov edx,offset iff_file_name mov edi,64000*2 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;mov ecx,0 ;mov edx,offset fichier3 ;---- game mov ecx,[packed_liste+4*2] mov edx,offset iff_file_name mov edi,64000*3 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- draw 1 ---- mov ecx,[packed_liste+4*7] mov edx,offset iff_file_name mov edi,64000*5 mov ebx,320*200 mov ax,fs call load_pcx ;---------------- ;--- draw2 ---- mov ecx,[packed_liste+4*8] mov edx,offset iff_file_name mov edi,64000*6 mov ebx,320*200 mov ax,fs call load_pcx ;---------------- ;--- med 1 ---- mov ecx,[packed_liste+4*9] mov edx,offset iff_file_name mov edi,64000*7 mov ebx,320*200 mov ax,fs call load_pcx ;---------------- ;--- med 3 ---- mov ecx,[packed_liste+4*10] mov edx,offset iff_file_name mov edi,64000*8 mov ebx,320*200 mov ax,fs call load_pcx ;---------------- ;--- sprites bomberman masculins --- mov ecx,[packed_liste+4*3] mov edx,offset iff_file_name mov edi,576000 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- sprites bomberman feminin --- mov ecx,[packed_liste+4*6] mov edx,offset iff_file_name mov edi,640000 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- vic 1 --- mov ecx,[packed_liste+4*11] mov edx,offset iff_file_name mov edi,704000 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- vic 2 --- mov ecx,[packed_liste+4*12] mov edx,offset iff_file_name mov edi,768000 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- vic 3 --- mov ecx,[packed_liste+4*13] mov edx,offset iff_file_name mov edi,832000 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- vic 4 --- mov ecx,[packed_liste+4*14] mov edx,offset iff_file_name mov edi,896000 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- neige1 --- mov ecx,[packed_liste+4*15] mov edx,offset iff_file_name mov edi,896000+64000*3 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- neige2 --- mov ecx,[packed_liste+4*16] mov edx,offset iff_file_name mov edi,896000+64000*2 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- pic.pcx --- mov ecx,[packed_liste+4*18] mov edx,offset iff_file_name mov edi,896000+64000*1 ;896000+64000*3 ; 128000 ;307200 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;;--- mrfond.pcx --- ;mov ecx,[packed_liste+4*19] ;mov edx,offset iff_file_name ;;cmp kel_pic_intro,1 ;;jne opiopiioiouuiiuiuiuooo ;; ;mov edi,896000+64000*4 ; 128000 ;307200 ;mov ebx,640*(36*2) ;307200 ;mov ax,fs ;call load_pcx ; ;;--- mrfond.pcx --- mov ecx,[packed_liste+4*19] mov edx,offset iff_file_name ;;cmp kel_pic_intro,1 ;;jne opiopiioiouuiiuiuiuooo ;; mov edi,1966080+64000*21 mov ebx,320*200 mov ax,fs call load_pcx ;--- final.pcx --- mov ecx,[packed_liste+4*20] mov edx,offset iff_file_name mov edi,896000+64000*4+640*(36*2) ; 128000 ;307200 mov ebx,320*200 mov ax,fs call load_pcx ;;--nuage1.pcx-- mov ecx,[packed_liste+4*21] mov edx,offset iff_file_name mov edi,896000+64000*4+640*(36*2)+64000 ; 128000 ;307200 mov ebx,320*200 mov ax,fs call load_pcx ;--nuage2.pcx-- mov ecx,[packed_liste+4*22] mov edx,offset iff_file_name mov edi,896000+64000*4+640*(36*2)+64000*2 ; 128000 ;307200 mov ebx,320*200 mov ax,fs call load_pcx ;--- foret.pcx --- mov ecx,[packed_liste+4*23] mov edx,offset iff_file_name mov edi,896000+384000+46080+64000 ; 128000 ;307200 mov ebx,320*200 mov ax,fs call load_pcx ;--- feuille.pcx --- mov ecx,[packed_liste+4*24] mov edx,offset iff_file_name mov edi,896000+384000+46080+64000+64000 ; 128000 ;307200 mov ebx,320*200 mov ax,fs call load_pcx ;--- neige3 --- mov ecx,[packed_liste+4*17] mov edx,offset iff_file_name mov edi, 896000+384000+46080+64000*3 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;1582080 ;--- pause.pcx --- mov ecx,[packed_liste+4*25] mov edx,offset iff_file_name mov edi,1582080 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- mdec.pcx --- mov ecx,[packed_liste+4*26] mov edx,offset iff_file_name mov edi,1582080+64000 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;--- mdeg.pcx --- mov ecx,[packed_liste+4*27] mov edx,offset iff_file_name mov edi,1582080+64000*2 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;;--- exo1.pcx --- ;mov ecx,[packed_liste+4*28] ;mov edx,offset iff_file_name ;mov edi,1582080+64000*3 ;mov ebx,320*200 ;mov ax,fs ;call load_pcx ; ;;--- puzzle.pcx --- ;mov ecx,[packed_liste+4*29] ;mov edx,offset iff_file_name ;mov edi,1582080+64000*4 ;mov ebx,320*200 ;mov ax,fs ;call load_pcx ; ;---- record0.mbr --- ;cmp special_on_a_loadee_nivo,1 ;je naoinoirzeniozerrzeerzzererz mov ecx,[packed_liste+4*30] mov edx,offset iff_file_name ;cmp economode,1 ;je ertertterterrtertytyrrtyrtyrtyrtyrtyrtyrty ; ;cmp special_on_a_loadee_nivo,1 ;jne ertertterterrtertytyrrtyrtyrtyrtyrtyrtyrty ;lea edx,reccord2 ;xor ecx,ecx ; ;ertertterterrtertytyrrtyrtyrtyrtyrtyrtyrty: mov edi,1966080+64000 call load_raw naoinoirzeniozerrzeerzzererz: ;---- record1.mbr --- mov ecx,[packed_liste+4*31] mov edx,offset iff_file_name mov edi,1966080+64000*2 call load_raw ;---- record2.mbr --- mov ecx,[packed_liste+4*32] mov edx,offset iff_file_name mov edi,1966080+64000*3 call load_raw ;---- record3.mbr --- mov ecx,[packed_liste+4*33] mov edx,offset iff_file_name mov edi,1966080+64000*4 call load_raw ;---- fete1.mbr --- mov ecx,[packed_liste+4*34] mov edx,offset iff_file_name mov edi,1966080+64000*5 call load_raw ;---- record5.mbr --- mov ecx,[packed_liste+4*37] mov edx,offset iff_file_name mov edi,1966080+64000*6 call load_raw ;---- crayon.pcx --- mov ecx,[packed_liste+4*35] mov edx,offset iff_file_name mov edi,1582080+64000*3 ;1582080+64000*6 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;---- crayon2.pcx --- mov ecx,[packed_liste+4*36] mov edx,offset iff_file_name mov edi,1582080+64000*4 ;1582080+64000*7 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;---- lapin1.pcx --- mov ecx,[packed_liste+4*38] mov edx,offset iff_file_name mov edi,1966080+64000*7 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;---- mort.pcx --- mov ecx,[packed_liste+4*39] mov edx,offset iff_file_name mov edi,1966080+64000*8 mov ebx,320*200 mov ax,fs call load_pcx ;---- lapin2.pcx --- mov ecx,[packed_liste+4*40] mov edx,offset iff_file_name mov edi,1966080+64000*9 mov ebx,320*200 mov ax,fs call load_pcx ;---- lapin3.pcx --- mov ecx,[packed_liste+4*41] mov edx,offset iff_file_name mov edi,1966080+64000*10 mov ebx,320*200 mov ax,fs call load_pcx ;---- lapin4.pcx --- mov ecx,[packed_liste+4*42] mov edx,offset iff_file_name mov edi,1966080+64000*11 mov ebx,320*200 mov ax,fs call load_pcx ;---- foot.pcx --- mov ecx,[packed_liste+4*43] mov edx,offset iff_file_name mov edi,1966080+64000*12 mov ebx,320*200 mov ax,fs call load_pcx ;---- foot1.mbr --- mov ecx,[packed_liste+4*44] mov edx,offset iff_file_name mov edi,1966080+64000*13 call load_raw ;---- foot2.mbr --- mov ecx,[packed_liste+4*45] mov edx,offset iff_file_name mov edi,1966080+64000*14 call load_raw ;---- fete2.mbr --- mov ecx,[packed_liste+4*46] mov edx,offset iff_file_name mov edi,1966080+64000*15 call load_raw ;---- neige2.mbr --- mov ecx,[packed_liste+4*47] mov edx,offset iff_file_name mov edi,1966080+64000*16 call load_raw ;---- rose2.mbr --- mov ecx,[packed_liste+4*48] mov edx,offset iff_file_name mov edi,1966080+64000*17 call load_raw ;---- jungle2.mbr --- mov ecx,[packed_liste+4*49] mov edx,offset iff_file_name mov edi,1966080+64000*18 call load_raw ;---- micro2.mbr --- mov ecx,[packed_liste+4*50] mov edx,offset iff_file_name mov edi,1966080+64000*19 call load_raw ;---- nuage2.mbr --- mov ecx,[packed_liste+4*51] mov edx,offset iff_file_name mov edi,1966080+64000*20 call load_raw ;--- soucoupe.pcx --- mov ecx,[packed_liste+4*52] mov edx,offset iff_file_name mov edi,1966080+64000*22 mov ebx,320*200 mov ax,fs call load_pcx ;--- soccer.pcx --- mov ecx,[packed_liste+4*53] mov edx,offset iff_file_name mov edi,1966080+64000*23 mov ebx,320*200 mov ax,fs call load_pcx ;--- footanim.pcx --- mov ecx,[packed_liste+4*54] mov edx,offset iff_file_name mov edi,1966080+64000*24 mov ebx,320*200 mov ax,fs call load_pcx ;---- lune1.mbr --- mov ecx,[packed_liste+4*55] mov edx,offset iff_file_name mov edi,1966080+64000*25 call load_raw ;---- lune2.mbr --- mov ecx,[packed_liste+4*56] mov edx,offset iff_file_name mov edi,1966080+64000*26 call load_raw ;---- bombes.+ sprites bonus (sprite2.pcx) mov ecx,[packed_liste+4*4] mov edx,offset iff_file_name mov edi,1582080+64000*5 mov ebx,320*200 ;307200 mov ax,fs call load_pcx ;------------------------ ;(1582080+64000*6) 64000K réservé pour sauvegarde ; ; ;------------------------ ;--- menu... ---- mov ecx,[packed_liste+4*5] mov edx,offset iff_file_name mov edi,64000*4 mov ebx,320*200 mov ax,fs call load_pcx ;---------------- eretterertrerzet: POPALL ret endp transmet_central proc near ; é partir du GROS packet de touches qu'on a ; récupéré pour tous les ordinateur. ; on regarde é kel dyna correspond chaque partie ; packet ; et on modifie les variables CENTRAL "touches" ; et "action" ; qui informent dans kel direction le dyna va ; s'il est en mouvement et s'il veut poser une ; bombes. grace a ces variables l'intelligence du ; master déterminera les packets finaux a envoyer ; ou différents slaves... (enfin é l'affichage koi) PUSHALL ;*************** transmet au central... mov ecx,[nombre_de_dyna] ; dd 2 ;en tout.. pour le master xor ebp,ebp rterteterrterteertert: mov ebx,[control_joueur+ebp] ;récupere l'offet du packet en question. ;controle joueur special play cmp action_replay,2 jne pas_recertterteretrreertyutyyut mov ebx,[control_joueur2+ebp] ;récupere l'offet du packet en question. ;mov ebx,-64 pas_recertterteretrreertyutyyut: ;================= lea esi,[total_t+ebx] ;entrée. ebp ;numéro CENTRAL d'un joeur. ;mov esi,offset total_t ;packet ;call packet_to_central ;modifie les valeurs du central a partir des ; ;deplacement d'un dyna. ;packet_to_central proc near ;numéro du dyna * 4 PUSHALL ;model des packets recus par le master.. (envoyé par slave.) ;donnee2 dd 0,0,0,0 ,0,0 ;1er joeur d'un ordy. ; dd 0,0,0,0 ,0,0 ;2eme joeur d'un ordy ; dd 0,0,0,0 ,0,0 ;3eme joeur d'un ordy ; dd 0,0,0,0 ,0,0 ;4eme joeur d'un ordy ; ;;offset 0 =1 si la fleche bas est pressé/ j1 ;; 4 =1 si la fleche droite est pressé j1 ;; 8 =1 si la fleche gauche est pressé j1 ;; 12 =1 si la fleche haut est pressé2 j1 ;; 16 =1 bouton 1 j1 ;; 20 =1 bouton 2 j1 xor ax,ax ;indique k'on a trouvé aucune touche... mov dword ptr [ACTION+ebp],0 ;touches action a 0 cmp [lapipipino+ebp],0 ;lapin ? tient pas compte de ses trucs je dynanormalito cmp [lapipipino2+ebp],0 ;en train de sauter ? tient pas compte de ses trucs jne errereerreerretertertrtertetyyrtuui dynanormalito: cmp byte ptr [esi+3],1 jne erterertertertert mov [touches+ebp],0 mov ax,1 erterertertertert: cmp byte ptr [esi+1],1 jne erterertertertert2 mov [touches+ebp],8 mov ax,2 erterertertertert2: cmp byte ptr [esi+2],1 jne erterertertertert3 mov [touches+ebp],16 mov ax,3 erterertertertert3: cmp byte ptr [esi],1 jne erterertertertert4 mov [touches+ebp],24 mov ax,4 erterertertertert4: ;**************** touches d'action ;------------- touches d'action ; 4 =1 bouton 1 j1 ; 5 =1 bouton 2 j1 cmp byte ptr [esi+4],1 jne ertertertertrte mov byte ptr [ACTION+ebp],1 ertertertertrte: cmp byte ptr [esi+6],1 jne ertertertertrte3 mov byte ptr [ACTION+ebp+2],1 ; si lapin ki a la maladie de la lenteur... on lui permet pas de sauter ... cmp word ptr [maladie+ebp],02 ;255 ; dd 8 dup (?) jne ertertertertrte3 mov byte ptr [ACTION+ebp+2],0 ;------------ ertertertertrte3: ;special lapin en train de sauter,on arrive directement la errereerreerretertertrtertetyyrtuui: cmp byte ptr [esi+5],1 jne tertertertertrte mov byte ptr [ACTION+ebp+1],1 tertertertertrte: ;******************************* ;------------- ;touches dd nb_dyna dup (0) ; ;0= face bas. ; ;8= droite droite ; ;16= gauche gauche ; ;24= haut haut ;+128 si ne bouge pas.. or ax,ax jnz reerrteertyut or dword ptr [touches+ebp],128 reerrteertyut: POPALL add ebp,4 dec ecx jnz rterteterrterteertert POPALL ret endp ;get_all_infos proc near ;PUSHALL ; ;;1er mot 0=existe pas: 1 existe !!! ;;2eme mot: numéro de l'ordinateur !!! ;; 0= local. ;;3eme mot: numéro interne (0 a 3) pour chaque ordinateur. ;;liste_des_joeurs dd 1,0,0 ;; dd 0,0,0 ; ;xor ebp,ebp ; ;mov esi,offset liste_des_joeurs ;mov ecx,[nombre_de_dyna] ; dd 2 ;en tout.. pour le master ;sauver_de_moi_meme: ;or ecx,ecx ;jz fini ;dec ecx ;;cmp dword ptr [esi],0 ;;je fini ; ; ;cmp dword ptr [esi+4],0 ;regarde si le joueur en question est en local. sinon il faut ; ;récupérer l'info par communication avec l'ordinateur. ;je cest_en_local ; ;cmp dword ptr [esi+8],0 ;regarde si on aurait pas deja récupéré le packet.. ; ;(vrai si offset dans le packet <> 0...) ;jne cest_en_local ;deja fait... ; ;;communication. (si le packet n'est pas deja chargé...) ;;************************************************************************** ;ytytytytttttttttttttttttttttt: ;PUSHALL ;mov esi,[esi+4] ;offset liste_adresse ;récupere l'adresse de l'ordy ou on envois... ;offset adresse ;mov ebp,offset packed_data ;donnee ;;call envois ;;envois special bloc total... ;envois3 ecb2 header_envois socket_jeu ;POPALL ;;call ecoute ;ecoute2 ecb1 recu_data header_ecoute touches_size socket_jeu ; ;xor ax,ax ;erzertrteertertert1: ; ; /********************************************************\ ;cmp byte ptr [clavier+59],1 ;F1... donne la periode d'attente pour la comm ; ;avec un ordy... ;jne reertertertertertert ;;- raster vert - ;inc ax ;push dx ax ; mov dx,3c8h ;push ax ; xor ax,ax ; out dx,al ; mov dx,3c9h ; out dx,al ;pop ax ; out dx,al ;xor ax,ax ; out dx,al ;pop ax dx ;;- raster vert - ;reertertertertertert: ;; \********************************************************/ ;cmp byte ptr [sortie],1 ;eSC. ;je rtyrtyrtyretertdgrfgdtrdfgdfgdfg ;cmp byte ptr [ecb1+8],0 ;jne erzertrteertertert1 ;; ;call raster2 ;rtyrtyrtyretertdgrfgdtrdfgdfgdfg: ;;------- ;PUSHALL ;mov ax,gs ;mov es,ax ;;recu_data db '??????????????????????????????????????????????????????????????',10,13,'$' ;mov esi,offset recu_data ;mov edi,offset donnee2 ;mov ecx,6*4*4 ;rep movsb ;POPALL ; ;;************************************************************************** ;cest_en_local: ; ;push esi ;mov esi,[esi+8] ;récupere l'offet du packet en question. ;add esi,offset donnee2 ;packet ; ;;entrée. ebp ;numéro CENTRAL d'un joeur. ; ;call packet_to_central ;modifie les valeurs du central a partir des ; ;deplacement d'un dyna. ;pop esi ;;------------------------------------------ ;add ebp,4 ;add esi,32 ;jmp sauver_de_moi_meme ;fini: ;POPALL ;ret ;endp possible_ou_pas proc near ;dx add x, cx: add y PUSHALL ;add [donnee+nb_dyna*2+ebp],1 Y ;xy_to_offset ;lea esi,[truc+eax] xor eax,eax mov ax,[donnee+ebp] ;x !!!! add ax,dx add ax,3 shr ax,4 xor ebx,ebx mov bx,[donnee+nb_dyna*2+ebp] ;Y !!!! add bx,14 add bx,cx ;shr bx,4 and bx,01111111111110000B shl bx,1 ;*32 mov esi,offset truc add esi,ebx add esi,eax cmp byte ptr [esi],0 jne zerrzerzeerzer ;;1 = bombe... (2,3,4) respirant... si c sup a 4; on est mort... cmp byte ptr [esi+32*13],1 jb efrerrereterter cmp byte ptr [esi+32*13],4 ja efrerrereterter add ebp,ebp cmp [last_bomb+ebp],esi je efrerrereterter ;--- ya une bombe+c'est pas la derniere case !!! essaye de la pousser --- cmp [pousseur+ebp],1 jne zerrzerzeerzer PUSHALL cmp dx,0 je pas_eee jns tjyuyu6754oooi mov ax,-1 tjyuyu6754oooi: cmp dx,0 js tjyuyu6754oooir mov ax,1 tjyuyu6754oooir: mov ecx,0 call pousse_la_bombe jmp okeeeeeyiui pas_eee: cmp cx,0 je pas_eeerty jns tjyuyu6754oooirr mov ax,-1 tjyuyu6754oooirr: cmp cx,0 js tjyuyu6754oooirt mov ax,1 tjyuyu6754oooirt: mov ecx,2 call pousse_la_bombe pas_eeerty: okeeeeeyiui: POPALL jmp zerrzerzeerzer efrerrereterter: xor cx,cx ;retourne jz=vrai POPALL ret zerrzerzeerzer: mov cx,1 or cx,cx ;retourne jz=faux POPALL ret endp ;mov si,-16 ; ;16 ;8 haut. ;call remet_milieu_x remet_milieu_x proc near ;replace le sprite au milieu d'un case. PUSHALL xor ebx,ebx mov bx,[donnee+ebp] ;x !!!! add bx,3 ;------------------ and bx,01111B cmp bx,7 je iookokokokok_deja_milieux ;dx add x, cx: add y mov dx,0 ;X mov cx,si ;Y call possible_ou_pas jnz ertertirtyrtyyrtrtyrtyxer ;impossible. ;il n'y a rien juste au dessus/sous. remet vers le milieu... eheheh_mur: cmp bx,7 ja zererzerrteertrterteert inc word ptr [donnee+ebp] ;x !!!! xor cx,cx ;retourne jz=vrai POPALL ret zererzerrteertrterteert: dec word ptr [donnee+ebp] ;x !!!! xor cx,cx ;retourne jz=vrai POPALL ret ;---------- ya kekchoz en dessous/sus ertertirtyrtyyrtrtyrtyxer: push ebp add ebp,ebp mov [avance+ebp],0 ;=0 PAS reussit a bouger pop ebp cmp bx,7 ja uzererzerrteertrterteert ;dx add x, cx: add y mov dx,-16 ;X mov cx,si ;Y call possible_ou_pas jnz eheheh_mur ;dx add x, cx: add y mov dx,-16 ;X mov cx,0 ;Y call possible_ou_pas jnz eheheh_mur dec word ptr [donnee+ebp] ;x !!!! xor cx,cx ;retourne jz=vrai POPALL ret uzererzerrteertrterteert: mov dx,16 mov cx,si ;16 ;8 call possible_ou_pas jnz eheheh_mur mov dx,16 ;0 mov cx,0 ;si ;16 ;8 call possible_ou_pas jnz eheheh_mur inc word ptr [donnee+ebp] ;x !!!! xor cx,cx ;retourne jz=vrai POPALL ret iookokokokok_deja_milieux: mov cx,1 or cx,cx ;retourne jz=faux POPALL ret endp remet_milieu_y proc near ;replace le sprite au milieu d'un case. PUSHALL xor ebx,ebx mov bx,[donnee+nb_dyna*2+ebp] ;y !!!! add bx,14 ;! ;------------------ and bx,01111B cmp bx,7 je yiookokokokok_deja_milieux ;dx add x, cx: add y mov dx,si mov cx,0 ;16 ;8 call possible_ou_pas jnz yertertirtyrtyyrtrtyrtyxer ;impossible. impossible_2_fois: ;push ebp ;add ebp,ebp ;mov [avance+ebp],0 ;=0 PAS reussit a bouger ;pop ebp cmp bx,7 ja yzererzerrteertrterteert inc word ptr [donnee+nb_dyna*2+ebp] ;y !!!! xor cx,cx ;retourne jz=vrai POPALL ret yzererzerrteertrterteert: dec word ptr [donnee+nb_dyna*2+ebp] ;y !!!! xor cx,cx ;retourne jz=vrai POPALL ret ;---------- ya kekchoz en dessous yertertirtyrtyyrtrtyrtyxer: push ebp add ebp,ebp mov [avance+ebp],0 ;=0 PAS reussit a bouger pop ebp cmp bx,7 ja yuzererzerrteertrterteert mov dx,si mov cx,-16 call possible_ou_pas jnz impossible_2_fois mov dx,0 mov cx,-16 call possible_ou_pas jnz impossible_2_fois dec word ptr [donnee+nb_dyna*2+ebp] ;y !!!! xor cx,cx ;retourne jz=vrai POPALL ret yuzererzerrteertrterteert: mov dx,si mov cx,16 call possible_ou_pas jnz impossible_2_fois mov dx,0 mov cx,16 call possible_ou_pas jnz impossible_2_fois inc word ptr [donnee+nb_dyna*2+ebp] ;y !!!! xor cx,cx ;retourne jz=vrai POPALL ret yiookokokokok_deja_milieux: mov cx,1 or cx,cx ;retourne jz=faux POPALL ret endp nouvelle_partie proc near PUSHALL push ds pop es mov pauseur2,0 mov pause,0 mov pause2,50 ;interdiction de pause !!! mov eax,[nombre_de_dyna] push eax shl eax,2 mov [nombre_de_dyna_x4],eax pop eax sub eax,8 neg eax mov [nombre_de_monstres],eax mov [nombre_de_monstres],eax cmp [master],0 je trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2erte POPALL ret ;*************** QUE MASTER -****************** trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2erte: mov ecx,8 mov edi,offset victoires xor eax,eax rep stosd POPALL ret endp nouvelle_manche proc near PUSHALL push ds pop es ;mov attente_avant_adder_inser_coin,60*20 ;bdraw666 db ' ' ;bdraw1 dd ? ;32 mov inser_coin,120 mov viseur_ic2,4 mov adder_inser_coin,320*(67+50) mov [viseur_sur_fond],0 mov [duree_vic],duree_vic2 mov [attente_avant_draw],attente_avant_draw2 mov [attente_avant_med],attente_avant_med2 mov [duree_draw],duree_draw2 mov [duree_med],duree_med2 mov [attente_nouveau_esc],0 mov [affiche_pal],1 mov [ordre2],'' mov [sortie],0 cmp [master],0 je trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2ert POPALL ret ;*************** QUE MASTER -****************** trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2ert: mov word ptr bdraw666,'03' mov bdraw1,60 mov adder_bdraw,50*320 mov balance_le_bdrawn,0 mov temps2,59 mov special_nivo_6,0 mov acceleration,0 mov in_the_apocalypse,0 mov nombre_de_vbl_avant_le_droit_de_poser_bombe,nombre_de_vbl_avant_le_droit_de_poser_bombe2 cmp nombre_de_dyna,1 jne fdlkjdfkljdfglkgdjf mov nombre_de_vbl_avant_le_droit_de_poser_bombe,0 fdlkjdfkljdfglkgdjf: push ax mov al,team3_sauve and al,3 mov team3,al pop ax ;---- terrain --- mov ebx,[viseur_liste_terrain] ;dd 0 mov al,[liste_terrain+ebx] mov [terrain],al inc [viseur_liste_terrain] cmp [liste_terrain+1+ebx],66 jne coolio mov [viseur_liste_terrain],0 coolio: ;------------------ ;;SI PLAY, terrain dans le header !!! + variable "changement" ------- cmp action_replay,2 jne ertrtertertyetyuyutyut ;cmp nombre_de_vbl_avant_le_droit_de_poser_bombe,0 ;jne erterertrtertetertyutyuyuttyuuty mov team3,0 push eax ;mov eax,fs:[1966080+TAILLE_HEADER_REC-9] ;variable changement mov esi,replayer_saver4 mov eax,fs:[esi+TAILLE_HEADER_REC-9] ;variable changement BIGENDIANPATCH eax mov [changement],eax ;mov byte ptr al,fs:[1966080+TAILLE_HEADER_REC-1] ;1er octet: le numero du terrain mov byte ptr al,fs:[esi+TAILLE_HEADER_REC-1] ;1er octet: le numero du terrain mov [terrain],al pop eax ertrtertertyetyuyutyut: ;mov temps,duree_match ;push ax ;mov al,team3_sauve ;mov team3,al ;pop ax cmp [team3],0 jne etrtyertyrdfgdfggdffgdgdfgy PUSHALL lea esi,n_team lea edi,team mov ecx,9 rep movsd POPALL etrtyertyrdfgdfggdffgdgdfgy: cmp [team3],2 jne etrtyertyrdfgdfggdffgdgdf PUSHALL lea esi,s_team lea edi,team mov ecx,9 rep movsd POPALL etrtyertyrdfgdfggdffgdgdf: cmp [team3],1 jne etrtyertyrdfgdfggdffgdgdfE PUSHALL lea esi,c_team lea edi,team mov ecx,9 rep movsd POPALL etrtyertyrdfgdfggdffgdgdfE: ;--- recup la duree du match en fonction du terrain xor ebx,ebx mov bl,terrain dec bl shl ebx,2 mov eax,[ebx+kelle_duree] mov temps,ax ;---------------------------------------------------------- mov edi,offset total_t xor eax,eax mov ecx,(64/4)*8 rep stosd lea edi,total_play xor eax,eax mov ecx,64/4 rep stosd xor eax,eax mov ecx,8 ;nb_dyna lea edi,touches_save rep stosd ;-------------------------------------------- données ... mov edi,offset donnee xor ebx,ebx mov bl,terrain dec bl shl ebx,2 mov esi,[ebx+kelle_donnee] ;donnee_s_neige dw 20,20,277,277-32,116-16-16,116,180+16+16,180 ;x du dynablaster ; dw 9,170,9,170,41,137,41,137-16-16 ;y du dynablaster ;--- X/Y avec rotation pour changer la place des dyna.. xor edx,edx mov edx,[changement] and edx,01111B ; shl edx,5 ;*32 ;******** ACTION REPLAY-------------------- ; si play cmp action_replay,2 jne pashjktrkhjerterttyr push esi mov esi,replayer_saver4 mov edx,dword ptr fs:[esi+TAILLE_HEADER_REC-5] ;rotation, offet 1 dans le header ! pop esi BIGENDIANPATCH edx pashjktrkhjerterttyr: mov ecx,8 oooiiooiioio: mov ebx,[random_place+edx] mov ax,word ptr [esi+ebx] mov word ptr [edi],ax mov ax,word ptr [esi+ebx+8*2] mov word ptr [edi+8*2],ax add edi,2 add edx,4 dec ecx jnz oooiiooiioio add esi,8*4 add edi,8*2 ;------ mov ecx,8*14 rep movsb mov edi,offset liste_couleur mov ecx,8 rep movsd lea edi,nombre_de_coups mov ecx,8 rep movsd mov edi,offset infos_j_n mov ecx,5 rep movsd lea edi,infos_m_n mov ecx,5*8 rep movsd lea edi,invinsible mov ecx,8 rep movsd lea edi,blocage mov ecx,8 rep movsd mov ecx,[nombre_de_dyna] lodsd lea edi,invinsible rep stosd mov ecx,[nombre_de_dyna] lodsd lea edi,blocage rep stosd lea edi,pousseur mov ecx,8 rep movsd lea edi,vitesse_monstre mov ecx,8 rep movsd mov ecx,[nombre_de_dyna] lodsd lea edi,pousseur rep stosd mov ecx,[nombre_de_dyna] lodsd lea edi,patineur rep stosd lea edi,correspondance_bonus mov ecx,32/4 rep movsd ;info j. mov edi,offset j1 mov ecx,[nombre_de_dyna] ;--- 1 push ecx koaiouiouiouiououiuio: mov eax,[infos_j_n] stosd mov eax,[infos_j_n+4] stosd mov eax,[infos_j_n+8] stosd mov eax,[infos_j_n+12] stosd mov eax,[infos_j_n+16] stosd dec ecx jnz koaiouiouiouiououiuio pop ecx mov eax,ecx sub ecx,8 neg ecx or ecx,ecx jz centralol ;--- 8 POUR LES MONSTRES !!! lea esi,infos_m_n ;on doit ajouter (4*5)*nombre joueurs en offset erterertertert: add esi,4*5 dec eax jnz erterertertert monstro4: ;mov eax,[infos_m_n] ;stosd push ecx mov ecx,5 rep movsd pop ecx ;mov eax,[infos_m_n+4] ;stosd ;movsd ;mov eax,[infos_m_n+8] ;stosd ;movsd ;mov eax,[infos_m_n+12] ;stosd ;movsd ;xor eax,eax ;stosd ;movsd ;--- dec ecx jnz monstro4 centralol: ;-- transforme les monstres par défaux en dynas ... mov esi,offset s_normal lea edi,donnee+8*6 mov ecx,[nombre_de_dyna] rep movsd lea esi,liste_couleur_normal lea edi,liste_couleur ;(= donnee+8*18) mov ecx,[nombre_de_dyna] rep movsd mov esi,offset l_normal lea edi,donnee+8*10 mov ecx,[nombre_de_dyna] rep movsw mov esi,offset c_normal lea edi,donnee+8*12 mov ecx,[nombre_de_dyna] rep movsw mov esi,offset a_normal lea edi,donnee+8*14 mov ecx,[nombre_de_dyna] rep movsd lea esi,r_normal lea edi,nombre_de_coups mov ecx,[nombre_de_dyna] rep movsd i: ;donnee_s_neige dw 20,20,277,277-32,116-16-16,116,180+16+16,180 ;x du dynablaster ; 2 dw 9,170,9,170,41,137,41,137-16-16 ;y du dynablaster ; 4 dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna ; 6 dd 512000,512000,512000,512000,512000,512000,512000,512000 ;source bloque memoire ; 10 dw 32,32,32,32,32,32,32,32 ;nombre de lignes pour un dyna... ; 12 dw 32,32,32,32,32,32,32,32 ;nombre de colonnes. ; 14 dd -9*320-4,-9*320-4,-9*320-4,-9*320-4,-9*320-4,-9*320-4,-9*320-4,-9*320-4 ;adder di ; 18 dd offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu ; ;;avec un dyna... ;liste_couleur_normal dd blanc,offset bleu,offset vert,offset rouge,offset blancg,offset bleug,offset vertg,offset rougeg ; ;; dw 20,20,277,277,116,116,180,180 ;x du dynablaster ;; dw 9,170,9,170,41,137,41,137 ;y du dynablaster ;; dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna dans bloque ;; 64000*8 ;s_normal dd 512000,576000,576000,576000,640000,640000,640000,640000 ;source bloque memoire ;l_normal dw 23,23,23,23,25,25,25,25 ;nombre de lignes pour un dyna... ;c_normal dw 32,23,23,23,23,23,23,23 ;nombre de colonnes. ;a_normal dd 0,0,0,0,-3*320,-3*320,-3*320,-3*320 ;adder di (pour la girl + grande...) ;----------------------------------- ;briques dw 1+19*13*2 dup (?) ;nombre de brique, source de la brique, destination ; ;dans buffer video ;bombes dw 1+19*13*2 dup (?) ; pareil pour les bombes & explosion & bonus xor eax,eax mov edi,offset briques mov ecx,1+19*13*2 rep stosw mov edi,offset bombes mov ecx,1+19*13*2 rep stosw mov edi,offset maladie mov ecx,8 rep stosd lea edi,clignotement mov ecx,8 rep stosd lea edi,tribombe mov ecx,8 rep stosd lea edi,tribombe2 mov ecx,8 rep stosd lea edi,lapipipino ;pour pu kil soit considere comme un lapin mov ecx,8 rep stosd lea edi,lapipipino2 ;pour pu kil soit considere comme un lapin mov ecx,8 rep stosd lea edi,lapipipino3 ;pour pu kil soit considere comme un lapin mov ecx,8 rep stosd lea edi,lapipipino4 ;pour pu kil soit considere comme un lapin mov ecx,8 rep stosd lea edi,lapipipino5 ;pour pu kil soit considere comme un lapin mov ecx,8 rep stosd lea edi,lapipipino6 ;pour pu kil soit considere comme un lapin mov ecx,8 rep stosd xor ebx,ebx mov bl,terrain dec bl shl ebx,2 mov esi,[ebx+kelle_truc] mov edi,offset truc mov ecx,32*13 rep movsb ;-- xor ebx,ebx mov bl,terrain dec bl shl ebx,2 mov esi,[ebx+kelle_bonus] mov edi,offset truc2 mov ecx,32*13 rep movsb ;--- ;liste_bombe dd ? ; nombre de bombes... ; dd 247 dup (?,?,?,?) mov edi,offset liste_bombe mov ecx,1+247*(taille_dune_info_bombe/4) rep stosd ;touches dd nb_dyna dup (0) ;action, touches d'action appuyés pour chacun des joeurs... ; ;ACTION dw nb_dyna dup (0,0) lea edi,avance2 mov eax,1 mov ecx,8 rep stosd mov edi,offset touches xor eax,eax mov ecx,8 rep stosd xor eax,eax mov edi,offset action mov ecx,8 rep stosd ;-------- choisit une apocalypse en fonction du terrain... ;lea esi,truc_fin_s push ebx mov bl,terrain dec bl shl ebx,2 mov esi,[ebx+kelle_apocalypse] pop ebx lea edi,truc_fin mov ecx,13*32+4 rep movsb ;------------------------------- eax: -1 mov edi,offset vie mov ecx,8 mov eax,1 rep stosd ;fabrique un last_bomb pour chaque dyna...(par rapport a la position de debut) xor ebp,ebp a6ans: PUSHALL push ebp xy_to_offset pop ebp lea esi,[truc+eax] mov [last_bomb+ebp],esi POPALL add ebp,4 cmp ebp,4*8 jne a6ans ;mov [nomonster],1 cmp action_replay,0 jne nonononpasmode cmp nomonster,1 jne nonononpasmode ; jne nononono_onest_en_recordplay ;cmp twice,1 ;jne nononono_onest_en_recordplay ;shr ecx,1 ;nononono_onest_en_recordplay: ;----- tue tout le monde- ;cmp byte ptr [clavier+88],1 ;F12 ;jne ertretetertertrte mov edi,offset vie xor ebp,ebp mov ecx,[nombre_de_dyna] retrteertertert: or ecx,ecx jz ljkljkmjkljklmljk dec ecx jmp trttyyrryrrryryryryr ljkljkmjkljklmljk: mov dword ptr [edi+ebp],14 trttyyrryrrryryryryr: add ebp,4 cmp ebp,8*4 jnz retrteertertert ;ertretetertertrte: nonononpasmode: cmp action_replay,0 ;1 je pas_action mov liste_bombbbb2,0 mov attente_entre_chake_bombe,0 mov viseur__nouvelle_attente_entre_chake_bombe,0 ;viseur_change_in dd 0,4,8,12,16,20,24,28 PUSHALL lea edi,avance xor eax,eax mov ecx,8 rep stosd ;viseur_change_in dd 0,4,8,12,16,20,24,28 ;viseur_change_in_save dd 0,4,8,12,16,20,24,28 ;pour replay lea esi,viseur_change_in_save lea edi,viseur_change_in xor eax,eax mov ecx,8 rep movsd POPALL ;STRUTURE DE REC: TAILLE_HEADER_REC EQU 32 TAILLE_BONUS_REC EQU 256 ;---------- REC ou ------------- ;PUSHALL ;hazard indesirable :) kan on enregistre :) ;push ds ;pop es ;lea edi,avance2 ;mov eax,1 ;mov ecx,8 ;rep stosd ;POPALL ;si on rec, on initialise la veriable ki contiendra a la fin le nombre ; total de "tours" ;mov byte ptr fs:[1966080+TAILLE_HEADER_REC],1 ;mov dword ptr fs:[1966080+TAILLE_HEADER_REC+TAILLE_BONUS_REC],4 pas_action: ;------------------------------ ;(1582080+64000*6) 64000K réservé pour sauvegarde POPALL ret endp rec_play_touches proc near PUSHALL ;*********************************************** ; PLAY !!! é> ;***** ... cmp action_replay,2 jne pas_rec4 ;****** ;cmp economode,1 ;je rertterterrtertytyrrtyrtyrtyrtyrtyrtyrty ;cmp economode,1 ;je erererjhrejhreerlhehelej cmp special_on_a_loadee_nivo,2 ;bizarrerie pour sortir a la fin du play ;car on a fin un load mrb jne rertterterrtertytyrrtyrtyrtyrtyrtyrtyrty erererjhrejhreerlhehelej: mov [sors_du_menu_aussitot],1 rertterterrtertytyrrtyrtyrtyrtyrtyrtyrty: ;********* ;total_play db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. ; db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. ; db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy ; db 0,0,0,00 ,0,0 ;8eme joeur d'un ordy ; db 0,0 mov ebp,replayer_saver ;BIGENDIANPATCH ebp xor ebx,ebx lea esi,total_play mov ecx,replayer_saver3 iencoermnjklrtrtytyuyuisdfgrht345: ;mov al,byte ptr fs:[1966080+TAILLE_HEADER_REC+TAILLE_BONUS_REC+ebp] push esi mov esi,replayer_saver4 mov al,byte ptr fs:[esi+TAILLE_HEADER_REC+TAILLE_BONUS_REC+ebp] pop esi mov byte ptr [esi+ebx],0 test al,0000001B jz bhrebherterteeeeee mov byte ptr [esi+ebx],1 bhrebherterteeeeee: mov byte ptr [esi+ebx+1],0 test al,0000010B jz bhrebherterteeeeeei mov byte ptr [esi+ebx+1],1 bhrebherterteeeeeei: mov byte ptr [esi+ebx+2],0 test al,0000100B jz bhrebherterteeeeeeii mov byte ptr [esi+ebx+2],1 bhrebherterteeeeeeii: mov byte ptr [esi+ebx+3],0 test al,0001000B jz bhrebherterteeeeeeiii mov byte ptr [esi+ebx+3],1 bhrebherterteeeeeeiii: mov byte ptr [esi+ebx+4],0 test al,0010000B jz bhrebherterteeeeeeooo mov byte ptr [esi+ebx+4],1 bhrebherterteeeeeeooo: mov byte ptr [esi+ebx+5],0 test al,0100000B jz bhrebherterteeeeeep mov byte ptr [esi+ebx+5],1 bhrebherterteeeeeep: mov byte ptr [esi+ebx+6],0 test al,01000000B jz bhrebherterteeeeeept mov byte ptr [esi+ebx+6],1 bhrebherterteeeeeept: ;xor ah,ah ;mov al,byte ptr [esi+5] ;shl al,5 ;or ah,al ;mov al,byte ptr [esi+4] ;shl al,4 ;or ah,al ;mov al,byte ptr [esi+3] ;shl al,3 ;or ah,al ;mov al,byte ptr [esi+2] ;shl al,2 ;or ah,al ;mov al,byte ptr [esi+1] ;shl al,1 ;or ah,al ;mov al,byte ptr [esi] ;or ah,al ;mov byte ptr fs:[1966080+TAILLE_HEADER_REC+TAILLE_BONUS_REC+ebp],ah inc ebp add ebx,7 ;cmp ebx,6*8 ; dec ecx jnz iencoermnjklrtrtytyuyuisdfgrht345 ;BIGENDIANPATCH ebp mov replayer_saver,ebp ;----------- ;pour sortir si un slave press return... (euh en fait sil presse ;cmp temps_avant_demo,1 ;je rertttttttttttttttttttttt345 touche_presse sortie 1 cmp sortie,1 jne rertttttttttttttttttttttt345 push eax mov eax,ttp mov temps_avant_demo,eax pop eax rertttttttttttttttttttttt345: ;------- dec replayer_saver2 jnz continueeeee ;-- ;cmp economode,2 ;jne non_non_pas_en_mode_truc ;mov [sors_du_menu_aussitot],0 ;mov economode,1 ;non_non_pas_en_mode_truc: ;-- mov [sortie],1 ;on sort ! continueeeee: ;mov temps_avant_demo,ttp2 ;---------- ;control_joueur dd 8 dup (0) ;-1,6,32,32+6,-1,-1,-1,-1 ; ;total_t db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. ; db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. ; db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy ; db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy ; db 0,0 pas_rec4: POPALL ret endp ;affichage_rec proc near ;PUSHALL ;xor ax,ax ;mov al,byte ptr fs:[1966080+TAILLE_HEADER_REC] ;call affsigne ;mov al,byte ptr fs:[1966080+TAILLE_HEADER_REC+1] ;call affsigne ;mov al,byte ptr fs:[1966080+TAILLE_HEADER_REC+2] ;call affsigne ;mov eax,dword ptr fs:[1966080+TAILLE_HEADER_REC+TAILLE_BONUS_REC] ;call num ;xor eax,eax ;mov al,byte ptr fs:[1966080+TAILLE_HEADER_REC-1] ;1er octet: le numero du terrain ;call affsigne ;POPALL ;ret ;endp load_gus proc near PUSHALL ;BOOM IFF 10,783 08-06-97 4:36a ;BANG IFF 8,046 08-06-97 10:26a ;KLANNG IFF 9,373 08-06-97 10:27a ; ;del iff.dat ;copy /B BOOM.IFF+BANG.IFF+KLANNG.IFF iff.Dat mov edi,offset iff_liste mov eax,[total_liste] uencoremasuperdeliredemaker: cmp dword ptr [edi],-1 je ufinitobabyr add dword ptr eax,[edi] mov dword ptr [edi],eax add edi,4 jmp uencoremasuperdeliredemaker ufinitobabyr: xor ebp,ebp mov eax,4 tyu: mov ecx,[iff_liste+ebp] cmp ecx,-1 je ooo PUSHALL ; call LOAD_BONUS_SAMPLE POPALL add ebp,4 add eax,4 jmp tyu ooo: ;ECX: OFFSET ;! dans EaX NUMERO DU SAMPLE *4 ! ;MOV BP,32*4 ;mov byte ptr [BLOW_WHAT],8 ;8*4 ;mov byte ptr [BLOW_WHAT+1],40 ;mov byte ptr [BLOW_WHAT+12],2 ;8*4 ;mov byte ptr [BLOW_WHAT+13],30 ;mov byte ptr [BLOW_WHAT],073h ;4 bits:panning, 4 bits: sample ;mov byte ptr [BLOW_WHAT+1],40 ;0 droite. ici. F left POPALL ret endp init_packed_liste proc near PUSHALL mov edi,offset packed_liste mov eax,taille_exe_gonfle encoremasuperdeliredemaker: cmp dword ptr [edi],-1 je finitobabyr add dword ptr eax,[edi] mov dword ptr [edi],eax add edi,4 jmp encoremasuperdeliredemaker finitobabyr: mov [total_liste],eax POPALL ret init_packed_liste endp menu proc near PUSHALL ;regarde si le dernier packet est un packet de menu.. ou non... ; si c'est on est pas master... ;;cmp [master],1 ;;jne erttrtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2r ;; ;;;cmp dword ptr [packed_data+1],'unem' ;;;je retttttttttttt ;;POPALL ;;ret ;retttttttttttt: ;erttrtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2r: ; db 'menu' ;pout reconnaitre ou on est... enfin si c'est un packet ;sound_menu ;mov edi,896000+64000*3 ; 128000 ;307200 ;---- affiche le PIC.PCX ----------------------------------------------- cmp [master],0 jne reerttrtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2R cmp [pic_time],0 jz reerttrtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2R dec [pic_time] cmp [pic_time],16 jne erterertyyuuutyutyutyutyutyutyutyuty mov [affiche_pal],1 erterertyyuuutyutyutyutyutyutyutyuty: cmp [pic_time],17 ;RE quitte pas pendant k'on efface la palette jb erttertertertertert cmp [pic_time],pic_max-34 ;quitte pas avant k'on ait la pallette affiché ja erttertertertertert ; ;cmp [last_sucker],0 ;derniere touche... ;je erttertertertertert touche_presse pic_time 17 ;mov [pic_time],17 ;accélere le processus... erttertertertertert: ;cmp [assez_de_memoire],1 ;je affiche_pas_ mov esi,896000+64000*1 ;896000+64000*3 ;cmp kel_pic_intro,1 ;jne opiopiioiouuiiuiuiuooorytyyryrtt ;mov esi,1966080+64000*21 ;opiopiioiouuiiuiuiuooorytyyryrtt: ;===== affiche en ram video ce k'il y a a : FS:ESI ; ENTREE : ESI ramesi ;copyblock copyblock call aff_page2 ;affiche en ram video ce k'il y a a dans le buffer ;affiche_pas_: POPALL ret reerttrtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2R: ;--------------------------------------------------------------------------- ;cmp [assez_de_memoire],1 ;je erettererttrtyrtyyrtrty push es cmp [last_sucker], 0 jne kjhkjhfhgfhgfhgfghfghfhgfhgfhgfhgfhgfghf mov esi,896000+64000*3 ;===== affiche en ram video ce k'il y a a : FS:ESI ; ENTREE : ESI mov esi,64000*4 ramesi copyblock kjhkjhfhgfhgfhgfghfghfhgfhgfhgfhgfhgfghf: mov ax,ds mov es,ax ;call copie_bande ;mov edi,offset buffer ;xor eax,eax ;mov ecx,16000 ;rep stosD call scroll mov [viseur_couleur],0 ;------ premiere barre. ;mov esi,64000*4+58*320 ;mov edi,offset buffer ;push edi ;copie 80*71 ;pop edi ;lea edi,buffer+(30*320+36*320+14+320*3+2) lea edi,buffer+(30*320+36*320+14+320*3+2-06+2+320*08+1) mov ebx,offset texte1 mov ecx,4 rrteertertrteert: PUSHALL ;---- edi: viseur sur ou ecrire ; ebx:texte ;------ mov eax,[scrollyf] and eax,001100000B add ebx,eax call aff_texte POPALL add ebx,32*4 inc [viseur_couleur] add edi,80 dec ecx jnz rrteertertrteert ;------ deuxieme barre. ;mov esi,64000*4+129*320 ;mov edi,offset buffer+100*320 ;push edi ;copie 80*71 ;pop edi ;lea edi,buffer+(101*320+36*320+14+320*3+2) lea edi,buffer+(101*320+36*320+14+320*3+2-06+2+320*08+1) mov ebx,offset texte1+32*4*4 mov ecx,4 oorrteertertrteert: PUSHALL ;---- edi: viseur sur ou ecrire ; ebx:texte ;------ mov eax,[scrollyf] and eax,001100000B add ebx,eax call aff_texte POPALL add ebx,32*4 inc [viseur_couleur] add edi,80 dec ecx jnz oorrteertertrteert ;............................................................................. pop es call aff_page2 ;affiche en ram video ce k'il y a a dans le buffer POPALL ret erettererttrtyrtyyrtrty: ;pas assez de mémoire... POPALL ret aff_lettre: push ecx mov ecx,6 oertterertertertert: push ebx ;couleur db 62,3,224,28,65,160,28,3 mov ebx,es:[viseur_couleur] ;db 0 cmp es:[ordre2],'Z' ; médaille distribution jne rertetyutyuyuttuyyuttyu mov bl,es:[couleur+ebx] jmp rtyutyuyuttyutyuyutyutyut rertetyutyuyuttuyyuttyu: mov bl,es:[couleur_menu+ebx] rtyutyuyuttyutyuyutyutyut: crocro crocro crocro crocro crocro crocro crocro crocro pop ebx add edi,320-8 add esi,320-8 dec ecx jnz oertterertertertert pop ecx ret aff_texte: mov edx,3 reretertertrte: mov ecx,6 ererrteertertertertert: call affiche_un_caractere add edi,8 dec ecx jnz ererrteertertertertert add edi,320*10-8*6 dec edx jnz reretertertrte ret rerteertertertertertrteertertretrerertertert: inc ebx jmp rtrtytyryrtrtysepcialespace affiche_un_caractere: push edi ds ;mov esi,offset buffer3+165*320 mov esi,1582080+64000*5+165*320 ;offset buffer3 push fs pop ds ;-- selectionne lettre xor eax,eax mov al,byte ptr es:[ebx] cmp al,' ' je rerteertertertertertrteertertretrerertertert cmp al,'z'+13 ;special pour le menu... espace dans nom d'un joueur... je rerteertertertertertrteertertretrerertertert cmp al,'?' jne erttrerteertertertertertrteertertretrerertertertyyfr ;mov esi,223+171*320 mov esi,1582080+64000*5+232+8*3+172*320 ;[buffer3+232+8*3+172*320] jmp reerertrteertertrteertrtertertrteert erttrerteertertertertertrteertertretrerertertertyyfr: ;cmp al,'-'-'a' ;jne tderterterertZtr ;mov ax,304/8 ;jmp rtrtyrtyrty ;tderterterertZtr: cmp al,'-' ;curseur... jne erttrerteertertertertertrteertertretrerertertertyyfrt ;mov esi,223+171*320 mov esi,1582080+64000*5+167*320+304 ;[buffer3+167*320+304] sub edi,320*3 jmp reerertrteertertrteertrtertertrteert erttrerteertertertertertrteertertretrerertertertyyfrt: sub al,'a' cmp al,'!'-'a' jne erterterert mov ax,288/8 jmp rtrtyrtyrty erterterert: cmp al,'.'-'a' jne erterterertZ mov ax,296/8 jmp rtrtyrtyrty erterterertZ: cmp al,':'-'a' jne derterterertZ mov ax,312/8 jmp rtrtyrtyrty derterterertZ: cmp al,'0'-'a' jb rderterterertZ add al,26-('0'-'a') rderterterertZ: rtrtyrtyrty: shl ax,3 add esi,eax reerertrteertertrteertrtertertrteert: inc ebx ;---- call aff_lettre rtrtytyryrtrtysepcialespace: pop ds edi ret menu endp scroll proc near ;--- inc [scrollyF] ;-- selectionne lettre test dword ptr [scrollyF],0000000000111B jnz trerteertertertertertrteertertretrerertertert ;223,171 xor eax,eax mov ebx,offset tected ;-cmp [master],1 ;-jne trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2R ;-mov ebx,offset tecte_sl ;-trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2R: ;- add ebx,[tecte2] inc [tecte2] ;tecte db 'abcedfghijklmnopq remdy is back é' ;tecte2 dd 0 mov al,byte ptr [ebx] cmp al,02ah jne dtrerteertertertertertrteertertretrererterterte lea edx,tected sub edx,offset tecte neg edx mov [tecte2],edx ;lea esi,[buffer3+223+171*320] mov esi,1582080+64000*5+223+171*320 ;64000*5+165*320 ;offset buffer3 jmp reerertrteertertrteert dtrerteertertertertertrteertertretrererterterte: mov al,byte ptr [ebx] cmp al,0dbh jne dtrerteertertertertertrteertertretrerertertert ;mov [tecte2],0 lea edx,tected sub edx,offset tecte neg edx mov [tecte2],edx mov esi,1582080+64000*5+223+171*320 ;[buffer3++223+171*320] cmp [master],1 jne reerertrteertertrteert mov [tecte2],0 jmp reerertrteertertrteert dtrerteertertertertertrteertertretrerertertert: cmp al,' ' jne erttrerteertertertertertrteertertretrerertertert ;mov esi,223+171*320 mov esi,1582080+64000*5+223+171*320 ;[buffer3+223+171*320] jmp reerertrteertertrteert erttrerteertertertertertrteertertretrerertertert: cmp al,'/' jne erttrerteertertertertertrteertertretrererterterty ;mov esi,223+171*320 ;,ea esi,[buffer3+232+172*320] mov esi,1582080+64000*5+223+172*320-8+16 jmp reerertrteertertrteert erttrerteertertertertertrteertertretrererterterty: cmp al,'(' jne erttrerteertertertertertrteertertretrerertertertyr ;mov esi,223+171*320 ;,lea esi,[buffer3+232+8+172*320] mov esi,1582080+64000*5+223+8+172*320-8+16 jmp reerertrteertertrteert erttrerteertertertertertrteertertretrerertertertyr: cmp al,')' jne erttrerteertertertertertrteertertretrerertertertyy ;mov esi,223+171*320 ;lea esi,[buffer3+232+8*2+172*320] mov esi,1582080+64000*5+223+8*2+172*320-8+16 jmp reerertrteertertrteert erttrerteertertertertertrteertertretrerertertertyy: cmp al,'?' jne erttrerteertertertertertrteertertretrerertertertyyf ;mov esi,223+171*320 ;lea esi,[buffer3+232+8*3+172*320] mov esi,1582080+64000*5+223+8*3+172*320-8+16 jmp reerertrteertertrteert erttrerteertertertertertrteertertretrerertertertyyf: sub al,'a' cmp al,'!'-'a' jne terterterert mov ax,288/8 jmp trtrtyrtyrty terterterert: cmp al,'.'-'a' jne terterterertZ mov ax,296/8 jmp trtrtyrtyrty terterterertZ: cmp al,':'-'a' jne tderterterertZ mov ax,312/8 jmp trtrtyrtyrty tderterterertZ: cmp al,'-'-'a' jne tderterterertZt mov ax,304/8 jmp trtrtyrtyrty tderterterertZt: cmp al,'0'-'a' jb trderterterertZ add al,26-('0'-'a') trderterterertZ: trtrtyrtyrty: shl ax,3 ;inc ebx ;lea esi,[buffer3+165*320+eax] mov esi,1582080+64000*5+165*320 add esi,eax reerertrteertertrteert: ;---- ;call aff_lettre ;:,:test [changement],0000111B push ds push fs pop ds mov edi,offset scrolly+320 mov ecx,6 frrr: movsd movsd add edi,320 add esi,320-8 dec ecx jnz frrr pop ds ;--- trerteertertertertertrteertertretrerertertert: lea esi,scrolly+1 ; db 6*328 dup (01011101B) lea edi,scrolly mov ecx,328*6 rep movsb lea esi,scrolly mov edi,offset buffer+320*192 ;4,5,6,7,8,9 mov edx,6 ddd: mov ecx,320 ;rep movsd oooooooooi: lodsb or al,al jz retertetyooo mov es:[edi],al retertetyooo: inc edi dec ecx jnz oooooooooi add esi,8 dec edx jnz ddd ret endp foo MACRO speed_bonus,i local o2 cmp [last_bomb+i],eax jne o2 cmp [vie+i],1 ;que les dyna vivants !!!! jne o2 cmp word ptr [speed_bonus+i],0 ;pas si deja une maladie.. jne o2 cmp word ptr [lapipipino2+i],1 ;check kangaroo jump je o2 cmp word ptr [lapipipino2+i],2 ;check kangaroo jump je o2 mov word ptr [speed_bonus+i],bx ;maladie.. mov word ptr [speed_bonus+i+2],duree_conta o2: ENDM conta MACRO speed_bonus,ebp local reterterrtertert local o2 ;last_bomb dd 8 dup (?) ;speed_bonus dd 8 dup (?) cmp word ptr [speed_bonus+ebp],0 ;regarde si on a une maladie a donner. je reterterrtertert cmp [vie+ebp],1 ;que les dyna vivants !!!! jne reterterrtertert mov eax,[last_bomb+ebp] ;--- regarde pour les autres si mov bx,word ptr [speed_bonus+ebp] ;dans bx on a la maladie... foo maladie,0 foo maladie,4 foo maladie,8 foo maladie,12 foo maladie,0+16 foo maladie,4+16 foo maladie,8+16 foo maladie,12+16 reterterrtertert: ENDM decrem MACRO speed_bonus,o local ertertrterteterrteert local ooo cmp word ptr [speed_bonus+o+2],0 ;255 ; dd 8 dup (?) je ertertrterteterrteert dec word ptr [speed_bonus+o+2] jmp ooo ertertrterteterrteert: mov [speed_bonus+o],0 ;annule la maladie.. ooo: ENDM contamination proc near PUSHALL decrem maladie,0 decrem maladie,4 decrem maladie,8 decrem maladie,12 decrem maladie,0+16 decrem maladie,4+16 decrem maladie,8+16 decrem maladie,12+16 conta maladie,0 conta maladie,4 conta maladie,8 conta maladie,12 conta maladie,0+16 conta maladie,4+16 conta maladie,8+16 conta maladie,12+16 POPALL ret endp ;copie_bande proc near ;PUSHALL ;mov ebx,[machin2] ; ;dec dword ptr [changementZZ2] ;000011000B ;jnz retterertrte ;mov dword ptr [changementZZ2],time_bouboule ;011000B ;add [machin2],4 ;cmp [machin2],4*29*2-4 ;jne retterertrte ;mov [machin2],0 ;retterertrte: ; ;mov esi,[machin+ebx] ;add esi,[machin3] ; ;push ds ;pop es ;push fs ;pop ds ;add esi,896000+64000*4 ; 128000 ;307200 ;lea edi,buffer ;mov edx,29 ;ano: ;mov ecx,320/4 ;rep movsd ;add esi,320 ;dec edx ;jnz ano ;POPALL ; ;PUSHALL ;mov ebx,[machin2] ;sub ebx,4*29*2 ;neg ebx ;dec dword ptr [changementZZ2] ;000011000B ;jnz retterertrtey ;;mov dword ptr [changementZZ2],time_bouboule ;011000B ;;add [machin2],4 ;;cmp [machin2],4*29*2 ;;jne retterertrtey ;;mov [machin2],0 ;;retterertrtey: ; ; ;mov esi,[machin+ebx] ;add esi,[machin3] ;add esi,640*1 ;push ds ;pop es ;push fs ;pop ds ;add esi,896000+64000*4 ; 128000 ;307200 ;lea edi,buffer+173*320 ;mov edx,27 ;anoy: ;mov ecx,320/4 ;rep movsd ;add esi,320 ;dec edx ;jnz anoy ;POPALL ; ;ret ;copie_bande endp horloge proc near PUSHALL ;inc es:[changementzz] ; test [temps],01000000000000000B jz clignote ;test dword ptr es:[changementzz],00000100000B ;jnz affiche_pas_deuxpointR POPALL ret clignote: ;temps dw 000200030000B ;time mov bp,temps ;1 bit, 3 bit,4 bits ;temps db 10010001B ;time push ds pop es push fs pop ds lea edi,buffer+320*183+277 push edi xor eax,eax mov ax,bp shr ax,8 and ax,01111B mov esi,896000+384000+46080+128000+83*320+80 shl eax,4 add esi,eax SPRITE_16_11 mov esi,896000+384000+46080+128000+83*320+80+10*16 ;lea edi,buffer+320*170+200+12 pop edi push edi add edi,12 test es:[temps],00100000000000000B jnz affiche_pas_deuxpoint SPRITE_16_5 affiche_pas_deuxpoint: pop edi ;lea edi,buffer+320*170+200+12+6 push edi add edi,12+6 xor eax,eax mov ax,bp shr ax,4 and ax,001111B mov esi,896000+384000+46080+128000+83*320+80 shl eax,4 add esi,eax SPRITE_16_11 pop edi ;,push edi add edi,24+6 ;lea edi,buffer+320*170+200+24+6 xor eax,eax mov ax,bp and ax,01111B mov esi,896000+384000+46080+128000+83*320+80 shl eax,4 add esi,eax SPRITE_16_11 POPALL ret endp gestion_bdraw proc near ;test temps,000111111111111B ;jnz zerrezrezezrerrteerzerooo ;cmp in_the_apocalypse,0 ;jne zerrezrezezrerrteerzerooo ;mov balance_le_bdrawn,1 ;zerrezrezezrerrteerzerooo: cmp balance_le_bdrawn,0 jne ereretereterreer233 ret ereretereterreer233: PUSHALL ;mov bdraw666,'03' ;mov bdraw1,60 ;cas particulier... on est entré en phase 1 seul dyna vivant... ;on doit donc arreter le compte a rebourd... cmp [attente_avant_med],attente_avant_med2 jne ertertertertetrertertertzet ;-- cmp word ptr bdraw666,'99' je kjmlkjjkmlkjlmjklmjmkl dec bdraw1 jnz kjmlkjjkmlkjlmjklmjmkl mov bdraw1,60 dec bdraw666+1 cmp bdraw666+1,'0'-1 jne kjmlkjjkmlkjlmjklmjmkl mov bdraw666+1,'9' dec bdraw666 cmp bdraw666,'0'-1 jne kjmlkjjkmlkjlmjklmjmkl mov bdraw666,'9' kjmlkjjkmlkjlmjklmjmkl: cmp adder_bdraw,0 je ertertertertetrertertertzet cmp nombre_de_dyna,1 je ertertertertetrertertertzet sub adder_bdraw,320 ertertertertetrertertertzet: ;-------------- POPALL ret endp dec_temps proc near PUSHALL test temps,000111111111111B jz zerooo ;mov balance_le_bdrawn,0 cmp temps2,15 jne nonononoiuioiohjrr ;--- deuxieme cas particulier- cmp special_clignotement,0 je dommage_pp dec special_clignotement jmp special_fete dommage_pp: ;----------------------------- or temps,00100000000000000B mov ax,temps and ax,0011111111111111B cmp ax,000010001B ja nonononoiuioiohjrr special_fete: or temps,01000000000000000B ;clinotement général. nonononoiuioiohjrr: cmp temps2,1 jne nonononoiuioiohjrrt and temps,01011111111111111B test temps,01000000000000000B jz nonononoiuioiohjrrt bruit3 6,40,BLOW_WHAT2 and temps,00111111111111111B ;glonotement global.. nonononoiuioiohjrrt: dec temps2 jz ertterrtyrtyrtyyrt POPALL ret zerooo: ;-*-*-*-*-*-*-*-*-*-*- apocalypse cmp terrain,6 jne ertrtytyuyuiiyuughfdfgdfgfgdrtyrtyrtyerertertert call pose_une_bombe_bonus ertrtytyuyuiiyuughfdfgdfgfgdrtyrtyrtyerertertert: ;-------- ;test dword ptr [changement],0000000000001B ;jnz finto_pasé_cetelmk ;133: virrer la brique. pour le milieu... ;test temps,000111111111111B ;jz zerooo ; mov in_the_apocalypse,0 push ds pop es lea esi,truc_fin lea edi,truc mov ecx,32*13 nextooi: cmp byte ptr [esi],0 je nextooo mov in_the_apocalypse,1 ;indiquate the apocalypse is going on ;test temps,000111111111111B ;jz zerooo ;mov balance_le_bdrawn,0 ;------------- vitesse de l'apocalypse... --- mov eax,dword ptr [truc_fin+32*13] ;recup la vitesse. test [changement],eax jnz nextooo dec byte ptr [esi] ;quand arrive a 133 defonce ce kil y avait en dessous... ;mais ne posera pas de brike dure, puisuquon aurra mis byte ptr [esi] a 0 ;malin... ;------ cas particulier... anti-brique... (et au milieu...) cmp byte ptr [esi],133 jne nextooo567888888_ mov special_nivo_6,60 ;indike de pas filler de bonus :) (cf. nivo 6) ;TOFIX cmp terrain,6 ;terrain nivo 6 ;TOFIX je ertrtytyuyuiiyuughfdfgdfgfgdrtyrtyrtyertetttrrttrt mov balance_le_bdrawn,1 ;indique de balancer es 30 dernieres secondes ertrtytyuyuiiyuughfdfgdfgfgdrtyrtyrtyertetttrrttrt: cmp byte ptr [edi],2 ;pour brique. jne nextoooy ;194 ;----- explosion de la brike --- cmp terrain,6 ;terrain nivo 6 je ertrtytyuyuiiyuughfdfgdfgfgdrtyrtyrty mov byte ptr [edi],0 ;+degages la brique mov byte ptr [edi+32*13],194 ;+ explosion bruit3 4,40,BLOW_WHAT2 jmp nextoooy ;------ cas particulier: nivo 6: brike se decompose ertrtytyuyuiiyuughfdfgdfgfgdrtyrtyrty: mov byte ptr [edi],3 ;casse la brique... normallement nextoooy: mov byte ptr [esi],0 jmp nextooo nextooo567888888_: ;---------- endroit normal.. bombardement de piece dure. cmp byte ptr [esi],0 jne nextooo cmp byte ptr [edi],1 ;si y'en a deja une... je nextooo ;194 ;bruit2 4 40 mov byte ptr [edi],11 ;place la brique dure. mov byte ptr [edi+32*13],194 ;+ explosion bruit2 4,40 nextooo: inc edi inc esi dec ecx jnz nextooi finto_pas_cetelmk: POPALL ret ;*--*-*-*-*-*-*-*-* décrémentation du compte rebour. ertterrtyrtyrtyyrt: mov temps2,59 ;-------- mov ax,temps and ax,01111B dec ax cmp ax,-1 jne pas_zeroret mov ax,9 jmp canal_sux pas_zeroret: and temps,01111111111110000B or temps,ax POPALL ret canal_sux: and temps,01111111111110000B or temps,ax mov ax,temps shr ax,4 and ax,01111B ;mov bl,al dec ax cmp ax,-1 jne pas_zeroret7 mov ax,5 jmp stade pas_zeroret7: shl ax,4 and temps,01111111100001111B or temps,ax POPALL ret stade: shl ax,4 and temps,01111111100001111B or temps,ax mov ax,temps shr ax,8 ;and ax,01111B ;mov bl,al dec ax cmp ax,-1 jne pas_zeroret72 mov ax,9 jmp stade pas_zeroret72: shl ax,8 and temps,01111000011111111B or temps,ax POPALL ret endp gestion_blanchiment proc near PUSHALL xor ebp,ebp verite: mov eax,0 cmp [invinsible+ebp],0 je bababh dec dword ptr [invinsible+ebp] mov ax, word ptr [invinsible+ebp] and eax, 1023 mov al,[blinking+eax] and eax, 1 bababh: mov [clignotement+ebp],eax add ebp,4 cmp ebp,4*8 jne verite POPALL ret endp nike_toutes_ses_bombes proc near ;entree ebx: viseur infojoueur. PUSHALL mov ecx,[liste_bombe] or ecx,ecx jz upasdutout lea esi,liste_bombe+4-taille_dune_info_bombe unext_bomby: add esi,taille_dune_info_bombe cmp dword ptr [esi+4],0 jne uya_bombe_ici jmp unext_bomby uya_bombe_ici: ;------- unqieuemnt si c'est notre propre bombe... cmp dword ptr [esi],ebx jne unon_dejar ;--------- uniquement si cette bombe etait a retardement... cmp word ptr [esi+4*3+2],1 jne unon_dejar mov word ptr [esi+4*3+2],2 ;la rend preske normalle .... ;0 ;le rend normalle unon_dejar: dec ecx jnz unext_bomby upasdutout: POPALL ret endp nike_toutes_les_bombes proc near PUSHALL mov ecx,[liste_bombe] or ecx,ecx jz upasdutoutu lea esi,liste_bombe+4-taille_dune_info_bombe unext_bombyu: add esi,taille_dune_info_bombe cmp dword ptr [esi+4],0 jne uya_bombe_iciu jmp unext_bombyu uya_bombe_iciu: ;--------- uniquement si cette bombe etait a retardement... mov word ptr [esi+4*3+2],0 ;le rend normalle mov dword ptr [esi+1*4],1 dec ecx jnz unext_bombyu upasdutoutu: POPALL ret endp pousse_la_bombe proc near PUSHALL ;cmp byte ptr [esi+32*13],1 ;jb efrerrereterter ;cmp byte ptr [esi+32*13],4 ;ja efrerrereterter ;--- ya une bombe !!! essaye de la pousser --- ; ;call pouse_la_bombe sub esi,offset truc ;recherche cette bombe. xor ebx,ebx ttyrrtyrtyrtyrtytyrrtyrtyyrtrtye: cmp dword ptr [liste_bombe+ebx+4+1*4],0 ;indique emplacement non remplis !!! je cherche_encore cmp dword ptr [liste_bombe+ebx+4+2*4],esi ;regarde si ya une bombe a cet endroit jne cherche_encore jmp okey_on_puse cherche_encore: add ebx,taille_dune_info_bombe jmp ttyrrtyrtyrtyrtytyrrtyrtyyrtrtye okey_on_puse: ;mov dword ptr [liste_bombe+ebx+4+1*4],1 ; ;on peut pousser ke si elle est au milieu cmp word ptr [liste_bombe+ebx+4+5*4],0 ; adder X jne peu_pas_pousser ; cmp word ptr [liste_bombe+ebx+4+5*4+2],0 ;adder Y jne peu_pas_pousser ;---- cas particulier -- on ne pousse pas vers le bas en bas ---- ;cas particulier speical cote rebondissant pour eviter kon fasse rebondir ;contre un mur alors ke la bombe y est colle. ;bas cmp esi,32*11 jb pas_ce_cas_larrr cmp ecx,2 je peu_pas_pousser pas_ce_cas_larrr: ;haut cmp esi,32*2 jnb pas_ce_cas_larrr2 cmp ecx,2 je peu_pas_pousser pas_ce_cas_larrr2: and esi,31 ;gauche cmp esi,1 jne pas_ce_cas3 or ecx,ecx jz peu_pas_pousser pas_ce_cas3: ;droite cmp esi,17 jne pas_ce_cas5 or ecx,ecx jz peu_pas_pousser pas_ce_cas5: ;---------------------------------------------------- mov dword ptr [liste_bombe+ebx+4+4*4],0 ;pour degager l'ancien mouvement ;si elle bougait ;deja... add ebx,ecx ;!!!!!!!!!!!! ;oU y automatique cA dEPENT dE eCX mov word ptr [liste_bombe+ebx+4+4*4],ax ;0 ;!!!!!!!!!1 ;adder X automatique. bruit2 13,34 peu_pas_pousser: ;mov word ptr [liste_bombe+ebx+4+4*4+2],0 ;mov word ptr [liste_bombe+ebx+4+5*4],15 ;adder X ;mov word ptr [liste_bombe+ebx+4+5*4+2],0 ;adder Y POPALL ret endp ;truc_monstre db 32*13 dup (?) fabrique_monstro_truc proc near PUSHALL push ds pop es lea edi,truc_monstre xor eax,eax mov ecx,32*13/4 rep stosd xor ebp,ebp zecompetion: cmp [vie+ebp],1 jne fdggrtetyrklmjyurtmkljrtymjklyut push ebp xy_to_offset mov [truc_monstre+eax],'' pop ebp fdggrtetyrklmjyurtmkljrtymjklyut: add ebp,4 cmp ebp,8*4 jne zecompetion POPALL ret endp pose_une_bombe_bonus proc near PUSHALL ;call noping ;liste_bombbbb dd 32+1 ; dd 32*3+1 ; dd 32*5+1 ; dd 32*7+1 ; dd 32*9+1 ; cmp [attente_avant_med],attente_avant_med2 jne errteerterttyjtyutyuutytyuyutyutyututy ;test dword ptr [changement],0000000000111B ;jnz errteerterttyjtyutyuutytyuyutyutyututy ; cmp attente_entre_chake_bombe,0 je okokokokok_cette_fois dec attente_entre_chake_bombe jmp errteerterttyjtyutyuutytyuyutyutyututy okokokokok_cette_fois: add viseur__nouvelle_attente_entre_chake_bombe,4 ;nouvelle_attente_entre_chake_bombe2 dd 16,21,17,9,20,15,12,20 lea esi,nouvelle_attente_entre_chake_bombe2 add esi,viseur__nouvelle_attente_entre_chake_bombe cmp esi,offset viseur__nouvelle_attente_entre_chake_bombe jne ertteertertertertter cmp [acceleration],20 je retteterrterteterertert inc [acceleration] retteterrterteterertert: mov viseur__nouvelle_attente_entre_chake_bombe,0 lea esi,nouvelle_attente_entre_chake_bombe2 ertteertertertertter: mov ebx,[esi] sub ebx,[acceleration] js loupe jz loupe jmp rrtyertyrtyrtyrtyertyrtytyr loupe: mov ebx,1 rrtyertyrtyrtyrtyertyrtytyr: mov attente_entre_chake_bombe,ebx mov ebx,liste_bombbbb2 add ebx,12 lea esi,liste_bombbbb+ebx cmp esi,offset liste_bombbbb2 ; ;cmp ebx,4*6 jne e6rtertertert xor ebx,ebx e6rtertertert: mov liste_bombbbb2,ebx mov eax,[liste_bombbbb+ebx] mov dx,word ptr [liste_bombbbb+4+ebx] mov cx,word ptr [liste_bombbbb+6+ebx] mov ebp,dword ptr [liste_bombbbb+8+ebx] lea esi,truc2 ;mov eax,32*1+1 add esi,eax cmp byte ptr [esi-32*13],0 ;regarde si ya rien ou l'on veut placer la bombe jne ytreteterrterteterertter cmp byte ptr [esi],0 ;regarde si ya rien ou l'on veut placer la bombe jne ytreteterrterteterertter ;cmp cx,-1 ;jne retterertertertter ;sub esi,2 ;retterertertertter: ;inc esi ;cmp byte ptr [esi-32*13],0 ;regarde si ya rien ou l'on veut placer la bombe ;jne ytreteterrterteterertter ;cmp byte ptr [esi-32*13],0 ;regarde si ya rien ou l'on veut placer la bombe ;jne ytreteterrterteterertter ;cmp byte ptr [esi],0 ;regarde si ya rien ou l'on veut placer la bombe ;jne ytreteterrterteterertter ;cmp cx,-1 ;jne rettererterterttere ;add esi,2 ;rettererterterttere: ;dec esi mov byte ptr [esi],1 ;dec dword ptr [edi] ;nombre de bombes k'on peut encore poser... ;donnee dw 20,20,277,277,150,200,250,280 ;x du dynablaster ; dw 9,170,9,170,78,98,98,10 ;y du dynablaster ;liste_bombe dd 0 ; nombre de bombes... ; dd 247 dup (0,0,0,0) ;1er: offset de l'infojoeur ;2eme: nombre de tours avant que ca PETE !!! ; si = 0 ca veut dire ; ;emplacement libre... ;3eme:distance par rapport au debut de truc2 ;4eme:DD= 1 DW: puissance de la bombe + 1 DW: bombe a retardement ??? (=1) ;5eme: VITESSE:1 db:X (+1/-1/0) ,1 db:Y (+1/-1/0);+ 2 db VIDE ;6eme: ADDER_X/Y: 1 dw:X,1 dW:Y ;mov ebx,[liste_bombe] ;shl ebx,4 ;*16 ;recherche la premiere place de libre !!! xor ebx,ebx yttyrrtyrtyrtyrtytyrrtyrtyyrtrty: cmp dword ptr [liste_bombe+ebx+4+1*4],0 ;indique emplacement non remplis !!! je yerertertrteterert add ebx,taille_dune_info_bombe jmp yttyrrtyrtyrtyrtytyrrtyrtyyrtrty yerertertrteterert: ;mov edx,3 ;dword ptr [edi+4] ;récupere la puissance de la bombe dans ;l'info du joueur... ;mov ecx,256 ;dword ptr [edi+8] ;récupere la taille de la meiche de la ;bombe dans l'info du joueur... ;------------------------------------ mouvement de la bombe ;push dx ; cmp dx,-7 ; jne zerertrterteterert ; mov dl,-7 ; zerertrterteterert: mov byte ptr [truc_X+eax],dl ;;;;;;;;;;;;;;;;;;;;;;;;;;dl ;0 ;pop dx mov byte ptr [truc_Y+eax],0 mov [liste_bombe+ebx+4+0*4],offset infojoueur2 mov [liste_bombe+ebx+4+1*4],ebp ;ecx ;nombre de tours avant que ca PETE !!! mov [liste_bombe+ebx+4+2*4],eax ;distance par rapport au debut de truc2 mov word ptr [liste_bombe+ebx+4+3*4],3 ;dx ;puissance de la bombe. mov word ptr [liste_bombe+ebx+4+3*4+2],0 ;dx ;bombe a retardement ou pas ??? mov word ptr [liste_bombe+ebx+4+4*4],cx ;adder X automatique. mov word ptr [liste_bombe+ebx+4+4*4+2],0 mov word ptr [liste_bombe+ebx+4+5*4],dx ;-7 ;0 ;adder X mov word ptr [liste_bombe+ebx+4+5*4+2],0 ;adder Y ;5eme: VITESSE:1 db:X (+1/-1/0) ,1 db:Y (+1/-1/0);+ 2 db VIDE ;6eme: ADDER_X/Y: 1 dw:X,1 dW:Y ;edi ;offset de l'infojoeur inc dword ptr [liste_bombe] ytreteterrterteterertter: errteerterttyjtyutyuutytyuyutyutyututy: POPALL ret endp calc_ombres proc near PUSHALL ; ;call noping ;call noping ;call noping ;donnee dw 8 dup (?) ;x du dynablaster ; dw 8 dup (?) ;y du dynablaster xor ebx,ebx xor ebp,ebp mov kel_ombre,0 mertrymrtejklertyjklmtyer: cmp [lapipipino+ebp],0 je pas_un_lapin_345 ;cmp [lapipipino5+ebp],0 ;je pas_un_lapin_345 ;ki saute pas mov eax,1 cmp [lapipipino5+ebp],6 jb aaaaaa mov eax,2 aaaaaa: cmp [lapipipino5+ebp],12 jb aaaaaa2 mov eax,3 aaaaaa2: ;mort de lapin cmp [lapipipino2+ebp],3 ;mort du lapin jne veuoooooooooooi mov eax,4 cmp [lapipipino3+ebp],27 ja reeeeeeeeeet inc eax cmp [lapipipino3+ebp],24 ja reeeeeeeeeet inc eax cmp [lapipipino3+ebp],21 ja reeeeeeeeeet inc eax cmp [lapipipino3+ebp],18 ja reeeeeeeeeet inc eax cmp [lapipipino3+ebp],16 ja reeeeeeeeeet inc eax cmp [lapipipino3+ebp],14 ja reeeeeeeeeet inc eax cmp [lapipipino3+ebp],11 ja reeeeeeeeeet inc eax cmp [lapipipino3+ebp],08 ja reeeeeeeeeet inc eax cmp [lapipipino3+ebp],05 ja reeeeeeeeeet inc eax reeeeeeeeeet: mov ecx,ebp shl eax,cl or [kel_ombre],eax xor eax,eax mov ax,[donnee+8*2+ebx] add ax,15 EAX_X_320 add ax,[donnee+ebx] add ax,4 sub ax,8 sub ax,320*19 mov [ombres+ebx],ax jmp pas_un_lapin_345 veuoooooooooooi: ;----- mov ecx,ebp shl eax,cl or [kel_ombre],eax xor eax,eax mov ax,[donnee+8*2+ebx] add ax,15 EAX_X_320 add ax,[donnee+ebx] add ax,4 mov [ombres+ebx],ax pas_un_lapin_345: add ebp,4 add ebx,2 cmp ebx,2*8 jne mertrymrtejklertyjklmtyer POPALL ret endp aff_ombres proc near PUSHALL ;--- pour ombres --- ;kel_ombre dd 0 ;ombres dw 8 dup (?) ;------------------- mov esi,1582080+64000*5 ;offset buffer3 ;add esi,ebx ;push ds xor ebp,ebp mov edi,offset buffer push fs pop ds xor ebp,ebp xor ebx,ebx rtmklmrtyjklrtymjkrtyjklmrtyrty: mov eax,1111B mov ecx,ebp shl eax,cl mov edx,es:[kel_ombre] and edx,eax shr edx,cl or edx,edx jz nananan_pas_dombre_ici push esi edi ebx cmp edx,2 jne oooooorytrtyrtyp add esi,24 oooooorytrtyrtyp: cmp edx,3 jne oooooorytrtyrtyp4 add esi,24*2 oooooorytrtyrtyp4: ;mort phase 1 (carcasse de lapin mort. hey oui c une ombre) cmp edx,4 jb caaaaaaaaaaaaaaaaa mov esi,1966080+64000*8+1+1*320 ;---- couleur rose ou bleu test ebp,0100B jnz c_une_fille add esi,320*(33+33) c_une_fille: ;----- sub edx,4 shl edx,5 ;*32 add esi,edx xor eax,eax mov ax,es:[ombres+ebx] add edi,eax SPRITE_32_32 pop ebx edi esi jmp nananan_pas_dombre_ici caaaaaaaaaaaaaaaaa: xor eax,eax mov ax,es:[ombres+ebx] add edi,eax add esi,71+150*320 ;aff_omb SPRITE_8_16 pop ebx edi esi nananan_pas_dombre_ici: add ebx,2 add ebp,4 cmp ebx,8*2 jne rtmklmrtyjklrtymjkrtyjklmrtyrty POPALL ret endp deplacement_bombes proc near poussage 1,0,1 poussage -1,0,1 poussage 1,2,32 poussage -1,2,32 poussage 1,0,1 poussage -1,0,1 poussage 1,2,32 poussage -1,2,32 ret endp compact proc near ret endp decompact proc near ret endp zget_information proc near ret endp ferme_socket proc near ret endp ;; fin include ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé ; CODE ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé ; Entry To ASM Code (_main) ; In: ; CS - Code Selector Base: 00000000h - Limit: 4G ; DS - Data Selector Base: 00000000h - Limit: 4G ; ES - PSP Selector Base: PSP Seg - Limit: 100h ;segment video: selector: ES ; FS - ? ; GS - ? ;sauvegarde de DS.. ; SS - Data Selector Base: 00000000h - Limit: 4G ; ESP -> STACK segment ; Direction Flag - ? ; Interrupt Flag - ? ; ; All Other Registers Are Undefined! ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé _main: sti ; Set The Interrupt Flag cld ; Clear The Direction Flag PUSHALL ;PUSHALL ; protected mode shit ? ;mov ah,02ch ;int 21h ;xor eax,eax ;mov al,dh ;and eax,11100B ;mov differentesply2,eax ;and dh,01 ;mov kel_pic_intro,dh ;POPALL ; mov ax,3h ; int 10h mov eax,ttp mov temps_avant_demo,eax call doStuffClavierExtended POPALL ;----- inst clavier - PUSHALL xor eax,eax mov ax,ds mov ss:[merdo],eax ;IGNORE call inst_clavier POPALL ;--- ; push 0h ; call GetModuleHandleA ; mov [AppHWnd],eax ; call GetForegroundWindow ; push 3 ; ; this can be any of the following values : ;SW_HIDE equ 0 ;SW_SHOWNORMAL equ 1 ;SW_NORMAL equ 1 ;SW_SHOWMINIMIZED equ 2 ;SW_SHOWMAXIMIZED equ 3 ;SW_MAXIMIZE equ 3 ;SW_SHOWNOACTIVATE equ 4 ;SW_SHOW equ 5 ;SW_MINIMIZE equ 6 ;SW_SHOWMINNOACTIVE equ 7 ;SW_SHOWNA equ 8 ;SW_RESTORE equ 9 ;SW_SHOWDEFAULT equ 10 ;SW_MAX equ 10 ; push eax ; call ShowWindow ; CALL ExitProcess ;End (exit) program ; call get_pal_ansi PUSHALL ; mov bp,240h ;setup_viseur dd 0 ;setup_viseur2 dd 8 ;setup_viseur2_offset dw 210h,220h,230h,240h,250h,260h,270h,280h,0 ;cmp economode,1 ;jne trreljljrjkltjhtehljtehljte ;mov setup_viseur2,8 ;trreljljrjkltjhtehljtehljte: ;mov ebx,setup_viseur2 ;add ebx,ebx ;xor ebp,ebp ;mov bp,[setup_viseur2_offset+ebx] ;mov bp,260h ;mov ax,bp ;call affsigne ;setup_viseur2_offset dw 210h,220h,230h,240h,250h,260h,270h,280h,0 ; REMOVED call detect ;es:PSP POPALL ;mov ax,4c00h ; AH=4Ch - Exit To DOS ;int 21h ; DOS INT 21h ;reserve la memoire pour les données --> selector: FS ;segment video: selector: ES ;1966080 taille_moire equ ((((2030080+64000*26)/4096)+1)*4096)-1 ;--------------------- r�serve de la m�moire pour mettre les donn�es. ---- ;2.29 - Function 0501h - Allocate Memory Block: ;In: AX = 0501h ; BX:CX = size of block in bytes (must be non-zero) ;Out: if successful: ; carry flag clear ; BX:CX = linear address of allocated memory block ; SI:DI = memory block handle (used to resize and free block) mov eax,taille_moire ;0200000h ;2mega mov cx,ax shr eax,16 mov bx,ax mov ax,501h int 31h jNC ca_roule_roll ;mov edx,offset pas_de_mem ;mov ah,9 ;int 21h ; !!!!!! RETIRE mov [assez_de_memoire],1 ; db 0 ; 0 OUI suffisament nanananaaaaaaaaaaaa_demande_ligne_c: jmp okokokokokoioioiioio ca_roule_roll: push bx cx ; linear address of allocated memory block ;2.0 - Function 0000h - Allocate Descriptors: ;-------------------------------------------- ; Allocates one or more descriptors in the client's descriptor table. The ;descriptor(s) allocated must be initialized by the application with other ;function calls. ;In: ; AX = 0000h ; CX = number of descriptors to allocate ;Out: ; if successful: ; carry flag clear ; AX = base selector xor ax,ax mov cx,1 int 31h jNC ca_roule_roll2 ;mov edx,offset pbs1 ;mov ah,9 ;int 21h mov ax,4c00h ; AH=4Ch - Exit To DOS int 21h ; DOS INT 21h ca_roule_roll2: ;2.5 - Function 0007h - Set Segment Base Address: ; Sets the 32bit linear base address field in the descriptor for the specified ;segment. ; In: AX = 0007h ; BX = selector ; CX:DX = 32bit linear base address of segment pop dx cx ; linear address of allocated memory block mov bx,ax mov fs,ax mov ax,0007 ;mov cx,si //removed??? ;mov dx,di // Removed??? int 31h ;dans FS: selector sur donn�es. ;2.6 - Function 0008h - Set Segment Limit: ;----------------------------------------- ; Sets the limit field in the descriptor for the specified segment. ; In: ; AX = 0008h ; BX = selector ; CX:DX = 32bit segment limit ; Out: ; if successful: ; carry flag clear ; if failed: ; carry flag set mov eax,taille_moire ;::!300000h-1 ;182400h-1 ;1582080 ;0300000h-1 ;2mega 182400h-1 ;mov eax,((((2582080)/4096)+1)*4096)-1 ;::!300000h-1 ;182400h-1 ;1582080 ;0300000h-1 ;2mega 182400h-1 mov dx,ax shr eax,16 mov cx,ax mov bx,fs mov ax,08h int 31h jNC tca_roule_roll ;mov edx,offset pbs2 ;mov ah,9 ;int 21h mov ax,4c00h ; AH=4Ch - Exit To DOS int 21h ; DOS INT 21h tca_roule_roll: ;------------------------------------------------------------------------- ;----- pour la memoire video mov ax,0002h mov BX,0a000h int 31h mov es,ax okokokokokoioioiioio: ; mov ax,4c00h ; AH=4Ch - Exit To DOS ; int 21h ; DOS INT 21h ; mov ax,4c00h ; AH=4Ch - Exit To DOS ; int 21h ; DOS INT 21h ; mov ax,4c00h ; AH=4Ch - Exit To DOS ; int 21h call init_packed_liste cmp modeinfo,1 ;cas ou on scan le reso. jne ertrerertrtrer call zget_information ertrerertrtrer: ;-*-*-*-*-*===================_____X____)\_,-------------------------- ;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* call load_data ;serra fait que si y'a assez de memoire. ; PASSE EN MODE 13h!!! mov ax,13h int 10h call affpal ;lea esi,pal_pic2 ;PUSHALL ;push ds ;pop es ; ;lea esi,pal_pic2 ;;;rene ;lea edi,pal_affichée ;mov ecx,768 ;rep movsb ;pal db 768 dup (?) ;pal de l'émulateur. ;pal_affichée db 768 dup (0) ;pal k'on affiche... ;POPALL ;mov esi,1966080+64000*21 ;copyblock ;call aff_page2 ;cmp [assez_de_memoire],1 ; ; je eretterertd ; call affpal ;eretterertd: hoooooooop: call init_menu reterrterterte: call menu call pal_visage ;call play_fx call controle ;gestion temps de demo/repousse le compte a rebours ;cmp temps_avant_demo,1 ;je ljljrtjhrljhrryr touche_pressedd temps_avant_demo ttp ;ljljrtjhrljhrryr: ;==================== SPECIAL DEMO,pour kitter avec nimporte kelle touche... cmp action_replay,2 jne erterertrtertetertyutyuyuttyuuty cmp nombre_de_vbl_avant_le_droit_de_poser_bombe,0 ;pas des le debut... jne erterertrtertetertyutyuyuttyuuty touche_presse sortie 1 erterertrtertetertyutyuyuttyuuty: ;================================================================= ;kb_packets_jeu_envoyes dd 0 ;call gooroo ;return_presse demande_partie_slave,1 mov nosetjmp,1 vbl directmenu: call menu_intelligence get_all_infos3 ; récupere les touches pour chaque joueur et pour ; tous les différents ordinateurs. mov on_les_dans_le_menu,1 ;call master_net ;--- esc du master --------------------------------- cmp sors_du_menu_aussitot,1 jne y_special_mrb mov byte ptr [sortie],1 ;eSC. y_special_mrb: cmp byte ptr [sortie],1 ;eSC. jne erertrterteertrteertertrtertertyeertrteertterertertterertterert mov byte ptr [sortie],0 ;// ignore... ;;mov [previentlmesenfants],1 ;cmp byte ptr [ordre],'B' ;pour bye... (du master) ;je rtertertyeertrteertterertertterertterert ;mov byte ptr [ordre],'B' ;pour bye... ;jmp reterrterterte erertrterteertrteertertrtertertyeertrteertterertertterertterert: ;---------------------------------------------------------------------- ;cmp changement,300 ;jne poiy ;mov byte ptr [sortie],1 ;eSC. ;!!!!!!!! ;poiy: ;cmp byte ptr [ordre],'B' ;pour bye... (du slave) ;jne rtertertyeertrteertterertertterertterert2RT ;mov previentlmesenfants,1 ;pour slave: affiche messgae fin ;jmp rtertertyeertrteertterertertterertterert ;rtertertyeertrteertterertertterertterert2RT: cmp [attente_nouveau_esc],0 jne ook cmp [master],0 jne oook2 cmp byte ptr [sortie],1 ;eSC. je rtertertyeertrteertterertertterertterert jmp oook2 ook: dec [attente_nouveau_esc] oook2: cmp byte ptr [ordre],'' jne reterrterterte ;-------------------------------------------------------------------- nouvelle_partie345: call nouvelle_partie nouvelle_manche3: call nouvelle_manche ;************************************************************************** retertdgrfgd: call pal_visage ;call play_fx ;----- gestion des joeurs locaux. call controle ;prépare le packet qu'on va transmettre en informant ;les touches ke l'on presse actuellement ;*************************** MASTER ******************************* cmp [master],0 jne trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty ;call gooroo mov on_les_dans_le_menu,0 ;call master_net mov nosetjmp,2 vbl directjeu: call master1 trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty: ;*************************** SLAVE ******************************** ;;cmp [master],1 ;;jne trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2 ;;call slave1 ;;trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2: ;-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ;--------------- lecture des ordre ------------------------------ cmp byte ptr [ordre2],'M' ;pour slave... je hoooooooop ;saute au menu si ordre... ;-------------------------------------------------- cmp byte ptr [ordre2],'%' ;indique nouvelle manche je nouvelle_manche3 ;-*------------------------------- ;-- sortie forcee.. cmp [master],0 je ertyerttyrrtyyrtretertdgrfgd cmp sortie_slave,0 ;cmp sortie,0 ; jne rtertertyeertrteertterertertterertterert jmp retertdgrfgd ertyerttyrrtyyrtretertdgrfgd: cmp [master],0 jne retertdgrfgd cmp byte ptr [sortie],1 ;eSC. jne retertdgrfgd ;on est master.. et echap est appuyé... ;****************** SORTIE... uniquement pour le master ********************* mov byte ptr [ordre2],'M' ;donne ordre de sortie jmp retertdgrfgd ; récupere les touches pour chaque joueur et pour ; tous les différents ordinateurs. ;call master1 ; comme ca... les autres vont recup ordre2.. ;jmp hoooooooop ;**************************************************************************** rtertertyeertrteertterertertterertterert: mov ax,3h int 10h ;---- ;cmp previentlmesenfants,1 ;pour slave: affiche messgae fin ;jne ertertterrtertyutyutyutyutyutyuutytyu ;lea edx,gameover ;mov ah,09h ;int 21h ;ertertterrtertyutyutyutyutyutyuutytyu: ;--- rtertertyeertrteertterertertterertterert2: busy_ou: ;fin koi ;--effacage de fin ... --- ;cmp [mechant],1 ;je mechant3 mechant5: ;PUSHALL ;mov ax,02fh ;mov ax,1684h ;mov bx,07fe0h ;int 2Fh ;mov ax,es ;call affsigne ; ;POPALL ; mov eax,[adresse_des_fonds] ; dd 0h ;,100000h,200000h,100000h ; mov eax,[differents_offset_possible+8*4*4] ; call num ; sagouin texte_fin ; call gus_init ;cmp [jesus_mode],0 ;jne reteretrertert5445870t ;packets_jeu_envoyes dw 0 ;packets_jeu_recus dw 0 ;call affichage_stats ;call affichage_rec ;control_joueur dd 8 dup (?) ;-1,6,32,32+6,-1,-1,-1,-1 ;mov eax,control_joueur ;call num ;mov ecx,9 ;mov esi,offset victoires ;money_train: ;lodsd ;call affsigne ;loop money_train ;lea edx,last_name ;mov ah,9 ;int 21h ;mov ah,02ah ;int 21h ;cmp cx,1998 ;jb tranquilleee ;ja rtertertyeertrteertterertertterertterertertrtetyrtyuyuuie ;cmp dh,3 ;ja rtertertyeertrteertterertertterertterertertrtetyrtyuyuuie ;tranquilleee: ; ; lea edx,information2 ; mov ah,9 ; int 21h ; mov bh,00000000B ;indique clignotement ; mov bl,11 ;5 ;rouge ; call last_color ;rtertertyeertrteertterertertterertterertertrtetyrtyuyuuie: ;mov cl,[last_sucker] ;nonoiutryyrtryt: ;cmp [last_sucker],cl ;je nonoiutryyrtryt ;;------------ dky - ;push ds ;pop es ; ;xor al,al ;lea edi,pal_affichée ;mov cx,768 ;rep stosb ;call affpal ; ;mov esi,offset darky ;mov edi,0b8000h ;mov ecx,1000 ;rep movsd ;mov dl,79 ;mov dh,23 ;mov al,0 ;mov bh,0 ;mov ah,2 ;int 10h ; ;;lea esi,pal_txt_debut ; ;;rep movsb ; ;;------------ ; ;mov cx,63 ;rereerter: ;call affpal ;call vbl ; ;;lea esi,pal_txt_debut ;mov bx,768 ;xor al,al ;lea esi,pal_txt_debut ;lea edi,pal_affichée ;oohiu: ;;lodsb ;cmp al,[edi] ;cmpsb ;je ertterrtyrtrtyrty ;inc byte ptr [edi-1] ;ertterrtyrtrtyrty: ;;inc edi ; ;dec bx ;jnz oohiu ;;rep stosb ; ; ;dec cx ;jnz rereerter ;cmp windows,1 ;je oregreteiiooi ; ; lea edx,information3 ; mov ah,9 ; int 21h ; mov bh,00000000B ;indique clignotement ; mov bl,15 ; call last_color ;oregreteiiooi: ;master db 0 ; 0 = OUI ;cmp byte ptr [lost_conney],1 ;eSC. ;je r4564654eertrterereetr ;cmp [master],0 ;jne r4564654eertrterereetr ;cmp on_a_bien_fait_une_partie,0 ;jne r4564654eertrterereetr ; lea edx,information5 ; mov ah,9 ; int 21h ;lea ebx,beginningdata ;lea eax,enddata ;sub eax,ebx ;call printeax ;r4564654eertrterereetr: ;lea edx,nick_t ;mov ah,9 ;int 21h mov al,[lost_conney] mov ah,4ch ; AH=4Ch - Exit To DOS int 21h ; DOS INT 21h ;mov ax,bidouille ;push ax ;pop cs ;xchg ax,cs ;;push cs ;pop cs ;int 20h quitte_baby: ;cas de connection lost... pour slave... POPALL mov ax,3h int 10h mov [lost_conney],1 mov dl,'' mov ah,2 int 21h ;mov trygain,1 ;jmp tryagain ; ;mov esi,0b8000h ;mov [esi],651516 jmp rtertertyeertrteertterertertterertterert2 ;mechant3: ; ; mov ax,3h ; int 10h ; ;;load_pcx proc near ; ecx: offset dans le fichier. ;; ; edx: offset nom du fichier ;; ; edi: viseur dans données ou ca serra copié (ax:) ;; ; ebx: nombre de pixels dans le pcx ;; ;;pushad ;;push es ds ;; ;;mov [load_pcx_interne],ebx ;; ;; ;; mov es,ax ; mov edx,offset iff_file_name ;; mov ah,09h ;; int 21h ; xor eax,eax ; mov al,01h ;ecriture; ; mov ah,03dh ; int 21h ; ;;xor ebx,ebx ;mov ebx,eax ;mov ah,040h ;mov ecx,250000 ;juste le code ;push ds ; ;push fs ;pop ds ;xor edx,edx ;int 21h ;; AH = 40h ;; BX = file handle ;; ECX = number of bytes to write ;; DS:EDX -> buffer to write from ; ;pop ds ;jmp mechant5 master1 proc near ;je no_fucking_vbl ;TOFIX ;jmp ouiouirt ;no_fucking_vbl: ;inc dword ptr [changement] ;ouiouirt: ;--- intelligence draw game ------------------------------------------------ cmp byte ptr [ordre2],'D' jne trtyrtyrtyrtyrtyterterertrteert ;*** affichage draw game cmp [duree_draw],duree_draw2 jne erertertteryr mov [affiche_pal],1 erertertteryr: call copie_le_fond_draw call aff_page2 jmp rtyrtyrtytyrrtyyttyutyutyutyutyutyutyutyutyuyuttyu retetrterterertertrteertertertertre: ;;;- pas asssez memoire - ;mov ah,02h ;mov dh,24 ;mov dl,0 ;mov bh,0 ;int 10h ;call affiche_en_mode_texte rtyrtyrtytyrrtyyttyutyutyutyutyutyutyutyutyuyuttyu: ;************************************************************************** dec [duree_draw] jnz reterertertert mov [ordre2],'%' ;indique nouvelle manche reterertertert: ;,return_presseque_master ordre2 '%' ;--- pour pas ke le master kitte de suite kan on sort d'un draw game forcé cmp [duree_draw],450 ;pas tout de suite kan meme... ja ertetrtrkjjklmkjlmetkjlmdikgrhrfhgrrethghkgh cmp word ptr bdraw666,'99' je ertetrtrkjjklmkjlmetkjlmdikgrhrfhgrrethghkgh touche_presseque_master ordre2,'%' ertetrtrkjjklmkjlmetkjlmdikgrhrfhgrrethghkgh: cmp [duree_draw],400 ;pas tout de suite kan meme... ja rerteertertertert3r0 touche_presse ordre2 '%' ;saute au menu... rerteertertertert3r0: call compact get_all_infos2 ; récupere les touches pour chaque joueur et pour ; ; tous les différents ordinateurs. jmp exitFunction trtyrtyrtyrtyrtyterterertrteert: ;--------------------------------------------------------------------------- ;--------------- intelligence jeu ------------------------------ cmp byte ptr [ordre2],'' ;uniqUEMENT si on est dans le jeu. jne terterertrteert call gestion_jeu ;----affichage jeu ------------------- cmp byte ptr [ordre2],'Z' ;uniqUEMENT si on a quitté le jeu en fait... je meeeeeed call compact get_all_infos2 ; récupere les touches pour chaque joueur et pour ; tous les différents ordinateurs. ; si ca n'a pas changé... ; l'ordre peut avoir changé mais seulement a la fin... call rec_play_touches ;enregistre/joue les touches (pour le REPLAY...) cmp byte ptr [ordre2],'' ;uniqUEMENT si on a pas quitté le jeu en fait... jne yttyutyutyutyutyutyutyutyutyuyuttyu ;*************** affichage ************************************************* ;master db 0 ; 0 = OUI ; ; 1 = NON ;----- affichage de l'écran local. l'ancien ecran... cmp [last_sucker],0 jne yttyutyutyutyutyutyutyutyutyuyuttyu call copie_le_fond call affiche_sprites call aff_page2 ;jmp yttyutyutyutyutyutyutyutyutyuyuttyu ;retetrterterertertrteertertertert: ;call affiche_en_mode_texte yttyutyutyutyutyutyutyutyutyuyuttyu: jmp exitFunction terterertrteert: ;-------------------------------------------------- ;---- victoire supreme ------------------------------------------------------- cmp byte ptr [ordre2],'V' jne etrertertrtertertyerterttrtyrtyrtyrtyrtyterterertrteert victoire_sup: cmp [duree_vic],duree_vic2 ;pour kitter... jne kierertertteryr mov [affiche_pal],1 kierertertteryr: call copie_le_fond_vic call aff_page2 ;jmp kirtyrtyrtytyrrtyyttyutyutyutyutyutyutyutyutyuyuttyu kiretetrterterertertrteertertertertre: ;--- intelligence vic --- dec [duree_vic] jnz ireterertertertu mov [ordre2],'M' ;indique saute au menu... ireterertertertu: cmp [duree_vic],duree_vic2-60 ;pas tout de suite kan meme... ja rerteertertertert cmp [duree_vic],duree_vic2-60 ;pas tout de suite kan meme. ja rerteertertertertPOPOP touche_presseque_master ordre2,'M' rerteertertertertPOPOP: cmp [duree_vic],duree_vic2/2 ;pas tout de suite kan meme... ja rerteertertertert touche_presse ordre2 'M' ;saute au menu... rerteertertertert: ;------------------------------ call compact get_all_infos2 ; récupere les touches pour chaque joueur et pour ; tous les différents ordinateurs. ; si ca n'a pas changé... ; l'ordre peut avoir changé mais seulement a la fin... jmp exitFunction etrertertrtertertyerterttrtyrtyrtyrtyrtyterterertrteert: ;----------------------------------------------------------------------------- ;------ intelligence medaille --- cmp byte ptr [ordre2],'Z' jne rtyerterttrtyrtyrtyrtyrtyterterertrteertrtrtrtrtyyrtyooooooooooooo meeeeeed: ;***************************************************************************** cmp [duree_med],duree_med2 ;pour kitter... jne ierertertteryr mov [affiche_pal],1 ierertertteryr: call copie_le_fond_med call aff_page2 jmp irtyrtyrtytyrrtyyttyutyutyutyutyutyutyutyutyuyuttyu iretetrterterertertrteertertertertre: ;-------------- pas asssez memoire ----------- ;mov ah,02h ;mov dh,24 ;mov dl,0 ;mov bh,0 ;int 10h irtyrtyrtytyrrtyyttyutyutyutyutyutyutyutyutyuyuttyu: pas_med: ;---------------------------------------------------------------- ;--- intelligence mediakle --- ;; ;+ 1 db= faut afficher la brike ki clignote ou pas??? ;----------- intelligence clignotement... ---- SOUND_FAC BLOW_WHAT2 mov eax,[changement] and eax,0000111111B cmp eax,32 jne tout_ mov byte ptr [briques+8*4],1 tout_: or eax,eax jnz tout_3 bruit3 3,35,BLOW_WHAT2 ;sonne mov byte ptr [briques+8*4],0 tout_3: ;---------------------------------- dec [duree_med] jnz ireterertertert mov [ordre2],'%' ;indique nouvelle manche ireterertertert: cmp [duree_med],duree_med2-1*90 ;pas tout de suite kan meme. ja rerteertertertertPOPOP2 touche_presseque_master ordre2,'%' rerteertertertertPOPOP2: ;------------------- pas de quittage trop hatif... cmp [duree_med],duree_med2-3*60 ;3 secondes minimum ja okokokokokokok345345345 touche_presse ordre2 '%' okokokokokokok345345345: ;----------------------------------- ;sauf si on aurait gagné... cmp [ordre2],'%' jne iertrtrterteert xor ebx,ebx ierterertertrtyetyutyutyuutytyutyu: cmp [victoires+ebx],5 jne iertterteteertzerzerzerzerrteretr mov byte ptr [ordre2],'V' ;victoire supreme jmp victoire_sup iertterteteertzerzerzerzerrteretr: add ebx,4 cmp ebx,4*8 jne ierterertertrtyetyutyutyuutytyutyu iertrtrterteert: ;--- rtyerterttrtyrtyrtyrtyrtyterterertrteertrtrtrtrtyyrtyooooooooooooo: ;------------------------------ call compact get_all_infos2 ; récupere les touches pour chaque joueur et pour ; tous les différents ordinateurs. exitFunction: mov byte ptr [donnee2+8*7],0 mov byte ptr [donnee2+8*7+1],0 mov byte ptr [donnee2+8*7+2],0 ret ;================================================= endp doStuffClavierExtended proc near ;28 ENTER (KEYPAD) ! 75 LEFT (NOT KEYPAD) ! ;29 RIGHT CONTROL ! 77 RIGHT (NOT KEYPAD) ! ;42 PRINT SCREEN (SEE TEXT) 79 END (NOT KEYPAD) ! ;53 / (KEYPAD) ! 80 DOWN (NOT KEYPAD) ! ;55 PRINT SCREEN (SEE TEXT) ! 81 PAGE DOWN (NOT KEYPAD) ! ;56 RIGHT ALT ! 82 INSERT (NOT KEYPAD) ! ;71 HOME (NOT KEYPAD) ! 83 DELETE (NOT KEYPAD) ! ;72 UP (NOT KEYPAD) ! 111 ccc ;73 PAGE UP (NOT KEYPAD) ! ; ; db 'UP ',3 ;112 ; db 'DOWN ',3 ;113 ; db 'LEFT ',3 ;114 ; db 'RIGHT ',3 ;115 mov byte ptr [clavier_extanded+72],72 ; db 128 dup (123) mov byte ptr [clavier_extanded+80],80 mov byte ptr [clavier_extanded+91],91 mov byte ptr [clavier_extanded+92],92 mov byte ptr [clavier_extanded+93],93 mov byte ptr [clavier_extanded+29],123 mov byte ptr [clavier_extanded+53],116 mov byte ptr [clavier_extanded+79],117 mov byte ptr [clavier_extanded+83],118 mov byte ptr [clavier_extanded+82],122 mov byte ptr [clavier_extanded+73],120 mov byte ptr [clavier_extanded+71],121 mov byte ptr [clavier_extanded+81],119 mov byte ptr [clavier_extanded+56],124 mov byte ptr [clavier_extanded+28],125 mov byte ptr [clavier_extanded+55],84 ;print screen (2/2) ;----------------------------------------------------------------------------. mov byte ptr [clavier_extanded+72],112 mov byte ptr [clavier_extanded+80],113 mov byte ptr [clavier_extanded+75],114 mov byte ptr [clavier_extanded+77],115 ;----------------------------------------------------------------------------. ret endp ;cmp [jesus_mode],0 ;jne reteretrertert5445870t ;packets_jeu_envoyes dw 0 ;packets_jeu_recus dw 0 a_la_ligne proc near PUSHALL mov dl,10 mov ah,2 int 21h mov dl,13 mov ah,2 int 21h POPALL ret endp init_menu proc near PUSHALL ;--- pour le deuxieme tours.. car special... serra a 2 ; econo est ensuite mis a 0 ; et serra remis a 1 ke si on finit le record (pas de esc) ;cmp economode,1 ;jne tyjktrjhtjhrtjtjtrhlhhjhyhjyjhlyjhly ;mov temps_avant_demo,1 ;ttp ;temps_avant_demo2 ;;mov [sors_du_menu_aussitot],1 ;mov special_on_a_loadee_nivo,2 ;mov economode,2 ;tyjktrjhtjhrtjtjtrhlhhjhyhjyjhlyjhly: cmp special_on_a_loadee_nivo,1 jne ertterterrtertytyrrtyrtyrtyrtyrtyrtyrty mov temps_avant_demo,1 ;ttp ;temps_avant_demo2 mov special_on_a_loadee_nivo,2 ;mov [sors_du_menu_aussitot],1 ertterterrtertytyrrtyrtyrtyrtyrtyrtyrty: mov [affiche_pal],1 ;!!! mov [sortie],0 mov [attente_nouveau_esc],20 mov byte ptr [ordre],'S' mov byte ptr [ordre2],'' push ds pop es cmp [master],0 je trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2erte34fgh POPALL ret ;*************** QUE MASTER -****************** trtyrtrtyrtyrtyrtyrtytyrrtyrtytyryrtrty2erte34fgh: push ax mov al,team3_sauve and al,3 mov team3,al pop ax ;--- jsute utilie pour le debut.. ;pour remplir le nombre de joueurs dans le menu... ;kil faut pour commencer une partie. cmp [team3],0 jne tetrtyertyrdfgdfggdffgdgdf0 PUSHALL lea esi,n_team lea edi,team mov ecx,9 rep movsd POPALL tetrtyertyrdfgdfggdffgdgdf0: cmp [team3],2 jne tetrtyertyrdfgdfggdffgdgdf PUSHALL lea esi,s_team lea edi,team mov ecx,9 rep movsd POPALL tetrtyertyrdfgdfggdffgdgdf: cmp [team3],1 jne tetrtyertyrdfgdfggdffgdgdfE PUSHALL lea esi,c_team lea edi,team mov ecx,9 rep movsd POPALL tetrtyertyrdfgdfggdffgdgdfE: ;mov [last_sucker],0 ;derniere touche... pour attente zaac pic lea edi,total_play xor eax,eax mov ecx,64/4 rep stosd lea edi,fx xor ax,ax mov ecx,14 rep stosw mov edi,offset total_t xor eax,eax mov ecx,(64/4)*8 rep stosd lea edi,name_joueur xor eax,eax mov ecx,8 rep stosd mov esi,offset message1 mov edi,offset texte1 mov ecx,32 rep movsd mov esi,offset message1 mov ecx,32 rep movsd mov esi,offset message1 mov ecx,32 rep movsd mov esi,offset message1 mov ecx,32 rep movsd mov esi,offset message1 mov ecx,32 rep movsd mov esi,offset message1 mov ecx,32 rep movsd mov esi,offset message1 mov ecx,32 rep movsd mov esi,offset message1 mov ecx,32 rep movsd lea edi,control_joueur ;fait correspondre é cpu pour affichage des noms mov eax,64*8 mov ecx,8 rep stosd mov [nombre_de_dyna],0 mov nb_ai_bombermen,0 lea edi,temps_joueur mov eax,temps_re_menu mov ecx,8 rep stosd mov action_replay,0 ;pas si on est en play lea edi,lapipipino ;pour pu kil soit considere comme un lapin xor eax,eax mov ecx,8 rep stosd POPALL ret init_menu endp _TEXT ends ;IGNORE _DATA segment use32 dword public 'DATA' ;IGNORE ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé ; DATA ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé beginningdata db 1 donoterasekeys db 0 liste_de_machin dd 1000000000,100000000,10000000,1000000,100000,10000,1000,100,10,1,0 ;// LOCAL VARIABLES R/W BUT -> NOT SHARED infojoueur2 dd 5000,5000,5000,1,0 tecte2 dd 0 scrollyF dd 0 scrolly db 6*328 dup (0) special_clignotement dd ? trucs db '0123456789ABCDEF' last_voice dd 0 BLOW_WHAT2 dw 14 dup (?) BLOW_WHAT dw 14 dup (0) ;---- allignement = ok :) slowcpu dd 0 paaaaaaading db 35 dup (0) buffer db 0FFFFh dup (0) paaaaading db 11 dup (0) message2 db ' is' db 'ready ' db '2 kill' db ' ' db ' is' db 'ready ' db '2 kill' db ' ' db 'hosted' db 'by cpu' db ' nb: ' db ' ' db 'hosted' db 'by cpu' db ' nb: ' db ' ' total_liste dd ? bigendianin dd 0 bigendianout dd 0 dataloaded db 1 clavier db 128 dup (0) ;// FIRST READ ONLY VARIBLES.... -> NOT SHARED taille_exe_gonfle dd 0255442 playSoundFx db 0 master db 0 ; 0 = OUI ; 1 = NON ;---- clavier_stuff db 0 ;0 rien clavier_stuff2 db 0 ;0 rien clavier_extanded db 128 dup (0) include pal_pic.inc include pal_pic2.inc include pal_jeu.inc include pal_med.inc include pal_vic.inc include pal_draw.inc include blinking.inc isbigendian db 1 ;touches par default.. ;-1 = actif... touches_ dd 114,115,112,113,82,83,125,-1,20,21,16,30,57,15,58 ,-1,,0,0,0,0,0,0,0, 00,,0,0,0,0,0,0,0, 00,,0,0,0,0,0,0,0, 00,,0,0,0,0,0,0,0, 00,,0,0,0,0,0,0,0, 00,,0,0,0,0,0,0,0, 00 tected db 'welcome to mr.boom v4.2 *' tecte db ' players can join the game using their action keys... ' db ' use the b button to drop a bomb a to trigger the bomb remote control x to jump (if you are riding a kangaroo) select to add a bomber-bot start to start! graphics by zaac exocet easy and marblemad musics by 4-mat carter parsec heatbeat quazar jester estrayk rez and kenet (c) 1997-2020 remdy software. (wrap time) ',0dbh db 512 dup(0) message1 db ' join ' db ' us ' db ' !! ' db ' ' db ' ' db ' ' db ' ' db ' ' db ' push ' db ' fire ' db ' !! ' db ' ' db ' ' db ' ' db ' ' db ' ' message3 db 'name ?' db ' ' db ' ' db ' ' db 'name ?' db ' ' db ' ' db ' ' db 'name ?' db ' ' db ' ' db ' ' db ' ' db ' ' db ' ' db ' ' mess_kli db 'kli kl' db ' kli k' db 'i kli ' db ' ' db ' kli k' db 'i kli ' db 'li kli' db ' ' db 'i kli ' db 'li kli' db 'kli kl' db ' ' db 'li kli' db 'kli kl' db ' kli k' db ' ' mess_luc db 'luc lu' db ' luc l' db 'c luc ' db ' ' db ' luc l' db 'c luc ' db 'uc luc' db ' ' db 'c luc ' db 'uc luc' db 'luc lu' db ' ' db 'uc luc' db 'luc lu' db ' luc l' db ' ' mess_frd db ' ' db ' fred ' db ' ' db ' ' db ' ' db 'point!' db ' ' db ' ' db ' ' db ' fred ' db ' ' db ' ' db ' ' db 'point!' db ' ' db ' ' mess_jag db 'jaguar' db ' ' db ' ' db ' ' db ' ' db 'jaguar' db ' ' db ' ' db ' ' db ' ' db 'jaguar' db ' ' db ' ' db 'jaguar' db ' ' db ' ' mess_din db ' ' db 'dines ' db ' ' db ' ' db ' ' db 'dines!' db ' ' db ' ' db ' ' db 'dines ' db ' ' db ' ' db ' ' db 'dines!' db ' ' db ' ' mess_jdg db 'judge ' db ' ' db 'j.f.f.' db ' ' db 'miguel' db ' ' db 'j.f.f.' db ' ' mess_rmd db ' ' db 'remdy.' db ' ' db ' ' db ' ' db 'remdy ' db ' ' db ' ' db ' ' db 'remdy.' db ' ' db ' ' db ' ' db 'remdy ' db ' ' db ' ' mess_ors db ' ' db ' orsi ' db ' ' db ' ' db ' ' db ' orsi ' db ' ' db ' ' db ' ' db ' orsi ' db ' ' db ' ' db ' ' db ' orsi ' db ' ' db ' ' mess_kor db 'enjoy.' db 'meteor' db ' ' db ' ' db 'think.' db 'meteor' db ' ' db ' ' db 'drink.' db 'meteor' db ' ' db ' ' db ' ' db ' kor! ' db ' ' db ' ' mess_sl1 db ' ' db ' s ' db ' ' db ' ' db ' ' db ' sl ' db ' ' db ' ' db ' ' db ' sli ' db ' ' db ' ' db ' ' db ' slin ' db ' ' db ' ' mess_adr db 'lechat' db ' ' db ' ' db ' ' db 'lechat' db 'login ' db ' ' db ' ' db 'lechat' db 'login ' db ' root ' db ' ' db 'dpx 20' db 'xwbh44' db 'orsay!' db ' ' mess_wil db 'willy!' db 'united' db 'lamers' db ' ' db 'willy!' db 'united' db 'lamers' db ' ' mess_exo db 'exocet' db ' ' db 'j.f.f.' db ' ' db 'exocet' db ' ' db 'j.f.f.' db ' ' mess_cl db 'cl!nph' db ' cle. ' db ' aner ' db ' ' db 'cl!nph' db ' cle. ' db ' aner ' db ' ' mess_ben db 'benji!' db ' ' db 'j.f.f.' db ' ' db 'benji!' db ' ' db 'j.f.f.' db ' ' mess_aaa db 'anony.' db 'mous ?' db 'pffff.' db ' ' db 'lamer!' db 'lamer!' db 'lamer!' db ' ' mess_fzf db ' ' db ' fzf! ' db ' ' db ' ' db ' le ' db 'maitre' db 'est...' db ' ' db ' de ' db 'retour' db ' !! ' db ' ' db ' ' db ' fzf! ' db ' ' db ' ' mess_het db 'hetero' db ' of ' db 'razor!' db ' ' db 'if you' db 'are to' db ' slow ' db ' ' db 'i will' db 'insert' db 'a bomb' db ' ' db ' in ' db ' your ' db ' ass! ' db ' ' mess_big db ' ' db ' b... ' db ' ' db ' ' db ' ' db ' bi.. ' db ' ' db ' ' db ' ' db ' big. ' db ' ' db ' ' db ' ' db 'jokes!' db ' ' db ' ' mess_hak db 'hak ha' db ' hak h' db 'k hak ' db ' ' db ' hak h' db 'k hak ' db 'ak hak' db ' ' db 'k hak ' db 'ak hak' db 'hak ka' db ' ' db 'ak hak' db 'hak ha' db ' hak h' db ' ' mess_jc db ' ' db ' jc ' db ' ' db ' ' db ' ' db ' jc ' db ' ' db ' ' defo db 'aaa',87h ;(a)pocalypse de rechange: truc_fin_s db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,001,002,003,004,005,006,007,008,009,010,011,012,013,014,015,016,017,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,052,053,054,055,056,057,058,059,060,061,062,063,064,065,066,067,018,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,051,096,097,098,099,100,101,102,103,104,105,106,107,108,109,068,019,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,050,095,132,255,255,255,255,255,255,255,255,255,255,255,110,069,020,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,049,094,131,255,255,255,255,255,255,255,255,255,255,255,111,070,021,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,048,093,130,255,255,255,255,255,255,255,255,255,255,255,112,071,022,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,047,092,129,255,255,255,255,255,255,255,255,255,255,255,113,072,023,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,046,091,128,255,255,255,255,255,255,255,255,255,255,255,114,073,024,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,045,090,127,126,125,124,123,122,121,120,119,118,117,116,115,074,025,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,044,089,088,087,086,085,084,083,082,081,080,079,078,077,076,075,026,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,043,042,041,040,039,038,037,036,035,034,033,032,031,030,029,028,027,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 dd 000 ;vitesse truc_fin_soccer db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,001,002,003,004,005,006,007,008,009,010,011,012,013,014,015,016,017,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,034,033,032,031,030,029,028,027,026,025,024,023,022,021,020,019,018,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,035,036,037,038,039,040,041,042,043,044,045,046,047,048,049,050,051,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,050,050,053,053,054,055,056,255,255,255,058,057,056,055,054,053,052,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,075,074,073,072,071,070,255,255,255,255,255,059,060,061,062,063,064,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,064,065,066,067,068,069,255,255,255,255,255,070,069,068,067,066,065,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,063,062,061,060,059,058,255,255,255,255,255,071,072,073,074,075,076,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,052,053,054,055,055,056,057,255,255,255,083,082,081,080,079,078,077,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,051,050,049,048,047,046,045,044,043,042,041,040,039,038,037,036,035,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,018,019,020,021,022,023,024,025,026,027,028,029,030,031,032,033,034,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,017,016,015,014,013,012,011,010,009,008,007,006,005,004,003,002,001,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 dd 002;vitesse truc_fin_s_c db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,134,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 dd 000 ;vitesse ;pour le nivo micro...(hell) truc_fin_s_m db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,001,001,001,001,001,001,001,001,001,001,001,001,001,001,001,001,001,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,015,015,015,015,015,015,015,015,015,015,015,015,015,015,015,015,015,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,030,030,030,030,030,030,030,030,030,030,030,030,030,030,030,030,030,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,045,045,045,045,045,045,045,045,045,045,045,045,045,045,045,045,045,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,060,060,060,060,060,060,060,060,060,060,060,060,060,060,060,060,060,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,075,075,075,075,075,075,075,075,075,075,075,075,075,075,075,075,075,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,090,090,090,090,090,090,090,090,090,090,090,090,090,090,090,090,090,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,105,105,105,102,105,105,105,105,105,105,105,105,105,105,105,105,105,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 dd 0111B ;vitesse ;truc_fin_foot db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,001,022,023,044,045,066,067,088,225,078,077,056,055,034,033,012,011,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,002,021,024,043,046,065,068,087,225,079,076,057,054,035,032,013,010,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,003,020,025,042,047,064,069,086,225,080,075,058,053,036,031,014,009,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,004,019,026,041,048,063,070,085,226,081,074,059,052,037,030,015,008,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,005,018,027,040,049,062,071,084,226,082,073,060,051,038,029,016,007,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,006,017,028,039,050,061,072,083,226,083,072,061,050,039,028,017,006,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,007,016,029,038,051,060,073,082,227,084,071,062,049,040,027,018,005,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,008,015,030,037,052,059,074,081,227,085,070,063,048,041,026,019,004,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,009,014,031,036,053,058,075,080,227,086,069,064,047,042,025,020,003,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,010,013,032,035,054,057,076,079,228,087,068,065,046,043,024,021,002,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,011,012,033,034,055,056,077,078,228,088,067,066,045,044,023,022,001,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 ; dd 0111B ;vitesse truc_fin_s_n db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,100,100,100,100,100,255,040,041,042,043,044,255,085,085,085,085,085,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,100,100,100,100,100,255,047,255,046,255,045,255,085,085,085,085,085,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,100,100,100,100,100,255,255,255,255,255,255,255,085,085,085,085,085,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,100,100,100,100,100,255,255,255,255,255,255,255,085,085,085,085,085,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,100,100,100,100,100,001,255,255,255,255,255,020,085,085,085,085,085,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,070,070,070,070,070,030,255,255,255,255,255,010,110,110,110,110,110,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,070,070,070,070,070,255,255,255,255,255,255,255,110,110,110,110,110,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,070,070,070,070,070,255,255,255,255,255,255,255,110,110,110,110,110,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,070,070,070,070,070,255,056,255,057,255,058,255,110,110,110,110,110,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,070,070,070,070,070,255,055,054,053,052,051,255,110,110,110,110,110,000,0,0,0,0,0,0,0,0,0,0,0,0,0 db 000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,0,0,0,0,0,0,0,0,0,0,0,0,0 dd 0011B ;vitesse truc_s db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,0,0,2,2,2,0,0,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,0,1,2,1,0,1,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,0,1,2,1,0,1,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,0,0,2,2,2,0,0,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 truc_foot db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,0,1,2,1,2,1,2,1,0,1,2,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,0,0,0,2,2,2,2,2,0,0,0,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,0,0,0,2,2,2,2,2,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,0,0,0,2,2,2,2,2,0,0,0,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,0,0,0,2,2,2,2,2,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,0,1,2,1,2,1,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 truc_soccer db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,0,1,2,1,2,1,2,1,2,1,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,0,0,0,2,2,2,2,2,2,2,2,2,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,2,1,2,1,0,1,2,1,2,1,0,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,0,0,0,2,2,2,0,0,0,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,0,0,0,2,2,2,0,0,0,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,2,1,2,1,0,1,2,1,2,1,0,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,0,0,0,2,2,2,2,2,2,2,2,2,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,0,1,2,1,2,1,2,1,2,1,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;truc_n db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0 truc_n db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,0,0,1,2,0,0,0,2,1,0,0,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,0,1,2,1,2,1,2,1,0,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,1,2,2,2,2,2,1,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,1,1,1,1,1,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,1,2,2,2,2,2,1,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,0,1,2,1,2,1,2,1,0,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,0,0,1,2,0,0,0,2,1,0,0,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 truc_c db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 truc_h db 1,66,66,66,66,66,66,66,1,1,1,66,66,66,66,66,66,66,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66,1,1,1,1,1,1,1,1,1,1,1,1,1 db 66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,1,1,1,1,1,1,1,1,1,1,1,1,1 truc_f db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,2,1,1,1,2,1,2,1,1,1,2,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,2,2,2,0,0,0,1,2,2,0,0,0,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,1,1,0,1,2,1,1,1,0,1,1,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,1,2,0,0,2,2,2,2,2,2,1,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,1,1,0,1,2,1,1,1,2,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,2,2,2,2,1,0,2,2,2,0,0,0,2,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,1,1,2,1,2,1,1,1,0,1,1,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 truc_neige db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,2,1,0,1,2,1,2,1,2,1,2,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,0,0,2,2,2,2,2,2,0,0,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,1,1,2,1,2,1,0,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,1,1,1,2,2,2,2,2,0,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,1,1,2,1,2,1,2,1,0,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,2,2,2,2,0,0,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,1,2,1,2,1,0,1,2,1,0,1,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,2,2,2,2,2,0,0,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ;--- laisser ensemble truc2_save_foot db 0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,00,0,000,00,00,0,0,0,0,0,0,94,0,0,0,0,0,0,0,0,0,0,0,0,0,0 truc2_save db 32*0,0,0,0,0,0,0,0,0,0,0,0,0 ;--- truc2_save_n db 0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,00,0,114,74,84,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,00,00,0,00,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,00,0,104,74,94,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ;0= face bas. ;8= droite droite ;16= gauche gauche ;24= haut haut ;0;8;24; ia dd 16,0,8,24,0,8,24,16,0,24,16,0,8,16,0,24 offset_supporter db 0,24,0,24*2 offset_cameraman db 0*lft,1*lft,2*lft,1*lft ;4 db 12 dup (0); db 0*lft,3*lft,4*lft,3*lft db 12 dup (0); ; db 0*lft,4*lft,4*lft,4*lft,3*lft,4*lft,4*lft,4*lft ; db 8 dup (0); ; ; db 16 dup (0); ;-- db 0*lft,4*lft,4*lft,4*lft,4*lft,4*lft,4*lft,4*lft db 8 dup (4*lft); db 8 dup (0); db 0*lft,5*lft,6*lft,5*lft db 12 dup (0); db 8 dup (0); db 0*lft,1*lft,2*lft,1*lft ;4 db 12 dup (0); ;diffents modes demo :)) mrb.. record.. tout ca koi differentesply dd 1966080+64000*25 ;lune1.mrb dd 1966080+64000*6 ;nuage1.mrb record5.mrb dd 1966080+64000*13 ;foot1.mrb dd 1966080+64000*2 ;micro1.mrb record1.mrb dd 1966080+64000*3 ;jungle1.mrb record2.mrb dd 1966080+64000*4 ;rose1.mrb record3.mrb dd 1966080+64000 ;neige1.mrb record0.mrb dd 1966080+64000*5 ;fete1.mrb record4.mrb dd 1966080+64000*26 ;lune2.mrb dd 1966080+64000*20 ;nuage2.mrb dd 1966080+64000*14 ;foot2.mrb dd 1966080+64000*19 ;micro2.mrb dd 1966080+64000*18 ;jungle2.mrb dd 1966080+64000*17 ;rose2.mrb dd 1966080+64000*16 ;neige2.mrb dd 1966080+64000*15 ;fete2.mrb offset_pause dd 0,48,0,48,0,48,48*2,48*3,48*2,48 dd 0,48,0,48 dd 0,48,0,48,0,48,48*2,48*3,48*2,48 dd 0,48,0,48,0,48,0,48,0,48,0,48,0,48,0,48,0 dd 666 offset_si dd offset mess_rmd dd 32 dd offset mess_ors dd 32 dd offset mess_kli dd 32 dd offset mess_aaa dd 16 dd offset mess_jc dd 16 dd offset mess_exo dd 16 dd offset mess_ben dd 16 dd offset mess_wil dd 16 dd offset mess_cl dd 16 dd offset mess_jdg dd 16 dd offset mess_big dd 32 dd offset mess_kor dd 32 dd offset mess_fzf dd 32 dd offset mess_din dd 32 dd offset mess_jag dd 32 dd offset mess_het dd 32 dd offset mess_hak dd 32 dd offset mess_sl1 dd 32 dd offset mess_adr dd 32 dd offset mess_luc dd 32 dd offset mess_frd dd 32 liste_couleur_malade dd offset rouge,offset rougeg dd offset blanc,offset blancg dd offset rouge,offset rougeg dd offset rouge,offset rougeg love_si db 'rmd',87h db 'ors',87h db 'kli',87h db 'aaa',87h db 'jc',87h,87h db 'exo',87h db 'ben',87h db 'wil',87h db 'cl',85h,87h db 'jdg',87h db 'big',87h db 'kor',87h db 'fzf',87h db 'din',87h db 'jag',87h db 'het',87h db 'hak',87h db 'sl|',87h db 'adr',87h db 'luc',87h db 'frd',87h db 'FFFF' IFF_file_name db 'mrboom30.exe',0 reccord db 'record00.mrb',0 reccord3 db 'Loading: ' reccord2 db 'record00.mrb',0 suite db ' ',13,10,'$' suite2 db 'ERROR WHILE LOADING.',13,10,'$' suite3 db 'Option error, you must use: -R ????????.MRB (yes...8 letter names!!!)',13,10,'$' cfgerror db 'Config file not found or data error inside: run with -s option for setup !!!',13,10,'$' errorcfg db 'ERROR WRITING CONFIG FILE.',13,10,'$' message_mem_rp db 'ERROR: NO .MRB LOADING/RECORDING IN TERMINAL MODE.',13,10,'$' okcfg db 'using c:\mrboom3.cfg for settings.',13,10,'$' okcfg3 db 'using .\mrboom3.cfg for settings.',13,10,'$' ;win db 'Game ran from Windows 95: NO IPX NETWORK SUPPORT.',13,10,'$' ;nowin db 'game ran from DOS. what a thrill.',13,10,'$' terminalor db '386 Terminal mode: the network game+keyboard is working, but NO VGA display.',13,10 db 'BETTER LOOK AT ANOTHER SCREEN (ppl complained)',13,10,'$' NULOSPRODUCTION db 'NO IPX + NO MEMORY (OR TERMINAL MODE ASKED) = NO MR.BOOM.',13,10,'$' stat1 db 'master:',13,10,'$' stat2 db 'moi:',13,10,'$' stat3 db 'table:',13,10,'$' gameover db 'Master left the menu: GAME OVER !!!',13,10,'$' no_server_ db '# ... no server available ...',13,10,'$' select_server_ db 'what server do you want ? (press 0 to 9):$' cnx1 db 'cnx [ ]$' transformateur_98 db '0123456789!. ' cnx2 db 'cnx [$' load_pcx_interne dd 0 ;variable interne a load_pcx : (nombre de pixels...) load_handle dd ? ;handle pour la gestion de fichier.... adresse_des_fonds dd 0,64000*2,64000*3,64000*2 adresse_des_fonds_foot dd 1966080+64000*12,1966080+64000*12 dd 1966080+64000*12,1966080+64000*12 adresse_des_fonds_neige dd 896000+384000+46080+64000*3 dd 896000+64000*2 dd 896000+64000*3 ;adresse_des_fonds_neige dd 896000+384000+46080+64000*3,896000+64000*1,896000+64000*2 adresse_des_fonds_final dd 896000+64000*4+640*(36*2),896000+64000*4+640*(36*2),896000+64000*4+640*(36*2),896000+64000*4+640*(36*2) adresse_des_fonds_foret dd 896000+384000+46080+64000,896000+384000+46080+64000,896000+384000+46080+64000,896000+384000+46080+64000 adresse_des_fonds_nuage dd 896000+64000*4+640*(36*2)+64000,896000+64000*4+640*(36*2)+64000*2,896000+64000*4+640*(36*2)+64000,896000+64000*4+640*(36*2)+64000*2 adresse_des_fonds_crayon dd 1582080+64000*3,1582080+64000*3,1582080+64000*3,1582080+64000*3 adresse_des_fonds_soccer dd 4 dup (1966080+64000*23) nombre_de_fond dd 4*4 adresse_des_draws dd 64000*5,64000*6 nombre_de_draw dd 2*4 adresse_des_vic dd 704000,768000,832000,896000 nombre_de_vic dd 4*4 ;--------------- parametres terrains ---------------- ;pour chacun des terrains ... kelle_donnee dd offset donnee_s,offset donnee_s_neige,offset donnee_h,offset donnee_f,offset donnee_n dd offset donnee_c,offset donnee_foot,offset donnee_soccer ;---- attente fin d'apocalypse pour determiner vaincqueur ? 1=oui kelle_fin dd 0,0,0,0,1 dd 0,0,0 ;---- terrain: briques dures, pas dures, vides: kelle_truc dd offset truc_s,offset truc_neige,offset truc_h,offset truc_f,offset truc_n dd offset truc_c,offset truc_foot,offset truc_soccer ;---- bonus affiches au depart... kelle_bonus dd offset truc2_save,offset truc2_save,offset truc2_save,offset truc2_save,offset truc2_save_n dd offset truc2_save,offset truc2_save_foot,offset truc2_save ;---- comment ca va peter a la fin... kelle_apocalypse dd offset truc_fin_s,offset truc_fin_s,offset truc_fin_s_m,offset truc_fin_s,offset truc_fin_s_n dd offset truc_fin_s_c,offset truc_fin_s,offset truc_fin_s ;occer kelle_duree dd duree_match,duree_match,duree_match2,duree_match,duree_match3 dd duree_match4,duree_match,duree_match5 ;offset_briques dw 128*320,80*320,0,64*320,96*320 ; ,112*320 offset_briques dw 128*320,80*320,0,64*320,96*320 ; ,112*320 dw 112*320,128*320+160,112*320+160 kelle_offset_fond dd offset adresse_des_fonds,offset adresse_des_fonds_neige,offset adresse_des_fonds_final,offset adresse_des_fonds_foret,offset adresse_des_fonds_nuage dd offset adresse_des_fonds_crayon,offset adresse_des_fonds_foot,offset adresse_des_fonds_soccer ;kel_viseur_brike_fin dw 65+84*320,65+84*320+16,65+84*320+16*2,65+84*320+16*3,65+(84-16)*320 kel_viseur_brike_fin dw 256+16*320,256+16*320+16,256+16*320+16*2,256+16*320+16*3,256 dw 256,256+32,256+48 ;---------------------------------------------------- lapin_mort dw 4 dup (258) ;face dw 4 dup (258+38*320*3) ;regarde a droite dw 4 dup (258+38*320*2) ;regarde a gauche dw 4 dup (258+38*320) ;dos lapin_mortg dw 4 dup (287) ;face dw 4 dup (287+38*320*3) ;regarde a droite dw 4 dup (287+38*320*2) ;regarde a gauche dw 4 dup (287+38*320) ;dos aagb EQU 00*320 aagb2 EQU (00+38)*320 aagb3 EQU (00+38*2)*320 aagb4 EQU (00+38*3)*320 lapin2 dw aagb+0,aagb+33,aagb,aagb+66 dw aagb4+0,aagb4+33,aagb4,aagb4+66 dw aagb3+0,aagb3+33,aagb3,aagb3+66 dw aagb2+0,aagb2+33,aagb2,aagb2+66 dw aagb3,aagb3+33,aagb3+66,aagb3+99 dw aagb4,aagb4+33,aagb4+66,aagb4+99 dw 666 aagbg EQU 00*320+33*3 aagb2g EQU (00+38)*320+33*3 aagb3g EQU (00+38*2)*320+33*3 aagb4g EQU (00+38*3)*320+33*3 lapin2G dw aagbg+0,aagbg+33,aagbg,aagbg+66 dw aagb4g+0,aagb4g+33,aagb4g,aagb4g+66 dw aagb3g+0,aagb3g+33,aagb3g,aagb3g+66 dw aagb2g+0,aagb2g+33,aagb2g,aagb2g+66 dw aagb3g,aagb3g+33,aagb3g+66,aagb3g+99 dw aagb4g,aagb4g+33,aagb4g+66,aagb4g+99 dw 666 lapin2___ dw 4 dup (aagb+0) ;retour a la position style normale dw 4 dup (aagb4+0) dw 4 dup (aagb3+0) dw 4 dup (aagb2+0) lapin2___G dw 4 dup (aagb+33*3) ;retour a la position style normale dw 4 dup (aagb4+33*3) dw 4 dup (aagb3+33*3) dw 4 dup (aagb2+33*3) eaagb5a EQU (00+38*4)*320 lapin2_ dw 4 dup (eaagb5a+0) dw 4 dup (eaagb5a+33*2) dw 4 dup (eaagb5a+33*4) dw 4 dup (eaagb5a+33*6) aagb5a EQU 198 lapin2_G dw 4 dup (aagb5a+0) ;lapin s'accroupissant dw 4 dup (aagb5a+38*1*320) dw 4 dup (aagb5a+38*2*320) dw 4 dup (aagb5a+38*3*320) aagb5 EQU (00+38*4)*320 ;lapin garcon ki saute (pedant le vol) lapin2__ dw 4 dup (aagb5+0+33) dw 4 dup (aagb5+33*2+33) dw 4 dup (aagb5+33*4+33) dw 4 dup (aagb5+229) ;dw 4 dup (aagb5+33*6+33) ;lapin fille ki saute (pedant le vol) taagb5 EQU 229 ;198+33 lapin2__G dw 4 dup (taagb5+0) dw 4 dup (taagb5+38*320) dw 4 dup (taagb5+38*2*320) dw 4 dup (taagb5+38*3*320) gb EQU 89+56*320 gb2 EQU 89+56*320+320*33 gb3 EQU 89+56*320+320*33*2 gb4 EQU 89+56*320+320*33*3 grosbleu dw gb+0,gb+33,gb,gb+66 dw gb+99,gb+132,gb+99,gb+165 dw gb2+99,gb2+132,gb2+99,gb2+165 dw gb2+0,gb2+33,gb2,gb2+66 dw gb3,gb3+33,gb3+66,gb3+99 dw gb4,gb4+33,gb4+66,gb4+99 dw 666 agb equ 158*320 agb2 equ 179*320 coca dw agb,agb+24,agb,agb+24*2 dw agb+24*3,agb+24*4,agb+24*3,agb+24*5 dw agb+24*6,agb+24*7,agb+24*6,agb+24*8 dw agb+24*9,agb2,agb+24*9,agb+24*10 dw agb2+24,agb2+24*2,agb2+24*3,agb2+24*4,agb2+24*5,agb2+24*6,agb2+24*7,agb2+24*8 dw 666 agb5 EQU 41+17*320 agb6 EQU 41+17*320+33*320 agb7 EQU 41+17*320+33*320*2 escargot dw agb5,agb5+39,agb5,agb5+39 dw agb5+39*5,agb5+39*4,agb5+39*5,agb5+39*4 dw agb5+39*2,agb5+39*3,agb5+39*2,agb5+39*3 dw agb6+39*1,agb6+39*0,agb6+39*1,agb6+39*0 dw agb6+39*2,agb6+39*3,agb6+39*4,agb6+39*5 dw agb7,agb7,agb7,agb7 dw 666 old_school dw 79+128*320+16,79+128*320,79+128*320+16,79+128*320+32 dw 79+128*320+16,79+128*320,79+128*320+16,79+128*320+32 dw 79+128*320+16,79+128*320,79+128*320+16,79+128*320+32 dw 79+128*320+16,79+128*320,79+128*320+16,79+128*320+32 ; dw 79+128*320,79+128*320+16,79+128*320,79+128*320+32 ; dw 79+128*320,79+128*320+16,79+128*320,79+128*320+32 ; dw 79+128*320,79+128*320+16,79+128*320,79+128*320+32 ; dw 79+128*320,79+128*320+16,79+128*320,79+128*320+32 dw 127+16+128*320,127+16*2+128*320,127+16*3+128*320 dw 127+16*4+128*320,127+16*5+128*320,127+16*6+128*320,127+16*6+128*320,127+16*6+128*320 dw 666 bleuoio EQU 80+100*320 bleu_triste dw bleuoio,bleuoio+27,bleuoio,bleuoio+27 dw bleuoio,bleuoio+27,bleuoio,bleuoio+27 dw bleuoio,bleuoio+27,bleuoio,bleuoio+27 dw bleuoio,bleuoio+27,bleuoio,bleuoio+27 dw bleuoio+27*2,bleuoio+27*3,bleuoio+27*4,bleuoio+27*5 dw agb7,agb7,agb7,agb7 dw 666 machinerie EQU 76+148*320 machine dw 4 dup (0+machinerie,17+machinerie,0+machinerie,17*2+machinerie) dw 17*3+machinerie,17*4+machinerie,17*5+machinerie,17*6+machinerie dw 17*7+machinerie,17*8+machinerie,17*9+machinerie,17*9+machinerie dw 666 ;escargot ;mov edi,896000+384000+46080+64000 ; 128000 ;307200 gb5 equ 144*320 gb6 equ 144*320+24*3 gb7 equ 144*320+24*6 gb8 equ 144*320+24*9 gb9 equ 163*320 petit_jaune dw gb5,gb5+24,gb5,gb5+24*2 dw gb6,gb6+24,gb6,gb6+24*2 dw gb7,gb7+24,gb7,gb7+24*2 dw gb8,gb8+24,gb8,gb9 dw gb9+24*1,gb9+24*2,gb9+24*3,gb9+24*4,gb9+24*5,gb9+24*6,gb9+24*7,gb9+24*8 dw 666 blanc dw 0, 24, 0, 24*2 ;face dw 24*3+0,24*3+24,24*3+0,24*3+24*2 ;droite dw 24*6+0,24*6+24,24*6+0,24*6+24*2 ;gauche dw 24*9+0,24*9+24,24*9+0,24*9+24*2 ;haut ;-------------------------------------------------------- dw 288,24*320,24*320+24*1,24*320+24*2 dw 24*320+24*3,24*320+24*4,24*320+24*5,24*320+24*6 ;,24*320+24*7,24*320+24*2 dw 666 ;indique: ne pas afficher (apres explosion...) bleu dw 192+96*320,24+192+96*320,192+96*320,24*2+192+96*320 dw 264+96*320,24+264+96*320,264+96*320,120*320 dw 24+120*320,24+24+120*320,24+120*320,24*2+24+120*320 dw 96+120*320,24+96+120*320,96+120*320,24*2+96+120*320 ;-------- dw 168+120*320,168+120*320+24*1,168+120*320+24*2,168+120*320+24*3,168+120*320+24*4,168+120*320+24*5 dw 264+144*320,264+144*320+24 dw 666 ;indique: ne pas afficher (apres explosion...) rouge dw 0+24+72*320, 24+24+72*320, 0+24+72*320, 24*2+24+72*320 ;face dw 24*3+0+24+72*320,24*3+24+24+72*320,24*3+0+24+72*320,24*3+24*2+24+72*320 ;droite dw 24*6+0+24+72*320,24*6+24+24+72*320,24*6+0+24+72*320,24*6+24*2+24+72*320 ;gauche dw 24*9+0+24+72*320,24*9+24+24+72*320,24*9+0+24+72*320,24*9+24*2+24+72*320 ;haut ;------------- dw 96*320,96*320+24*1,96*320+24*2,96*320+24*3,96*320+24*4,96*320+24*5,96*320+24*6,96*320+24*7 dw 666 ;indique: ne pas afficher (apres explosion...) vert dw 0+168+24*320, 24+168+24*320, 0+168+24*320, 24*2+168+24*320 ;face dw 24*3+0+168+24*320,24*3+24+168+24*320,24*3+0+168+24*320,24*3+24*2+168+24*320 ;droite dw 320*48,320*48+24,320*48,320*48+24*2 dw 320*48+24*3+24*0,320*48+24*3+24*1,320*48+24*3+24*0,320*48+24*3+24*2 ;------------- dw 144+48*320,144+48*320+24*1,144+48*320+24*2,144+48*320+24*3,144+48*320+24*4,144+48*320+24*5,144+48*320+24*6,0+72*320 dw 666 ;indique: ne pas afficher (apres explosion...) blancg dw 0, 24, 0, 24*2 ;face dw 24*3+0,24*3+24,24*3+0,24*3+24*2 ;droite dw 24*6+0,24*6+24,24*6+0,24*6+24*2 ;gauche dw 24*9+0,24*9+24,24*9+0,24*9+24*2 ;haut ;-------------------------------------------------------- dw 288,26*320,26*320+24*1,26*320+24*2,26*320+24*3,26*320+24*4,26*320+24*5,26*320+24*6 ;,24*320+24*7,24*320+24*2 dw 666 ;indique: ne pas afficher (apres explosion...) bleug dw 192+104*320,24+192+104*320,192+104*320,24*2+192+104*320 dw 264+104*320,24+264+104*320,264+104*320,130*320 dw 24+130*320,24*2+130*320,24+130*320,24*3+130*320 dw 96+130*320,24+96+130*320,96+130*320,24*2+96+130*320 ;-------- dw 168+130*320,168+130*320+24*1,168+130*320+24*2,168+130*320+24*3 dw 168+130*320+24*4,168+130*320+24*5 dw 264+156*320,264+156*320+24 dw 666 ;indique: ne pas afficher (apres explosion...) rougeg dw 0+24+78*320, 24+24+78*320, 0+24+78*320, 24*2+24+78*320 ;face dw 24*3+0+24+78*320,24*3+24+24+78*320,24*3+0+24+78*320,24*3+24*2+24+78*320 ;droite dw 24*6+0+24+78*320,24*6+24+24+78*320,24*6+0+24+78*320,24*6+24*2+24+78*320 ;gauche dw 24*9+0+24+78*320,24*9+24+24+78*320,24*9+0+24+78*320,24*9+24*2+24+78*320 ;haut ;------------- dw 104*320,104*320+24*1,104*320+24*2,104*320+24*3,104*320+24*4,104*320+24*5,104*320+24*6,104*320+24*7 dw 666 ;indique: ne pas afficher (apres explosion...) vertg dw 0+168+26*320, 24+168+26*320, 0+168+26*320, 24*2+168+26*320 ;face dw 24*3+0+168+26*320,24*3+24+168+26*320,24*3+0+168+26*320,24*3+24*2+168+26*320 ;droite dw 320*52,320*52+24,320*52,320*52+24*2 dw 320*52+24*3,320*52+24*3+24,320*52+24*3,320*52+24*3+24*2 ;--- dw 144+52*320,144+52*320+24*1,144+52*320+24*2,144+52*320+24*3 dw 144+52*320+24*4,144+52*320+24*5,144+52*320+24*6,0+78*320 dw 666 ;indique: ne pas afficher (apres explosion...) offset_ic dd 58*2,58,0,58 ;54-- bonus bombe... de 54 a 63 (offset 144) ;64-- bonus flamme... de 64 a 73 (offset 144+320*16) ;74-- tete de mort de 74 a 83 ;84-- bonus parre balle. de 84 a 93 ;94-- bonus COEUR !!! ;104 -- bonus bombe retardement ;114 --- bonus pousseur ;124 --- patins a roulettes ;134 --- HORLOGE ;144 --- tri-bombe ;154 --- bonus xblast hazard_bonus_classique MACRO db 0,54,64,74,84,94,104,114 db 124,134,144,0,0,0,0,0 db 94,114,94,94,0,94,94,74 db 144,104,124,94,84,94,114,94 ENDM hazard_bonus_lapin MACRO db 0,54,64,74,84,94,104,114 db 124,134,144,0,0,193,0,0 db 94,114,94,94,124,94,94,74 db 144,104,0,94,84,94,114,94 ENDM ;lapin + bonus xblast hazard_bonus_foot MACRO db 0,54,64,74,84,94,104,114 db 124,0,144,154,0,000,0,0 db 94,114,94,94,124,94,94,74 db 144,104,0,94,84,94,114,94 ENDM hazard_bonus_crayon MACRO db 0,54,64,74,84,94,104,114 db 124,134,144,0,0,0,104,193 db 94,94,94,94,124,94,94,74 db 144,94,124,94,84,94,94,94 ENDM bombe_a_gauche MACRO toto dd 32*toto+1 ;5ere ligne a gauche dw -6 dw 1 dd 155 ENDM bombe_a_droite MACRO toto dd 32*toto+17 ;3eme ligne a droite dw 6 dw -1 dd 155 ENDM ;affset pour les sprites d'explosion: central_b dw 320*46+16*3,320*46+16*2,320*46+16*1,320*46+16*0,320*46+16*1,320*46+16*2,320*46+16*3 dw 320*62+16*3,320*62+16*2,320*62+16*1,320*62+16*0,320*62+16*1,320*62+16*2,320*62+16*3 dw 320*78+16*3,320*78+16*2,320*78+16*1,320*78+16*0,320*78+16*1,320*78+16*2,320*78+16*3 dw 320*94+16*3,320*94+16*2,320*94+16*1,320*94+16*0,320*94+16*1,320*94+16*2,320*94+16*3 dw 320*110+16*3,320*110+16*2,320*110+16*1,320*110+16*0,320*110+16*1,320*110+16*2,320*110+16*3 dw 320*126+16*3,320*126+16*2,320*126+16*1,320*126+16*0,320*126+16*1,320*126+16*2,320*126+16*3 dw 320*142+16*3,320*142+16*2,320*142+16*1,320*142+16*0,320*142+16*1,320*142+16*2,320*142+16*3 ;viseur pour on place la premiere médaille pour chacun des 8 joueurs. viseur_victory dd 44+28*320,44+70*320 ;blanc dd 205+28*320,205+70*320 ;rouge dd 44+112*320,44+154*320 ;bleu dd 205+112*320,205+154*320 ;vert viseur_victoryc dd 44+54*320,44+54*320 dd 205+54*320,205+54*320 dd 44+118*320,44+118*320 dd 205+118*320,205+118*320 viseur_victoryg dd 4 dup (127+61*320,128+129*320) ;visieur ou on place les lettres nom des joueurs pour les medailles. ;mode normal viseur_name dd 10+(43)*320,10+(43+42)*320 ; dd 171+(43)*320,171+(43+42)*320 dd 10+(43+42*2)*320,10+(43+42*3)*320 dd 171+(43+42*2)*320,171+(43+42*3)*320 viseur_namec dd 10+(69)*320,10+(69+9)*320 dd 171+(69)*320,171+(69+9)*320 dd 10+(133)*320,10+(133+9)*320 dd 171+(133)*320,171+(133+9)*320 ;85*60;85*128 viseur_nameg dd 85+(61)*320,85+(129)*320 dd 85+(61+7)*320,85+(129+7)*320 dd 85+(61+14)*320,85+(129+14)*320 dd 85+(61+21)*320,85+(129+21)*320 ;offset pour le sprite médaille... offset_medaille dw 23*0,23*1,23*2,23*3,23*4,23*5,23*6,23*7,23*8,23*9,23*10,23*11,23*12 dw 23*320+23*0,23*320+23*1,23*320+23*2 random_place dd 5*2,2*2,1*2,3*2,7*2,6*2,0*2,4*2 ;0 dd 0*2,1*2,2*2,3*2,4*2,5*2,6*2,7*2 dd 7*2,6*2,5*2,4*2,3*2,2*2,1*2,0*2 dd 4*2,7*2,6*2,5*2,2*2,3*2,0*2,1*2 dd 2*2,5*2,3*2,1*2,6*2,7*2,4*2,0*2 ;5 dd 1*2,2*2,3*2,0*2,4*2,5*2,7*2,6*2 dd 2*2,1*2,0*2,6*2,5*2,7*2,4*2,3*2 dd 6*2,7*2,4*2,3*2,5*2,0*2,2*2,1*2 dd 7*2,3*2,6*2,0*2,2*2,1*2,4*2,5*2 dd 4*2,1*2,3*2,2*2,5*2,6*2,7*2,0*2 ;10 dd 0*2,5*2,2*2,7*2,3*2,6*2,1*2,4*2 dd 1*2,6*2,3*2,4*2,0*2,7*2,5*2,2*2 dd 2*2,7*2,4*2,5*2,1*2,0*2,6*2,3*2 dd 7*2,2*2,5*2,4*2,0*2,1*2,3*2,6*2 dd 5*2,0*2,2*2,7*2,1*2,4*2,6*2,3*2 ;15 dd 3*2,5*2,7*2,0*2,2*2,1*2,6*2,4*2 ;16 loaderror db 'Error while loading ! corrupted datas or not ran from current directory.',13,10,'$' differents_offset_possible dd 00+64*0,07+64*0,14+64*0,21+64*0 dd 28+64*0,35+64*0,42+64*0,49+64*0 dd 00+64*1,07+64*1,14+64*1,21+64*1 dd 28+64*1,35+64*1,42+64*1,49+64*1 dd 666 ;dd 00+64*2,07+64*2,14+64*2,21+64*2 ;dd 28+64*2,35+64*2,42+64*2,49+64*2 ;dd 00+64*3,07+64*3,14+64*3,21+64*3 ;dd 28+64*3,35+64*3,42+64*3,49+64*3 ;dd 00+64*4,07+64*4,14+64*4,21+64*4 ;dd 28+64*4,35+64*4,42+64*4,49+64*4 ;dd 00+64*5,07+64*5,14+64*5,21+64*5 ;dd 28+64*5,35+64*5,42+64*5,49+64*5 ;dd 00+64*6,07+64*6,14+64*6,21+64*6 ;dd 28+64*6,35+64*6,42+64*6,49+64*6 ;dd 00+64*7,07+64*7,14+64*7,21+64*7 ;dd 28+64*7,35+64*7,42+64*7,49+64*7 ;differents_offset_possible2 dd 00+64*0,07+64*0,14+64*0,21+64*0 ;dd 28+64*0,35+64*0,42+64*0,49+64*0 ;dd 666 packed_liste dd 0,29535,29535,29096,27889,35223,39271,24798,29855,29772,38197,22395 dd 56219,56131,56121,56133,24256,24229,24412,51616,37038,28755,29069,28107,46700,31766,30517,35050,33790,00000,0000,64000,64000,64000,64000,64000 dd 32190,10299,64000,25841,9185,25203,24473,25203,39396,64000,64000,64000,64000,64000,64000,64000,64000,15266,50285,25477,64000,64000 ;DRAW1.PCX 10954 -7 ;DRAW2.PCX 10886 -8 ;NEIGE1 PCX 24,256 09-13-97 5:44a ;NEIGE2 PCX 24,229 09-13-97 5:44a ;NEIGE3 PCX 24,412 09-13-97 5:44a dd -1 ;indique la fin... iff_liste dd 0,10050,8046,9373,18043,2090,6643,3291,3297,5752,11285,1186,34928 dd -1 ;correspo db 128 dup (0) ;sauveur dw 2144 ;ligne_commande 256 db (?) ; db '$' ;texte_fin db 'texte integrité.',10,13,'$' liste_terrain db 1,2,6,4,3,8,5,7,66 ;8:soccer ;7:foot (extra terrestres) ;3 ;36 ;J RASTER--->JESUS. ;18 ;19+128 ;E ;31 ;19+128 ;S ;22 ;19+128 ;U ASCII DB '00000000',0Dh,0Ah,'$' ; buffer for ASCII string ;db 1 ;db 2 ;db 3 ;enddata db 4 couleurssss db 64 dup (31) db 64 dup (31+32) db 64 dup (31+32*2) db 64 dup (31+32*3) lost_conney db 0 hazard_maladie db 1,2,3,4 ,5,6,5,4 db 3,6,5,1 ,2,4,2,4 couleur db 98,98,42,42,62,62,37,37 ;medailles couleur_menu db 195,195,224,224,214,214,144,144 ;kel_pic_intro db 1 of_f0 equ 72*320 of_f1 equ 72*320+49 of_f2 equ 72*320+49*2 of_f3 equ 72*320+49*3 of_f4 equ 72*320+49*4 of_f5 equ 72*320+49*5 of_f6 equ 105*320 of_f7 equ 107*320+49 of_f8 equ 107*320+49*2 of_f9 equ 107*320+49*3 of_f10 equ 107*320+49*4 of_f11 equ 107*320+49+5 of_f12 equ 107*320+49+5 offset_fille dw 4 dup (of_f5,of_f4,of_f6,of_f4) offset_oiseau dd 0,16,0,16,0,16,0,16,0,16,0,16,0,16,0,16 dd 0,16*1,16*0,16*2,16*2,16*0,16*3,16*3,16*0,16*4,16*5,16*6,16*7,16*8,16,0 fx dw 14 dup (0) liste_couleur_normal dd offset blanc,offset blancg dd offset rouge,offset rougeg dd offset bleu,offset bleug dd offset vert,offset vertg ; dw 20,20,277,277,116,116,180,180 ;x du dynablaster ; dw 9,170,9,170,41,137,41,137 ;y du dynablaster ; dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna dans bloque ; 64000*8 s_normal dd 576000,640000,576000,640000,576000,640000,576000,640000 ;source bloque memoire l_normal dw 23,25,23,25,23,25,23,25 ;nombre de lignes pour un dyna... c_normal dw 23,23,23,23,23,23,23,23 ;nombre de colonnes. a_normal dd 0,-3*320,0,-3*320,0,-3*320,0,-3*320 ;adder di (pour la girl + grande...) r_normal dd 8 dup (resistance_au_debut_pour_un_dyna) ; 0,0,0,-3*320,-3*320,-3*320,-3*320 ;adder di (pour la girl + grande...) ;--- nivo fete foraine... donnee_s dw 20,20,277,277,116,116,180,180 ;x du dynablaster ;8*0 dw 9,169,9,169,41,137,41,137 ;y du dynablaster ;8*2 dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna ;8*4 ooo34 dd 512000,512000,512000,512000,512000,512000,512000,512000 ;source bloque memoire ;8*6 dw 32,32,32,32,32,32,32,32 ;nombre de lignes pour un dyna... ;8*10 dw 32,32,32,32,32,32,32,32 ;nombre de colonnes. ;8*12 dd -9*320-4,-9*320-4,-9*320-4,-9*320-4,-9*320-4,-9*320-4,-9*320-4,-9*320-4 ;adder di ;8*16 dd offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu,offset grosbleu dd 8 dup (2) ;résistance aux bobos... (par défault: pour monstre) ;pour les joueurs... dd info1,info2,info3,info4,0 ;premier dd: nombre de bombes que le joeur peut encore mettre. ;deuxieme dd: puissance de ces bombes... minimum = 1 ... ;troisieme dd: nombre de tous avant que ca pete. ;quatrieme dd: vitesse du joeur... ;pour les monstres dd 8 dup (1,1,220,3,0) dd 8 dup (0) ;invinsibilite au debut. (juste monstre) dd 8 dup (0) ;blocage au debut. (juste monstre) dd 0,0 ;invisibilite/blocage joeur dd 8 dup (0) ;pousseurs au debut (pour monstres) dd 8 dup (3) ;vitesse de dehambulation (gauche/droite) pour monstre dd 0 ;pousseur ou pas pousseur (pour dyna) dd 0 ;patineur au debut, ou pas (pour dyna) hazard_bonus_lapin ;--- nivo foot donnee_foot dw 52,52 ,244,244, 116,116, 180,180 ;x du dynablaster ;8*0 dw 73-32, 137-32,73,137,73,137, 73-32, 137-32 ;y du dynablaster ;8*2 dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna ;8*4 dd 1454080,1454080,1454080,1454080,1454080,1454080,1454080,1454080 dw 8 dup (18) ;nombre de lignes pour un dyna... ;8*10 dw 8 dup (16) ;nombre de colonnes. ;8*12 dd 8 dup (4+320*4) dd 8 dup (offset machine) dd 8 dup (0) ;résistance aux bobos... (par défault: pour monstre) ;pour les joueurs... dd info1,info2,info3,info4,0 ;premier dd: nombre de bombes que le joeur peut encore mettre. ;deuxieme dd: puissance de ces bombes... minimum = 1 ... ;troisieme dd: nombre de tous avant que ca pete. ;quatrieme dd: vitesse du joeur... ;pour les monstres dd 8 dup (1,1,220,3,0) dd 8 dup (0) ;invinsibilite au debut. (juste monstre) dd 8 dup (0) ;blocage au debut. (juste monstre) dd 0,0 ;invisibilite/blocage joeur dd 8 dup (1) ;pousseurs au debut (pour monstres) dd 8 dup (3) ;vitesse de dehambulation (gauche/droite) pour monstre dd 0 ;pousseur ou pas pousseur (pour dyna) dd 0 ;patineur au debut, ou pas (pour dyna) hazard_bonus_foot ;--- nivo soccer donnee_soccer dw 52,52,244,244,100,100,196,196 ;x du dynablaster ;8*0 dw 41,137,41,137,73,105,73,105 ;y du dynablaster ;8*2 dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna ;8*4 dd 4 dup (512000,1454080) dw 8 dup (32) ;nombre de lignes pour un dyna... ;8*10 dw 4 dup (32,38) ;26,26,16,23,26,32,17,38 ;nombre de colonnes. ;8*12 dd 4 dup (-9*320-4,-9*320-7) ;adder di ;8*16 dd 4 dup (offset grosbleu,offset escargot) dd 2,2,2,2,2,2,2,2 ;résistance aux bobos... (par défault: pour monstre) dd info1,info2,info3,info4,0 dd 1,1,220,3,0,1,1,220,3,0 ;2 premiers montres forcements ecrase! ;dd 1,1,220,2,0 ;le oldschool. ;dd 1,1,220,3,0 ;le coca ;dd 1,1,220,3,0 ;le bleu triste (grandes oreilles) dd 3 dup (1,1,220,3,0,1,1,220,2,0) ;le gros bleu ;dd 1,1,220,3,0 ;le gros bleu ;dd 1,1,220,3,0 ;le gros bleu ;dd 1,1,220,3,0 ;le petit jaune ;dd 1,1,220,2,0 ;l'escargot ;dd 1,1,220,2,0 ;l'escargot ;dd 1,1,220,2,0 ;l'escargot dd 8 dup (0) ;invinsibilite au debut. (""") dd 8 dup (0) ;blocage au debut. (juste monstre) dd 0,0 ;invisibilite/blocage joeur dd 0,0,0,0,0,0,0,0 ;pousseurs au debut (pour monstres) dd 4 dup (3,4) ;vitesse de dehambulation (gauche/droite) pour monstre dd 1 ;pousseur ou pas pousseur (pour dyna) dd 0 ;patineur au debut, ou pas (pour dyna) hazard_bonus_lapin ;--- (micro.pcx) donnee_h dw 20,20,276,276,116,116,180,180 ;x du dynablaster ;8*0 dw 9,169,9,170,41,137,41,137 ;y du dynablaster ;8*2 dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna ;8*4 dd 1454080,1454080,1454080,1454080,1454080,1454080,1454080,1454080 dw 27,27,27,27,27,27,27,27 ;nombre de lignes pour un dyna... ;8*10 dw 26,26,26,26,26,26,26,26 ;nombre de colonnes. ;8*12 dd -5*320-1,-5*320-1,-5*320-1,-05*320-1,-05*320-1,-05*320-1,-05*320-1,-05*320-1 ;adder di ;8*16 dd offset bleu_triste,offset bleu_triste,offset bleu_triste,offset bleu_triste,offset bleu_triste,offset bleu_triste,offset bleu_triste,offset bleu_triste dd 8 dup (1) ;résistance aux bobos... (par défault: pour monstre) dd info1+7,info2+7,info3,info4,0 dd 8 dup (1,1,220,3,0) dd 8 dup (200) ;invinsibilite au debut. (""") dd 8 dup (250) ;blocage au debut. (juste monstre) dd 0,0 ;invisibilite/blocage joeur dd 8 dup (1) ;pousseurs au debut (pour monstres) dd 8 dup (3) ;vitesse de dehambulation (gauche/droite) pour monstre dd 1 ;pousseur ou pas pousseur (pour dyna) dd 0 ;patineur au debut, ou pas (pour dyna) hazard_bonus_lapin ;--- nuages donnee_n dw 84 ,84 ,213,213, 20, 20,277,277 ;x du dynablaster ;8*0 dw 9 ,169,9 ,170,73,105,73,105 ;y du dynablaster ;8*2 dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna ;8*4 dd 1454080,1454080,1454080,1582080,1454080,512000,576000,1454080 dw 27,27,19,21,27,32,18,32 ;nombre de lignes pour un dyna... ;8*10 dw 26,26,16,23,26,32,17,38 ;nombre de colonnes. ;8*12 dd -5*320-1,-5*320-1,4+320*3,320*1,-05*320-1,-9*320-4,4*320+3,-9*320-7 ;adder di ;8*16 dd offset bleu_triste,offset bleu_triste,offset old_school,offset coca,offset bleu_triste,offset grosbleu,offset petit_jaune,offset escargot dd 1,1,0,1,1,2,0,2 ;résistance aux bobos... (par défault: pour monstre) dd info1,info2,info3,info4,0 dd 1,1,220,3,0,1,1,220,3,0 ;2 premiers montres forcements ecrase! dd 1,1,220,2,0 ;le oldschool. dd 1,1,220,3,0 ;le coca dd 1,1,220,3,0 ;le bleu triste (grandes oreilles) dd 1,1,220,3,0 ;le gros bleu dd 1,1,220,3,0 ;le petit jaune dd 1,1,220,2,0 ;l'escargot dd 8 dup (0) ;invinsibilite au debut. (""") dd 8 dup (0) ;blocage au debut. (juste monstre) dd 0,0 ;invisibilite/blocage joeur dd 0,0,0,0,1,0,0,0 ;pousseurs au debut (pour monstres) dd 3,3,3,3,3,3,3,4 ;vitesse de dehambulation (gauche/droite) pour monstre dd 0 ;pousseur ou pas pousseur (pour dyna) dd 0 ;patineur au debut, ou pas (pour dyna) hazard_bonus_lapin ;--- crayon donnee_c dw 20 ,20 ,277,277, 20, 20,277,277 ;x du dynablaster ;8*0 dw 9 ,169,9 ,169,73,105,73,105 ;y du dynablaster ;8*2 dw 8 dup (24*5) ;source du dyna ;8*4 dd 8 dup (1582080) dw 21,21,21,21,21,21,21,21 ;nombre de lignes pour un dyna... ;8*10 dw 23,23,23,23,23,23,23,23 ;nombre de colonnes. ;8*12 dd 8 dup (320*1) dd 8 dup (offset coca) dd 8 dup (1) dd info1,info2,info3,info4,0 ; dd 1,1,220,3,0,1,1,220,3,0 ;2 premiers montres forcements ecrase! ; dd 1,1,220,2,0 ;le oldschool. dd 8 dup (1,1,220,3,0) ;le coca ; dd 1,1,220,3,0 ;le bleu triste (grandes oreilles) ; dd 1,1,220,3,0 ;le gros bleu ; dd 1,1,220,3,0 ;le petit jaune ; dd 1,1,220,2,0 ;l'escargot dd 8 dup (0) ;invinsibilite au debut. (""") dd 8 dup (0) ;blocage au debut. (juste monstre) dd 0,0 ;invisibilite/blocage joeur dd 8 dup (0) ;pousseurs au debut (pour monstres) dd 8 dup (3) ;vitesse de dehambulation (gauche/droite) pour monstre dd 1 ;pousseur ou pas pousseur (pour dyna) dd 0 ;patineur au debut, ou pas (pour dyna) hazard_bonus_crayon ;--- foret donnee_f dw 20,20 ,277,277,116,116,180,180 ;x du dynablaster ;8*0 dw 9 ,169,9 ,169,41 ,105,41 ,137 ;y du dynablaster ;8*2 dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna ;8*4 dd 1454080,1454080,1454080,1454080,1454080,1454080,1454080,1454080 ;512000,512000,512000,512000,512000,512000,512000,512000 ;source bloque memoire ;8*6 dw 32,32,32,32,32,32,32,32 ;nombre de lignes pour un dyna... ;8*10 dw 38,38,38,38,38,38,38,38 ;nombre de colonnes. ;8*12 dd -9*320-7,-9*320-7,-9*320-7,-9*320-7,-9*320-7,-9*320-7,-9*320-7,-9*320-7 ;adder di ;8*16 dd offset escargot,offset escargot,offset escargot,offset escargot,offset escargot,offset escargot,offset escargot,offset escargot dd 8 dup (2) ;résistance aux bobos... (par défault: pour monstre) dd info1,info2,info3,info4,0 dd 8 dup (1,1,220,2,0) ;monstres vitesse lente (escargots...) dd 8 dup (0) ;invinsibilite au debut. (""") dd 8 dup (0) ;blocage au debut. (juste monstre) dd 0,0 ;invisibilite/blocage joeur dd 8 dup (0) ;pousseurs au debut (pour monstres) dd 8 dup (4) ;vitesse de dehambulation (gauche/droite) pour monstre dd 0 ;pousseur ou pas pousseur (pour dyna) dd 0 ;patineur au debut, ou pas (pour dyna) hazard_bonus_lapin ;escargot ;mov edi,896000+384000+46080+64000 ; 128000 ;307200 ;resistance_au_debut_pour_un_dyna equ 0 donnee_s_neige dw 20,20,277,277-32,116-16-16,116,180+16+16,180 ;x du dynablaster dw 9,169,9,169,41,137,41,137-16-16 ;y du dynablaster dw 24*0,777,24*2,24*3,24*4,24*5,24*6,24*7 ;source du dyna dd 576000,576000,576000,576000,576000,576000,576000,576000 ;source bloque memoire dw 18,18,18,18,18,18,18,18 ;nombre de lignes pour un dyna... dw 17,17,17,17,17,17,17,17 ;nombre de colonnes. dd 4*320+3,4*320+3,4*320+3,4*320+3,4*320+3,4*320+3,4*320+3,4*320+3;adder di dd offset petit_jaune,offset petit_jaune,offset petit_jaune,offset petit_jaune,offset petit_jaune,offset petit_jaune,offset petit_jaune,offset petit_jaune dd 8 dup (0) ;résistance aux bobos... (par défault: pour monstre) dd info1,info2,info3,info4,0 dd 8 dup (1,1,220,3,0) dd 8 dup (0) ;invinsibilite au debut. (""") dd 8 dup (0) ;blocage au debut. (juste monstre) dd 0,0 ;invisibilite/blocage joeur dd 8 dup (0) ;pousseurs au debut (pour monstres) dd 8 dup (3) ;vitesse de dehambulation (gauche/droite) pour monstre dd 0 ;pousseur ou pas pousseur (pour dyna) dd 0 ;patineur au debut, ou pas (pour dyna) hazard_bonus_classique ;avec un dyna... mort_de_lapin dw 00,00,01,02,03,04 ;6 dw 05,06,07,08,09,10 ;12 dw 11,12,14,15,17,18 ;18 dw 20,21,23,24,25,24 ;24 dw 23,21,20,18,17,15 ;30 dw 14,12 ;32 saut_de_lapin2 dw 02,04,05,07,08,10 dw 11,13,14,15,16,17 dw 18,19,20,21,22 ;50% dw 22,21,20 dw 19,18,17,16,15,14 dw 13,11,10,08,07,05 dw 04 dw 02,00,00,00 dw 00,00,00,00 saut_de_lapin dw 01,02,03,04,05,06 dw 07,08,09,10,11,11 dw 12,12,13,13,14 ;50% dw 14,13,13 dw 12,11,10,09,08,07 dw 06,05,04,03,02,01 dw 00 dw 00,00,00,00 dw 00,00,00,00 dw 320*00,320*00,320*00,320*00 dw 320*00,320*00,320*00,320*00 dw 320*00,320*00,320*00,320*00 dw 320*00,320*00,320*00,320*00 n_team dd 0,1,2,3,4,5,6,7 ;par default dd 2 c_team dd 0,0,1,1,2,2,3,3 ;par couleur dd 3 ;minimum joueurs s_team dd 0,1,0,1,0,1,0,1 ;par sexe dd 2 infojoueur dd offset j1,offset j2,offset j3,offset j4,offset j5,offset j6,offset j7,offset j8 panning2 db 0,1,2,3,4,5,6,6,7,7,8,8,9,10,11,12,13,14,15 ; FORTHE SAVE STATES IT START HERE: ;------------------------------- dd -------------------------------------- replayer_saver dd 0 replayer_saver2 dd 0 replayer_saver3 dd 0 replayer_saver4 dd 0 replayer_saver5 db 0 ;*--*-*-*-*-*-*-*-* BLOCK ENVOIS AUX SLAVES -*-*-*-*-*-*-*-*-*-*-*-*-*- ;--- nb_unite_donnee4 EQU 9 ;donnee4 db 8*(nb_unite_donnee4) dup (0) ;source DD=666 rien afficher il est mort. donnee4 db 8*(9) dup (0) ;source DD=666 rien afficher il est mort. ;si ordre2='' ; 8x source DD, destination dw pour chaque dyna..., db: nombre de ligne du dyna ; (serra trié é l'affichage par chaque machine.mettra dest a ffffh) ;si ordre2='Z' ; copie de "victoires dd 8 dup (?)" ;8*4=32 ; et 1 dd avec le offset du dernier ki a eu une victoire... ;+4=36 ; (latest_victory) ; puis les 4 dd: des sources du dyna de face (gauche/droite) ki ;+16=52 ; a gagné... ; puis 1 db: le nombre de lignes k'il fait... +1=53 ; puis 1 db: nombre de colonnes k'il fait +1=54 ; puis 1 db: divers infos... bit0: clignotement ? (pour vulnéralité) ;............................................................................. attente dd max_attente nosetjmp db 0 nuage_sympa dd 296+120*320 ,0,508, 64+16*320,1B dd 296+80*320 ,350,575,64+(16+22)*320,1B dd 296+151*320 ,480,598,64+16*320,0B dd 296+9*320 ,38,671, 64+16*320,1B dd 296+97*320 ,100,512,64+16*320,1B dd 296+59*320 ,180,1007,64+16*320,0B dd 296+161*320 ,250,799,64+16*320,0B dd 296+57*320 ,300,655,64+(16+22)*320,1B dd 296+129*320 ,055,503,64+16*320,1B dd 296+68*320 ,400,572,64+(16+22)*320,0B dd 296+166*320 ,200,597,64+16*320,1B dd 296+33*320 ,300,679,64+16*320,0B dd 296+89*320 ,400,538,64+(16+22)*320,0B dd 296+19*320 ,900,1008,64+16*320,0B dd 296+174*320 ,600,991,64+(16+22)*320,1B dd 296+55*320 ,800,655,64+(16+22)*320,1B ;combien_faut_baisser dd 320*14,320*13,320*12,320*11,320*10,320*9,320*8 ; dd 320*7,320*6,320*5,320*4,320*3,320*2,320*1 ;combien_faut_baisser2 dd 14,13,12,11,10,9,8 ; dd 7,6,5,4,3,2,1 vise_de_ca_haut dd 8 dup (0) vise_de_ca_haut2 dd 8 dup (0) ;attente_avant_adder_inser_coin dd ? adder_inser_coin dd ? viseur_ic2 dd ? inser_coin dd ? ;32 acceleration dd ? attente_entre_chake_bombe dd 0 nouvelle_attente_entre_chake_bombe2 dd 3,16,2,21,8,17,9,5,20,15,8,12,20,15,12,10,6,25,17 viseur__nouvelle_attente_entre_chake_bombe dd 0 liste_bombbbb dd 32*5+1 ;5ere ligne a gauche dw -6 dw 1 dd 155 bombe_a_gauche 9 bombe_a_droite 3 bombe_a_gauche 5 bombe_a_droite 9 bombe_a_gauche 1 bombe_a_droite 5 bombe_a_gauche 11 bombe_a_droite 11 bombe_a_gauche 5 bombe_a_droite 9 bombe_a_gauche 1 bombe_a_droite 1 bombe_a_gauche 7 bombe_a_droite 5 bombe_a_gauche 11 bombe_a_droite 9 bombe_a_gauche 3 bombe_a_droite 11 bombe_a_gauche 9 bombe_a_droite 3 bombe_a_gauche 1 bombe_a_droite 1 bombe_a_gauche 11 bombe_a_droite 5 bombe_a_gauche 9 bombe_a_droite 7 bombe_a_gauche 1 bombe_a_droite 1 bombe_a_gauche 3 bombe_a_droite 11 liste_bombbbb2 dd 0 ;attente_entre_chake_bombe dd 0 ;nouvelle_attente_entre_chake_bombe2 dd 16,21,17,9,20,15,12,20 ;viseur__nouvelle_attente_entre_chake_bombe dd 0 ;;cas particulier: terrain6 plus apres lapocalypse, pas de bonus ;pour pas ke y'en a*i partout, donc on ;decompte le tempos pendant lekel ya pas de bonus special_nivo_6 dd ? differentesply2 dd 0 ; ;0 nb_sply EQU 16 temps_avant_demo dd 0 ;temps_avant_demo2 ttp dd 3200 ;bomber_locaux dd offset touches_ ; dd offset touches_+8*4 ; dd offset touches_+8*4*2 ; dd offset touches_+8*4*3 ; dd offset touches_+8*4*4 ; dd offset touches_+8*4*5 ; dd offset touches_+8*4*6 ; dd offset touches_+8*4*7 ; db 'UP ',3 ;112 ; db 'DOWN ',3 ;113 ; db 'LEFT ',3 ;114 ; db 'RIGHT ',3 ;115 arbre dd 0 viseur_couleur dd 0 ;derniere voix utilisée (*2) ;3 affiche tout le monde en mechant ;monstro dd 0 ; monstromanie; 0:non 1:montromanie gros montre attente_nouveau_esc dd 0 nombre_de_dyna_x4 dd ? changeiny dd 08,24,16,00,16,24,08,00 dd 08,24,08,00,08,24,16,00 viseur_change_in dd 0,4,8,12,16,20,24,28 viseur_change_in_save dd 0,4,8,12,16,20,24,28 ;pour replay ;0= face bas. -> droite 8 ;8= droite droite -> haut 24 ;16= gauche gauche -> bas 0 ;24= haut haut -> gauche 16 anti_bomb dd 24,24 dd 16,16 dd 8,8 dd 0,0 machin2 dd 0 machin3 dd 0 russe EQU 36*640 machin dd 0 ,11 ,22 ,33 ,44 ,55 ,66 ,77 ,88 ,99 ,110 ,121 ,132 ,143 ,154 ,165 dd 11+165,22+165,33+165,44+165,55+165,66+165,77+165,88+165,99+165,110+165,121+165,132+165,143+165,154+165 dd 154+165 ; dd ,165+165 dd 0+russe ,11+russe ,22+russe ,33+russe ,44+russe ,55+russe ,66+russe ,77+russe ,88+russe ,99+russe ,110+russe ,121+russe ,132+russe ,143+russe ,154+russe ,165+russe dd 11+165+russe,22+165+russe,33+165+russe,44+165+russe,55+165+russe,66+165+russe,77+165+russe,88+165+russe,99+165+russe,110+165+russe,121+165+russe,132+165+russe,143+165+russe,154+165+russe dd 154+165+russe ;,165+165+russe duree_draw dd ? duree_med dd ? duree_vic dd ? affiche_raster dd 0 save_banke dd ? ;affiche_raster2 dd -1 attente_avant_draw dd ? attente_avant_med dd ? pic_time dd pic_max ;differentesply dd 1966080+64000,1966080+64000*2,1966080+64000*3,1966080+64000*4,1966080+64000*5 ;64000*3, viseur_sur_fond dd 0 viseur_sur_draw dd 0 viseur_sur_vic dd 0 max_attente equ 25 ; max_attente4 equ 5 min_attente equ 15 ; ;garcon ;donnee dw nb_dyna dup (50) ;x du dynablaster ; dw nb_dyna dup (100) ;y du dynablaster ; dw nb_dyna dup (24*10) ;offset source du dynablaster (dans buffer2) compteur_nuage dd 0 ;utilisé aussi pour les anims du nivo foot changementZZ dd 0 changementZZ2 dd time_bouboule changement dd 0 ;---- TRUC ET TRUC2 DOIVENT ETRE COLLES truc db 32*13 dup (?) ; db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,2,2,2,2,2,0,0,2,2,2,0,0,2,2,2,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,2,1,2,1,2,1,0,1,2,1,0,1,2,1,2,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,2,1,2,1,2,1,0,1,2,1,0,1,2,1,2,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,2,2,2,2,2,0,0,2,2,2,0,0,2,2,2,2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0 ;TRUC ET TRUC2 DOIVENT ETRE L'UN A LA SUITE DE L'AUTRE... ;0 vide, 1: dur incassable ; 2: dur cassable ; 3,4,5,6,7,8,9,10 piece en destruction (mettre 3 pour la detruire...) ;bombes !!!! ;11: piece dure pour la fin du jeu. tombée quoi... truc2 db 32*13 dup (?) ;db 0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,00,00,0,00,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; 40 ; 33 ; 19 12 05 12 26 ; 33 ; 47 ;1 = bombe... (2,3,4) respirant... si c sup a 4; on est mort... ;5 = centre de bombe. de 5 a 11 ;12 = ligne droite... ;19 = arrondie ligne droite vers la gauche... ;26 = arrondie ligne droite vers la droite ;33 = ligne verti ;40 arrondie verti vers le haut ;47-- bas ;54-- bonus bombe... de 54 a 63 (offset 144) ;64-- bonus flamme... de 64 a 73 (offset 144+320*16) ;74-- tete de mort de 74 a 83 ;84-- bonus parre balle. de 84 a 93 ;94-- bonus COEUR !!! ;104 -- bonus bombe retardement ;114 --- bonus pousseur ;124 --- patins a roulettes ;134 --- HORLOGE ;193-- OEUF ;194-- explosion d'un bonus... de 194 a 200 (offset 0.172 31x27 +32) ;4,5,6,7,8,9,0 truc_X db 32*13 dup (?) ;+ ou -... truc_Y db 32*13 dup (?) ;adders x et y pour les bombes !!! truc_monstre db 32*13 dup (?) ;***************** CENTRAL ************************************** ;on ecris ici uniquement quand on recoit un packet ;FLECHES appuyée pour chacun des dyna sur tous les ordinateur ;touches dd nb_dyna dup (?) touches dd 8 dup (?) ;0= face bas. ;8= droite droite ;16= gauche gauche ;24= haut haut ;+128 si le perso ne bouge pas... ;avance dd nb_dyna dup (?) avance dd 8 dup (?) avance2 dd 8 dup (?) ;15,60,7,25,13,2,79,33 compte a rebourd avant autre action touches_save dd 8 dup (?) ;last successfull touches !!!! ;touches_save dd nb_dyna dup (?) ;last successfull touches !!!! ;action, touches d'action appuyés pour chacun des joeurs... ;ACTION db nb_dyna dup (?,?,?,?) ACTION db 8 dup (?,?,?,?) ;touches action 1 puis touche action 2... ;0=non appuyée ;1=passablement activé vie dd 8 dup (?) ;1,1,1,1,1,1,1,1 ;-- les 2 variables doivent etre ensemble (victoires+lastest_victory) victoires dd 8 dup (?) latest_victory dd ? ;--- ;--- laisser ces 2 variables ensembles !!! == team dd 8 dup (?) ;0,1,2,3,4,5,6,7 ;par default nombre_minimum_de_dyna dd 2 ;============================================= ;;ipx_ dd 0 ;1 ;1:oui_ par default... (indique teste serra fait...) ;0:non... ;temporaire... pour stocker a partir de la source d'un nivo et on recopie ensuite ;en fonction du nombre de dynas... infos_j_n dd 5 dup (?) ;joueurs... infos_m_n dd 5*8 dup (?) ;les montres last_bomb dd 8 dup (?) ;dernier offset dans truc ou le dyna a été... ;premier dd: nombre de bombes que le joeur peut encore mettre. ;deuxieme dd: puissance de ces bombes... minimum = 1 ... ;troisieme dd: nombre de tous avant que ca pete. ;quatrieme dd: vitesse du joeur... 1:1vbl/4,2: 1/vbl/2,3:chaque ,4:2 fois/vbl ;5eme mode bombes a retardement ou pas ??? bombe_max EQU 16 ;nombre max de bombes k'on peut poser. au grand max bombe_max2 EQU 16 ;nombre max de puissance bombes k'on peut avoir viseur_liste_terrain dd 0 nombre_de_dyna dd ? ;variable appartenant au master... mais transmise ;a toutes les becanes... nb_ai_bombermen db 0 nombre_de_monstres dd ? nombre_de_vbl_avant_le_droit_de_poser_bombe dd ? ;pour début de partie... info_joeur MACRO toto toto dd ?,?,?,?,? ;toto db 20 dup (?) ;toto dd 3,3,150 ENDM ;***** laisser ensemble **** info_joeur j1 info_joeur j2 info_joeur j3 info_joeur j4 info_joeur j5 info_joeur j6 info_joeur j7 info_joeur j8 ;**************************** taille_dune_info_bombe EQU 6*4 ;1er: offset de l'infojoeur ;2eme: nombre de tours avant que ca PETE !!! ; si = 0 ca veut dire ; ;emplacement libre... ;3eme:distance par rapport au debut de truc2 ;4eme:DD= 1 DW: puissance de la bombe + 1 DW: bombe a retardement ??? (=1) ; =2 semi-retardement (cas ; particulier a la fin des ; parties. (victoire dun dyna) ; pour ne pas kil puisse retenir ; bloke le jeu a cause de sa bombe ;5eme: VITESSE:1 dw:X (+1/-1/0) ,1 dw:Y (+1/-1/0) ;6eme: ADDER_X/Y: 1 dw:X,1 dW:Y donnee dw 8*3 dup (?) ;x du dynablaster ;y du dynablaster ;source du dyna dans bloque ooo546 dd 8 dup (?) ;source bloque memoire dw 8 dup (?) ;nombre de lignes pour un dyna... dw 8 dup (?) ;nombre de colonnes. dd 8 dup (?) ;adder di (pour la girl + grande...) liste_couleur dd 8 dup (?) ;offset sur la table d offset sprite correpondant dd 8 dup (?) ;avant la mort... nombre_de_coups dd 8 dup (?) ;avant la mort... ;donnee dw 8 dup (?) ;x du dynablaster ; dw 8 dup (?) ;y du dynablaster ; dw 8 dup (?) ;source du dyna dans bloque ;ooo546 dd 8 dup (?) ;source bloque memoire ; dw 8 dup (?) ;nombre de lignes pour un dyna... ; dw 8 dup (?) ;nombre de colonnes. ; dd 8 dup (?) ;adder di (pour la girl + grande...) clignotement dd 8 dup (?) ;varie entre 1 et 0 quand invinsible <>0 ;mis a jour par la proc "blanchiment" pousseur dd 8 dup (0) patineur dd 8 dup (?) vitesse_monstre dd 8 dup (?) ;vitesse de dehanbulation du monstre (gaucge_droite) tribombe2 dd 8 dup (?) ; indique depuis combien de temps le dyna ; a relache sa touche action 1 tribombe dd 8 dup (?) invinsible dd 8 dup (?) ;invincibilité. nombre de vbl restant ... décrémentée... 0= none... ;si = 0, mortel. blocage dd 8 dup (?) ;nombre de vbl bloke ;si = 0, bouge. lapipipino dd 8 dup (?) ;si = 1, on est un lapin lapipipino2 dd 8 dup (?) ;si = 0 activite de lapin normalle ;si = 1 saut vertical lapipipino3 dd 8 dup (?) ;compteur activite lapipipino4 dd 8 dup (?) ;hauteur du lapin x320(lors des sauts Y) lapipipino5 dd 8 dup (?) ;hauteur du lapin x1 (lors des sauts Y) lapipipino6 dd 8 dup (?) ;indique kon devient un lapin au prochain ;vbl.. lapipipino7 dd 8 dup (?) ; chiffre partir dukel on arrete ;de fqire bouger le lapin ki saute ; dqns le cqs ou le lapin ; saute dans une direfction ;utilise pour ajuste lorske ;le lapin depasserrait sur la case den dessous action_replay db 0 ; 0 = RIEN ; 1 = REC ; 2 = PLAY ordre2 db ? ;ordre 2... ;'' dans le jeu... ;'D' Draw Game... ;'M' saute au menu ;'%' indique nouvelle manche ;'Z' médaille céremony ;'V' victoire supreme céremony detail db 0 ; mechant db 0 ;0 ne fait rien... ;1 efface le fichier... ;2 affiche le raster rouge terrain db ? ; 1:fete, 2: neige... ; 3:hell. ; 4:foret 5:nuage ; 6:crayon ; 7:foot (;) ) ; 8:soccer team3 db ? ; 0=normal, 1=color, 2=sexe pauseur2 db 0 ; pauseur !!! ;1,2,3,4 pour les images de la fille bdraw666 db ?,? adder_bdraw dw ? ;51*320 temps dw ? ;duree_match ;001100000000B ;time ;--- pour ombres --- kel_ombre dd 0 ombres dw 8 dup (0) ;------------------- ;sexe db 00001111B ;sexe pour chaque dyna. (bit 0=dyna 0) ;masculin=0 ;--- ;--- briques dw 1+19*13*2 dup (?) ;nombre de brique, source de la brique, destination ;dans buffer video ;si on est dans 'Z' médaille céremony ;les noms de chaque joueur. 8x4 octets. ;+ 1 db= faut afficher la brike ki clignote ou pas??? bombes dw 1+19*13*2 dup (?) ; pareil pour les bombes & explosion & bonus ;+ bonus qui explose. ;cas particulier: offzet >= 172*320 ;gestion differente de l'afficheur... taille_bloc_the_total EQU 1500-packet_header_size ; 8*2*3 ;+1 +19*13*2*4 ;que pour l'ecoute en fait. bidon ?? ;-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-- ;offset offset grosbleu,offset bleu,offset vert,offset rouge,offset blancg,offset bleug,offset vertg,offset rougeg control_joueur dd 8 dup (0) ;-1,6,32,32+6,-1,-1,-1,-1 ;special replay: control_joueur2 dd -64,-64+7,-64+7*2,-64+7*3,-64+7*4,-64+7*5,-64+7*6,-64+7*7 ;-1,6,32,32+6,-1,-1,-1,-1 ;offset dans la totale des touches appyee du master. ;-1,6,32,32+6,-1,-1,-1,-1 name_joueur dd 8 dup (?) ;pour dans le menu... ;0: pas encore inscrit. ;1: récupere la premiere lettre ;2: récupere la premiere lettre ;3: récupere la troisieme lettre ;4: finis... attend de jouer temps_joueur dd 8 dup (?) ;temps d'attente avant validation ;d'une nouvelle frappe de touche. ;dans menu... nb_max_ordy EQU 10 ;dans la liste... ;adresse_master db 12 dup (0) ;liste_adresse db nb_max_ordy*16 dup (0) ;liste_adresse db 10*16 dup (0) ;adresse des autres ordinateurs connectés... 10 premiers octets... ;12 premiers octets: adresse, puis ACTIVIté 'okok' ca roule ; 'dead' plus de réponse... nb_ordy_connected dd 0 ; nombre d'otres ordy... ;last_packet_size dd 100 ;adresse_master db 12 dup (0) ;00,00,00,00,00,040h,05h,2ah,3dh,8fh,40h,02h ;00,00,00,00,00,0c0h,0a8h,40h,06h,03h,40h,02h ; ordy numéro 1 ;cultura MACRO d ;ENDM ;----- les offset pour le nick de chaque pseudo et le méme ke pour les ;packet des touches... ;cultura nick_t ; cultura ; cultura ; cultura ; cultura ; cultura ; cultura ; cultura last_name dd ? ;---------- endroit ou on decompacte les touches kan on fait le play total_play db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0,0 ;return,esc, touche pressee db 0,0,0,0,0,0,0,0,0,0,0,0,0 ;pour faire 64 octets... ;---------- packet de touches pour chaque ordy... total_t db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0 db 14 dup (0) ;pour faire 64 octets... db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0 db 14 dup (0) ;pour faire 64 octets... db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0 db 14 dup (0) ;pour faire 64 octets... db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0 db 14 dup (0) ;pour faire 64 octets... db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0 db 14 dup (0) ;pour faire 64 octets... db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0 db 14 dup (0) ;pour faire 64 octets... db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0 db 14 dup (0) ;pour faire 64 octets... db 0,0,0,0 ,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0 ;2eme joeur d'un ordy db 0,0,0,0 ,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0 ;5emejoeur d'un ordy. db 0,0,0,0 ,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0 ;8eme joeur d'un ordy db 0,0 db 14 dup (0) ;pour faire 64 octets... ;***************** variables IPX ********************************************* ;model des packets recus par le master.. (envoyé par slave.) ;---------------------------------------------------------------------------- ;cette zone mémoire est d'abord utiliseé par le local (master) en transmition ;directe a partir des touches puis par les autres ordy via communtication. donnee2 db 0,0,0,0 ,0,0,0 ;1er joeur d'un ordy. db 0,0,0,0 ,0,0,0 ;2eme joeur d'un ordy. db 0,0,0,0 ,0,0,0 ;3eme joeur d'un ordy db 0,0,0,0 ,0,0,0 ;4eme joeur d'un ordy db 0,0,0,0 ,0,0,0 ;5er joeur d'un ordy. db 0,0,0,0 ,0,0,0 ;6eme joeur d'un ordy db 0,0,0,0 ,0,0,0 ;7eme joeur d'un ordy db 0,0,0,0 ,0,0,0 ;8eme joeur d'un ordy db 0,0 ;si ordy presse RETURN + si ordy presse ESC. db 0 ;n'importe kelle touche presse ??? touches_size EQU 7*8+2+1 ;donnee98 db ' ... server found !!! x player(s) in xxxx. ' ;menu_ db 'menu' ;game_ db 'game' ;demo_ db 'demo' ;no_dyna db 13,10,'No game Network found... Creating one...',13,10,'$' ;no_dyna2 db 13,10,'Connected as slave to the other computer (no display mode:use the keyboard !).',13,10,'$' ;pas_de_mem db 'NOT enought memory for VGA display, controls work for network games',13,10,'$' ;pbs1 db 'probleme dans allocation de descriptor..',13,10,'$' ;pbs2 db 'probleme dans dans definition de la taille du segment',13,10,'$' ;socketipx db 'cannot open socket.',13,10,'$' ;erreur_dans_ecoute2 db 'erreur dans ecoute',13,10,'$' ;information db 'Type "speed" during the game to get maximum speed.',13,10,'$' ;pasipx db 'NO IPX DRIVERS FOUND ! NO NETWORK GAME ! NO INTERREST !',13,10,'$' ;msg1 db 'packets envoyes: $' ;msg2 db 'packets recus: $' ;msg3 db 'taille packets envoys par master (hors menu): $' ;msg4 db 'KB',13,10,'$' ; ;ipx db 'IPX detected !!! ',13,10,'$' nick_t db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db ' ' db 'bot',87h,' ' db 'bot',87h,' ' db 'bot',87h,' ' db 'bot',87h,' ' db 'bot',87h,' ' db 'bot',87h,' ' db 'bot',87h,' ' db 'bot',87h,' ' db ' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db ' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db ' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db ' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db ' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db ' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db 'aaa',87h,' ' db ' ' db 'cpu',87h,' ' ; ;indique la fin pour le fichier de cryptage ;mov dl,'' ;mov ah,2 ;int 21h ; ; 18source ; db 4 dup (0) ;netadd ;REMPLIS AUTOMATIQUEMENT QUAND ON RECOIT ; db 6 dup (0) ;nodeadd ;contient l'adresse d'ou provient le message. ; dw 0 ;sockette... nb_dyna equ 8 ;***************** IPX ECOUTE ************************************************ packet_data_size equ 576-packet_header_size packet_header_size equ 30 ;ecouteur ecb1,header_ecoute ;ecouteur ecb3,header_ecoute3 ;donnee3 db 0;pour envoyer donnée. systeme. ;envoye_data db 1500 dup (0) ;BIP IFF 10,050 08-06-97 4:36a ;BANG IFF 8,046 08-06-97 10:26a ;KLANNG IFF 9,373 08-06-97 10:27a ;SAC.IFF 18043 explosion d'un bonus ;TIC2.IFF 2090 ;TIC6 6643 ;ding sonnerie avant fin... ;ouil.iff 3291 ;mort d'un dyna exceptionnel. ;ail.iff 3297 ;mort d'un monstre courageux. ;tribombe.iff 5752 ;(9) utilisation du bonus tribombe ;SAUT-LAP IFF 11 285 (10) ;POSEBOMB IFF 1 186 (11) ;MORTLAP IFF 34 928 (12) ;GAME1 PCX 29,535 07-04-97 3:28a -0 ;GAME2 PCX 29,535 07-04-97 3:28a -1 ;GAME3 PCX 29,096 07-04-97 3:28a -2 ;SPRITE PCX 30269 07-30-97 8:40a -3 ;SPRITE2 PCX 45239 07-30-97 5:26a -4 ;MENU.PCX 51047 -5 ;SPRITE3.PCX 27709 -6 ;DRAW1.PCX 29855 -7 ;DRAW2.PCX 29772 -8 ;MED.PCX 38197 -9 ;MED3.PCX 22395 -10 ;VIC1 PCX 26 830 -11 ;VIC2 PCX """""" -12 ;VIC3 PCX """""" -13 ;VIC4 PCX """""" -14 ;NEIGE1 PCX 24,256 09-13-97 5:44a ;NEIGE2 PCX 24,229 09-13-97 5:44a ;NEIGE3 PCX 24,412 09-13-97 5:44a ;neige1 24256 -15 ;neige2 24229 -16 ;neige3 24412 -17 ;pic.pcx 51618 -18 ;mrfond.pcx 50396 -19 ;micro.pcx 23593 -20 ;nuage1 29069 21 ;nuage2 28107 22 ;foret.pcx 59615 -23 ;feuille.pcx 40910 -24 ;pause.pcx 30517 -25 ;medc.pcx 35050 -26 ;medg.pcx 33790 -27 ;--------------------------------------- -28 ;--------------------------------------- -29 ;record0.mrb 64000 -30 neige ;record1.mrb 64000 -31 micro (hell) ;record2.mrb 64000 -32 ;record3.mrb 64000 -33 ;fete1.mrb 64000 -34 ;crayon.pcx 25675 -35 ;crayon2.pcx 10299 -36 ;record5.mrb 64000 -37 ;lapin1.pcx 25841 -38 ;mort.pcx 11838 -39 ;lapin2.pcx 25203 -40 ;lapin3.pcx 24473 -41 ;lapin4.pcx 25203 -42 ;foot.pcx 52283 -43 ;foot1.mrb 64000 -44 ;foot2.mrb 64000 -45 ;fete2.mrb 64000 -46 ;neige2.mrb 64000 -47 ;rose2.mrb 64000 -48 ;jungle2.mrb 64000 -49 ;micro2.mrb 64000 -50 ;nuage2.mrb 64000 -51 ;soucoupe.pcx 15266 -52 ;soccer.pcx 62297 -53 ;footanim.pcx 25477 -54 ;lune1.mrb 64000 -55 ;lune2.mrb 64000 -56 ;*************** save des nivos ***************** ;lapin_mania dd 8 dup (1966080+64000*7) ; dw 8 dup (32) ; dw 37,37,37,37,37,37,37,37 ;nombre de lignes pour un dyna... ;8*10 ; dw 32,32,32,32,32,32,32,32 ;nombre de colonnes. ;8*12 ; dd 8 dup (-11*320-4) ; dd -14*320-4,-14*320-4,-14*320-4,-14*320-4,-14*320-4,-14*320-4,-14*320-4,-14*320-4 ;adder di ;8*16 ; dd 8 dup (offset lapin2) lapin_mania dd 1966080+64000*7,1966080+64000*7 dd 1966080+64000*11,1966080+64000*11 dd 1966080+64000*9,1966080+64000*9 dd 1966080+64000*10,1966080+64000*10 lapin_mania_malade dd 1966080+64000*11,1966080+64000*11 dd 1966080+64000*7,1966080+64000*7 dd 1966080+64000*11,1966080+64000*11 dd 1966080+64000*11,1966080+64000*11 ;dd 512000,512000,512000,512000,512000,512000,512000,512000 ;source bloque memoire ;8*6 ; dw 8 dup (37) ; dw 32,32,32,32,32,32,32,32 ;nombre de colonnes. ;8*12 ; dd 8 dup (-8*320-4) lapin_mania1 dd offset lapin2,offset lapin2G dd offset lapin2,offset lapin2G dd offset lapin2,offset lapin2G dd offset lapin2,offset lapin2G lapin_mania2 dd offset lapin2_,offset lapin2_g dd offset lapin2_,offset lapin2_g dd offset lapin2_,offset lapin2_g dd offset lapin2_,offset lapin2_g lapin_mania3 dd offset lapin2__,offset lapin2__G dd offset lapin2__,offset lapin2__G dd offset lapin2__,offset lapin2__G dd offset lapin2__,offset lapin2__G lapin_mania4 dd offset lapin2___,offset lapin2___G dd offset lapin2___,offset lapin2___G dd offset lapin2___,offset lapin2___G dd offset lapin2___,offset lapin2___G lapin_mania5 dd offset lapin_mort,offset lapin_mortg dd offset lapin_mort,offset lapin_mortg dd offset lapin_mort,offset lapin_mortg dd offset lapin_mort,offset lapin_mortg truc_fin db 13*32 dup (?) ;endroit ou l'on place le compte é rebourd. ;enfin le nombre de vbl avant le défoncage lors dd ? ;sa vitesse ; de L'(a)pocalypse. ;-*********************************************** ordre db 'M' db 'menu' ;pout reconnaitre ou on est... enfin si c'est un packet ;menu ou pas. texte1 db 32*4*8 dup (0) ;texte pour chaque dyna taille_block_slave_menu equ 32*4*8+1+14*2 ;panning2 db 15,14,13,12,11,10,09,08,08,07,07,06,06,05,04,03 ; db 02,01,00 ;,14,13,12,11,10,09,08,08,07,07,06,06,05,04,03 ; db 02,01,00 maladie dw 16 dup (?) autofire db 1 ;---------------------- db --------------------------------------- ;save64 db 0 ;economode db 0 ;demande_partie_slave db 0 balance_le_bdrawn db ? bdraw1 db ? ;32 ;on_a_bien_fait_une_partie db 0 on_les_dans_le_menu db 1 sortie_slave db 0 modeinfo db 0 nomonster db 0 twice db 0 ;pour le mode twice faster. twice2 db 0 ;pour le mode twice faster. ;32 lft equ 24 pic_de_tout_debut db 0 ;pour viser la palette de la pic detection reso une_touche_a_telle_ete_pressee db 0 ;mis a un si on a touche le clavier ;depuis le dernier packet... sors_du_menu_aussitot db 0 ;pour kon kitte le jeu aussitot apres avoir ;loade un fichier .mrb team3_sauve db 0 ; special_on_a_loadee_nivo db 0 record_user db 0 ;activé si on a le droit d'enclancher le mode REC/PLAY ;previentlmesenfants db 0 ;pour slave: affiche messgae fin ;-- mettre ensemble... ;0-32 hazard_bonus db 0,1,0,14,11,2,0,13,1,11,2,14,0,6,15,0,10,0,1,14,11,0,3,0,1,0,15,0,4,0,11,2,0,2,1,0,14,0,0,15,0,0,5,11,0,15 db 0,7,2,15,11,0,1,3,0,0,0,14,0,2,0,14,0,11,14,9,0,15,0,11,7,0,13,1,0,14,2,11,0,15,0,1,4,0,2,6,0,11,7,8,2,1,0,1,2,11,14,15,11 ; db 0,54,0,64,0,114,74,0,64,0,0,54,0,74,0,0,64,0,104,54,0,64,0,0,64,0,54,0,0,64,0,0,0,94,0,64,114,0,64,0,74,0,0,84,0,0,0,54,0,64,0,64 ; db 0,54,0,64,0,74,0,64,0,74,54,0,54,0,114,0,0,54,0,64,0,64,0,84,0,0,64,0,54,0,0,54,0,0,114,0,0,64,0,64,0,54,0,0,94,0,0,54,0,104,0,0,74,0,64,0,64,0 viseur_hazard_bonus dd 0 hazard_bonus2 db 0,1,2,3,4,5,6,7 db 8,9,10,11,12,13,14,15 ;db 84,94,94,104,94,84,94,104,114,94,94,104,94,84,94,74,94,104,114 viseur_hazard_bonus2 dd 0 ;---- laisser ces deux truc ENSEMBLES !! SOMBRE CRETIN correspondance_bonus db 16 dup (?) correspondance_bonus2 db 16 dup (?) ;---------------- ;--- ;54-- bonus bombe... de 54 a 63 (offset 144) ;1 ;64-- bonus flamme... de 64 a 73 (offset 144+320*16) 2 ;74-- tete de mort de 74 a 83 3 ;84-- bonus parre balle. de 84 a 93 4 ;94-- bonus COEUR !!! 5 ;104 -- bonus bombe retardement 6 ;114 --- bonus pousseur 7 ;124 --- patins a roulettes 8 ;134 --- HORLOGE 9 last_sucker db 0 ;derniere touche... affiche_pal db 2 ; 1: vas de la palette au noir (ne plus afficher ; d'écran !!!) ; ; 2: va du noir a la palette ; 0: ne fait rien... pause db 0 ;0=nan inverse = oui pause2 db 0 ;temps ou on s'en fou max_s equ 16 ;pour viseur rouge max_s2 equ 8 ;pour viseur rouge temps2 db ? sortie db 0 ;sortie... in_the_apocalypse db 0 pal db 0,0,0,7,7,4,8,6,5,10,6,6,11,5,7,11,8,8,7,6,8,9,8,8,9,8,7,11,10,10,17,13,10,19,14,10,22,17,11,4,3,3,9,10,8,11,12,10,13,12,12,15,15,14,17,17,17,22,21,20,23,22,22,27 db 25,25,28,26,26,23,24,15,15,13,10,13,13,13,17,15,12,13,11,14,17,18,14,20,21,15,23,20,14,29,21,8,19,6,10,19,8,5,6,4,4,19,3,3,21,3,3,24,8,13,27,5,5,28,17,7,29,19,19,23,20,23,31,30 db 31,13,8,7,14,6,8,17,7,8,19,9,13,23,10,16,6,5,6,8,7,9,10,7,10,12,8,12,11,12,16,14,14,18,16,15,21,20,17,24,21,20,25,23,24,26,26,26,28,30,27,29,34,29,29,12,8,10,14,8,11,13,4,4 db 22,15,14,17,12,17,24,12,20,27,15,15,30,10,17,22,13,13,22,14,10,22,11,6,29,22,20,23,15,11,20,19,19,24,17,11,20,17,12,20,17,14,26,19,11,19,12,9,29,17,9,19,9,9,18,13,11,26,23,22,26,20,16,13 db 9,13,15,5,5,16,8,5,19,10,6,21,10,6,24,13,7,26,14,7,27,15,8,29,12,4,30,20,10,32,18,11,31,23,10,33,26,10,35,30,10,15,9,9,15,7,7,30,7,7,17,10,8,13,2,2,8,5,5,10,7,3,3,4 db 6,16,3,3,13,8,5,11,10,8,7,8,12,14,10,10,31,25,23,31,28,25,34,30,27,29,23,12,37,37,36,31,26,13,17,10,10,21,5,10,10,10,3,19,11,11,15,10,13,18,12,13,6,9,11,33,29,14,36,33,14,33,33,33 db 6,5,8,5,8,8,9,9,14,10,11,13,15,13,16,19,13,13,20,13,13,20,15,14,24,17,15,25,15,14,23,19,15,25,19,17,26,19,17,26,21,18,29,21,17,29,20,15,0,23,0,28,23,19,31,23,18,32,25,18,33,28,19,35 db 30,20,35,31,23,35,31,27,6,9,6,5,7,12,6,9,14,8,8,15,8,10,16,10,13,18,12,15,20,14,17,22,17,19,23,20,21,25,25,25,25,27,24,27,29,28,29,33,28,27,35,32,30,36,36,41,12,15,10,17,14,18,15,18 db 12,18,16,19,18,21,15,20,20,20,21,24,19,29,24,21,23,3,3,18,14,21,25,3,3,20,17,20,21,19,22,20,19,28,24,22,24,33,9,9,36,10,10,26,23,25,23,23,34,24,27,22,29,32,23,34,25,16,33,39,23,39,23,15 db 40,37,20,39,29,17,39,44,22,49,17,31,46,33,16,40,41,39,33,3,3,34,11,4,39,12,12,35,16,5,8,14,27,35,20,13,41,26,16,27,26,40,43,28,16,52,41,16,30,31,47,34,35,49,44,30,16,42,14,14,33,3,21,38 db 17,6,14,21,34,41,19,6,44,17,17,44,20,7,48,24,24,48,12,12,52,30,11,52,33,33,55,35,11,49,4,21,41,4,4,47,23,8,49,12,5,50,24,9,51,28,6,59,29,42,51,37,7,57,41,10,55,47,16,40,40,52,42,42 db 40,44,44,40,59,48,10,44,44,44,45,45,54,58,54,16,62,56,9,61,61,17,51,49,41,49,46,42,48,47,41,53,51,42,54,52,42,48,48,48,50,51,57,56,53,42,54,50,45,59,54,47,59,52,52,61,61,61,41,41,39,39,40,39 pal_affiche db 768 dup (0) ;pal k'on affiche... liste_bombe dd ? ; nombre de bombes... liste_bombe_array dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) dd 3 dup (?) dw 6 dup (?) _DATA ends ;IGNORE ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé ; STACK ;ééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééééé stackseg segment para stack 'STACK' ;IGNORE db 1000h dup(?) ;IGNORE stackseg ends ;IGNORE end start ;IGNORE
tests/test-1-nestedloops.64.asm
sporiyano/rgat
381
90663
<filename>tests/test-1-nestedloops.64.asm<gh_stars>100-1000 ;basic sanity check with a few external calls global main section .text main: mov rbx, 17 level1: ;17 executions each below here mov rax, 0 inc rax inc rax inc rax inc rax dec rax dec rax xchg rax, rbx xchg rax, rbx mov rcx, 47 level2: ;799 executions each below here inc rax inc rax inc rax mov rdx, 347 level3: ;277253 executions each below here inc rax dec rax dec rax xchg rax, rcx xchg rax, rcx mov rdi, 997 level4: ;276421241 executions each below here xor rsi, 10 xor rsi, 20 xor rsi, rsi dec rdi jnz level4 dec rdx jnz level3 dec rcx jnz level2 dec rbx jnz level1 ;basic blocks 6-9 xor RCX, RCX ;sequential node 14 ret
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_781.asm
ljhsiun2/medusa
9
173984
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x16170, %r8 clflush (%r8) nop nop nop nop and %r13, %r13 movb $0x61, (%r8) nop nop nop nop nop sub %r15, %r15 lea addresses_normal_ht+0x8010, %r12 nop nop nop nop and %r8, %r8 mov $0x6162636465666768, %r9 movq %r9, %xmm5 movups %xmm5, (%r12) nop nop nop nop nop xor %r11, %r11 lea addresses_WC_ht+0x5010, %r13 nop cmp $9079, %r10 movw $0x6162, (%r13) xor %r9, %r9 lea addresses_A_ht+0x14110, %rsi lea addresses_normal_ht+0x12910, %rdi and %r10, %r10 mov $121, %rcx rep movsq nop nop nop nop xor %r15, %r15 lea addresses_WT_ht+0x5870, %rcx nop nop and %r11, %r11 movb (%rcx), %r12b nop nop xor %r10, %r10 lea addresses_normal_ht+0x18530, %rsi lea addresses_UC_ht+0xb110, %rdi nop nop inc %r12 mov $28, %rcx rep movsq nop nop nop nop add %rdi, %rdi pop %rsi pop %rdi pop %rcx pop %r9 pop %r8 pop %r15 pop %r13 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r15 push %r8 push %r9 push %rax push %rbp // Store lea addresses_UC+0x15910, %r12 nop nop nop nop nop and $6100, %r8 movl $0x51525354, (%r12) nop xor %r8, %r8 // Store lea addresses_UC+0x1a210, %r15 nop nop nop and %rbp, %rbp movl $0x51525354, (%r15) sub %r15, %r15 // Faulty Load lea addresses_D+0x17910, %r8 nop nop nop sub %r9, %r9 mov (%r8), %eax lea oracles, %r12 and $0xff, %rax shlq $12, %rax mov (%r12,%rax,1), %rax pop %rbp pop %rax pop %r9 pop %r8 pop %r15 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_D', 'AVXalign': True, 'size': 8, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 10}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 7}} [Faulty Load] {'src': {'type': 'addresses_D', 'AVXalign': False, 'size': 4, 'NT': True, 'same': True, 'congruent': 0}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 5}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 5}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 8}} {'src': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}} {'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 3}, 'OP': 'LOAD'} {'src': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': True}} {'36': 21829} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
agda/Path/Reasoning.agda
oisdk/combinatorics-paper
4
15576
{-# OPTIONS --cubical --safe #-} module Path.Reasoning where open import Prelude infixr 2 ≡˘⟨⟩-syntax _≡⟨⟩_ ≡⟨∙⟩-syntax ≡˘⟨⟩-syntax : ∀ (x : A) {y z} → y ≡ z → y ≡ x → x ≡ z ≡˘⟨⟩-syntax _ y≡z y≡x = sym y≡x ; y≡z syntax ≡˘⟨⟩-syntax x y≡z y≡x = x ≡˘⟨ y≡x ⟩ y≡z ≡⟨∙⟩-syntax : ∀ (x : A) {y z} → y ≡ z → x ≡ y → x ≡ z ≡⟨∙⟩-syntax _ y≡z x≡y = x≡y ; y≡z syntax ≡⟨∙⟩-syntax x y≡z x≡y = x ≡⟨ x≡y ⟩ y≡z _≡⟨⟩_ : ∀ (x : A) {y} → x ≡ y → x ≡ y _ ≡⟨⟩ x≡y = x≡y infix 2.5 _∎ _∎ : ∀ {A : Type a} (x : A) → x ≡ x _∎ x = refl
innative-env/memcpy.x86.asm
Connicpu/innative
381
102343
<reponame>Connicpu/innative page ,132 title _innative_internal_env_memcpy - Copy source memory bytes to destination ;*** ;memcpy.asm - contains memcpy and memmove routines ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ;Purpose: ; memcpy() copies a source memory buffer to a destination buffer. ; Overlapping buffers are not treated specially, so propogation may occur. ; memmove() copies a source memory buffer to a destination buffer. ; Overlapping buffers are treated specially, to avoid propogation. ; ;******************************************************************************* .xlist include vcruntime.x86.inc .list .xmm M_EXIT macro ret ; _cdecl return endm ; M_EXIT PALIGN_memcpy macro d MovPalign&d&: movdqa xmm1,xmmword ptr [esi-d] lea esi, byte ptr [esi-d] align @WordSize PalignLoop&d&: movdqa xmm3,xmmword ptr [esi+10h] sub ecx,30h movdqa xmm0,xmmword ptr [esi+20h] movdqa xmm5,xmmword ptr [esi+30h] lea esi, xmmword ptr [esi+30h] cmp ecx,30h movdqa xmm2,xmm3 palignr xmm3,xmm1,d movdqa xmmword ptr [edi],xmm3 movdqa xmm4,xmm0 palignr xmm0,xmm2,d movdqa xmmword ptr [edi+10h],xmm0 movdqa xmm1,xmm5 palignr xmm5,xmm4,d movdqa xmmword ptr [edi+20h],xmm5 lea edi, xmmword ptr [edi+30h] jae PalignLoop&d& lea esi, xmmword ptr [esi+d] endm ; PALIGN_memcpy CODESEG extrn _innative_internal_env__isa_enabled:dword extrn _innative_internal_env__favor:dword page ;*** ;memcpy - Copy source buffer to destination buffer ; ;Purpose: ; memcpy() copies a source memory buffer to a destination memory buffer. ; This routine does NOT recognize overlapping buffers, and thus can lead ; to propogation. ; For cases where propogation must be avoided, memmove() must be used. ; ; Algorithm: ; ; Same as memmove. See Below ; ; ;memmove - Copy source buffer to destination buffer ; ;Purpose: ; memmove() copies a source memory buffer to a destination memory buffer. ; This routine recognize overlapping buffers to avoid propogation. ; For cases where propogation is not a problem, memcpy() can be used. ; ; Algorithm: ; ; void * memmove(void * dst, void * src, size_t count) ; { ; void * ret = dst; ; ; if (dst <= src || dst >= (src + count)) { ; /* ; * Non-Overlapping Buffers ; * copy from lower addresses to higher addresses ; */ ; while (count--) ; *dst++ = *src++; ; } ; else { ; /* ; * Overlapping Buffers ; * copy from higher addresses to lower addresses ; */ ; dst += count - 1; ; src += count - 1; ; ; while (count--) ; *dst-- = *src--; ; } ; ; return(ret); ; } ; ; ;Entry: ; void *dst = pointer to destination buffer ; const void *src = pointer to source buffer ; size_t count = number of bytes to copy ; ;Exit: ; Returns a pointer to the destination buffer in AX/DX:AX ; ;Uses: ; CX, DX ; ;Exceptions: ;******************************************************************************* ifdef MEM_MOVE _MEM_ equ <_innative_internal_env_memmove> else ; MEM_MOVE _MEM_ equ <_innative_internal_env_memcpy> endif ; MEM_MOVE % public _MEM_ _MEM_ proc \ dst:ptr byte, \ src:ptr byte, \ count:IWORD ; destination pointer ; source pointer ; number of bytes to copy OPTION PROLOGUE:NONE, EPILOGUE:NONE push edi ; save edi push esi ; save esi ; size param/4 prolog byte #reg saved .FPO ( 0, 3 , $-_MEM_ , 2, 0, 0 ) mov esi,[esp + 010h] ; esi = source mov ecx,[esp + 014h] ; ecx = number of bytes to move mov edi,[esp + 0Ch] ; edi = dest ; ; Check for overlapping buffers: ; If (dst <= src) Or (dst >= src + Count) Then ; Do normal (Upwards) Copy ; Else ; Do Downwards Copy to avoid propagation ; mov eax,ecx ; eax = byte count mov edx,ecx ; edx = byte count add eax,esi ; eax = point past source end cmp edi,esi ; dst <= src ? jbe short CopyUp ; no overlap: copy toward higher addresses cmp edi,eax ; dst < (src + count) ? jb CopyDown ; overlap: copy toward lower addresses ; ; Buffers do not overlap, copy toward higher addresses. ; CopyUp: cmp ecx, 020h jb CopyUpDwordMov ; size smaller than 32 bytes, use dwords cmp ecx, 080h jae CopyUpLargeMov ; if greater than or equal to 128 bytes, use Enhanced fast Strings bt _innative_internal_env__isa_enabled, __ISA_AVAILABLE_SSE2 jc XmmCopySmallTest jmp Dword_align CopyUpLargeMov: bt _innative_internal_env__favor, __FAVOR_ENFSTRG ; check if Enhanced Fast Strings is supported jnc CopyUpSSE2Check ; if not, check for SSE2 support rep movsb mov eax,[esp + 0Ch] ; return original destination pointer pop esi pop edi M_EXIT ; ; Check if source and destination are equally aligned. ; CopyUpSSE2Check: mov eax,edi xor eax,esi test eax,15 jne AtomChk ; Not aligned go check Atom bt _innative_internal_env__isa_enabled, __ISA_AVAILABLE_SSE2 jc XmmCopy ; yes, go SSE2 copy (params already set) AtomChk: ; Is Atom supported? bt _innative_internal_env__favor, __FAVOR_ATOM jnc Dword_align ; no,jump ; check if dst is 4 byte aligned test edi, 3 jne Dword_align ; check if src is 4 byte aligned test esi, 3 jne Dword_align_Ok ; A software pipelining vectorized memcpy loop using PALIGN instructions ; (1) copy the first bytes to align dst up to the nearest 16-byte boundary ; 4 byte align -> 12 byte copy, 8 byte align -> 8 byte copy, 12 byte align -> 4 byte copy PalignHead4: bt edi, 2 jae PalignHead8 mov eax, dword ptr [esi] sub ecx, 4 lea esi, byte ptr [esi+4] mov dword ptr [edi], eax lea edi, byte ptr [edi+4] PalignHead8: bt edi, 3 jae PalignLoop movq xmm1, qword ptr [esi] sub ecx, 8 lea esi, byte ptr [esi+8] movq qword ptr [edi], xmm1 lea edi, byte ptr [edi+8] ;(2) Use SSE palign loop PalignLoop: test esi, 7 je MovPalign8 bt esi, 3 jae MovPalign4 PALIGN_memcpy 12 jmp PalignTail PALIGN_memcpy 8 jmp PalignTail PALIGN_memcpy 4 ;(3) Copy the tailing bytes. PalignTail: cmp ecx,10h jb PalignTail4 movdqu xmm1,xmmword ptr [esi] sub ecx, 10h lea esi, xmmword ptr [esi+10h] movdqa xmmword ptr [edi],xmm1 lea edi, xmmword ptr [edi+10h] jmp PalignTail PalignTail4: bt ecx, 2 jae PalignTail8 mov eax, dword ptr [esi] sub ecx,4 lea esi, byte ptr [esi+4] mov dword ptr [edi], eax lea edi, byte ptr [edi+4] PalignTail8: bt ecx, 3 jae PalignTailLE3 movq xmm1, qword ptr [esi] sub ecx,8 lea esi, byte ptr [esi+8] movq qword ptr [edi], xmm1 lea edi, byte ptr [edi+8] PalignTailLE3: mov eax, dword ptr TrailingUpVec[ecx*4] jmp eax ; The algorithm for forward moves is to align the destination to a dword ; boundary and so we can move dwords with an aligned destination. This ; occurs in 3 steps. ; ; - move x = ((4 - Dest & 3) & 3) bytes ; - move y = ((L-x) >> 2) dwords ; - move (L - x - y*4) bytes ; Dword_align: test edi,11b ; check if destination is dword aligned jz short Dword_align_Ok ; if destination not dword aligned already, it should be aligned Dword_up_align_loop: mov al, byte ptr [esi] mov byte ptr [edi], al dec ecx add esi, 1 add edi, 1 test edi, 11b jnz Dword_up_align_loop Dword_align_Ok: mov edx, ecx cmp ecx, 32 jb CopyUpDwordMov shr ecx,2 rep movsd ; move all of our dwords and edx,11b ; trailing byte count jmp dword ptr TrailingUpVec[edx*4] ; process trailing bytes ; ; Code to do optimal memory copies for non-dword-aligned destinations. ; ; The following length check is done for two reasons: ; ; 1. to ensure that the actual move length is greater than any possiale ; alignment move, and ; ; 2. to skip the multiple move logic for small moves where it would ; be faster to move the bytes with one instruction. ; align @WordSize ByteCopyUp: jmp dword ptr TrailingUpVec[ecx*4+16] ; process just bytes ;----------------------------------------------------------------------------- align @WordSize TrailingUpVec dd TrailingUp0, TrailingUp1, TrailingUp2, TrailingUp3 align @WordSize TrailingUp0: mov eax,[esp + 0Ch] ; return original destination pointer pop esi ; restore esi pop edi ; restore edi ; spare M_EXIT align @WordSize TrailingUp1: mov al,[esi] ; get byte from source ; spare mov [edi],al ; put byte in destination mov eax,[esp + 0Ch] ; return original destination pointer pop esi ; restore esi pop edi ; restore edi M_EXIT align @WordSize TrailingUp2: mov al,[esi] ; get first byte from source ; spare mov [edi],al ; put first byte into destination mov al,[esi+1] ; get second byte from source mov [edi+1],al ; put second byte into destination mov eax,[esp + 0Ch] ; return original destination pointer pop esi ; restore esi pop edi ; restore edi M_EXIT align @WordSize TrailingUp3: mov al,[esi] ; get first byte from source ; spare mov [edi],al ; put first byte into destination mov al,[esi+1] ; get second byte from source mov [edi+1],al ; put second byte into destination mov al,[esi+2] ; get third byte from source mov [edi+2],al ; put third byte into destination mov eax,[esp + 0Ch] ; return original destination pointer pop esi ; restore esi pop edi ; restore edi M_EXIT ;----------------------------------------------------------------------------- ;----------------------------------------------------------------------------- ;----------------------------------------------------------------------------- ; Copy down to avoid propogation in overlapping buffers. align @WordSize CopyDown: ; inserting check for size. For < 16 bytes, use dwords without checkign for alignment lea esi, [esi+ecx] ; esi, edi pointing to the end of the buffer lea edi, [edi+ecx] cmp ecx, 32 jb CopyDownSmall bt _innative_internal_env__isa_enabled, __ISA_AVAILABLE_SSE2 jc XmmMovLargeAlignTest ; See if the destination start is dword aligned test edi,11b ; Test if dword aligned jz CopyDownAligned ; If not, jump CopyDownNotAligned: mov edx,edi ; get destination offset and edx, 11b sub ecx, edx CopyDownAlignLoop: mov al, byte ptr [esi-1] mov byte ptr[edi-1], al dec esi dec edi sub edx, 1 jnz CopyDownAlignLoop CopyDownAligned: cmp ecx,32 ; test if small enough for unwind copy jb CopyDownSmall ; if so, then jump mov edx, ecx shr ecx,2 ; shift down to dword count and edx,11b ; trailing byte count sub esi, 4 sub edi, 4 ; settign up src, dest registers std ; set direction flag rep movsd ; move all of dwords at once cld ; clear direction flag back jmp dword ptr TrailingDownVec[edx*4]; process trailing bytes ;----------------------------------------------------------------------------- align @WordSize TrailingDownVec dd TrailingDown0, TrailingDown1, TrailingDown2, TrailingDown3 align @WordSize TrailingDown0: mov eax,[esp + 0Ch] ; return original destination pointer ; spare pop esi ; restore esi pop edi ; restore edi M_EXIT align @WordSize TrailingDown1: mov al,[esi+3] ; get byte from source ; spare mov [edi+3],al ; put byte in destination mov eax,[esp + 0Ch] ; return original destination pointer pop esi ; restore esi pop edi ; restore edi M_EXIT align @WordSize TrailingDown2: mov al,[esi+3] ; get first byte from source ; spare mov [edi+3],al ; put first byte into destination mov al,[esi+2] ; get second byte from source mov [edi+2],al ; put second byte into destination mov eax,[esp + 0Ch] ; return original destination pointer pop esi ; restore esi pop edi ; restore edi M_EXIT align @WordSize TrailingDown3: mov al,[esi+3] ; get first byte from source ; spare mov [edi+3],al ; put first byte into destination mov al,[esi+2] ; get second byte from source mov [edi+2],al ; put second byte into destination mov al,[esi+1] ; get third byte from source mov [edi+1],al ; put third byte into destination mov eax,[esp + 0Ch] ; return original destination pointer pop esi ; restore esi pop edi ; restore edi M_EXIT ; Copy overlapping buffers using XMM registers XmmMovLargeAlignTest: test edi, 0Fh ; check if it's 16-byte aligned jz XmmMovLargeLoop XmmMovAlignLoop: dec ecx dec esi dec edi mov al, [esi] mov [edi], al test edi, 0Fh jnz XmmMovAlignLoop XmmMovLargeLoop: cmp ecx, 128 jb XmmMovSmallTest sub esi, 128 sub edi, 128 movdqu xmm0, xmmword ptr[esi] movdqu xmm1, xmmword ptr[esi+16] movdqu xmm2, xmmword ptr[esi+32] movdqu xmm3, xmmword ptr[esi+48] movdqu xmm4, xmmword ptr[esi+64] movdqu xmm5, xmmword ptr[esi+80] movdqu xmm6, xmmword ptr[esi+96] movdqu xmm7, xmmword ptr[esi+112] movdqu xmmword ptr[edi], xmm0 movdqu xmmword ptr[edi+16], xmm1 movdqu xmmword ptr[edi+32], xmm2 movdqu xmmword ptr[edi+48], xmm3 movdqu xmmword ptr[edi+64], xmm4 movdqu xmmword ptr[edi+80], xmm5 movdqu xmmword ptr[edi+96], xmm6 movdqu xmmword ptr[edi+112], xmm7 sub ecx, 128 test ecx, 0FFFFFF80h jnz XmmMovLargeLoop XmmMovSmallTest: cmp ecx, 32 ; if lesser than 32, use dwords jb CopyDownSmall XmmMovSmallLoop: sub esi, 32 sub edi, 32 movdqu xmm0, xmmword ptr[esi] movdqu xmm1, xmmword ptr[esi+16] movdqu xmmword ptr[edi], xmm0 movdqu xmmword ptr[edi+16], xmm1 sub ecx, 32 test ecx, 0FFFFFFE0h jnz XmmMovSmallLoop CopyDownSmall: test ecx, 0FFFFFFFCh ; mask the bytes jz CopyDownByteTest CopyDownDwordLoop: sub edi, 4 sub esi, 4 mov eax, [esi] mov [edi], eax sub ecx, 4 test ecx, 0FFFFFFFCh jnz CopyDownDwordLoop CopyDownByteTest: test ecx, ecx jz CopyDownReturn CopyDownByteLoop: sub edi, 1 sub esi, 1 mov al, [esi] mov [edi], al sub ecx, 1 jnz CopyDownByteLoop CopyDownReturn: mov eax,[esp + 0Ch] ; return original destination pointer ; spare pop esi ; restore esi pop edi ; restore edi M_EXIT ; Using XMM registers for non-overlapping buffers align 16 XmmCopy: mov eax, esi and eax, 0Fh ; eax = src and dst alignment (src mod 16) test eax, eax jne XmmCopyUnaligned ; in: ; edi = dst (16 byte aligned) ; esi = src (16 byte aligned) ; ecx = len is >= (128 - head alignment bytes) ; do block copy using SSE2 stores XmmCopyAligned: mov edx, ecx and ecx, 7Fh shr edx, 7 je XmmCopySmallTest ; ecx = loop count ; edx = remaining copy length ; Copy greater than or equal to 128 bytes using XMM registers align 16 XmmCopyLargeLoop: movdqa xmm0,xmmword ptr [esi] movdqa xmm1,xmmword ptr [esi + 10h] movdqa xmm2,xmmword ptr [esi + 20h] movdqa xmm3,xmmword ptr [esi + 30h] movdqa xmmword ptr [edi],xmm0 movdqa xmmword ptr [edi + 10h],xmm1 movdqa xmmword ptr [edi + 20h],xmm2 movdqa xmmword ptr [edi + 30h],xmm3 movdqa xmm4,xmmword ptr [esi + 40h] movdqa xmm5,xmmword ptr [esi + 50h] movdqa xmm6,xmmword ptr [esi + 60h] movdqa xmm7,xmmword ptr [esi + 70h] movdqa xmmword ptr [edi + 40h],xmm4 movdqa xmmword ptr [edi + 50h],xmm5 movdqa xmmword ptr [edi + 60h],xmm6 movdqa xmmword ptr [edi + 70h],xmm7 lea esi,[esi + 80h] lea edi,[edi + 80h] dec edx jne XmmCopyLargeLoop ; Copy lesser than 128 bytes XmmCopySmallTest: test ecx, ecx je CopyUpReturn ; ecx = length (< 128 bytes) mov edx, ecx shr edx, 5 ; check if there are 32 bytes that can be set test edx, edx je CopyUpDwordMov ; if > 16 bytes do a loop (16 bytes at a time) ; edx - loop count ; edi = dst ; esi = src align 16 XmmCopySmallLoop: movdqu xmm0, xmmword ptr [esi] movdqu xmm1, xmmword ptr [esi + 10h] movdqu xmmword ptr [edi], xmm0 movdqu xmmword ptr [edi + 10h], xmm1 lea esi, [esi + 20h] lea edi, [edi + 20h] dec edx jne XmmCopySmallLoop CopyUpDwordMov: ; last 1-32 bytes: step back according to dst and src alignment and do a 16-byte copy ; esi = src ; eax = src alignment (set at the start of the procedure and preserved up to here) ; edi = dst ; ecx = remaining len and ecx, 1Fh je CopyUpReturn CopyUpDwordTest: mov eax, ecx ; save remaining len and calc number of dwords shr ecx, 2 je CopyUpByteTest ; if none try bytes CopyUpDwordLoop: mov edx, dword ptr [esi] mov dword ptr [edi], edx add edi, 4 add esi, 4 sub ecx, 1 jne CopyUpDwordLoop CopyUpByteTest: mov ecx, eax and ecx, 03h je CopyUpReturn ; if none return CopyUpByteLoop: mov al, byte ptr [esi] mov byte ptr [edi], al inc esi inc edi dec ecx jne CopyUpByteLoop align 16 CopyUpReturn: ; return dst mov eax,[esp + 0Ch] ; return original destination pointer pop esi pop edi M_EXIT ; dst addr is not 16 byte aligned align 16 XmmCopyUnaligned: ; copy the first the first 1-15 bytes to align both src and dst up to the nearest 16-byte boundary: ; in ; esi = src ; edi = dst ; eax = src and dst alignment ; ecx = length mov edx, 010h sub edx, eax ; calculate number of bytes to get it aligned sub ecx, edx ; calc new length and save it push ecx mov eax, edx ; save alignment byte count for dwords mov ecx, eax ; set ecx to rep count and ecx, 03h je XmmAlignDwordTest ; if no bytes go do dwords XmmAlignByte: mov dl, byte ptr [esi] ; move the bytes mov byte ptr [edi], dl inc esi ; increment the addresses inc edi dec ecx ; decrement the counter jne XmmAlignByte XmmAlignDwordTest: shr eax, 2 ; get dword count je XmmAlignAdjustCnt ; if none go to main loop XmmAlignDwordLoop: mov edx, dword ptr [esi] ; move the dwords mov dword ptr [edi], edx lea esi, [esi+4] ; increment the addresses lea edi, [edi+4] dec eax ; decrement the counter jne XmmAlignDwordLoop XmmAlignAdjustCnt: pop ecx ; retrieve the adjusted length jmp XmmCopyAligned _MEM_ endp end
client_collections.ads
cborao/Ada-P2
0
24619
with Ada.Strings.Unbounded; with Lower_Layer_UDP; package Client_Collections is package ASU renames Ada.Strings.Unbounded; package LLU renames Lower_Layer_UDP; type Collection_Type is limited private; Client_Collection_Error: exception; procedure Add_Client (Collection: in out Collection_Type; EP: in LLU.End_Point_Type; Nick: in ASU.Unbounded_String; Unique: in Boolean); procedure Delete_Client (Collection: in out Collection_Type; Nick: in ASU.Unbounded_String); function Search_Client (Collection: in Collection_Type; EP: in LLU.End_Point_Type) return ASU.Unbounded_String; procedure Send_To_All (Collection: in Collection_Type; P_Buffer: access LLU.Buffer_Type); function Collection_Image (Collection: in Collection_Type) return String; private type Cell; type Cell_A is access Cell; type Cell is record Client_EP: LLU.End_Point_Type; Nick: ASU.Unbounded_String; Next: Cell_A; end record; type Collection_Type is record P_First: Cell_A; Total: Natural := 0; end record; end Client_Collections;
lib/wait.asm
ZhUyU1997/BookOS
1
87814
[bits 32] [section .text] INT_VECTOR_SYS_CALL equ 0x80 _NR_WAIT EQU 11 global sub_wait sub_wait: push ebx mov eax, _NR_WAIT mov ebx, [esp + 4 + 4] int INT_VECTOR_SYS_CALL pop ebx ret
_maps/Platforms (unused).asm
kodishmediacenter/msu-md-sonic
9
90763
; --------------------------------------------------------------------------- ; Sprite mappings - unused ; --------------------------------------------------------------------------- Map_Plat_Unused_internal: dc.w @small-Map_Plat_Unused_internal dc.w @large-Map_Plat_Unused_internal @small: dc.b 2 dc.b $F4, $B, 0, $3C, $E8 dc.b $F4, $B, 0, $48, 0 @large: dc.b $A dc.b $F4, $F, 0, $CA, $E0 dc.b 4, $F, 0, $DA, $E0 dc.b $24, $F, 0, $DA, $E0 dc.b $44, $F, 0, $DA, $E0 dc.b $64, $F, 0, $DA, $E0 dc.b $F4, $F, 8, $CA, 0 dc.b 4, $F, 8, $DA, 0 dc.b $24, $F, 8, $DA, 0 dc.b $44, $F, 8, $DA, 0 dc.b $64, $F, 8, $DA, 0 even
Structure/Container/IndexedIterable.agda
Lolirofle/stuff-in-agda
6
14713
<filename>Structure/Container/IndexedIterable.agda open import Type module Structure.Container.IndexedIterable {ℓᵢ} {Index : Type{ℓᵢ}} where import Lvl open import Data open import Data.Boolean open import Data.Boolean.Stmt open import Data.Option import Data.Option.Functions as Option open import Data.Tuple as Tuple using (_⨯_ ; _,_) open import Functional open import Logic.Propositional open import Logic.Predicate open import Numeral.Natural open import Numeral.Natural.Relation.Order open import Relator.Equals private variable ℓ ℓₑ ℓₑ₁ ℓₑ₂ : Lvl.Level private variable T : Type{ℓ} private variable Elem : Type{ℓₑ} private variable i : Index module _ (Iter : Index → Type{ℓ}) where IsEmptyTypeFn = ∀{i} → Iter(i) → Bool IndexStepFn : IsEmptyTypeFn → Type IndexStepFn isEmpty = ∀{i} → (iter : Iter(i)) → (if isEmpty(iter) then Unit else Index) CurrentFn : Type{ℓₑ} → IsEmptyTypeFn → Type CurrentFn Element isEmpty = ∀{i} → (iter : Iter(i)) → (if isEmpty(iter) then Unit else Element) StepFn : Type{ℓₑ} → (isEmpty : IsEmptyTypeFn) → IndexStepFn isEmpty → Type StepFn Element isEmpty indexStep = ∀{i} → (iter : Iter(i)) → Out iter where Out : Iter(i) → Type Out iter with isEmpty iter | indexStep iter ... | 𝑇 | <> = Unit ... | 𝐹 | is = Iter(is) -- An iterator type `Iter` is iterable when there may be elements that the iterator can yield in sequence. -- It should be possible to decide whether the iterator is empty, and when it is not, get the element it points to and advancing to its next state containing the next element in order. record Iterable (Iter : Index → Type{ℓ}) {ℓₑ} : Type{ℓ Lvl.⊔ ℓᵢ Lvl.⊔ Lvl.𝐒(ℓₑ)} where field -- The type of the elements in the iterator. {Element} : Type{ℓₑ} -- Whether there are no elements left in the iterator. isEmpty : IsEmptyTypeFn(Iter) -- The current/frontmost element in the iterator if it is non-empty. current : CurrentFn(Iter) Element isEmpty -- The next iterator index. Advances the index if the iterator is non-empty. {indexStep} : IndexStepFn(Iter) isEmpty -- The next iterator state. Advancing the iterator if it is non-empty. step : StepFn(Iter) Element isEmpty indexStep -- Whether there are at most the given number of elements in the iterator. atMost : ℕ → Iter(i) → Bool atMost(𝟎) iter = isEmpty(iter) atMost(𝐒(n)) iter with isEmpty(iter) | indexStep iter | step iter ... | 𝑇 | <> | <> = 𝑇 ... | 𝐹 | _ | is = atMost(n) is -- Skipping the given number of iterator indices. Advances as many steps as possible. indexWalk : (n : ℕ) → (iter : Iter(i)) → (if(atMost n iter) then Unit else Index) indexWalk {i} 𝟎 iter with isEmpty(iter) ... | 𝑇 = <> ... | 𝐹 = i indexWalk {i} (𝐒(n)) iter with isEmpty(iter) | indexStep iter | step iter ... | 𝑇 | <> | <> = <> ... | 𝐹 | _ | iters = indexWalk n iters WalkFn : Type WalkFn = ∀{i} → (n : ℕ) → (iter : Iter(i)) → Out n iter where Out : ℕ → Iter(i) → Type Out n iter with atMost n iter | indexWalk n iter ... | 𝑇 | <> = Unit ... | 𝐹 | is = Iter(is) {- walk : WalkFn walk(𝟎) iter with isEmpty(iter) ... | 𝑇 = <> ... | 𝐹 = iter walk(𝐒(n)) iter with isEmpty(iter) | indexStep iter | step iter | walk n iter ... | 𝑇 | <> | <> | _ = <> ... | 𝐹 | _ | iters | iters2 = ? -- walk n iters -} Foldᵣ : ∀{ℓ} → Type{ℓ} → Type Foldᵣ(T) = ∀{i} → (Element → T → T) → T → Iter(i) → T FoldᵣCriteria : Foldᵣ(T) → (∀{i} → (Element → T → T) → T → Iter(i) → Type) FoldᵣCriteria foldᵣ(_▫_) id iter with isEmpty iter | indexStep iter | current iter | step iter ... | 𝑇 | <> | <> | <> = (foldᵣ(_▫_) id iter ≡ id) ... | 𝐹 | _ | x | iters = (foldᵣ(_▫_) id iter ≡ x ▫ foldᵣ(_▫_) id iters) -- An iterator is finite when it is possible to fold it (when a fold function exists). -- This works because a fold for an infinite iterator cannot terminate, and only terminating functions exist. -- TODO: But it seems to be impossible to define a "foldUntil" function (though it is up to function extensionality). Finite = ∀{ℓ}{T : Type{ℓ}} → ∃{Obj = Foldᵣ(T)}(foldᵣ ↦ ∀{i}{_▫_}{id : T}{iter : Iter(i)} → FoldᵣCriteria (\{i}(_▫_) id → foldᵣ{i}(_▫_) id) (_▫_) id iter) module _ ⦃ fin : Finite ⦄ where foldᵣ : ∀{i} → (Element → T → T) → T → Iter(i) → T foldᵣ = [∃]-witness fin length : ∀{i} → Iter(i) → ℕ length = foldᵣ(const 𝐒) 𝟎 count : ∀{i} → (Element → Bool) → Iter(i) → ℕ count(P) = foldᵣ(x ↦ if P(x) then 𝐒 else id) 𝟎 foldₗ : (T → Element → T) → T → Iter(i) → T foldₗ(_▫_) = swap(foldᵣ(y ↦ f ↦ x ↦ f(x ▫ y)) id) last : ∀{i} → Iter(i) → Option(Element) last = foldₗ(const Some) None -- Note: Below are possibly inefficient implementations of functions because if they were guaranteed to exit early, the number of computations would be reduced. first : ∀{i} → Iter(i) → Option(Element) first = foldᵣ(const ∘ Some) None -- TODO: Complete = Surjective(step) record Initialed (i : Index) : Type{ℓᵢ Lvl.⊔ ℓ} where constructor initialed eta-equality field iter : Iter(i) left : ℕ Initialed-iterable : Iterable(Initialed) Element Initialed-iterable = Element isEmpty Initialed-iterable (initialed iter 𝟎) = 𝑇 current Initialed-iterable (initialed iter 𝟎) = <> indexStep Initialed-iterable (initialed iter 𝟎) = <> step Initialed-iterable (initialed iter 𝟎) = <> isEmpty Initialed-iterable (initialed iter (𝐒(_))) = isEmpty iter current Initialed-iterable (initialed iter (𝐒(_))) = current iter indexStep Initialed-iterable (initialed iter (𝐒(_))) = indexStep iter step Initialed-iterable (initialed iter (𝐒(n))) with isEmpty iter | indexStep iter | step iter ... | 𝑇 | _ | _ = <> ... | 𝐹 | _ | sIter = initialed sIter n {- record Skipped (i : Index) : Type{ℓᵢ Lvl.⊔ ℓ} where constructor skipped eta-equality field iter : Iter(i) still : ℕ Skipped-iterable : Iterable(Skipped) Element Skipped-iterable = Element isEmpty Skipped-iterable (skipped iter 𝟎) = 𝑇 current Skipped-iterable (skipped iter 𝟎) = <> indexStep Skipped-iterable (skipped iter 𝟎) = <> step Skipped-iterable (skipped iter 𝟎) = <> isEmpty Skipped-iterable (skipped iter (𝐒(_))) = isEmpty (walk (𝐒(n)) iter) current Skipped-iterable (skipped iter (𝐒(_))) = current (walk (𝐒(n)) iter) indexStep Skipped-iterable (skipped iter (𝐒(_))) = indexStep (walk (𝐒(n)) iter) step Skipped-iterable (skipped iter (𝐒(n))) with isEmpty iter | indexStep iter | step iter -} mapped : (Element → Elem) → Iterable(Iter) Element (mapped {Elem = Elem} f) = Elem isEmpty (mapped f) = isEmpty current (mapped f) iter with isEmpty iter | current iter ... | 𝑇 | <> = <> ... | 𝐹 | x = f(x) indexStep (mapped f) iter = indexStep iter step (mapped f) iter = step iter {-record Stored (n : ℕ) {Iter : Index → Type{ℓ₁}} (iterable : Iterable(Iter)) : Type where field Queue(Iterator.Element(iterable)) -} {- TODO: Also needs to store data, so it cannot be the same Iter skipped : ℕ → Iterator{ℓₑ} → Iterator Iterator.Element (skipped _ iterator) = Iterator.Element iterator Iterator.isEmpty (skipped n iterator) = Iterator.atMost n iterator Iterator.current (skipped _ iterator) = Iterator.indexStep (skipped iterator) = Iterator.step (skipped iterator) = -} {- skipped : ℕ → ∀{iter} → Iterable{ℓₑ}(iter) → Iterable(iter) skipped 𝟎 iterable = iterable skipped (𝐒 n) iterable = {!!} -} -- An empty iterator of the iterable. EmptyConstruction : ∀{i} → Iter(i) → Type EmptyConstruction(empty) = IsTrue(isEmpty empty) -- A function prepending an element to an iterator of the iterable. PrependConstruction : ∀{indexPrepend : ∀{i} → Element → Iter(i) → Index} → (∀{i} → (x : Element) → (iter : Iter(i)) → Iter(indexPrepend x iter)) → Type PrependConstruction{indexPrepend} (prepend) = ∀{i}{x}{iter : Iter(i)} → ∃{Obj = IndexStep x iter}(Out x iter) where IndexStep : Element → Iter(i) → Type IndexStep{i} x iter with isEmpty(prepend x iter) | indexStep(prepend x iter) ... | 𝑇 | _ = Empty ... | 𝐹 | p = (p ≡ i) Out : (x : Element) → (iter : Iter(i)) → IndexStep x iter → Type Out x iter stepProof with isEmpty(prepend x iter) | indexStep(prepend x iter) | current(prepend x iter) | step(prepend x iter) ... | 𝐹 | _ | cur | st with [≡]-intro ← stepProof = (x ≡ cur) ∧ (st ≡ iter) module _ {indexEmpty}{empty} ⦃ empty-construciton : EmptyConstruction{indexEmpty}(empty) ⦄ {indexPrepend : ∀{i} → Element → Iter(i) → Index} {prepend : ∀{i} → (x : Element) → (iter : Iter(i)) → Iter(indexPrepend x iter)} ⦃ prepend-construction : PrependConstruction{indexPrepend}(prepend) ⦄ where singleton : (x : Element) → Iter(indexPrepend x empty) singleton x = prepend x empty
scripts/SafariZoneCenterRestHouse.asm
opiter09/ASM-Machina
1
4262
<reponame>opiter09/ASM-Machina SafariZoneCenterRestHouse_Script: jp EnableAutoTextBoxDrawing SafariZoneCenterRestHouse_TextPointers: dw SafariZoneRestHouse1Text1 dw SafariZoneRestHouse1Text2 SafariZoneRestHouse1Text1: text_far _SafariZoneRestHouse1Text1 text_end SafariZoneRestHouse1Text2: text_far _SafariZoneRestHouse1Text2 text_end
src/util-beans-basic-lists.adb
Letractively/ada-util
0
8350
----------------------------------------------------------------------- -- Util.Beans.Basic.Lists -- List bean given access to a vector -- Copyright (C) 2011, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- 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. ----------------------------------------------------------------------- with Ada.Unchecked_Deallocation; package body Util.Beans.Basic.Lists is -- ------------------------------ -- Initialize the list bean. -- ------------------------------ overriding procedure Initialize (Object : in out List_Bean) is Bean : constant Readonly_Bean_Access := Object.Current'Unchecked_Access; begin Object.Row := Util.Beans.Objects.To_Object (Bean, Util.Beans.Objects.STATIC); end Initialize; -- ------------------------------ -- Get the number of elements in the list. -- ------------------------------ function Get_Count (From : in List_Bean) return Natural is begin return Natural (Vectors.Length (From.List)); end Get_Count; -- ------------------------------ -- Set the current row index. Valid row indexes start at 1. -- ------------------------------ procedure Set_Row_Index (From : in out List_Bean; Index : in Natural) is begin From.Current_Index := Index; From.Current := Vectors.Element (From.List, Index - 1); end Set_Row_Index; -- ------------------------------ -- Returns the current row index. -- ------------------------------ function Get_Row_Index (From : in List_Bean) return Natural is begin return From.Current_Index; end Get_Row_Index; -- ------------------------------ -- Get the element at the current row index. -- ------------------------------ function Get_Row (From : in List_Bean) return Util.Beans.Objects.Object is begin return From.Row; end Get_Row; -- ------------------------------ -- Get the value identified by the name. -- If the name cannot be found, the method should return the Null object. -- ------------------------------ function Get_Value (From : in List_Bean; Name : in String) return Util.Beans.Objects.Object is begin if Name = "count" then return Util.Beans.Objects.To_Object (Integer (From.List.Length)); elsif Name = "rowIndex" then return Util.Beans.Objects.To_Object (From.Current_Index); else return Util.Beans.Objects.Null_Object; end if; end Get_Value; -- ------------------------------ -- Deletes the list bean -- ------------------------------ procedure Free (List : in out Util.Beans.Basic.Readonly_Bean_Access) is procedure Free is new Ada.Unchecked_Deallocation (List_Bean'Class, List_Bean_Access); begin if List.all in List_Bean'Class then declare L : List_Bean_Access := List_Bean (List.all)'Unchecked_Access; begin Free (L); List := null; end; end if; end Free; end Util.Beans.Basic.Lists;
oeis/188/A188707.asm
neoneye/loda-programs
11
247000
; A188707: Number of 3 X n binary arrays without the pattern 0 0 diagonally or vertically. ; 5,21,90,387,1665,7164,30825,132633,570690,2455551,10565685,45461772,195611805,841673709,3621533130,15582644523,67048623225,288495182556,1241330043105,5341164667857,22981833209970,98885672046279,425482860601485,1830757286868588,7877337852538485,33894417402086661,145840073452817850,627517115057829267,2700065354930692785,11617775429479976124,49988681082607802265,215090079124599082953,925484352375172007970,3982151524502062790991,17134304565384797931045,73725068253417801282252 mov $1,5 mov $2,2 lpb $0 sub $0,1 add $1,$2 add $2,$1 mul $1,3 lpe mov $0,$1
3-mid/opengl/source/lean/model/opengl-model-polygon-lit_colored.ads
charlie5/lace-alire
1
30679
<reponame>charlie5/lace-alire<filename>3-mid/opengl/source/lean/model/opengl-model-polygon-lit_colored.ads with openGL.Model, openGL.Font, openGL.Geometry; package openGL.Model.polygon.lit_colored -- -- Models a lit, colored polygon. -- is type Item is new Model.polygon.item with private; type View is access all Item'Class; --------- --- Forge -- function new_Polygon (Vertices : in Vector_2_array; Color : in lucid_Color) return View; -------------- --- Attributes -- overriding function to_GL_Geometries (Self : access Item; Textures : access Texture.name_Map_of_texture'Class; Fonts : in Font.font_id_Map_of_font) return Geometry.views; private type Item is new Model.polygon.item with record Color : lucid_Color; Vertices : Vector_2_array (1 .. 8); vertex_Count : Natural := 0; end record; end openGL.Model.polygon.lit_colored;
programs/oeis/085/A085539.asm
karttu/loda
1
94291
<gh_stars>1-10 ; A085539: a(n) = n^6 - n^5. ; 0,0,32,486,3072,12500,38880,100842,229376,472392,900000,1610510,2737152,4455516,6991712,10631250,15728640,22717712,32122656,44569782,60800000,81682020,108226272,141599546,183140352,234375000,297034400,373071582,464679936,574312172,704700000,858874530,1040187392,1252332576,1499368992,1785743750,2116316160,2496382452,2931701216,3428519562,3993600000,4634248040,5358340512,6174354606,7091397632,8119237500,9268333920,10549870322,11975786496,13558811952,15312500000,17251262550,19390405632,21746165636,24335746272,27177356250,30290247680,33694755192,37412335776,41465609342,45878400000,50675778060,55884102752,61531065666,67645734912,74258600000,81401617440,89108257062,97413549056,106354131732,115968300000,126296054570,137379151872,149261154696,161987483552,175605468750,190164403200,205715595932,222312426336,240010399122,258867200000,278942752080,300299272992,323001332726,347115912192,372712462500,399862964960,428641991802,459126767616,491397231512,525536100000,561628930590,599764186112,640033299756,682530740832,727354081250,774604062720,824384664672,876803172896,931970248902,990000000000,1051010050100,1115121611232,1182459555786,1253152489472,1327332825000,1405136856480,1486704834542,1572181042176,1661713871292,1755455900000,1853563970610,1956199268352,2063527400816,2175718478112,2292947193750,2415392906240,2543239721412,2676676575456,2815897318682,2961100800000,3112490952120,3270276877472,3434672934846,3605898826752,3784179687500,3969746172000,4162834545282,4363686772736,4572550611072,4789679700000,5015333654630,5249778158592,5493285057876,5746132455392,6008604806250,6280993013760,6563594526152,6856713434016,7160660568462,7475753600000,7802317138140,8140682831712,8491189469906,8854183084032,9230017050000,9619052191520,10021656884022,10438207159296,10869086810852,11314687500000,11775408862650,12251658616832,12743852670936,13252415232672,13777778918750,14320384865280,14880682838892,15459131348576,16056197758242,16672358400000,17308098688160,17963913233952,18640305960966,19337790221312,20056888912500,20798134595040,21562069610762,22349246201856,23160226630632,23995583300000,24855898874670,25741766403072,26653789439996,27592582169952,28558769531250,29552987340800,30575882419632,31628112719136,32710347448022,33823267200000,34967564082180,36143941844192,37353116008026,38595813998592,39872775275000,41184751462560,42532506485502,43916816700416,45338471030412,46798271100000,48297031370690,49835579277312,51414755365056,53035413427232,54698420643750,56404657720320,58155019028372,59950412745696,61791760997802,63680000000000,65616080200200,67600966422432,69635638011086,71721088975872,73858328137500,76048379274080,78292281268242,80591088254976,82945869770192,85357710900000,87827712430710,90356990999552,92946679246116,95597925964512,98311896256250,101089771683840,103932750425112,106842047428256,109818894567582,112864540800000,115980252322220,119167312728672,122427023170146,125760702513152,129169687500000,132655332909600,136219011718982,139862115265536,143586053409972,147392254700000,151282166534730,155257255329792,159319006683176,163468925541792,167708536368750,172039383311360,176463030369852,180981061566816,185595081117362,190306713600000,195117604128240,200029418522912,205043843485206,210162586770432,215387377362500,220719965649120,226162123597722,231715644932096,237382345309752 mov $1,$0 pow $0,5 sub $1,1 mul $1,$0
alloy4fun_models/trashltl/models/9/8u5QErNqqriBAreb5.als
Kaixi26/org.alloytools.alloy
0
3667
<gh_stars>0 open main pred id8u5QErNqqriBAreb5_prop10 { (all f:File | always(after f in Protected)) } pred __repair { id8u5QErNqqriBAreb5_prop10 } check __repair { id8u5QErNqqriBAreb5_prop10 <=> prop10o }
programs/oeis/065/A065384.asm
neoneye/loda
22
98099
<reponame>neoneye/loda ; A065384: Largest prime <= n * (n + 1) / 2. ; 3,5,7,13,19,23,31,43,53,61,73,89,103,113,131,151,167,181,199,229,251,271,293,317,349,373,401,433,463,491,523,557,593,619,661,701,739,773,811,859,887,941,983,1033,1069,1123,1171,1223,1259,1321,1373,1429,1483,1531,1583,1637,1709,1759,1823,1889,1951,2011,2069,2143,2207,2273,2341,2411,2477,2551,2621,2699,2767,2843,2917,3001,3079,3137,3229,3319,3391,3469,3559,3643,3739,3823,3911,4003,4093,4177,4273,4363,4463,4549,4651,4751,4831,4943,5039,5147 add $0,3 bin $0,2 sub $0,1 lpb $0 mov $2,$0 seq $2,5171 ; Characteristic function of nonprimes: 0 if n is prime, else 1. sub $0,$2 lpe add $0,1
WordSort.asm
CrSeth/WordSort
0
97389
<reponame>CrSeth/WordSort ;------------------------------------------------------- ;This program adds 10 words of maximum 10 chars ;to a two dimensional array. The array of words is ;shown on screen then the words are sorted alphabetically ;using select sort and displayed again in their ordered form. ; ;--- ;Instituto Tecnologico de Costa Rica - 2015 ;Course: Computer Achitecture ;------------------------------------------------------- %include "io.mac" .DATA nonOrderedMsg db "Ten unordered Words are: ",0 orderedMsg db "The ten words ordered alphabetically: ",0 ;10 words of 10bytes MAX each starts here word1 db "zoo", 0 ;word 1 word2 db "animal", 0 ;word N word3 db "car", 0 ;if exactly 10 chars no need for 0 word4 db "zoo", 0 ;word N word5 db "ball", 0 ;word N word6 db "HOLA", 0 ;word N word7 db "gato", 0 ;word N word8 db "Costa Rica" ;word N word9 db "Arduino", 0 ;word N word10 db "Dota", 0 ;word 10 .UDATA ;Undefined data segment wordBuffer resb 10 ;used to swap word order arround wordArray resb 100 ;load words into here, fill with 0 .CODE ;Code segment .STARTUP ;Tell compiler start here call loadWords ;load the words into the array call showNonOrdered ;show the words unordered in the array mov esi, wordArray ;point esi to beginning of array call sortArrayInit ;sort the array alphabetically using selection sort call showOrdered ;show the ordered array jmp END ;end program END: .EXIT ;el OS program is done running ;------------------------------------------------------- ;Procedure Save the 10 words into arrayBlock. ;------------------------------------------------------- loadWords: ;load words intro array pushad ;save registers mov esi, wordArray ;point esi to first byte in array mov ebx, word1 ;poit ebx to the first byte in word to copy over mov cx, 11 ;10 words to loop over and we dec at start so 11 sub esi, 10 ;mov esi back 10 because we are going to add 10 next loadWordsLoop: add esi, 10 ;move esi one word forward every time we loop xor edx, edx ;clean the edx dec cx ;reduce the counter we stop at 0 je doneLoad ;finished copying when cx 0 movCharsLoop: ;mov all cahrs in word mov ah, [ebx] ;align get our char mov [esi+edx],ah ;move the char byte over into array from ah inc ebx ;move to next char inc edx ;increment the index in the sub array(word) cmp edx, 10 ;when index is 10 we finished copying all the bytes in the word je loadWordsLoop ;copy over the next word cmp ah, 0 ;if end of word go to next word je loadWordsLoop ;if we counted through 10 chars then also go to next word jmp movCharsLoop ;when 0 stop looping doneLoad: popad ;restore registers ret ;return to where procedure was called from ;------------------------------------------------------- ;Procedure to sort words in the array / Uses Selection Sort ;ESI needs to point to first word in array ;------------------------------------------------------- sortArrayInit: ;sort the words in the array alphabetically pushad sub esi, 10 ;we add 10 in first run get word so we need to align xor ecx, ecx ;ch we use as upper 10 loop cl lower 10 loop getWord: ;Get each word to be compared / OUTER LOOP add esi, 10 ;move the outer loop one word foward mov ebx, esi ;point ebx to same word call compareWord ;compare word in esi with all words after and swap if order is wrong inc ecx ;inc the counter cmp ecx, 9 ;times to loop outer one less than array len jl getWord ;loop will counter less than ecx doneSorting: popad ;restore registers ret ;return to where procedure was called from compareWord: ;INNER compare loop push ecx ;save counter inc ecx ;use same compareWordInit: add ebx, 10 ;move through words in inner loop call cmpStr ;compare esi str with ebx cmp eax, 1 ;eax 1 if ebx word comes before je comparingSwapStr ;we need to swap the two strings compareContinue: ;tag so we can jump back here after a swap inc ecx ;inc the counter cmp ecx, 10 ;end of inner loop jl compareWordInit ;whil counter is less than 10 doneComparing: pop ecx ;restore outer loop counter ret ;return to procedure caller comparingSwapStr: call swapStr ;swap esi str with ebx in array jmp compareContinue ;jump back to word comparing inner loop ;------------------------------------------------------- ;Procedure to compare two strings alphabetically ;ESI needs to point to first word, EBX to second word ;RETURN EAX: 0 (are equal), 1 EBX comes first, -1 ESI comes first ;------------------------------------------------------- cmpStr: push esi ;save outer loop word pointer push ebx ;save inner loop word pointer push ecx ;save counter xor ecx, ecx ;zero out counter cmpStrLoop: mov ah, [esi] ;move first char in esi mov al, [ebx] ;move first char in ebx inc esi ;inc the pointer to next char inc ebx ;inc the ebx pointer to next char in word inc ecx ;inc the loop counter or al, 20h ;change 5bit to 1 | Lower Case ASCII or ah, 20h ;do same to other char cmp ah, al ;compare the two chars jg ebxFirst ;if ah is greater than we need to swap jl esiFirst ;if al is greater than we are fine ;word ESI points to needs to be smaller it is first in array ;if we checked all the chars in both strings cmp ecx, 10 ;reach end of both words? je areEqual ;then both are equal jmp cmpStrLoop ;if we make it here both chars are equal esiFirst: mov eax, -1 ;mov -1 to eax to let caller know esi is smaller jmp endCmp ;we are done ebxFirst: mov eax, 1 ;mov 1 to eax to let caller know esi is greate, need swap jmp endCmp ;we are done areEqual: mov eax, 0 ;mov 0 to eax because both words are equal endCmp: pop ecx ;give these back pop ebx pop esi ret ;end procedure ;------------------------------------------------------- ;Procedure to swap two strings position in array ;Swaps what ebx points to with esi str ;------------------------------------------------------- swapStr: pushad ;store registers push esi ;save pointer to first word push ebx ;save pointer to second word mov esi, ebx ;esi point secon str mov ebx, wordBuffer ;ebx to point to wordbuffer call movWordBuffer ;move second str to wordBuffer pop ebx ;get pointers back pop esi ;move esi to str to second str location call movWordBuffer ;moves 10 char esi str to ebx location ;move what is in buffer to esi push esi push ebx mov ebx, esi ;now we move to beginning of array, "smaller" word mov esi, wordBuffer ;point esi to buffer space call movWordBuffer ;mov whats in the buffer to ebx pop ebx ;restore these pop esi popad ;restore all registers and end procedure ret ;return to caller ;------------------------------------------------------- ;Procedure to move a word to buffer ;Moves 10char word saved being point to by ESI to ebx ;------------------------------------------------------- movWordBuffer: ;move a 10 char word pointed to by esi to ebx pushad xor cx, cx ;save registers and clear counter movWordBufferLoop: mov ah,[esi] ;copy over each char mov [ebx], ah inc ebx ;inc pointer to next char inc esi ;inc pointer to next char inc cx ;inc loop counter cmp cx, 10 ;loop 10 times because 10 chars in each word jne movWordBufferLoop ;while not 10 keep looping finishWordBufferMov: ;end procedure and restore registers popad ret ;retun to caller ;------------------------------------------------------- ;Procedure to show what is in the array ;------------------------------------------------------- showNonOrdered: ;show undored msg then jump to procedure to show array nwln ;a new line on print PutStr nonOrderedMsg ;print Ordered Msg nwln ;print a new line jmp showWordsInit ;now print what is in the array showOrdered: ;show ordered msg then proceed to showWords nwln ;print a new line PutStr orderedMsg ;print the Ordered msg to user nwln ;print a new line showWordsInit: ;shows all the words in the array pushad ;save all the registers mov cx, 11 ;10 words to display mov esi, wordArray ;point esi to beginning of esi sub esi, 10 ;move esi back one word because we add 10 next showWords: xor edx, edx ;use as index add esi, 10 ;move esi foward one word every time we loop showChars: PutCh [esi+edx] ;show char in word (esi) + index (edx) char inc edx ;inc the index /char pointer cmp edx ,10 ;did we reach en of word? jne showChars ;if not keep printing nwln ;print a new line dec cx ;dec our loop counter jne showWords ;if not done print another word popad ;restore registers ret ;end precedure
src/static/antlr4/grammars/LexicalDeclaration.g4
jlenoble/ecmascript-parser
0
6790
/* Source: ECMAScript® 2018 Language Specification - Annex A-3 */ grammar LexicalDeclaration; // LexicalDeclaration[In, Yield, Await]: // LetOrConst BindingList[?In, ?Yield, ?Await] ; lexicalDeclaration : letOrConst bindingList eos ; // LetOrConst: // let // const letOrConst : Let | Const ; // BindingList[In, Yield, Await]: // LexicalBinding[?In, ?Yield, ?Await] // BindingList[?In, ?Yield, ?Await] , LexicalBinding[?In, ?Yield, ?Await] bindingList : lexicalBinding (Comma lexicalBinding)* ; // LexicalBinding[In, Yield, Await]: // BindingIdentifier[?Yield, ?Await] Initializer[?In, ?Yield, ?Await][opt] // BindingPattern[?Yield, ?Await] Initializer[?In, ?Yield, ?Await] lexicalBinding : bindingIdentifier initializer? | bindingPattern initializer ;
PIC/mikroC/Projects/PIC18F4550/PWM.asm
UdayanSinha/Code_Blocks
3
178373
<filename>PIC/mikroC/Projects/PIC18F4550/PWM.asm _main: ;PWM.c,1 :: void main(void) ;PWM.c,4 :: TRISC=0xFB; //RC2 is output MOVLW 251 MOVWF TRISC+0 ;PWM.c,5 :: PWM1_Init(10000); //10kHz PWM BSF T2CON+0, 0, 0 BCF T2CON+0, 1, 0 MOVLW 124 MOVWF PR2+0, 0 CALL _PWM1_Init+0, 0 ;PWM.c,6 :: PWM1_Start(); //start PWM CALL _PWM1_Start+0, 0 ;PWM.c,7 :: while(1) L_main0: ;PWM.c,9 :: for(i=0; i<=255; i++) CLRF main_i_L0+0 L_main2: MOVF main_i_L0+0, 0 SUBLW 255 BTFSS STATUS+0, 0 GOTO L_main3 ;PWM.c,11 :: PWM1_Set_Duty(i); MOVF main_i_L0+0, 0 MOVWF FARG_PWM1_Set_Duty_new_duty+0 CALL _PWM1_Set_Duty+0, 0 ;PWM.c,12 :: Delay_ms(50); MOVLW 2 MOVWF R11, 0 MOVLW 69 MOVWF R12, 0 MOVLW 169 MOVWF R13, 0 L_main5: DECFSZ R13, 1, 1 BRA L_main5 DECFSZ R12, 1, 1 BRA L_main5 DECFSZ R11, 1, 1 BRA L_main5 NOP NOP ;PWM.c,9 :: for(i=0; i<=255; i++) INCF main_i_L0+0, 1 ;PWM.c,13 :: } GOTO L_main2 L_main3: ;PWM.c,14 :: } GOTO L_main0 ;PWM.c,15 :: } L_end_main: GOTO $+0 ; end of _main
core/model/src/main/antlr/au/com/dius/pact/core/model/matchingrules/expressions/MatcherDefinition.g4
michaelbannister/pact-jvm
127
1724
grammar MatcherDefinition; @header { package au.com.dius.pact.core.model.matchingrules.expressions; import au.com.dius.pact.core.model.matchingrules.*; import au.com.dius.pact.core.model.generators.Generator; import au.com.dius.pact.core.support.Either; import java.util.Arrays; } /** * Parse a matcher expression into a MatchingRuleDefinition containing the example value, matching rules and any generator. * The following are examples of matching rule definitions: * * `matching(type,'Name')` - type matcher * * `matching(number,100)` - number matcher * * `matching(datetime, 'yyyy-MM-dd','2000-01-01')` - datetime matcher with format string **/ matchingDefinition returns [ MatchingRuleDefinition value ] : matchingDefinitionExp { $value = $matchingDefinitionExp.value; } ( COMMA e=matchingDefinitionExp { if ($value != null) { $value = $value.merge($e.value); } } )* EOF ; matchingDefinitionExp returns [ MatchingRuleDefinition value ] : ( 'matching' LEFT_BRACKET matchingRule RIGHT_BRACKET { if ($matchingRule.reference != null) { $value = new MatchingRuleDefinition($matchingRule.value, $matchingRule.reference, $matchingRule.generator); } else { $value = new MatchingRuleDefinition($matchingRule.value, $matchingRule.rule, $matchingRule.generator); } } | 'notEmpty' LEFT_BRACKET primitiveValue RIGHT_BRACKET { $value = new MatchingRuleDefinition($primitiveValue.value, NotEmptyMatcher.INSTANCE, null).withType($primitiveValue.type); } | 'eachKey' LEFT_BRACKET e=matchingDefinitionExp RIGHT_BRACKET { if ($e.value != null) { $value = new MatchingRuleDefinition(null, new EachKeyMatcher($e.value), null); } } | 'eachValue' LEFT_BRACKET e=matchingDefinitionExp RIGHT_BRACKET { if ($e.value != null) { $value = new MatchingRuleDefinition(null, ValueType.Unknown, List.of((Either<MatchingRule, MatchingReference>) new Either.A(new EachValueMatcher($e.value))), null); } } ) ; matchingRule returns [ String value, ValueType type, MatchingRule rule, Generator generator, MatchingReference reference ] : ( ( 'equalTo' { $rule = EqualsMatcher.INSTANCE; } | 'type' { $rule = TypeMatcher.INSTANCE; } ) COMMA v=primitiveValue { $value = $v.value; $type = $v.type; } ) | 'number' { $rule = new NumberTypeMatcher(NumberTypeMatcher.NumberType.NUMBER); } COMMA val=( DECIMAL_LITERAL | INTEGER_LITERAL ) { $value = $val.getText(); $type = ValueType.Number; } | 'integer' { $rule = new NumberTypeMatcher(NumberTypeMatcher.NumberType.INTEGER); } COMMA val=INTEGER_LITERAL { $value = $val.getText(); $type = ValueType.Integer; } | 'decimal' { $rule = new NumberTypeMatcher(NumberTypeMatcher.NumberType.DECIMAL); } COMMA val=DECIMAL_LITERAL { $value = $val.getText(); $type = ValueType.Decimal; } | matcherType=( 'datetime' | 'date' | 'time' ) COMMA format=string { if ($matcherType.getText().equals("datetime")) { $rule = new TimestampMatcher($format.contents); } if ($matcherType.getText().equals("date")) { $rule = new DateMatcher($format.contents); } if ($matcherType.getText().equals("time")) { $rule = new TimeMatcher($format.contents); } } COMMA s=string { $value = $s.contents; $type = ValueType.String; } | 'regex' COMMA r=string COMMA s=string { $rule = new RegexMatcher($r.contents); $value = $s.contents; $type = ValueType.String; } | 'include' COMMA s=string { $rule = new IncludeMatcher($s.contents); $value = $s.contents; $type = ValueType.String; } | 'boolean' COMMA BOOLEAN_LITERAL { $rule = BooleanMatcher.INSTANCE; $value = $BOOLEAN_LITERAL.getText(); $type = ValueType.Boolean; } | 'semver' COMMA s=string { $rule = SemverMatcher.INSTANCE; $value = $s.contents; $type = ValueType.String; } | 'contentType' COMMA ct=string COMMA s=string { $rule = new ContentTypeMatcher($ct.contents); $value = $s.contents; $type = ValueType.Unknown; } | DOLLAR ref=string { $reference = new MatchingReference($ref.contents); $type = ValueType.Unknown; } ; primitiveValue returns [ String value, ValueType type ] : string { $value = $string.contents; $type = ValueType.String; } | v=DECIMAL_LITERAL { $value = $v.getText(); $type = ValueType.Decimal; } | v=INTEGER_LITERAL { $value = $v.getText(); $type = ValueType.Integer; } | v=BOOLEAN_LITERAL { $value = $v.getText(); $type = ValueType.Boolean; } ; string returns [ String contents ] : STRING_LITERAL { String contents = $STRING_LITERAL.getText(); $contents = contents.substring(1, contents.length() - 1); } | 'null' ; INTEGER_LITERAL : '-'? DIGIT+ ; DECIMAL_LITERAL : '-'? DIGIT+ '.' DIGIT+ ; fragment DIGIT : [0-9] ; LEFT_BRACKET : '(' ; RIGHT_BRACKET : ')' ; STRING_LITERAL : '\'' (~['])* '\'' ; BOOLEAN_LITERAL : 'true' | 'false' ; COMMA : ',' ; DOLLAR : '$'; WS : [ \t\n\r] + -> skip ;
legacy-core/src/main/resources/Core.ads
greifentor/archimedes-legacy
0
16632
<Diagramm> <AdditionalSQLCode> <SQLCode>$BR$/* Creating the standard maps. */$BR$INSERT INTO "Map" ("Id", "Description", "Name", "Token") VALUES (1, 'Unknown map', 'Unknown', 'Unknown');$BR$INSERT INTO "Map" ("Id", "Description", "Name", "Token") VALUES (2, 'Unmapped map', 'Unmapped', 'Unmapped');$BR$$BR$/* Mark the entires written by the application as created by the customer. */$BR$UPDATE "ConfigurationEntry" SET "CreatedByCustomer"=TRUE WHERE "Key"='Core.core.buildDate';$BR$UPDATE "ConfigurationEntry" SET "CreatedByCustomer"=TRUE WHERE "Key"='Core.isis.core.application.version';$BR$UPDATE "ConfigurationEntry" SET "CreatedByCustomer"=TRUE WHERE "Key"='Core.isis.core.database.version';$BR$UPDATE "ConfigurationEntry" SET "CreatedByCustomer"=TRUE WHERE "Key"='Core.isis.first.start.done';$BR$</SQLCode> </AdditionalSQLCode> <Colors> <Anzahl>23</Anzahl> <Color0> <B>255</B> <G>0</G> <Name>blau</Name> <R>0</R> </Color0> <Color1> <B>221</B> <G>212</G> <Name>blaugrau</Name> <R>175</R> </Color1> <Color10> <B>192</B> <G>192</G> <Name>hellgrau</Name> <R>192</R> </Color10> <Color11> <B>255</B> <G>0</G> <Name>kamesinrot</Name> <R>255</R> </Color11> <Color12> <B>0</B> <G>200</G> <Name>orange</Name> <R>255</R> </Color12> <Color13> <B>255</B> <G>247</G> <Name>pastell-blau</Name> <R>211</R> </Color13> <Color14> <B>186</B> <G>245</G> <Name>pastell-gelb</Name> <R>255</R> </Color14> <Color15> <B>234</B> <G>255</G> <Name>pastell-gr&amp;uuml;n</Name> <R>211</R> </Color15> <Color16> <B>255</B> <G>211</G> <Name>pastell-lila</Name> <R>244</R> </Color16> <Color17> <B>191</B> <G>165</G> <Name>pastell-rot</Name> <R>244</R> </Color17> <Color18> <B>175</B> <G>175</G> <Name>pink</Name> <R>255</R> </Color18> <Color19> <B>0</B> <G>0</G> <Name>rot</Name> <R>255</R> </Color19> <Color2> <B>61</B> <G>125</G> <Name>braun</Name> <R>170</R> </Color2> <Color20> <B>0</B> <G>0</G> <Name>schwarz</Name> <R>0</R> </Color20> <Color21> <B>255</B> <G>255</G> <Name>t&amp;uuml;rkis</Name> <R>0</R> </Color21> <Color22> <B>255</B> <G>255</G> <Name>wei&amp;szlig;</Name> <R>255</R> </Color22> <Color3> <B>64</B> <G>64</G> <Name>dunkelgrau</Name> <R>64</R> </Color3> <Color4> <B>84</B> <G>132</G> <Name>dunkelgr&amp;uuml;n</Name> <R>94</R> </Color4> <Color5> <B>0</B> <G>255</G> <Name>gelb</Name> <R>255</R> </Color5> <Color6> <B>0</B> <G>225</G> <Name>goldgelb</Name> <R>255</R> </Color6> <Color7> <B>128</B> <G>128</G> <Name>grau</Name> <R>128</R> </Color7> <Color8> <B>0</B> <G>255</G> <Name>gr&amp;uuml;n</Name> <R>0</R> </Color8> <Color9> <B>255</B> <G>212</G> <Name>hellblau</Name> <R>191</R> </Color9> </Colors> <ComplexIndices> <IndexCount>0</IndexCount> </ComplexIndices> <DataSource> <Import> <DBName></DBName> <Description></Description> <Domains>false</Domains> <Driver></Driver> <Name></Name> <Referenzen>false</Referenzen> <User></User> </Import> <Update> <DBMode>POSTGRESQL</DBMode> <DBName>jdbc:postgresql://mykene/ISIS_CURRENT_SCHEME</DBName> <Description></Description> <DomainFaehig>false</DomainFaehig> <Driver>org.postgresql.Driver</Driver> <FkNotNullBeachten>true</FkNotNullBeachten> <Name></Name> <Quote>"</Quote> <ReferenzenSetzen>true</ReferenzenSetzen> <User>op1</User> </Update> </DataSource> <DefaultComment> <Anzahl>0</Anzahl> </DefaultComment> <Domains> <Anzahl>23</Anzahl> <Domain0> <Datatype>4</Datatype> <History>@changed OLI 14.11.2011 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>This domain stores boolean values: 0 means false, any other value is true.</Kommentar> <Length>0</Length> <NKS>0</NKS> <Name>Boolean</Name> </Domain0> <Domain1> <Datatype>12</Datatype> <History></History> <Initialwert>NULL</Initialwert> <Kommentar>A type for configuration entries. Possible values are: BOOLEAN, DATE, DOUBLE, FLOAT, INTEGER, LONG, STRING, TIMESTAMP. Ensure upper case for the fields content.</Kommentar> <Length>255</Length> <NKS>0</NKS> <Name>ConfigurationType</Name> </Domain1> <Domain10> <Datatype>12</Datatype> <History>@changed OLI 17.04.2013 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A domain for fields with long descriptions.</Kommentar> <Length>2000</Length> <NKS>0</NKS> <Name>LongDescription</Name> </Domain10> <Domain11> <Datatype>2004</Datatype> <History></History> <Initialwert>NULL</Initialwert> <Kommentar>A type binary object fields which contain media informations.</Kommentar> <Length>0</Length> <NKS>0</NKS> <Name>MediaContent</Name> </Domain11> <Domain12> <Datatype>12</Datatype> <History>@changed OLI 30.07.2012 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A type for content type identifiers used in the media manager. This marks technical content types like 'JPEG' or 'AVI', which defines the binary format of the stored content. Only values coming from the enum MediaContentType are valid for fields of this domain.</Kommentar> <Length>20</Length> <NKS>0</NKS> <Name>MediaContentType</Name> </Domain12> <Domain13> <Datatype>12</Datatype> <History>@changed OLI 30.07.2012 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>Fields of this type may contain strings specified by the enum MediaType only.</Kommentar> <Length>20</Length> <NKS>0</NKS> <Name>MediaType</Name> </Domain13> <Domain14> <Datatype>12</Datatype> <History>@changed OLI 17.04.2013 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>a type for name fields.</Kommentar> <Length>50</Length> <NKS>0</NKS> <Name>Name</Name> </Domain14> <Domain15> <Datatype>-5</Datatype> <History>@changed OLI 14.11.2011 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A domain for numeric id's.</Kommentar> <Length>0</Length> <NKS>0</NKS> <Name>NumericIdent</Name> </Domain15> <Domain16> <Datatype>-5</Datatype> <History>@changed OLI 03.07.2013 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A domain for timestamps in the formar YYYYMMDDHHmmSS (stored as a number).</Kommentar> <Length>0</Length> <NKS>0</NKS> <Name>PTimestamp</Name> </Domain16> <Domain17> <Datatype>12</Datatype> <History>@changed OLI 01.02.2012 - Added.$BR$@changed OLI 30.10.2012 - Changed the length of the string to 255 while changing the encoding strategy for the passwords.</History> <Initialwert>NULL</Initialwert> <Kommentar>A domain for password storage. The content of the fields should be encoded.</Kommentar> <Length>255</Length> <NKS>0</NKS> <Name>Password</Name> </Domain17> <Domain18> <Datatype>12</Datatype> <History></History> <Initialwert>NULL</Initialwert> <Kommentar></Kommentar> <Length>50</Length> <NKS>0</NKS> <Name>PersonName</Name> </Domain18> <Domain19> <Datatype>12</Datatype> <History>@changed OLI 17.04.2013 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A domain for fields which are able to store SQL queries.</Kommentar> <Length>2500</Length> <NKS>0</NKS> <Name>SQLQuery</Name> </Domain19> <Domain2> <Datatype>4</Datatype> <History>@changed OLI 27.08.2012 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A single coordinate, either x or y value.</Kommentar> <Length>0</Length> <NKS>0</NKS> <Name>Coordinate</Name> </Domain2> <Domain20> <Datatype>4</Datatype> <History>@changed OLI 17.04.2013 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A type to store sort orders.</Kommentar> <Length>0</Length> <NKS>0</NKS> <Name>SortOrder</Name> </Domain20> <Domain21> <Datatype>12</Datatype> <History>@changed OLI 01.11.2011 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A string identifier for a data record.</Kommentar> <Length>255</Length> <NKS>0</NKS> <Name>StringIdent</Name> </Domain21> <Domain22> <Datatype>12</Datatype> <History>@changed OLI 01.11.2011 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A type for fields, which are able to store values in their string representation.</Kommentar> <Length>3000</Length> <NKS>0</NKS> <Name>Value</Name> </Domain22> <Domain3> <Datatype>12</Datatype> <History>@changed OLI 01.11.2011 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A description or name of an data object.</Kommentar> <Length>255</Length> <NKS>0</NKS> <Name>Description</Name> </Domain3> <Domain4> <Datatype>12</Datatype> <History>@changed OLI 17.04.2013 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A type for FetchType data.</Kommentar> <Length>20</Length> <NKS>0</NKS> <Name>FetchType</Name> </Domain4> <Domain5> <Datatype>2004</Datatype> <History>@changed OLI 14.11.2011 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A type for bringing file contents to the data base.</Kommentar> <Length>0</Length> <NKS>0</NKS> <Name>FileContent</Name> </Domain5> <Domain6> <Datatype>12</Datatype> <History>@changed OLI 08.11.2011 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>This domain contains tokens of the java language locales.</Kommentar> <Length>10</Length> <NKS>0</NKS> <Name>LanguageToken</Name> </Domain6> <Domain7> <Datatype>4</Datatype> <History>@changed OLI 17.04.2013 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A domain for level counts.</Kommentar> <Length>0</Length> <NKS>0</NKS> <Name>Level</Name> </Domain7> <Domain8> <Datatype>12</Datatype> <History>@changed OLI 17.04.2013 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A type for localization resource values (means label texts).</Kommentar> <Length>1024</Length> <NKS>0</NKS> <Name>LocalizationResourceValue</Name> </Domain8> <Domain9> <Datatype>12</Datatype> <History>@changed OLI 12.01.2012 - Added.</History> <Initialwert>NULL</Initialwert> <Kommentar>A domain for user logins.</Kommentar> <Length>20</Length> <NKS>0</NKS> <Name>LoginName</Name> </Domain9> </Domains> <Factories> <Object>archimedes.legacy.scheme.DefaultObjectFactory</Object> </Factories> <Pages> <PerColumn>5</PerColumn> <PerRow>10</PerRow> </Pages> <Parameter> <AdditionalSQLScriptListener></AdditionalSQLScriptListener> <Applicationname></Applicationname> <AufgehobeneAusblenden>false</AufgehobeneAusblenden> <Autor>ollie</Autor> <Basepackagename>de.healthcarion.isis</Basepackagename> <CodeFactoryClassName></CodeFactoryClassName> <Codebasispfad>.\:</Codebasispfad> <DBVersionDBVersionColumn></DBVersionDBVersionColumn> <DBVersionDescriptionColumn></DBVersionDescriptionColumn> <DBVersionTablename></DBVersionTablename> <History>@changed OLI 01.11.2011 - Added.$BR$@changed OLI 11.01.2012 - User administration tables added.$BR$@changed OLI 30.07.2012 - Media manager tables added.</History> <Kommentar>This diagram contains the classes of the Isis core library and modules.$BR$$BR$Version 1 (01.11.2011) - Configuration and license tables. Localization resource table. Plug-in entries. User administration. Media, Zones.</Kommentar> <Name>Core</Name> <PflichtfelderMarkieren>false</PflichtfelderMarkieren> <ReferenzierteSpaltenAnzeigen>true</ReferenzierteSpaltenAnzeigen> <SchemaName>Core</SchemaName> <Schriftgroessen> <Tabelleninhalte>12</Tabelleninhalte> <Ueberschriften>24</Ueberschriften> <Untertitel>12</Untertitel> </Schriftgroessen> <Scripte> <AfterWrite>&amp;lt;null&amp;gt;</AfterWrite> </Scripte> <TechnischeFelderAusgrauen>true</TechnischeFelderAusgrauen> <UdschebtiBaseClassName></UdschebtiBaseClassName> <Version>2</Version> <Versionsdatum>13.06.2013</Versionsdatum> <Versionskommentar>Configuration and license tables. Localization resource table. Plug-in entries. User administration.</Versionskommentar> </Parameter> <Sequences> <Count>15</Count> <Sequence0> <Comment>A sequence for the keys of the ApplicationRight table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>applicationrightseq</Name> <StartValue>100</StartValue> </Sequence0> <Sequence1> <Comment>A sequence for the keys of the ApplicationUserGroup table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>applicationusergroupseq</Name> <StartValue>100</StartValue> </Sequence1> <Sequence10> <Comment>A sequence for the keys of the Medium table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>mediumseq</Name> <StartValue>100</StartValue> </Sequence10> <Sequence11> <Comment>A sequence for the keys of the SQLReport table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>sqlreportseq</Name> <StartValue>100</StartValue> </Sequence11> <Sequence12> <Comment>A sequence for the keys of the ZoneMapping table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>zonemappingseq</Name> <StartValue>100</StartValue> </Sequence12> <Sequence13> <Comment>A sequence for the keys of the Zone table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>zoneseq</Name> <StartValue>100</StartValue> </Sequence13> <Sequence14> <Comment>A sequence for the keys of the ZoneTransition table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>zonetransitionseq</Name> <StartValue>100</StartValue> </Sequence14> <Sequence2> <Comment>A sequence for the keys of the ApplicationUser table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>applicationuserseq</Name> <StartValue>100</StartValue> </Sequence2> <Sequence3> <Comment>A sequence for the keys of the DeviceAlias table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>devicealiasseq</Name> <StartValue>100</StartValue> </Sequence3> <Sequence4> <Comment>A sequence for the keys of the DeviceEngine table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>deviceengineseq</Name> <StartValue>100</StartValue> </Sequence4> <Sequence5> <Comment>A sequence for the keys of the GUITable table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>guitableseq</Name> <StartValue>100</StartValue> </Sequence5> <Sequence6> <Comment>A sequence for the keys of the LicenseEntry table.</Comment> <History>@changed OLI 24.04.2013 - Added.</History> <Increment>100</Increment> <Name>licenseentryseq</Name> <StartValue>100</StartValue> </Sequence6> <Sequence7> <Comment>A sequence for id generation for the MapMapping table.</Comment> <History>@changed OLI 13.05.2013 - Added.</History> <Increment>100</Increment> <Name>mapmappingseq</Name> <StartValue>100</StartValue> </Sequence7> <Sequence8> <Comment>A sequence for id generation for the Map table.</Comment> <History>@changed OLI 13.05.2013 - Added.</History> <Increment>100</Increment> <Name>mapseq</Name> <StartValue>110</StartValue> </Sequence8> <Sequence9> <Comment>A sequence for the keys of the MediaCategory table.</Comment> <History>@changed OLI 23.04.2013 - Added.</History> <Increment>100</Increment> <Name>mediacategoryseq</Name> <StartValue>100</StartValue> </Sequence9> </Sequences> <Stereotype> <Anzahl>9</Anzahl> <Stereotype0> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History>@changed OLI 01.11.2011 - Added.</History> <Kommentar>This stereotype marks member tables of the configuration module.</Kommentar> <Name>Configuration</Name> </Stereotype0> <Stereotype1> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History></History> <Kommentar>-/-</Kommentar> <Name>DeviceManager</Name> </Stereotype1> <Stereotype2> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History></History> <Kommentar>-/-</Kommentar> <Name>GUIManager</Name> </Stereotype2> <Stereotype3> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History>@changed OLI 01.11.2011 - Added.</History> <Kommentar>A stereo type to mark the tables involved to the licensing system.</Kommentar> <Name>Licensing</Name> </Stereotype3> <Stereotype4> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History>@changed OLI 30.07.2012 - Added.</History> <Kommentar>Table which are belonging to the meda manager module.</Kommentar> <Name>MediaManager</Name> </Stereotype4> <Stereotype5> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History>@changed VM 12.12.2011 - Added.</History> <Kommentar>This stereotype marks member tables of the plug-in manager module.</Kommentar> <Name>PluginManager</Name> </Stereotype5> <Stereotype6> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History>@changed OLI 08.11.2011 - Added.</History> <Kommentar>This stereo type marks all tables, which are included by the resouce management.</Kommentar> <Name>Resource</Name> </Stereotype6> <Stereotype7> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History>@changed OLI 11.01.2012 - Added.</History> <Kommentar>Tables of this type are members of the applications user administration.</Kommentar> <Name>UserAdministration</Name> </Stereotype7> <Stereotype8> <DoNotPrint>false</DoNotPrint> <HideTable>false</HideTable> <History></History> <Kommentar>-/-</Kommentar> <Name>ZoneManager</Name> </Stereotype8> </Stereotype> <Tabellen> <Anzahl>26</Anzahl> <Tabelle0> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-gelb</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>true</FirstGenerationDone> <History>@changed OLI 01.11.2011 - Added.$BR$@changed OLI 04.01.2012 - Extension by the field 'ChangeableByCustomer', 'CustomerValue', 'CustomerValueSet'. Renaming the field 'Value' to 'DefaultValue'.$BR$@changed OLI 17.01.2012 - Extension by the field 'OwnerPlugIn'.$BR$@changed OLI 10.05.2012 - Extension by the field 'Removable'.$BR$@changed OLI 05.12.2012 - Renamed 'Removable' to 'CreatedByCustomer'-</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains the configuration entries.</Kommentar> <NMRelation>false</NMRelation> <Name>ConfigurationEntry</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>9</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>configuration.persistence.db</Codeverzeichnis> <Codieren>false</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 01.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key of the configuration entry.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Key</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 04.01.2012 - Added.$BR$@changed OLI 05.01.2012 - Changed to enum container. The field represents now a level of changeability.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>This field contains an identifier, which marks the changeability of the configuration entry. Possible state are e. g. NONE (can not be changed), SUPPORT (could only be changed by the support) and CUSTOMER (changeable by customer and support).</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Changeability</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Boolean</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 10.05.2012.- Added.$BR$@changed OLI 05.12.2012 - Renamed from 'Removable' to 'CreatedByCustomer' and changed in meaning.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>This flag has to be set for configuration entries which can not be deleted from the system. A set flag mean that the configuration is created by the customer.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>CreatedByCustomer</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Value</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 04.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A customer value for the configuration. This value should only be set, if the flag 'ChangeableByCustomer' is set too.$BR$If the value is set, it will be preferred over the default value. This should only be done, if the flag 'CustomerValueSet' is raised also. This mechanism is vital to allow setting null values by the customer.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>CustomerValue</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> <Spalte4> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Boolean</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 04.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>Set this flag to signal, that the customer value is to use.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>CustomerValueSet</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte4> <Spalte5> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Value</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 01.11.2011 - Added.$BR$@changed OLI 04.01.2012 - Renamed from 'Value' to 'DefaultValue'.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The default value of the configuration entry in a string format. It must be possible to restore the configuration entries value from this string.$BR$This value will be delivered by the plug-in developer.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>DefaultValue</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte5> <Spalte6> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 01.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A short description of the configuration entry and its value.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Description</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte6> <Spalte7> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>ConfigurationType</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 01.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The type to restore the value of the configuration entry.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Type</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte7> <Spalte8> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 17.01.2012 - Added.$BR$@changed OLI 18.01.2012 - Type changed to varchar.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>This field may reference a plug-in entry, if the configuration entry is owned by the plug-in.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>OwnerPlugIn</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>RIGHT</Direction0> <Direction1>LEFT</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Identifier</Spalte> <Tabelle>PlugInEntry</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>RIGHT</Direction0> <Direction1>LEFT</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte8> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>Configuration</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>75</X> <Y>125</Y> </View0> </Views> </Tabelle0> <Tabelle1> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-blau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>true</FirstGenerationDone> <History>@changed OLI 08.11.2011 - Added.</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains multilingual resources for usage by gui and core routines.</Kommentar> <NMRelation>false</NMRelation> <Name>LocalizationResource</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>3</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>resources.persistence.db</Codeverzeichnis> <Codieren>false</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 08.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key and name of the resource. It has to be unique in combination with the language token.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Key</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>LanguageToken</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 08.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The token of the java language locale, which describes the language of the value. It has to be unique in combination with the key.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>LanguageToken</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>LocalizationResourceValue</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 08.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A value for the resource in the specified language.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Value</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>Resource</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>675</X> <Y>375</Y> </View0> </Views> </Tabelle1> <Tabelle10> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-blau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History></History> <InDevelopment>false</InDevelopment> <Kommentar>The table contains real device engine entries</Kommentar> <NMRelation>false</NMRelation> <Name>DeviceEngine</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>2</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Name</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte1> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>ZoneManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>75</X> <Y>1100</Y> </View0> </Views> </Tabelle10> <Tabelle11> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-blau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History></History> <InDevelopment>false</InDevelopment> <Kommentar>The table contains real Zone entries</Kommentar> <NMRelation>false</NMRelation> <Name>ZoneMapping</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>RealZoneIdentifier</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>DeviceEngine</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>DeviceEngine</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Zone</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>Zone</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>ZoneManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>75</X> <Y>850</Y> </View0> </Views> </Tabelle11> <Tabelle12> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>braun</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History></History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>LinkedDeviceEntry</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>3</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ChildDeviceId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ParentDeviceId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>DeviceManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>425</X> <Y>1300</Y> </View0> </Views> </Tabelle12> <Tabelle13> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-blau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History></History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>ZoneTransition</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula>FromZone &amp; ToZone</UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>TransitionTime</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>FromZone</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>LEFT</Direction0> <Direction1>RIGHT</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>Zone</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>LEFT</Direction0> <Direction1>RIGHT</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ToZone</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>LEFT</Direction0> <Direction1>RIGHT</Direction1> <Offset0>50</Offset0> <Offset1>50</Offset1> <Spalte>Id</Spalte> <Tabelle>Zone</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>LEFT</Direction0> <Direction1>RIGHT</Direction1> <Name>Main</Name> <Offset0>50</Offset0> <Offset1>50</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>ZoneManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>425</X> <Y>650</Y> </View0> </Views> </Tabelle13> <Tabelle14> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>blaugrau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 30.07.2012 - Added.</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains the media categories like 'icon', "floorplan' etc.</Kommentar> <NMRelation>false</NMRelation> <Name>MediaCategory</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>2</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key of the media category.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A unique name for the media category.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Name</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte1> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>MediaManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1675</X> <Y>125</Y> </View0> </Views> </Tabelle14> <Tabelle15> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>blaugrau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 30.07.2012 - Added.$BR$@changed OLI 27.08.2012 - Extended by the height and width attribute.$BR$@changed OLI 03.07.2013 - Extended by the field ImageLastChangeDate.</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains the media data.</Kommentar> <NMRelation>false</NMRelation> <Name>Medium</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>10</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key of the medium.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>MediaContent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The content of the medium in a binary form.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Content</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A description for the medium.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Description</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Coordinate</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 27.08.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The height or maximum y coordinate of the medium in case it is an image (null otherwise).</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Height</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> <Spalte4> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>PTimestamp</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 03.07.2013 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The date of the last change of the medium record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ImageLastChangeDate</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte4> <Spalte5> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>MediaContentType</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.$BR$@changed OLI 08.08.2012 - Rename to 'MediaContentType'.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A technical definition of the format of the binary content data.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>MediaContentType</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte5> <Spalte6> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>MediaType</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A media type identifier like 'IMAGE', 'SOUND' or some thing like that. The valid identifiers are defined by the enum MediaType.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>MediaType</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte6> <Spalte7> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A unique name for the medium.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Name</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte7> <Spalte8> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Coordinate</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 27.08.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The width or maximum y coordinate of the image (null, if the medium is not an image).</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Width</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte8> <Spalte9> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 30.07.2012 - Added.$BR$@changed OLI 08.08.2012 - Rename to 'MediaCategory'.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The category of the medium.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>MediaCategory</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>MediaCategory</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte9> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>MediaManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1675</X> <Y>325</Y> </View0> </Views> </Tabelle15> <Tabelle16> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>t&amp;uuml;rkis</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History></History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>GUITable</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>3</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula>"TableId" &amp; "UserId"</UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>TableId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>UserId</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>GUIManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>425</X> <Y>1100</Y> </View0> </Views> </Tabelle16> <Tabelle17> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>t&amp;uuml;rkis</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History></History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>GUITableColumn</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ColumnName</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ColumnWidth</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Ordering</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>GUITableId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>LEFT</Direction0> <Direction1>RIGHT</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>GUITable</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>LEFT</Direction0> <Direction1>RIGHT</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>GUIManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>725</X> <Y>1100</Y> </View0> </Views> </Tabelle17> <Tabelle18> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>hellgrau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 17.04.2013 - Added by using the database update script.</History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>ButtonMapping</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>NativeButton</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>MappedButton</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed null - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>the response option that is selected for the given native button</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ResponseOption</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>DeviceTypeId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <Referenz> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>DeviceType</Spalte> <Tabelle>DeviceType</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>0</Anzahl> </Stereotype> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1150</X> <Y>1100</Y> </View0> </Views> </Tabelle18> <Tabelle19> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>hellgrau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 17.04.2013 - Added by using the database update script.</History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>DeviceAlias</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>3</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>DeviceAliasId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>DeviceId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte2> </Spalten> <Stereotype> <Anzahl>0</Anzahl> </Stereotype> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1675</X> <Y>1100</Y> </View0> </Views> </Tabelle19> <Tabelle2> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-gr&amp;uuml;n</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>true</FirstGenerationDone> <History>@changed OLI 14.11.2011 - Added.</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains license files.</Kommentar> <NMRelation>false</NMRelation> <Name>LicenseEntry</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>3</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.license.persistence.db</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 14.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The id of the license entry.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Boolean</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 14.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>This flag have to be set to true, if the license is the active one. There should be one active flag set to true in the whole table at one time.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Active</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>FileContent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 14.11.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>This file contains the raw content of the license file in a encrypted form.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>FileContent</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>Licensing</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>75</X> <Y>450</Y> </View0> </Views> </Tabelle2> <Tabelle20> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>hellgrau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 17.04.2013 - Added by using the database update script.</History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>DeviceType</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>1</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>DeviceType</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> </Spalten> <Stereotype> <Anzahl>0</Anzahl> </Stereotype> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1150</X> <Y>1300</Y> </View0> </Views> </Tabelle20> <Tabelle21> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-rot</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 17.04.2013 - Added by using the database update script.</History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>MenuEntry</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Identifier</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Level</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Level</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Owner</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>SortOrder</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>SortOrder</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>0</Anzahl> </Stereotype> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1675</X> <Y>1300</Y> </View0> </Views> </Tabelle21> <Tabelle22> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-blau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 17.04.2013 - Added by using the database update script.</History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>SQLReport</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>6</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>LongDescription</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Description</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>FetchType</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>FetchType</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Name</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Name</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> <Spalte4> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Owner</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte4> <Spalte5> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>SQLQuery</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>SQLQuery</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte5> </Spalten> <Stereotype> <Anzahl>0</Anzahl> </Stereotype> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1675</X> <Y>700</Y> </View0> </Views> </Tabelle22> <Tabelle23> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-blau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History></History> <InDevelopment>false</InDevelopment> <Kommentar></Kommentar> <NMRelation>false</NMRelation> <Name>SQLReportSharedUser</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>Boolean</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>User</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>UserId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Boolean</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>WriteAccess</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>SQLReportId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <Referenz> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>SQLReport</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>0</Anzahl> </Stereotype> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1675</X> <Y>900</Y> </View0> </Views> </Tabelle23> <Tabelle24> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-lila</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 13.06.2013 - Added (by Hiba to the script).</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains the maps (floor plans) of the system.</Kommentar> <NMRelation>false</NMRelation> <Name>Map</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 13.06.2013 - Added .</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The id of the record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 13.06.2013 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A description for the record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Description</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 13.06.2013 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A name for the map record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Name</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 13.06.2013 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A token for the map record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Token</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>0</Anzahl> </Stereotype> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>75</X> <Y>1825</Y> </View0> </Views> </Tabelle24> <Tabelle25> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-lila</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 13.06.2013 - Added.</History> <InDevelopment>false</InDevelopment> <Kommentar>A table which maps virtual maps to the maps of the device engine.</Kommentar> <NMRelation>false</NMRelation> <Name>MapMapping</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 13.06.2013 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The id of the mapping record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A textual identifier for the map inside of the device engine.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>RealMapIdentifier</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A reference to the device engine which the mapping is made for.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>DeviceEngine</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>DeviceEngine</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A reference to the map which the mapping is made for.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Map</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <Referenz> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>Map</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>0</Anzahl> </Stereotype> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>75</X> <Y>1575</Y> </View0> </Views> </Tabelle25> <Tabelle3> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-rot</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>true</FirstGenerationDone> <History>@changed VM 12.12.2011 - Added.$BR$@changed OLI 11.01.2012 - Changed the field names to start with upper case letters.$BR$@changed OLI 18.01.2012 - Removed fields Description, Identifier and Name. Identifier is the same as code. The contents of description and name should come from the resources.$BR$</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains the insalled plug-ins.</Kommentar> <NMRelation>false</NMRelation> <Name>PlugInEntry</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>8</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>plugin.manager.persistence.db</Codeverzeichnis> <Codieren>false</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed VM 12.12.2011 - Added.$BR$@changed OLI 18.01.2012 - Type changed to varchar.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The primary key of plug-in.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Identifier</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Boolean</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed VM 12.12.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue>1</IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>Flag that describes, if plug-in can be activated.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Activatable</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Name</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed VM - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>Plug-in build date.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>BuildDate</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>Plug-in database version.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>DBVersion</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> <Spalte4> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed VM - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue>0</IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>Numeric id of the plug-in.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>PlugInId</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte4> <Spalte5> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed VM 12.12.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>Current state of plug-in.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>State</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte5> <Spalte6> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed VM 12.12.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>Vendor of plug-in.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Vendor</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte6> <Spalte7> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed VM 12.12.2011 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>Version of plug-in</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Version</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte7> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>PluginManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>675</X> <Y>125</Y> </View0> </Views> </Tabelle3> <Tabelle4> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>goldgelb</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed 11.01.2012 - Added.</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains all users of the application.</Kommentar> <NMRelation>false</NMRelation> <Name>ApplicationUser</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>6</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key of the data record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Boolean</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 19.02.2013 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A flag to deactivate an application user. Deactivated users cannot login.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Deactivated</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>PersonName</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The first name of the user.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>FirstName</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>PersonName</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The last name of the user.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>LastName</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte3> <Spalte4> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>LoginName</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 12.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The login name of the application user.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Login</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte4> <Spalte5> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Password</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 01.02.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The password of the application user account.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Password</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte5> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>UserAdministration</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1150</X> <Y>125</Y> </View0> </Views> </Tabelle4> <Tabelle5> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>goldgelb</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 11.01.2012 - Added.</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains the user groups of the application. By being assigned to a user group, an application user get access rights to parts of the application.</Kommentar> <NMRelation>false</NMRelation> <Name>ApplicationUserGroup</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>2</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key of the data record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 11.01.2012 - Added.$BR$@changed OLI 15.10.2012 - Renamed to 'GroupName'.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The description of the application user group. It is handled like a key.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>GroupName</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte1> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>UserAdministration</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1150</X> <Y>550</Y> </View0> </Views> </Tabelle5> <Tabelle6> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>goldgelb</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed 11.01.2012 - Added.$BR$@changed 28.09.2012 - 'Name' field added.</History> <InDevelopment>false</InDevelopment> <Kommentar>This table contains the user groups of the application. By being assigned to a user group, an application user get access rights to parts of the application.</Kommentar> <NMRelation>false</NMRelation> <Name>ApplicationRight</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>3</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key of the data record.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The description of the application right. It comments the function of the right and is written in english.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Description</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 28.09.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>A name for the application right which identifies the application right.$BR$The name of a right starts allways with the plug-in identifier or the prefix 'Core' for the core.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Name</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte2> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>UserAdministration</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1150</X> <Y>900</Y> </View0> </Views> </Tabelle6> <Tabelle7> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-gelb</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed 11.01.2012 - Added.</History> <InDevelopment>false</InDevelopment> <Kommentar>Relation between application users and application user groups. It contains the users, which are assigned to user groups.</Kommentar> <NMRelation>true</NMRelation> <Name>GroupMember</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>2</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key of the application user, which is member in the assigned application user group.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ApplicationUser</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <Referenz> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>ApplicationUser</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The application user group the application user is assigned to.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ApplicationUserGroup</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <Referenz> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>ApplicationUserGroup</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>UserAdministration</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1150</X> <Y>350</Y> </View0> </Views> </Tabelle7> <Tabelle8> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-gelb</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History>@changed OLI 11.01.2012 - Added.</History> <InDevelopment>false</InDevelopment> <Kommentar>Relation between application rights and application user groups. It contains the rights, which are granted to the user groups.</Kommentar> <NMRelation>true</NMRelation> <Name>GroupRight</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>2</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The key of the application right, which is granted to the assigned application user group.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ApplicationRight</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <Referenz> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>ApplicationRight</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>DOWN</Direction0> <Direction1>UP</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>true</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History>@changed OLI 11.01.2012 - Added.</History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar>The application user group the application right is assigned to.</Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>ApplicationUserGroup</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <Referenz> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Offset0>25</Offset0> <Offset1>25</Offset1> <Spalte>Id</Spalte> <Tabelle>ApplicationUserGroup</Tabelle> <Views> <Anzahl>1</Anzahl> <View0> <Direction0>UP</Direction0> <Direction1>DOWN</Direction1> <Name>Main</Name> <Offset0>25</Offset0> <Offset1>25</Offset1> <Points> <Anzahl>0</Anzahl> </Points> </View0> </Views> </Referenz> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>UserAdministration</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>1150</X> <Y>700</Y> </View0> </Views> </Tabelle8> <Tabelle9> <Aufgehoben>false</Aufgehoben> <Codegenerator> <AuswahlMembers> <Anzahl>0</Anzahl> </AuswahlMembers> <CompareMembers> <Anzahl>0</Anzahl> </CompareMembers> <Equalsmembers> <Anzahl>0</Anzahl> </Equalsmembers> <HashCodeMembers> <Anzahl>0</Anzahl> </HashCodeMembers> <NReferenzen> <Anzahl>0</Anzahl> </NReferenzen> <OrderMembers> <Anzahl>0</Anzahl> </OrderMembers> <ToComboStringMembers> <Anzahl>0</Anzahl> </ToComboStringMembers> <ToStringMembers> <Anzahl>0</Anzahl> </ToStringMembers> </Codegenerator> <Farben> <Hintergrund>pastell-blau</Hintergrund> <Schrift>schwarz</Schrift> </Farben> <FirstGenerationDone>false</FirstGenerationDone> <History></History> <InDevelopment>false</InDevelopment> <Kommentar>The table contains Zone entries</Kommentar> <NMRelation>false</NMRelation> <Name>Zone</Name> <Panels> <Anzahl>1</Anzahl> <Panel0> <PanelClass></PanelClass> <PanelNumber>0</PanelNumber> <TabMnemonic>1</TabMnemonic> <TabTitle>1.Daten</TabTitle> <TabToolTipText>Hier k&ouml;nnen Sie die Daten des Objekt warten</TabToolTipText> </Panel0> </Panels> <Spalten> <Anzahl>4</Anzahl> <Codegenerator> <ActiveInApplication>false</ActiveInApplication> <Codegeneratoroptionen></Codegeneratoroptionen> <Codeverzeichnis>.</Codeverzeichnis> <Codieren>true</Codieren> <DynamicCode>true</DynamicCode> <Inherited>false</Inherited> <Kontextname></Kontextname> <UniqueFormula></UniqueFormula> </Codegenerator> <Spalte0> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>true</CanBeReferenced> <Disabled>false</Disabled> <Domain>NumericIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Id</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>true</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte0> <Spalte1> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>Description</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>false</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Description</Name> <NotNull>false</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>false</Unique> </Spalte1> <Spalte2> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Name</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte2> <Spalte3> <AlterInBatch>false</AlterInBatch> <Aufgehoben>false</Aufgehoben> <CanBeReferenced>false</CanBeReferenced> <Disabled>false</Disabled> <Domain>StringIdent</Domain> <Editordescriptor> <Editormember>false</Editormember> <LabelText></LabelText> <MaxCharacters>0</MaxCharacters> <Mnemonic></Mnemonic> <Position>0</Position> <ReferenceWeight>keine</ReferenceWeight> <RessourceIdentifier></RessourceIdentifier> <ToolTipText></ToolTipText> </Editordescriptor> <ForeignKey>false</ForeignKey> <Global>false</Global> <GlobalId>false</GlobalId> <HideReference>false</HideReference> <History></History> <IndexSearchMember>false</IndexSearchMember> <Indexed>true</Indexed> <IndividualDefaultValue></IndividualDefaultValue> <Kodiert>false</Kodiert> <Kommentar></Kommentar> <Konsistenz> <Writeablemember>false</Writeablemember> </Konsistenz> <LastModificationField>false</LastModificationField> <ListItemField>false</ListItemField> <Name>Token</Name> <NotNull>true</NotNull> <PanelNumber>0</PanelNumber> <Parameter></Parameter> <PrimaryKey>false</PrimaryKey> <RemovedStateField>false</RemovedStateField> <TechnicalField>false</TechnicalField> <Unique>true</Unique> </Spalte3> </Spalten> <Stereotype> <Anzahl>1</Anzahl> </Stereotype> <Stereotype0>ZoneManager</Stereotype0> <Views> <Anzahl>1</Anzahl> <View0> <Name>Main</Name> <X>75</X> <Y>650</Y> </View0> </Views> </Tabelle9> </Tabellen> <Views> <Anzahl>1</Anzahl> <View0> <Beschreibung>Diese Sicht beinhaltet alle Tabellen des Schemas</Beschreibung> <Name>Main</Name> <ReferenzierteSpaltenAnzeigen>true</ReferenzierteSpaltenAnzeigen> <Tabelle0>ConfigurationEntry</Tabelle0> <Tabelle1>LocalizationResource</Tabelle1> <Tabelle10>DeviceEngine</Tabelle10> <Tabelle11>ZoneMapping</Tabelle11> <Tabelle12>LinkedDeviceEntry</Tabelle12> <Tabelle13>ZoneTransition</Tabelle13> <Tabelle14>MediaCategory</Tabelle14> <Tabelle15>Medium</Tabelle15> <Tabelle16>GUITable</Tabelle16> <Tabelle17>GUITableColumn</Tabelle17> <Tabelle18>ButtonMapping</Tabelle18> <Tabelle19>DeviceAlias</Tabelle19> <Tabelle2>LicenseEntry</Tabelle2> <Tabelle20>DeviceType</Tabelle20> <Tabelle21>MenuEntry</Tabelle21> <Tabelle22>SQLReport</Tabelle22> <Tabelle23>SQLReportSharedUser</Tabelle23> <Tabelle24>Map</Tabelle24> <Tabelle25>MapMapping</Tabelle25> <Tabelle3>PlugInEntry</Tabelle3> <Tabelle4>ApplicationUser</Tabelle4> <Tabelle5>ApplicationUserGroup</Tabelle5> <Tabelle6>ApplicationRight</Tabelle6> <Tabelle7>GroupMember</Tabelle7> <Tabelle8>GroupRight</Tabelle8> <Tabelle9>Zone</Tabelle9> <Tabellenanzahl>26</Tabellenanzahl> <TechnischeSpaltenVerstecken>false</TechnischeSpaltenVerstecken> </View0> </Views> </Diagramm>
print_ada.adb
hsgrewal/learning-ada
0
20551
<filename>print_ada.adb<gh_stars>0 -- print_ada.adb with Ada.Text_IO; use Ada.Text_IO; procedure print_ada is begin Put_Line("###############################################################"); Put_Line("###############################################################"); Put_Line("## ##"); Put_Line("##       00000000000   0000000000    00000000000             ##"); Put_Line("##       00       00   00       00   00       00             ##"); Put_Line("##       00       00   00       00   00       00             ##"); Put_Line("##       00000000000   00       00   00000000000             ##"); Put_Line("##       00       00   00       00   00       00             ##"); Put_Line("##       00       00   00       00   00       00             ##"); Put_Line("## 00 00 0000000000 00 00 ##"); Put_Line("## ##"); Put_Line("###############################################################"); Put_Line("###############################################################"); end print_ada;
Function/Surjective/Base.agda
oisdk/agda-playground
6
5981
<reponame>oisdk/agda-playground<filename>Function/Surjective/Base.agda {-# OPTIONS --cubical --safe #-} module Function.Surjective.Base where open import Path open import Function.Fiber open import Level open import HITs.PropositionalTruncation open import Data.Sigma Surjective : (A → B) → Type _ Surjective f = ∀ y → ∥ fiber f y ∥ SplitSurjective : (A → B) → Type _ SplitSurjective f = ∀ y → fiber f y infixr 0 _↠!_ _↠_ _↠!_ : Type a → Type b → Type (a ℓ⊔ b) A ↠! B = Σ (A → B) SplitSurjective _↠_ : Type a → Type b → Type (a ℓ⊔ b) A ↠ B = Σ (A → B) Surjective
gtk/akt-callbacks.ads
thierr26/ada-keystore
25
20141
<filename>gtk/akt-callbacks.ads<gh_stars>10-100 ----------------------------------------------------------------------- -- akt-callbacks -- Callbacks for Ada Keystore GTK application -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- 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. ----------------------------------------------------------------------- with Gtkada.Builder; with AKT.Windows; package AKT.Callbacks is -- Initialize and register the callbacks. procedure Initialize (Application : in AKT.Windows.Application_Access; Builder : in Gtkada.Builder.Gtkada_Builder); -- Callback executed when the "quit" action is executed from the menu. procedure On_Menu_Quit (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "about" action is executed from the menu. procedure On_Menu_About (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "menu-new" action is executed from the file menu. procedure On_Menu_New (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "menu-open" action is executed from the file menu. procedure On_Menu_Open (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "tool-add" action is executed from the toolbar. procedure On_Tool_Add (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "tool-save" action is executed from the toolbar. procedure On_Tool_Save (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "tool-edit" action is executed from the toolbar. procedure On_Tool_Edit (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "tool-lock" action is executed from the toolbar. procedure On_Tool_Lock (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "tool-unlock" action is executed from the toolbar. procedure On_Tool_Unlock (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "open-file" action is executed from the open_file dialog. procedure On_Open_File (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "cancel-open-file" action is executed from the open_file dialog. procedure On_Cancel_Open_File (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "create-file" action is executed from the open_file dialog. procedure On_Create_File (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "cancel-create-file" action is executed -- from the open_file dialog. procedure On_Cancel_Create_File (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "delete-event" action is executed from the main window. function On_Close_Window (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class) return Boolean; -- Callback executed when the "close-about" action is executed from the about box. procedure On_Close_About (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "close-password" action is executed from the password dialog. procedure On_Close_Password (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); -- Callback executed when the "dialog-password-ok" action is executed from the password dialog. procedure On_Dialog_Password_Ok (Object : access Gtkada.Builder.Gtkada_Builder_Record'Class); end AKT.Callbacks;
30Oct2019/q1.asm
candh/8086-programs
0
23755
.model small .stack 100h .code main proc mov ax, 8000h cmp ax, 0 jl then jmp endif then: mov bx, -1 endif: mov ax, 4Ch int 21h main endp end main
dino/lcs/base/4D5.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
171334
copyright zengfr site:http://github.com/zengfr/romhack 007128 tst.b ($4d5,A5) 00712C bne $71fc 00731C tst.b ($4d5,A5) [123p+ B1] 007320 bne $732c 0074EC tst.b ($4d5,A5) 0074F0 bne $7560 007D8E tst.b ($4d5,A5) 007D92 bne $7dd8 007E78 tst.b ($4d5,A5) 007E7C bne $7f46 007EE8 tst.b ($4d5,A5) 007EEC bne $7f46 007F86 tst.b ($4d5,A5) 007F8A beq $7f90 [base+4D5] 008206 tst.b ($4d5,A5) 00820A beq $822c [base+4D5] 0082E8 tst.b ($4d5,A5) 0082EC beq $82f2 [base+4D5] 00A8A2 move.b #$1, ($9,A0) [base+4CC] 00A8A8 move.b #$1, ($a,A0) [base+4D5] 00ACFA move.b #$1, ($4d5,A5) [base+4D6] 00AD00 move.w A6, ($4e0,A5) [base+4D5] 00CA9A move.b #$1, ($4d5,A5) [base+6C4] 00CAA0 rts [base+4D5] 00CCF4 clr.b ($4d5,A5) 00CCF8 jmp $7562.l [base+4D5] 0100DA tst.b ($4d5,A5) 0100DE bne $10162 [base+4D5] 01039A tst.b ($4d5,A5) 01039E bne $103f8 [base+4D5] 0103FE tst.b ($4d5,A5) 010402 bne $10468 [base+4D5] 012CEA tst.b ($4d5,A5) 012CEE bne $12cf6 [base+4D5] 0186DC tst.b ($4d5,A5) 0186E0 bne $187b6 [base+4D5] 019694 tst.b ($4d5,A5) [123p+ EE] 019698 bne $196a2 [base+4D5] 04E67C tst.b ($4d5,A5) 04E680 bne $4e6ae 04EA96 tst.b ($4d5,A5) 04EA9A bne $4ead4 07BC04 tst.b ($4d5,A5) 07BC08 bne $7bc0e [base+4D5] 07BC2E tst.b ($4d5,A5) 07BC32 beq $7bc46 08BDC2 move.b #$1, ($4d5,A5) [etc+76] 08BDC8 move.b #$1, ($4db,A5) [base+4D5] 08C092 clr.b ($4d5,A5) [etc+ 4] 08C096 clr.b ($4db,A5) [base+4D5] copyright zengfr site:http://github.com/zengfr/romhack
install/lib/disk/get_dir.asm
minblock/msdos
0
97807
;======================================================== COMMENT # GET_DIR.ASM Copyright (c) 1991 - Microsoft Corp. All rights reserved. Microsoft Confidential ================================================= Gets the current directory path from DOS. int _dos_getdir( char *Buffer, int Drive ); ARGUMENTS: Buffer - Ptr to 64 byte memory area Drive - DOS drive number (0=default, 1=A, 2=B, ...) RETURN: int - 0 if successfull else !0 if error ================================================= johnhe - 06/06/89 END COMMENT # ; ======================================================= INCLUDE disk_io.inc INCLUDE model.inc ; ======================================================= .CODE ; ======================================================= IF @DataSize _dos_getdir PROC USES DS SI, Buffer:PTR, Drive:BYTE ELSE _dos_getdir PROC USES SI, Buffer:PTR, Drive:BYTE ENDIF ; lds SI,Buffer ; DS:SI -> buffer LoadPtr DS, SI, Buffer ; DS:SI -> buffer mov DL,Drive ; DL = disk drive (0=default,1=A) mov AH,47h ; Get current dir function int 21h mov AX,1 ; Assume may may be errors jc GetDirReturn ; Error check xor AX,AX ; Signal no errors GetDirReturn: ret _dos_getdir ENDP ; ======================================================= END ; ======================================================= 
src/wiki-streams-text_io.adb
jquorning/ada-wiki
18
18028
----------------------------------------------------------------------- -- wiki-streams-text_io -- Text_IO input output streams -- Copyright (C) 2016 <NAME> -- Written by <NAME> (<EMAIL>) -- -- 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. ----------------------------------------------------------------------- with Ada.IO_Exceptions; with Wiki.Helpers; package body Wiki.Streams.Text_IO is -- ------------------------------ -- Open the file and prepare to read the input stream. -- ------------------------------ procedure Open (Stream : in out File_Input_Stream; Path : in String; Form : in String := "") is begin Ada.Wide_Wide_Text_IO.Open (Stream.File, Ada.Wide_Wide_Text_IO.In_File, Path, Form); end Open; -- ------------------------------ -- Close the file. -- ------------------------------ procedure Close (Stream : in out File_Input_Stream) is begin if Ada.Wide_Wide_Text_IO.Is_Open (Stream.File) then Ada.Wide_Wide_Text_IO.Close (Stream.File); end if; end Close; -- ------------------------------ -- Close the stream. -- ------------------------------ overriding procedure Finalize (Stream : in out File_Input_Stream) is begin Stream.Close; end Finalize; -- ------------------------------ -- Read one character from the input stream and return False to the <tt>Eof</tt> indicator. -- When there is no character to read, return True in the <tt>Eof</tt> indicator. -- ------------------------------ overriding procedure Read (Input : in out File_Input_Stream; Char : out Wiki.Strings.WChar; Eof : out Boolean) is Available : Boolean; begin Eof := False; Ada.Wide_Wide_Text_IO.Get_Immediate (Input.File, Char, Available); exception when Ada.IO_Exceptions.End_Error => Char := Wiki.Helpers.LF; Eof := True; end Read; -- ------------------------------ -- Open the file and prepare to write the output stream. -- ------------------------------ procedure Open (Stream : in out File_Output_Stream; Path : in String; Form : in String := "") is begin if Ada.Wide_Wide_Text_IO.Is_Open (Stream.File) then Ada.Wide_Wide_Text_IO.Close (Stream.File); end if; Ada.Wide_Wide_Text_IO.Open (Stream.File, Ada.Wide_Wide_Text_IO.Out_File, Path, Form); Ada.Wide_Wide_Text_IO.Set_Line_Length (Ada.Wide_Wide_Text_IO.Count'Last); Stream.Stdout := False; end Open; -- ------------------------------ -- Create the file and prepare to write the output stream. -- ------------------------------ procedure Create (Stream : in out File_Output_Stream; Path : in String; Form : in String := "") is begin Ada.Wide_Wide_Text_IO.Create (Stream.File, Ada.Wide_Wide_Text_IO.Out_File, Path, Form); Ada.Wide_Wide_Text_IO.Set_Line_Length (Ada.Wide_Wide_Text_IO.Count'Last); Stream.Stdout := False; end Create; -- ------------------------------ -- Close the file. -- ------------------------------ procedure Close (Stream : in out File_Output_Stream) is begin if Ada.Wide_Wide_Text_IO.Is_Open (Stream.File) then Ada.Wide_Wide_Text_IO.Close (Stream.File); end if; end Close; -- ------------------------------ -- Write the string to the output stream. -- ------------------------------ overriding procedure Write (Stream : in out File_Output_Stream; Content : in Wiki.Strings.WString) is begin if not Stream.Stdout then Ada.Wide_Wide_Text_IO.Put (Stream.File, Content); else Ada.Wide_Wide_Text_IO.Put (Content); end if; end Write; -- ------------------------------ -- Write a single character to the output stream. -- ------------------------------ overriding procedure Write (Stream : in out File_Output_Stream; Char : in Wiki.Strings.WChar) is begin if not Stream.Stdout then Ada.Wide_Wide_Text_IO.Put (Stream.File, Char); else Ada.Wide_Wide_Text_IO.Put (Char); end if; end Write; -- ------------------------------ -- Close the stream. -- ------------------------------ overriding procedure Finalize (Stream : in out File_Output_Stream) is begin Stream.Close; end Finalize; end Wiki.Streams.Text_IO;
oeis/237/A237268.asm
neoneye/loda-programs
11
85296
<gh_stars>10-100 ; A237268: a(1)=1; for n>1, a(n) is the smallest F(m)>F(n) such that F(n) divides F(m), where F(k) denotes the k-th Fibonacci number. ; Submitted by <NAME>(s1) ; 1,2,8,21,55,144,377,987,2584,6765,17711,46368,121393,317811,832040,2178309,5702887,14930352,39088169,102334155,267914296,701408733,1836311903,4807526976,12586269025,32951280099,86267571272,225851433717,591286729879,1548008755920,4052739537881,10610209857723,27777890035288,72723460248141,190392490709135,498454011879264,1304969544928657,3416454622906707,8944394323791464,23416728348467685,61305790721611591,160500643816367088,420196140727489673,1100087778366101931,2880067194370816120 mul $0,2 mov $2,1 lpb $0 sub $0,2 add $1,$2 add $2,$1 lpe lpb $0,2 add $2,$1 pow $1,$0 lpe mov $0,$2
src/tiles.asm
helgefmi/lttphack
28
242809
<filename>src/tiles.asm pushpc ; TILES ; ; Takes care to expand the tileset with our own stuff, so we can draw custom HUD items. ; Load Tiles Hijack org $028068 JSL load_default_tileset ; Load Tiles Hook pullpc load_default_tileset: LoadCustomHUDGFX: %a16() %i8() LDX #$80 : STX $2115 LDA #$7000 : STA $2116 ; VRAM address (E000 in vram) LDA #$1801 : STA $4300 ; word, normal increment, destination $2118 LDA.w #hud_table : STA $4302 ; Source offset LDX.b #hud_table>>16 : STX $4304 ; Source bank LDA #$1800 : STA $4305 ; Size (0x800 = 1 sheet) LDX #$01 : STX $420B ; initiate DMA (channel 1) ; next, load the font LoadHudFont: LDX #$80 : STX $2115 LDA #$7080 : STA $2116 LDA #$1801 : STA $4300 ; we're writing 16 2BPP tiles to VRAM ; so 16*64*2 = 2048 bits, or 256 bytes ; AKA 0x100 bytes ; since the offset is a multiple of 256, ; we can just swap the nibbles and ; add them in as the offset LDA !ram_hud_font : XBA : CLC : ADC.w #hud_font : STA $4302 LDX.b #hud_font>>16 : STX $4304 LDA #$0100 : STA $4305 LDX #$01 : STX $420B %ai8() ; expected flags from both entry points/DecompAndDirectCopy RTL hud_table: incbin ../resources/hud_gfx1.2bpp incbin ../resources/hud_gfx2.2bpp incbin ../resources/hud_gfx3.2bpp hud_font: incbin ../resources/hud_font1.2bpp incbin ../resources/hud_font2.2bpp cm_hud_table: incbin ../resources/menu_font1.2bpp incbin ../resources/menu_font2.2bpp
data/wild/maps/PokemonTower5F.asm
opiter09/ASM-Machina
1
178938
<reponame>opiter09/ASM-Machina PokemonTower5FWildMons: def_grass_wildmons 10 ; encounter rate db 30, GASTLY db 31, GASTLY db 32, GASTLY db 33, GASTLY db 29, GASTLY db 29, GASTLY db 35, HAUNTER db 30, CUBONE db 32, CUBONE db 34, GASTLY end_grass_wildmons def_water_wildmons 0 ; encounter rate end_water_wildmons
source/adam-statement.ads
charlie5/aIDE
3
16680
with AdaM.Entity; private with ada.Streams; package AdaM.Statement is type Item is new Entity.item with private; type View is access all Item'Class; -- Forge -- function new_Statement (Line : in String := "") return Statement.view; procedure free (Self : in out Statement.view); procedure destruct (Self : in out Item); -- Attributes -- overriding function Id (Self : access Item) return AdaM.Id; overriding function Name (Self : in Item) return Identifier; overriding function to_Source (Self : in Item) return text_Vectors.Vector; procedure add (Self : in out Item; the_Line : in String); private type Item is new Entity.item with record Lines : Text_vectors.Vector; end record; -- Streams -- procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : in View); procedure View_read (Stream : not null access Ada.Streams.Root_Stream_Type'Class; Self : out View); for View'write use View_write; for View'read use View_read; end AdaM.Statement;