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 |
|---|---|---|---|---|
extern/gnat_sdl/gnat_sdl2/src/sdl_render_h.ads | AdaCore/training_material | 15 | 1413 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_stdinc_h;
with Interfaces.C.Strings;
with System;
limited with SDL_video_h;
limited with SDL_surface_h;
with SDL_blendmode_h;
limited with SDL_rect_h;
package SDL_render_h is
-- Simple DirectMedia Layer
-- Copyright (C) 1997-2018 <NAME> <<EMAIL>>
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
-- Permission is granted to anyone to use this software for any purpose,
-- including commercial applications, and to alter it and redistribute it
-- freely, subject to the following restrictions:
-- 1. The origin of this software must not be misrepresented; you must not
-- claim that you wrote the original software. If you use this software
-- in a product, an acknowledgment in the product documentation would be
-- appreciated but is not required.
-- 2. Altered source versions must be plainly marked as such, and must not be
-- misrepresented as being the original software.
-- 3. This notice may not be removed or altered from any source distribution.
--
--*
-- * \file SDL_render.h
-- *
-- * Header file for SDL 2D rendering functions.
-- *
-- * This API supports the following features:
-- * * single pixel points
-- * * single pixel lines
-- * * filled rectangles
-- * * texture images
-- *
-- * The primitives may be drawn in opaque, blended, or additive modes.
-- *
-- * The texture images may be drawn in opaque, blended, or additive modes.
-- * They can have an additional color tint or alpha modulation applied to
-- * them, and may also be stretched with linear interpolation.
-- *
-- * This API is designed to accelerate simple 2D operations. You may
-- * want more functionality such as polygons and particle effects and
-- * in that case you should use SDL's OpenGL/Direct3D support or one
-- * of the many good 3D engines.
-- *
-- * These functions must be called from the main thread.
-- * See this bug for details: http://bugzilla.libsdl.org/show_bug.cgi?id=1995
--
-- Set up for C function definitions, even when using C++
--*
-- * \brief Flags used when creating a rendering context
--
--*< The renderer is a software fallback
--*< The renderer uses hardware
-- acceleration
--*< Present is synchronized
-- with the refresh rate
--*< The renderer supports
-- rendering to texture
subtype SDL_RendererFlags is unsigned;
SDL_RENDERER_SOFTWARE : constant unsigned := 1;
SDL_RENDERER_ACCELERATED : constant unsigned := 2;
SDL_RENDERER_PRESENTVSYNC : constant unsigned := 4;
SDL_RENDERER_TARGETTEXTURE : constant unsigned := 8; -- ..\SDL2_tmp\SDL_render.h:73
--*
-- * \brief Information on the capabilities of a render driver or context.
--
--*< The name of the renderer
type SDL_RendererInfo_texture_formats_array is array (0 .. 15) of aliased SDL_stdinc_h.Uint32;
type SDL_RendererInfo is record
name : Interfaces.C.Strings.chars_ptr; -- ..\SDL2_tmp\SDL_render.h:80
flags : aliased SDL_stdinc_h.Uint32; -- ..\SDL2_tmp\SDL_render.h:81
num_texture_formats : aliased SDL_stdinc_h.Uint32; -- ..\SDL2_tmp\SDL_render.h:82
texture_formats : aliased SDL_RendererInfo_texture_formats_array; -- ..\SDL2_tmp\SDL_render.h:83
max_texture_width : aliased int; -- ..\SDL2_tmp\SDL_render.h:84
max_texture_height : aliased int; -- ..\SDL2_tmp\SDL_render.h:85
end record;
pragma Convention (C_Pass_By_Copy, SDL_RendererInfo); -- ..\SDL2_tmp\SDL_render.h:78
--*< Supported ::SDL_RendererFlags
--*< The number of available texture formats
--*< The available texture formats
--*< The maximum texture width
--*< The maximum texture height
--*
-- * \brief The access pattern allowed for a texture.
--
--*< Changes rarely, not lockable
--*< Changes frequently, lockable
--*< Texture can be used as a render target
type SDL_TextureAccess is
(SDL_TEXTUREACCESS_STATIC,
SDL_TEXTUREACCESS_STREAMING,
SDL_TEXTUREACCESS_TARGET);
pragma Convention (C, SDL_TextureAccess); -- ..\SDL2_tmp\SDL_render.h:96
--*
-- * \brief The texture channel modulation used in SDL_RenderCopy().
--
--*< No modulation
--*< srcC = srcC * color
--*< srcA = srcA * alpha
type SDL_TextureModulate is
(SDL_TEXTUREMODULATE_NONE,
SDL_TEXTUREMODULATE_COLOR,
SDL_TEXTUREMODULATE_ALPHA);
pragma Convention (C, SDL_TextureModulate); -- ..\SDL2_tmp\SDL_render.h:106
--*
-- * \brief Flip constants for SDL_RenderCopyEx
--
--*< Do not flip
--*< flip horizontally
--*< flip vertically
type SDL_RendererFlip is
(SDL_FLIP_NONE,
SDL_FLIP_HORIZONTAL,
SDL_FLIP_VERTICAL);
pragma Convention (C, SDL_RendererFlip); -- ..\SDL2_tmp\SDL_render.h:116
--*
-- * \brief A structure representing rendering state
--
type SDL_Renderer is null record; -- incomplete struct
--*
-- * \brief An efficient driver-specific representation of pixel data
--
type SDL_Texture is null record; -- incomplete struct
-- Function prototypes
--*
-- * \brief Get the number of 2D rendering drivers available for the current
-- * display.
-- *
-- * A render driver is a set of code that handles rendering and texture
-- * management on a particular display. Normally there is only one, but
-- * some drivers may have several available with different capabilities.
-- *
-- * \sa SDL_GetRenderDriverInfo()
-- * \sa SDL_CreateRenderer()
--
function SDL_GetNumRenderDrivers return int; -- ..\SDL2_tmp\SDL_render.h:144
pragma Import (C, SDL_GetNumRenderDrivers, "SDL_GetNumRenderDrivers");
--*
-- * \brief Get information about a specific 2D rendering driver for the current
-- * display.
-- *
-- * \param index The index of the driver to query information about.
-- * \param info A pointer to an SDL_RendererInfo struct to be filled with
-- * information on the rendering driver.
-- *
-- * \return 0 on success, -1 if the index was out of range.
-- *
-- * \sa SDL_CreateRenderer()
--
function SDL_GetRenderDriverInfo (index : int; info : access SDL_RendererInfo) return int; -- ..\SDL2_tmp\SDL_render.h:158
pragma Import (C, SDL_GetRenderDriverInfo, "SDL_GetRenderDriverInfo");
--*
-- * \brief Create a window and default renderer
-- *
-- * \param width The width of the window
-- * \param height The height of the window
-- * \param window_flags The flags used to create the window
-- * \param window A pointer filled with the window, or NULL on error
-- * \param renderer A pointer filled with the renderer, or NULL on error
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_CreateWindowAndRenderer
(width : int;
height : int;
window_flags : SDL_stdinc_h.Uint32;
window : System.Address;
renderer : System.Address) return int; -- ..\SDL2_tmp\SDL_render.h:172
pragma Import (C, SDL_CreateWindowAndRenderer, "SDL_CreateWindowAndRenderer");
--*
-- * \brief Create a 2D rendering context for a window.
-- *
-- * \param window The window where rendering is displayed.
-- * \param index The index of the rendering driver to initialize, or -1 to
-- * initialize the first one supporting the requested flags.
-- * \param flags ::SDL_RendererFlags.
-- *
-- * \return A valid rendering context or NULL if there was an error.
-- *
-- * \sa SDL_CreateSoftwareRenderer()
-- * \sa SDL_GetRendererInfo()
-- * \sa SDL_DestroyRenderer()
--
function SDL_CreateRenderer
(window : access SDL_video_h.Class_SDL_Window.SDL_Window;
index : int;
flags : SDL_stdinc_h.Uint32) return access SDL_Renderer; -- ..\SDL2_tmp\SDL_render.h:191
pragma Import (C, SDL_CreateRenderer, "SDL_CreateRenderer");
--*
-- * \brief Create a 2D software rendering context for a surface.
-- *
-- * \param surface The surface where rendering is done.
-- *
-- * \return A valid rendering context or NULL if there was an error.
-- *
-- * \sa SDL_CreateRenderer()
-- * \sa SDL_DestroyRenderer()
--
function SDL_CreateSoftwareRenderer (surface : access SDL_surface_h.SDL_Surface) return access SDL_Renderer; -- ..\SDL2_tmp\SDL_render.h:204
pragma Import (C, SDL_CreateSoftwareRenderer, "SDL_CreateSoftwareRenderer");
--*
-- * \brief Get the renderer associated with a window.
--
function SDL_GetRenderer (window : access SDL_video_h.Class_SDL_Window.SDL_Window) return access SDL_Renderer; -- ..\SDL2_tmp\SDL_render.h:209
pragma Import (C, SDL_GetRenderer, "SDL_GetRenderer");
--*
-- * \brief Get information about a rendering context.
--
function SDL_GetRendererInfo (renderer : access SDL_Renderer; info : access SDL_RendererInfo) return int; -- ..\SDL2_tmp\SDL_render.h:214
pragma Import (C, SDL_GetRendererInfo, "SDL_GetRendererInfo");
--*
-- * \brief Get the output size in pixels of a rendering context.
--
function SDL_GetRendererOutputSize
(renderer : access SDL_Renderer;
w : access int;
h : access int) return int; -- ..\SDL2_tmp\SDL_render.h:220
pragma Import (C, SDL_GetRendererOutputSize, "SDL_GetRendererOutputSize");
--*
-- * \brief Create a texture for a rendering context.
-- *
-- * \param renderer The renderer.
-- * \param format The format of the texture.
-- * \param access One of the enumerated values in ::SDL_TextureAccess.
-- * \param w The width of the texture in pixels.
-- * \param h The height of the texture in pixels.
-- *
-- * \return The created texture is returned, or NULL if no rendering context was
-- * active, the format was unsupported, or the width or height were out
-- * of range.
-- *
-- * \note The contents of the texture are not defined at creation.
-- *
-- * \sa SDL_QueryTexture()
-- * \sa SDL_UpdateTexture()
-- * \sa SDL_DestroyTexture()
--
function SDL_CreateTexture
(renderer : access SDL_Renderer;
format : SDL_stdinc_h.Uint32;
c_access : int;
w : int;
h : int) return access SDL_Texture; -- ..\SDL2_tmp\SDL_render.h:242
pragma Import (C, SDL_CreateTexture, "SDL_CreateTexture");
--*
-- * \brief Create a texture from an existing surface.
-- *
-- * \param renderer The renderer.
-- * \param surface The surface containing pixel data used to fill the texture.
-- *
-- * \return The created texture is returned, or NULL on error.
-- *
-- * \note The surface is not modified or freed by this function.
-- *
-- * \sa SDL_QueryTexture()
-- * \sa SDL_DestroyTexture()
--
function SDL_CreateTextureFromSurface (renderer : access SDL_Renderer; surface : access SDL_surface_h.SDL_Surface) return access SDL_Texture; -- ..\SDL2_tmp\SDL_render.h:260
pragma Import (C, SDL_CreateTextureFromSurface, "SDL_CreateTextureFromSurface");
--*
-- * \brief Query the attributes of a texture
-- *
-- * \param texture A texture to be queried.
-- * \param format A pointer filled in with the raw format of the texture. The
-- * actual format may differ, but pixel transfers will use this
-- * format.
-- * \param access A pointer filled in with the actual access to the texture.
-- * \param w A pointer filled in with the width of the texture in pixels.
-- * \param h A pointer filled in with the height of the texture in pixels.
-- *
-- * \return 0 on success, or -1 if the texture is not valid.
--
function SDL_QueryTexture
(texture : access SDL_Texture;
format : access SDL_stdinc_h.Uint32;
c_access : access int;
w : access int;
h : access int) return int; -- ..\SDL2_tmp\SDL_render.h:275
pragma Import (C, SDL_QueryTexture, "SDL_QueryTexture");
--*
-- * \brief Set an additional color value used in render copy operations.
-- *
-- * \param texture The texture to update.
-- * \param r The red color value multiplied into copy operations.
-- * \param g The green color value multiplied into copy operations.
-- * \param b The blue color value multiplied into copy operations.
-- *
-- * \return 0 on success, or -1 if the texture is not valid or color modulation
-- * is not supported.
-- *
-- * \sa SDL_GetTextureColorMod()
--
function SDL_SetTextureColorMod
(texture : access SDL_Texture;
r : SDL_stdinc_h.Uint8;
g : SDL_stdinc_h.Uint8;
b : SDL_stdinc_h.Uint8) return int; -- ..\SDL2_tmp\SDL_render.h:292
pragma Import (C, SDL_SetTextureColorMod, "SDL_SetTextureColorMod");
--*
-- * \brief Get the additional color value used in render copy operations.
-- *
-- * \param texture The texture to query.
-- * \param r A pointer filled in with the current red color value.
-- * \param g A pointer filled in with the current green color value.
-- * \param b A pointer filled in with the current blue color value.
-- *
-- * \return 0 on success, or -1 if the texture is not valid.
-- *
-- * \sa SDL_SetTextureColorMod()
--
function SDL_GetTextureColorMod
(texture : access SDL_Texture;
r : access SDL_stdinc_h.Uint8;
g : access SDL_stdinc_h.Uint8;
b : access SDL_stdinc_h.Uint8) return int; -- ..\SDL2_tmp\SDL_render.h:308
pragma Import (C, SDL_GetTextureColorMod, "SDL_GetTextureColorMod");
--*
-- * \brief Set an additional alpha value used in render copy operations.
-- *
-- * \param texture The texture to update.
-- * \param alpha The alpha value multiplied into copy operations.
-- *
-- * \return 0 on success, or -1 if the texture is not valid or alpha modulation
-- * is not supported.
-- *
-- * \sa SDL_GetTextureAlphaMod()
--
function SDL_SetTextureAlphaMod (texture : access SDL_Texture; alpha : SDL_stdinc_h.Uint8) return int; -- ..\SDL2_tmp\SDL_render.h:323
pragma Import (C, SDL_SetTextureAlphaMod, "SDL_SetTextureAlphaMod");
--*
-- * \brief Get the additional alpha value used in render copy operations.
-- *
-- * \param texture The texture to query.
-- * \param alpha A pointer filled in with the current alpha value.
-- *
-- * \return 0 on success, or -1 if the texture is not valid.
-- *
-- * \sa SDL_SetTextureAlphaMod()
--
function SDL_GetTextureAlphaMod (texture : access SDL_Texture; alpha : access SDL_stdinc_h.Uint8) return int; -- ..\SDL2_tmp\SDL_render.h:336
pragma Import (C, SDL_GetTextureAlphaMod, "SDL_GetTextureAlphaMod");
--*
-- * \brief Set the blend mode used for texture copy operations.
-- *
-- * \param texture The texture to update.
-- * \param blendMode ::SDL_BlendMode to use for texture blending.
-- *
-- * \return 0 on success, or -1 if the texture is not valid or the blend mode is
-- * not supported.
-- *
-- * \note If the blend mode is not supported, the closest supported mode is
-- * chosen.
-- *
-- * \sa SDL_GetTextureBlendMode()
--
function SDL_SetTextureBlendMode (texture : access SDL_Texture; blendMode : SDL_blendmode_h.SDL_BlendMode) return int; -- ..\SDL2_tmp\SDL_render.h:353
pragma Import (C, SDL_SetTextureBlendMode, "SDL_SetTextureBlendMode");
--*
-- * \brief Get the blend mode used for texture copy operations.
-- *
-- * \param texture The texture to query.
-- * \param blendMode A pointer filled in with the current blend mode.
-- *
-- * \return 0 on success, or -1 if the texture is not valid.
-- *
-- * \sa SDL_SetTextureBlendMode()
--
function SDL_GetTextureBlendMode (texture : access SDL_Texture; blendMode : access SDL_blendmode_h.SDL_BlendMode) return int; -- ..\SDL2_tmp\SDL_render.h:366
pragma Import (C, SDL_GetTextureBlendMode, "SDL_GetTextureBlendMode");
--*
-- * \brief Update the given texture rectangle with new pixel data.
-- *
-- * \param texture The texture to update
-- * \param rect A pointer to the rectangle of pixels to update, or NULL to
-- * update the entire texture.
-- * \param pixels The raw pixel data in the format of the texture.
-- * \param pitch The number of bytes in a row of pixel data, including padding between lines.
-- *
-- * The pixel data must be in the format of the texture. The pixel format can be
-- * queried with SDL_QueryTexture.
-- *
-- * \return 0 on success, or -1 if the texture is not valid.
-- *
-- * \note This is a fairly slow function.
--
function SDL_UpdateTexture
(texture : access SDL_Texture;
rect : access constant SDL_rect_h.SDL_Rect;
pixels : System.Address;
pitch : int) return int; -- ..\SDL2_tmp\SDL_render.h:385
pragma Import (C, SDL_UpdateTexture, "SDL_UpdateTexture");
--*
-- * \brief Update a rectangle within a planar YV12 or IYUV texture with new pixel data.
-- *
-- * \param texture The texture to update
-- * \param rect A pointer to the rectangle of pixels to update, or NULL to
-- * update the entire texture.
-- * \param Yplane The raw pixel data for the Y plane.
-- * \param Ypitch The number of bytes between rows of pixel data for the Y plane.
-- * \param Uplane The raw pixel data for the U plane.
-- * \param Upitch The number of bytes between rows of pixel data for the U plane.
-- * \param Vplane The raw pixel data for the V plane.
-- * \param Vpitch The number of bytes between rows of pixel data for the V plane.
-- *
-- * \return 0 on success, or -1 if the texture is not valid.
-- *
-- * \note You can use SDL_UpdateTexture() as long as your pixel data is
-- * a contiguous block of Y and U/V planes in the proper order, but
-- * this function is available if your pixel data is not contiguous.
--
function SDL_UpdateYUVTexture
(texture : access SDL_Texture;
rect : access constant SDL_rect_h.SDL_Rect;
Yplane : access SDL_stdinc_h.Uint8;
Ypitch : int;
Uplane : access SDL_stdinc_h.Uint8;
Upitch : int;
Vplane : access SDL_stdinc_h.Uint8;
Vpitch : int) return int; -- ..\SDL2_tmp\SDL_render.h:408
pragma Import (C, SDL_UpdateYUVTexture, "SDL_UpdateYUVTexture");
--*
-- * \brief Lock a portion of the texture for write-only pixel access.
-- *
-- * \param texture The texture to lock for access, which was created with
-- * ::SDL_TEXTUREACCESS_STREAMING.
-- * \param rect A pointer to the rectangle to lock for access. If the rect
-- * is NULL, the entire texture will be locked.
-- * \param pixels This is filled in with a pointer to the locked pixels,
-- * appropriately offset by the locked area.
-- * \param pitch This is filled in with the pitch of the locked pixels.
-- *
-- * \return 0 on success, or -1 if the texture is not valid or was not created with ::SDL_TEXTUREACCESS_STREAMING.
-- *
-- * \sa SDL_UnlockTexture()
--
function SDL_LockTexture
(texture : access SDL_Texture;
rect : access constant SDL_rect_h.SDL_Rect;
pixels : System.Address;
pitch : access int) return int; -- ..\SDL2_tmp\SDL_render.h:429
pragma Import (C, SDL_LockTexture, "SDL_LockTexture");
--*
-- * \brief Unlock a texture, uploading the changes to video memory, if needed.
-- *
-- * \sa SDL_LockTexture()
--
procedure SDL_UnlockTexture (texture : access SDL_Texture); -- ..\SDL2_tmp\SDL_render.h:438
pragma Import (C, SDL_UnlockTexture, "SDL_UnlockTexture");
--*
-- * \brief Determines whether a window supports the use of render targets
-- *
-- * \param renderer The renderer that will be checked
-- *
-- * \return SDL_TRUE if supported, SDL_FALSE if not.
--
function SDL_RenderTargetSupported (renderer : access SDL_Renderer) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_render.h:447
pragma Import (C, SDL_RenderTargetSupported, "SDL_RenderTargetSupported");
--*
-- * \brief Set a texture as the current rendering target.
-- *
-- * \param renderer The renderer.
-- * \param texture The targeted texture, which must be created with the SDL_TEXTUREACCESS_TARGET flag, or NULL for the default render target
-- *
-- * \return 0 on success, or -1 on error
-- *
-- * \sa SDL_GetRenderTarget()
--
function SDL_SetRenderTarget (renderer : access SDL_Renderer; texture : access SDL_Texture) return int; -- ..\SDL2_tmp\SDL_render.h:459
pragma Import (C, SDL_SetRenderTarget, "SDL_SetRenderTarget");
--*
-- * \brief Get the current render target or NULL for the default render target.
-- *
-- * \return The current render target
-- *
-- * \sa SDL_SetRenderTarget()
--
function SDL_GetRenderTarget (renderer : access SDL_Renderer) return access SDL_Texture; -- ..\SDL2_tmp\SDL_render.h:469
pragma Import (C, SDL_GetRenderTarget, "SDL_GetRenderTarget");
--*
-- * \brief Set device independent resolution for rendering
-- *
-- * \param renderer The renderer for which resolution should be set.
-- * \param w The width of the logical resolution
-- * \param h The height of the logical resolution
-- *
-- * This function uses the viewport and scaling functionality to allow a fixed logical
-- * resolution for rendering, regardless of the actual output resolution. If the actual
-- * output resolution doesn't have the same aspect ratio the output rendering will be
-- * centered within the output display.
-- *
-- * If the output display is a window, mouse events in the window will be filtered
-- * and scaled so they seem to arrive within the logical resolution.
-- *
-- * \note If this function results in scaling or subpixel drawing by the
-- * rendering backend, it will be handled using the appropriate
-- * quality hints.
-- *
-- * \sa SDL_RenderGetLogicalSize()
-- * \sa SDL_RenderSetScale()
-- * \sa SDL_RenderSetViewport()
--
function SDL_RenderSetLogicalSize
(renderer : access SDL_Renderer;
w : int;
h : int) return int; -- ..\SDL2_tmp\SDL_render.h:494
pragma Import (C, SDL_RenderSetLogicalSize, "SDL_RenderSetLogicalSize");
--*
-- * \brief Get device independent resolution for rendering
-- *
-- * \param renderer The renderer from which resolution should be queried.
-- * \param w A pointer filled with the width of the logical resolution
-- * \param h A pointer filled with the height of the logical resolution
-- *
-- * \sa SDL_RenderSetLogicalSize()
--
procedure SDL_RenderGetLogicalSize
(renderer : access SDL_Renderer;
w : access int;
h : access int); -- ..\SDL2_tmp\SDL_render.h:505
pragma Import (C, SDL_RenderGetLogicalSize, "SDL_RenderGetLogicalSize");
--*
-- * \brief Set whether to force integer scales for resolution-independent rendering
-- *
-- * \param renderer The renderer for which integer scaling should be set.
-- * \param enable Enable or disable integer scaling
-- *
-- * This function restricts the logical viewport to integer values - that is, when
-- * a resolution is between two multiples of a logical size, the viewport size is
-- * rounded down to the lower multiple.
-- *
-- * \sa SDL_RenderSetLogicalSize()
--
function SDL_RenderSetIntegerScale (renderer : access SDL_Renderer; enable : SDL_stdinc_h.SDL_bool) return int; -- ..\SDL2_tmp\SDL_render.h:519
pragma Import (C, SDL_RenderSetIntegerScale, "SDL_RenderSetIntegerScale");
--*
-- * \brief Get whether integer scales are forced for resolution-independent rendering
-- *
-- * \param renderer The renderer from which integer scaling should be queried.
-- *
-- * \sa SDL_RenderSetIntegerScale()
--
function SDL_RenderGetIntegerScale (renderer : access SDL_Renderer) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_render.h:529
pragma Import (C, SDL_RenderGetIntegerScale, "SDL_RenderGetIntegerScale");
--*
-- * \brief Set the drawing area for rendering on the current target.
-- *
-- * \param renderer The renderer for which the drawing area should be set.
-- * \param rect The rectangle representing the drawing area, or NULL to set the viewport to the entire target.
-- *
-- * The x,y of the viewport rect represents the origin for rendering.
-- *
-- * \return 0 on success, or -1 on error
-- *
-- * \note If the window associated with the renderer is resized, the viewport is automatically reset.
-- *
-- * \sa SDL_RenderGetViewport()
-- * \sa SDL_RenderSetLogicalSize()
--
function SDL_RenderSetViewport (renderer : access SDL_Renderer; rect : access constant SDL_rect_h.SDL_Rect) return int; -- ..\SDL2_tmp\SDL_render.h:546
pragma Import (C, SDL_RenderSetViewport, "SDL_RenderSetViewport");
--*
-- * \brief Get the drawing area for the current target.
-- *
-- * \sa SDL_RenderSetViewport()
--
procedure SDL_RenderGetViewport (renderer : access SDL_Renderer; rect : access SDL_rect_h.SDL_Rect); -- ..\SDL2_tmp\SDL_render.h:554
pragma Import (C, SDL_RenderGetViewport, "SDL_RenderGetViewport");
--*
-- * \brief Set the clip rectangle for the current target.
-- *
-- * \param renderer The renderer for which clip rectangle should be set.
-- * \param rect A pointer to the rectangle to set as the clip rectangle, or
-- * NULL to disable clipping.
-- *
-- * \return 0 on success, or -1 on error
-- *
-- * \sa SDL_RenderGetClipRect()
--
function SDL_RenderSetClipRect (renderer : access SDL_Renderer; rect : access constant SDL_rect_h.SDL_Rect) return int; -- ..\SDL2_tmp\SDL_render.h:568
pragma Import (C, SDL_RenderSetClipRect, "SDL_RenderSetClipRect");
--*
-- * \brief Get the clip rectangle for the current target.
-- *
-- * \param renderer The renderer from which clip rectangle should be queried.
-- * \param rect A pointer filled in with the current clip rectangle, or
-- * an empty rectangle if clipping is disabled.
-- *
-- * \sa SDL_RenderSetClipRect()
--
procedure SDL_RenderGetClipRect (renderer : access SDL_Renderer; rect : access SDL_rect_h.SDL_Rect); -- ..\SDL2_tmp\SDL_render.h:580
pragma Import (C, SDL_RenderGetClipRect, "SDL_RenderGetClipRect");
--*
-- * \brief Get whether clipping is enabled on the given renderer.
-- *
-- * \param renderer The renderer from which clip state should be queried.
-- *
-- * \sa SDL_RenderGetClipRect()
--
function SDL_RenderIsClipEnabled (renderer : access SDL_Renderer) return SDL_stdinc_h.SDL_bool; -- ..\SDL2_tmp\SDL_render.h:590
pragma Import (C, SDL_RenderIsClipEnabled, "SDL_RenderIsClipEnabled");
--*
-- * \brief Set the drawing scale for rendering on the current target.
-- *
-- * \param renderer The renderer for which the drawing scale should be set.
-- * \param scaleX The horizontal scaling factor
-- * \param scaleY The vertical scaling factor
-- *
-- * The drawing coordinates are scaled by the x/y scaling factors
-- * before they are used by the renderer. This allows resolution
-- * independent drawing with a single coordinate system.
-- *
-- * \note If this results in scaling or subpixel drawing by the
-- * rendering backend, it will be handled using the appropriate
-- * quality hints. For best results use integer scaling factors.
-- *
-- * \sa SDL_RenderGetScale()
-- * \sa SDL_RenderSetLogicalSize()
--
function SDL_RenderSetScale
(renderer : access SDL_Renderer;
scaleX : float;
scaleY : float) return int; -- ..\SDL2_tmp\SDL_render.h:611
pragma Import (C, SDL_RenderSetScale, "SDL_RenderSetScale");
--*
-- * \brief Get the drawing scale for the current target.
-- *
-- * \param renderer The renderer from which drawing scale should be queried.
-- * \param scaleX A pointer filled in with the horizontal scaling factor
-- * \param scaleY A pointer filled in with the vertical scaling factor
-- *
-- * \sa SDL_RenderSetScale()
--
procedure SDL_RenderGetScale
(renderer : access SDL_Renderer;
scaleX : access float;
scaleY : access float); -- ..\SDL2_tmp\SDL_render.h:623
pragma Import (C, SDL_RenderGetScale, "SDL_RenderGetScale");
--*
-- * \brief Set the color used for drawing operations (Rect, Line and Clear).
-- *
-- * \param renderer The renderer for which drawing color should be set.
-- * \param r The red value used to draw on the rendering target.
-- * \param g The green value used to draw on the rendering target.
-- * \param b The blue value used to draw on the rendering target.
-- * \param a The alpha value used to draw on the rendering target, usually
-- * ::SDL_ALPHA_OPAQUE (255).
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_SetRenderDrawColor
(renderer : access SDL_Renderer;
r : SDL_stdinc_h.Uint8;
g : SDL_stdinc_h.Uint8;
b : SDL_stdinc_h.Uint8;
a : SDL_stdinc_h.Uint8) return int; -- ..\SDL2_tmp\SDL_render.h:638
pragma Import (C, SDL_SetRenderDrawColor, "SDL_SetRenderDrawColor");
--*
-- * \brief Get the color used for drawing operations (Rect, Line and Clear).
-- *
-- * \param renderer The renderer from which drawing color should be queried.
-- * \param r A pointer to the red value used to draw on the rendering target.
-- * \param g A pointer to the green value used to draw on the rendering target.
-- * \param b A pointer to the blue value used to draw on the rendering target.
-- * \param a A pointer to the alpha value used to draw on the rendering target,
-- * usually ::SDL_ALPHA_OPAQUE (255).
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_GetRenderDrawColor
(renderer : access SDL_Renderer;
r : access SDL_stdinc_h.Uint8;
g : access SDL_stdinc_h.Uint8;
b : access SDL_stdinc_h.Uint8;
a : access SDL_stdinc_h.Uint8) return int; -- ..\SDL2_tmp\SDL_render.h:654
pragma Import (C, SDL_GetRenderDrawColor, "SDL_GetRenderDrawColor");
--*
-- * \brief Set the blend mode used for drawing operations (Fill and Line).
-- *
-- * \param renderer The renderer for which blend mode should be set.
-- * \param blendMode ::SDL_BlendMode to use for blending.
-- *
-- * \return 0 on success, or -1 on error
-- *
-- * \note If the blend mode is not supported, the closest supported mode is
-- * chosen.
-- *
-- * \sa SDL_GetRenderDrawBlendMode()
--
function SDL_SetRenderDrawBlendMode (renderer : access SDL_Renderer; blendMode : SDL_blendmode_h.SDL_BlendMode) return int; -- ..\SDL2_tmp\SDL_render.h:671
pragma Import (C, SDL_SetRenderDrawBlendMode, "SDL_SetRenderDrawBlendMode");
--*
-- * \brief Get the blend mode used for drawing operations.
-- *
-- * \param renderer The renderer from which blend mode should be queried.
-- * \param blendMode A pointer filled in with the current blend mode.
-- *
-- * \return 0 on success, or -1 on error
-- *
-- * \sa SDL_SetRenderDrawBlendMode()
--
function SDL_GetRenderDrawBlendMode (renderer : access SDL_Renderer; blendMode : access SDL_blendmode_h.SDL_BlendMode) return int; -- ..\SDL2_tmp\SDL_render.h:684
pragma Import (C, SDL_GetRenderDrawBlendMode, "SDL_GetRenderDrawBlendMode");
--*
-- * \brief Clear the current rendering target with the drawing color
-- *
-- * This function clears the entire rendering target, ignoring the viewport and
-- * the clip rectangle.
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderClear (renderer : access SDL_Renderer) return int; -- ..\SDL2_tmp\SDL_render.h:695
pragma Import (C, SDL_RenderClear, "SDL_RenderClear");
--*
-- * \brief Draw a point on the current rendering target.
-- *
-- * \param renderer The renderer which should draw a point.
-- * \param x The x coordinate of the point.
-- * \param y The y coordinate of the point.
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderDrawPoint
(renderer : access SDL_Renderer;
x : int;
y : int) return int; -- ..\SDL2_tmp\SDL_render.h:706
pragma Import (C, SDL_RenderDrawPoint, "SDL_RenderDrawPoint");
--*
-- * \brief Draw multiple points on the current rendering target.
-- *
-- * \param renderer The renderer which should draw multiple points.
-- * \param points The points to draw
-- * \param count The number of points to draw
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderDrawPoints
(renderer : access SDL_Renderer;
points : access constant SDL_rect_h.SDL_Point;
count : int) return int; -- ..\SDL2_tmp\SDL_render.h:718
pragma Import (C, SDL_RenderDrawPoints, "SDL_RenderDrawPoints");
--*
-- * \brief Draw a line on the current rendering target.
-- *
-- * \param renderer The renderer which should draw a line.
-- * \param x1 The x coordinate of the start point.
-- * \param y1 The y coordinate of the start point.
-- * \param x2 The x coordinate of the end point.
-- * \param y2 The y coordinate of the end point.
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderDrawLine
(renderer : access SDL_Renderer;
x1 : int;
y1 : int;
x2 : int;
y2 : int) return int; -- ..\SDL2_tmp\SDL_render.h:733
pragma Import (C, SDL_RenderDrawLine, "SDL_RenderDrawLine");
--*
-- * \brief Draw a series of connected lines on the current rendering target.
-- *
-- * \param renderer The renderer which should draw multiple lines.
-- * \param points The points along the lines
-- * \param count The number of points, drawing count-1 lines
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderDrawLines
(renderer : access SDL_Renderer;
points : access constant SDL_rect_h.SDL_Point;
count : int) return int; -- ..\SDL2_tmp\SDL_render.h:745
pragma Import (C, SDL_RenderDrawLines, "SDL_RenderDrawLines");
--*
-- * \brief Draw a rectangle on the current rendering target.
-- *
-- * \param renderer The renderer which should draw a rectangle.
-- * \param rect A pointer to the destination rectangle, or NULL to outline the entire rendering target.
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderDrawRect (renderer : access SDL_Renderer; rect : access constant SDL_rect_h.SDL_Rect) return int; -- ..\SDL2_tmp\SDL_render.h:757
pragma Import (C, SDL_RenderDrawRect, "SDL_RenderDrawRect");
--*
-- * \brief Draw some number of rectangles on the current rendering target.
-- *
-- * \param renderer The renderer which should draw multiple rectangles.
-- * \param rects A pointer to an array of destination rectangles.
-- * \param count The number of rectangles.
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderDrawRects
(renderer : access SDL_Renderer;
rects : access constant SDL_rect_h.SDL_Rect;
count : int) return int; -- ..\SDL2_tmp\SDL_render.h:769
pragma Import (C, SDL_RenderDrawRects, "SDL_RenderDrawRects");
--*
-- * \brief Fill a rectangle on the current rendering target with the drawing color.
-- *
-- * \param renderer The renderer which should fill a rectangle.
-- * \param rect A pointer to the destination rectangle, or NULL for the entire
-- * rendering target.
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderFillRect (renderer : access SDL_Renderer; rect : access constant SDL_rect_h.SDL_Rect) return int; -- ..\SDL2_tmp\SDL_render.h:782
pragma Import (C, SDL_RenderFillRect, "SDL_RenderFillRect");
--*
-- * \brief Fill some number of rectangles on the current rendering target with the drawing color.
-- *
-- * \param renderer The renderer which should fill multiple rectangles.
-- * \param rects A pointer to an array of destination rectangles.
-- * \param count The number of rectangles.
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderFillRects
(renderer : access SDL_Renderer;
rects : access constant SDL_rect_h.SDL_Rect;
count : int) return int; -- ..\SDL2_tmp\SDL_render.h:794
pragma Import (C, SDL_RenderFillRects, "SDL_RenderFillRects");
--*
-- * \brief Copy a portion of the texture to the current rendering target.
-- *
-- * \param renderer The renderer which should copy parts of a texture.
-- * \param texture The source texture.
-- * \param srcrect A pointer to the source rectangle, or NULL for the entire
-- * texture.
-- * \param dstrect A pointer to the destination rectangle, or NULL for the
-- * entire rendering target.
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderCopy
(renderer : access SDL_Renderer;
texture : access SDL_Texture;
srcrect : access constant SDL_rect_h.SDL_Rect;
dstrect : access constant SDL_rect_h.SDL_Rect) return int; -- ..\SDL2_tmp\SDL_render.h:810
pragma Import (C, SDL_RenderCopy, "SDL_RenderCopy");
--*
-- * \brief Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center
-- *
-- * \param renderer The renderer which should copy parts of a texture.
-- * \param texture The source texture.
-- * \param srcrect A pointer to the source rectangle, or NULL for the entire
-- * texture.
-- * \param dstrect A pointer to the destination rectangle, or NULL for the
-- * entire rendering target.
-- * \param angle An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction
-- * \param center A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2).
-- * \param flip An SDL_RendererFlip value stating which flipping actions should be performed on the texture
-- *
-- * \return 0 on success, or -1 on error
--
function SDL_RenderCopyEx
(renderer : access SDL_Renderer;
texture : access SDL_Texture;
srcrect : access constant SDL_rect_h.SDL_Rect;
dstrect : access constant SDL_rect_h.SDL_Rect;
angle : double;
center : access constant SDL_rect_h.SDL_Point;
flip : SDL_RendererFlip) return int; -- ..\SDL2_tmp\SDL_render.h:830
pragma Import (C, SDL_RenderCopyEx, "SDL_RenderCopyEx");
--*
-- * \brief Read pixels from the current rendering target.
-- *
-- * \param renderer The renderer from which pixels should be read.
-- * \param rect A pointer to the rectangle to read, or NULL for the entire
-- * render target.
-- * \param format The desired format of the pixel data, or 0 to use the format
-- * of the rendering target
-- * \param pixels A pointer to be filled in with the pixel data
-- * \param pitch The pitch of the pixels parameter.
-- *
-- * \return 0 on success, or -1 if pixel reading is not supported.
-- *
-- * \warning This is a very slow operation, and should not be used frequently.
--
function SDL_RenderReadPixels
(renderer : access SDL_Renderer;
rect : access constant SDL_rect_h.SDL_Rect;
format : SDL_stdinc_h.Uint32;
pixels : System.Address;
pitch : int) return int; -- ..\SDL2_tmp\SDL_render.h:853
pragma Import (C, SDL_RenderReadPixels, "SDL_RenderReadPixels");
--*
-- * \brief Update the screen with rendering performed.
--
procedure SDL_RenderPresent (renderer : access SDL_Renderer); -- ..\SDL2_tmp\SDL_render.h:861
pragma Import (C, SDL_RenderPresent, "SDL_RenderPresent");
--*
-- * \brief Destroy the specified texture.
-- *
-- * \sa SDL_CreateTexture()
-- * \sa SDL_CreateTextureFromSurface()
--
procedure SDL_DestroyTexture (texture : access SDL_Texture); -- ..\SDL2_tmp\SDL_render.h:869
pragma Import (C, SDL_DestroyTexture, "SDL_DestroyTexture");
--*
-- * \brief Destroy the rendering context for a window and free associated
-- * textures.
-- *
-- * \sa SDL_CreateRenderer()
--
procedure SDL_DestroyRenderer (renderer : access SDL_Renderer); -- ..\SDL2_tmp\SDL_render.h:877
pragma Import (C, SDL_DestroyRenderer, "SDL_DestroyRenderer");
--*
-- * \brief Bind the texture to the current OpenGL/ES/ES2 context for use with
-- * OpenGL instructions.
-- *
-- * \param texture The SDL texture to bind
-- * \param texw A pointer to a float that will be filled with the texture width
-- * \param texh A pointer to a float that will be filled with the texture height
-- *
-- * \return 0 on success, or -1 if the operation is not supported
--
function SDL_GL_BindTexture
(texture : access SDL_Texture;
texw : access float;
texh : access float) return int; -- ..\SDL2_tmp\SDL_render.h:890
pragma Import (C, SDL_GL_BindTexture, "SDL_GL_BindTexture");
--*
-- * \brief Unbind a texture from the current OpenGL/ES/ES2 context.
-- *
-- * \param texture The SDL texture to unbind
-- *
-- * \return 0 on success, or -1 if the operation is not supported
--
function SDL_GL_UnbindTexture (texture : access SDL_Texture) return int; -- ..\SDL2_tmp\SDL_render.h:899
pragma Import (C, SDL_GL_UnbindTexture, "SDL_GL_UnbindTexture");
--*
-- * \brief Get the CAMetalLayer associated with the given Metal renderer
-- *
-- * \param renderer The renderer to query
-- *
-- * \return CAMetalLayer* on success, or NULL if the renderer isn't a Metal renderer
-- *
-- * \sa SDL_RenderGetMetalCommandEncoder()
--
function SDL_RenderGetMetalLayer (renderer : access SDL_Renderer) return System.Address; -- ..\SDL2_tmp\SDL_render.h:910
pragma Import (C, SDL_RenderGetMetalLayer, "SDL_RenderGetMetalLayer");
--*
-- * \brief Get the Metal command encoder for the current frame
-- *
-- * \param renderer The renderer to query
-- *
-- * \return id<MTLRenderCommandEncoder> on success, or NULL if the renderer isn't a Metal renderer
-- *
-- * \sa SDL_RenderGetMetalLayer()
--
function SDL_RenderGetMetalCommandEncoder (renderer : access SDL_Renderer) return System.Address; -- ..\SDL2_tmp\SDL_render.h:921
pragma Import (C, SDL_RenderGetMetalCommandEncoder, "SDL_RenderGetMetalCommandEncoder");
-- Ends C function definitions when using C++
-- vi: set ts=4 sw=4 expandtab:
end SDL_render_h;
|
programs/oeis/269/A269044.asm | neoneye/loda | 22 | 243250 | <reponame>neoneye/loda
; A269044: a(n) = 13*n + 7.
; 7,20,33,46,59,72,85,98,111,124,137,150,163,176,189,202,215,228,241,254,267,280,293,306,319,332,345,358,371,384,397,410,423,436,449,462,475,488,501,514,527,540,553,566,579,592,605,618,631,644,657,670,683,696,709,722,735,748,761,774,787,800,813,826,839,852,865,878,891,904,917,930,943,956,969,982,995,1008,1021,1034,1047,1060,1073,1086,1099,1112,1125,1138,1151,1164,1177,1190,1203,1216,1229,1242,1255,1268,1281,1294
mul $0,13
add $0,7
|
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_13363_1252.asm | ljhsiun2/medusa | 9 | 162512 | <filename>Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_13363_1252.asm
.global s_prepare_buffers
s_prepare_buffers:
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xcb03, %rsi
lea addresses_A_ht+0x16103, %rdi
nop
nop
nop
nop
inc %rbp
mov $123, %rcx
rep movsb
nop
nop
cmp $39867, %rbx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %r9
push %rbp
push %rbx
push %rdx
// Store
mov $0xe01, %r13
nop
nop
nop
nop
nop
add $34318, %r9
mov $0x5152535455565758, %rbp
movq %rbp, %xmm1
vmovups %ymm1, (%r13)
nop
dec %r9
// Faulty Load
lea addresses_US+0xdd03, %r14
nop
nop
nop
nop
nop
cmp %rdx, %rdx
movups (%r14), %xmm4
vpextrq $1, %xmm4, %rbx
lea oracles, %r9
and $0xff, %rbx
shlq $12, %rbx
mov (%r9,%rbx,1), %rbx
pop %rdx
pop %rbx
pop %rbp
pop %r9
pop %r14
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 10, 'same': True}}
{'00': 13363}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
mp3/extra.asm | Candy-Crusher/ece220 | 0 | 2388 | <filename>mp3/extra.asm
.ORIG x4800
.FILL x15 ; M W F
.FILL NAME1 ; "A"
.FILL x0290 ; 10, 13, 15
.FILL x01 ; F
.FILL NAME2 ; "B"
.FILL x8114 ; 8, 10, 14
.FILL x1F ; M Tu W Th F
.FILL NAME3 ; "C"
.FILL x0424 ; 8, 11, 16
.FILL x0B ; Tu Th F
.FILL NAME4 ; "D"
.FILL x0128 ; 9, 11, 14
.FILL x1C ; M Tu W
.FILL NAME5 ; "E"
.FILL x8A08 ; 9, 15, 17
.FILL x12 ; M Th
.FILL NAME6 ; "F"
.FILL x8C80 ; 13, 16, 17
.FILL #-1 ; end of list
NAME1 .STRINGZ "A"
NAME2 .STRINGZ "B"
NAME3 .STRINGZ "C"
NAME4 .STRINGZ "D"
NAME5 .STRINGZ "E"
NAME6 .STRINGZ "F"
.END
|
programs/oeis/009/A009979.asm | neoneye/loda | 22 | 16091 | <gh_stars>10-100
; A009979: Powers of 35.
; 1,35,1225,42875,1500625,52521875,1838265625,64339296875,2251875390625,78815638671875,2758547353515625,96549157373046875,3379220508056640625,118272717781982421875,4139545122369384765625,144884079282928466796875,5070942774902496337890625,177482997121587371826171875,6211904899255558013916015625,217416671473944530487060546875,7609583501588058567047119140625,266335422555582049846649169921875,9321739789445371744632720947265625,326260892630588011062145233154296875
mov $1,35
pow $1,$0
mov $0,$1
|
SiriRemote/AppleRemote_1FingeTouchPadTopClick_HOLD.applescript | guileschool/SiriRemoteBTT | 20 | 716 | <filename>SiriRemote/AppleRemote_1FingeTouchPadTopClick_HOLD.applescript
(*
The MIT License (MIT)
Copyright (c) 2015 guileschool
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
http://github.com/guileschool/SiriRemoteBTT
*)
-- rate a song with Hearts
set state to "paused"
try
tell application "System Events"
if exists process "iTunes" then
-- PLAY / PAUSE
tell application "iTunes"
set state to get player state as text
if state is "playing" then
pause
end if
end tell
else
-- display dialog "iTunes is none"
return -- ignore
end if
end tell
on error
-- display dialog "Exception occur"
end try
-- get a current volume setting and save it
set savedSettings to get volume settings
-- result: {output volume:43, input volume:35, alert volume:78, output muted:false}
set volume output volume 90
-- click!
set playsound to POSIX path of ("/System/Library/Sounds/Tink.aiff")
do shell script ("afplay " & playsound & " > /dev/null 2>&1 &")
-- set a track to loved(heart) on iTunes
on replace_chars(this_text, search_string, replacement_string)
set AppleScript's text item delimiters to the search_string
set the item_list to every text item of this_text
set AppleScript's text item delimiters to the replacement_string
set this_text to the item_list as string
set AppleScript's text item delimiters to ""
return this_text
end replace_chars
try
tell application "iTunes"
set aLoved to loved of current track
set aName to name of current track
set aArtist to artist of current track
set aName to (do shell script "echo '" & aName & "'| sed 's/[^가-힝a-zA-Z0-9]//g'")
set aArtist to (do shell script "echo '" & aArtist & "'| sed 's/[^가-힝a-zA-Z0-9]//g'")
set aName to do shell script "echo " & aName & " | sed 's/^\\([^[:alpha:]가-힣]* \\)\\([.]*\\)/\\2/'"
-- for Korean
set aa1 to (do shell script "echo " & aName & " | grep -i '[가-힣]'; echo $?")
if aa1 ends with "0" then
if aArtist is not "" then
set aArtist to aArtist & "의.." -- Artist info is exist
else
set aArtist to aArtist & "" -- Artist info none
end if
else
if aArtist is not "" then
set aArtist to aArtist & ".." -- Artist info is exist
else
set aArtist to aArtist & "" -- Artist info none
end if
end if
if aLoved is false then
set loved of current track to true
if aa1 ends with "0" then
display notification aArtist & aName
do shell script "say -v yuna \"좋아하는 음악에 ...\"" & aArtist & aName & ".를 ... 추가하였습니다"
else
display notification aName & aArtist
do shell script "say -v Samantha " & aArtist & ".." & aName & "has been added to the list of your favorite songs"
end if
else
set loved of current track to false
if aa1 ends with "0" then
display notification "선택 취소 하였습니다"
do shell script "say -v yuna \"좋아하지는 않는 음악에 ... 혹은 ... 선택 취소 하였습니다\""
else
display notification "Non-preferred music"
do shell script "say -v Samantha " & aArtist & ".." & aName & ".." & "has been deleted from the list of your favorite songs"
end if
end if
end tell
end try
-- restore a old volume
set volume output volume (output volume of savedSettings)
-- restore a old iTunes play status
if state is "playing" then
tell application "iTunes" to play
end if
|
tracker-presentation.ads | mimo/Tracker | 1 | 2698 | <filename>tracker-presentation.ads<gh_stars>1-10
with Surface.Window;
package tracker.presentation is
type instance is new Surface.Window.Instance with record
Book_Completion : Collection;
end record;
overriding procedure Setup (self : in out instance);
overriding procedure Update (self : in out instance ; dt : Float);
type Element is (BG, SHADE, HIGHLIGHT, SHADOW, TEXT, LABEL);
type Color_Value is mod 2**32;
procedure Set_Color (E : Element ; C : Color_Value);
end tracker.presentation;
|
Cameras/Greedfall/InjectableGenericCameraSystem/Interceptor.asm | ashelleyPurdue/InjectableGenericCameraSystem | 0 | 15443 | <reponame>ashelleyPurdue/InjectableGenericCameraSystem
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2019, <NAME>
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// 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.
;//
;// 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.
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;---------------------------------------------------------------
; Game specific asm file to intercept execution flow to obtain addresses, prevent writes etc.
;---------------------------------------------------------------
;---------------------------------------------------------------
; Public definitions so the linker knows which names are present in this file
PUBLIC cameraStructInterceptor
PUBLIC cameraWrite1Interceptor
PUBLIC cameraWrite2Interceptor
PUBLIC cameraWrite3Interceptor
PUBLIC fogWriteInterceptor
PUBLIC todWriteInterceptor
PUBLIC gamespeedReadInterceptor
;---------------------------------------------------------------
;---------------------------------------------------------------
; Externs which are used and set by the system. Read / write these
; values in asm to communicate with the system
EXTERN g_cameraEnabled: byte
EXTERN g_cameraStructAddress: qword
EXTERN g_todStructAddress: qword
EXTERN g_gamespeedStructAddress: qword
EXTERN g_fogStructAddress: qword
;---------------------------------------------------------------
;---------------------------------------------------------------
; Own externs, defined in InterceptorHelper.cpp
EXTERN _cameraStructInterceptionContinue: qword
EXTERN _cameraWrite1InterceptionContinue: qword
EXTERN _cameraWrite2InterceptionContinue: qword
EXTERN _cameraWrite3InterceptionContinue: qword
EXTERN _todWriteInterceptionContinue: qword
EXTERN _gamespeedReadInterceptionContinue: qword
EXTERN _fogWriteInterceptionContinue: qword
.data
.code
cameraStructInterceptor PROC
;Engine.dll+365363 - 74 2D - je Engine.dll+365392
;Engine.dll+365365 - 48 8B CF - mov rcx,rdi
;Engine.dll+365368 - E8 A903CCFF - call Engine.Spider::danAnimationManager::findAnimationSet+C3
;Engine.dll+36536D - 4C 8D 87 F0000000 - lea r8,[rdi+000000F0]
;Engine.dll+365374 - 48 8B CB - mov rcx,rbx
;Engine.dll+365377 - 48 8D 54 24 60 - lea rdx,[rsp+60]
;Engine.dll+36537C - E8 008ACBFF - call Engine.CommonCore::spCircuitTLVElement::getCircuitName+127
;Engine.dll+365381 - 48 8B 9C 24 B0000000 - mov rbx,[rsp+000000B0]
;Engine.dll+365389 - 48 81 C4 A0000000 - add rsp,000000A0 { 160 }
;Engine.dll+365390 - 5F - pop rdi
;Engine.dll+365391 - C3 - ret
;Engine.dll+365392 - 66 0F7F 83 B0000000 - movdqa [rbx+000000B0],xmm0 << row 1 << INTERCEPT HERE
;Engine.dll+36539A - 66 0F7F 8B C0000000 - movdqa [rbx+000000C0],xmm1 << row 2
;Engine.dll+3653A2 - 66 0F7F 93 D0000000 - movdqa [rbx+000000D0],xmm2 << row 3
;Engine.dll+3653AA - 66 0F7F 9B E0000000 - movdqa [rbx+000000E0],xmm3 << row 4
;Engine.dll+3653B2 - 48 8B 9C 24 B0000000 - mov rbx,[rsp+000000B0] << CONTINUE HERE
;Engine.dll+3653BA - 48 81 C4 A0000000 - add rsp,000000A0 { 160 }
;Engine.dll+3653C1 - 5F - pop rdi
;Engine.dll+3653C2 - C3 - ret
mov [g_cameraStructAddress], rbx
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
movdqa xmmword ptr [rbx+000000B0h],xmm0
movdqa xmmword ptr [rbx+000000C0h],xmm1
movdqa xmmword ptr [rbx+000000D0h],xmm2
movdqa xmmword ptr [rbx+000000E0h],xmm3
exit:
jmp qword ptr [_cameraStructInterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
cameraStructInterceptor ENDP
cameraWrite1Interceptor PROC
;Engine.dll+2F213E - EB 2F - jmp Engine.dll+2F216F
;Engine.dll+2F2140 - 0F28 02 - movaps xmm0,[rdx]
;Engine.dll+2F2143 - 0F28 4A 10 - movaps xmm1,[rdx+10]
;Engine.dll+2F2147 - 0F28 52 20 - movaps xmm2,[rdx+20]
;Engine.dll+2F214B - 0F28 5A 30 - movaps xmm3,[rdx+30]
;Engine.dll+2F214F - 66 0F7F 81 B0000000 - movdqa [rcx+000000B0],xmm0 << row 1 << INTERCEPT HERE
;Engine.dll+2F2157 - 66 0F7F 89 C0000000 - movdqa [rcx+000000C0],xmm1 << row 2
;Engine.dll+2F215F - 66 0F7F 91 D0000000 - movdqa [rcx+000000D0],xmm2 << row 3
;Engine.dll+2F2167 - 66 0F7F 99 E0000000 - movdqa [rcx+000000E0],xmm3 << row 4
;Engine.dll+2F216F - 0F28 07 - movaps xmm0,[rdi] << CONTINUE HERE
;Engine.dll+2F2172 - 0F28 4F 10 - movaps xmm1,[rdi+10]
;Engine.dll+2F2176 - 0F28 57 20 - movaps xmm2,[rdi+20]
;Engine.dll+2F217A - 0F28 5F 30 - movaps xmm3,[rdi+30]
;Engine.dll+2F217E - 66 0F7F 83 F0000000 - movdqa [rbx+000000F0],xmm0
;Engine.dll+2F2186 - 66 0F7F 8B 00010000 - movdqa [rbx+00000100],xmm1
;Engine.dll+2F218E - 66 0F7F 93 10010000 - movdqa [rbx+00000110],xmm2
;Engine.dll+2F2196 - 66 0F7F 9B 20010000 - movdqa [rbx+00000120],xmm3
;Engine.dll+2F219E - 48 8B 9C 24 30010000 - mov rbx,[rsp+00000130]
;Engine.dll+2F21A6 - 48 81 C4 20010000 - add rsp,00000120 { 288 }
;Engine.dll+2F21AD - 5F - pop rdi
;Engine.dll+2F21AE - C3 - ret
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
movdqa xmmword ptr [rcx+000000B0h],xmm0
movdqa xmmword ptr [rcx+000000C0h],xmm1
movdqa xmmword ptr [rcx+000000D0h],xmm2
movdqa xmmword ptr [rcx+000000E0h],xmm3
exit:
jmp qword ptr [_cameraWrite1InterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
cameraWrite1Interceptor ENDP
cameraWrite2Interceptor PROC
;Engine.dll+7121A7 - 0FC6 F0 C4 - shufps xmm6,xmm0,-3C { 196 }
;Engine.dll+7121AB - 0F28 C4 - movaps xmm0,xmm4
;Engine.dll+7121AE - 0F29 B7 B0000000 - movaps [rdi+000000B0],xmm6 << WRITE row 1 << INTERCEPT HERE
;Engine.dll+7121B5 - 0FC6 87 C0000000 FA - shufps xmm0,[rdi+000000C0],-06 { 250 }
;Engine.dll+7121BD - 41 0F28 73 F0 - movaps xmm6,[r11-10]
;Engine.dll+7121C2 - 0FC6 E0 C4 - shufps xmm4,xmm0,-3C { 196 }
;Engine.dll+7121C6 - 0F28 C5 - movaps xmm0,xmm5
;Engine.dll+7121C9 - 0F29 A7 C0000000 - movaps [rdi+000000C0],xmm4 << WRITE row 2
;Engine.dll+7121D0 - 0FC6 87 D0000000 FA - shufps xmm0,[rdi+000000D0],-06 { 250 }
;Engine.dll+7121D8 - 0FC6 E8 C4 - shufps xmm5,xmm0,-3C { 196 }
;Engine.dll+7121DC - 0F29 AF D0000000 - movaps [rdi+000000D0],xmm5 << WRITE row 3
;Engine.dll+7121E3 - 49 8B 7B 18 - mov rdi,[r11+18] << CONTINUE HERE
;Engine.dll+7121E7 - 49 8B E3 - mov rsp,r11
;Engine.dll+7121EA - 5D - pop rbp
;Engine.dll+7121EB - C3 - ret
cmp byte ptr [g_cameraEnabled], 1
jne originalCode
noWrites:
shufps xmm0,xmmword ptr [rdi+000000C0h],-06h
movaps xmm6,xmmword ptr [r11-10h]
shufps xmm4,xmm0,-3Ch
movaps xmm0,xmm5
shufps xmm0,xmmword ptr [rdi+000000D0h],-06h
shufps xmm5,xmm0,-3Ch
jmp exit
originalCode:
movaps xmmword ptr [rdi+000000B0h],xmm6
shufps xmm0,xmmword ptr [rdi+000000C0h],-06h
movaps xmm6,xmmword ptr [r11-10h]
shufps xmm4,xmm0,-3Ch
movaps xmm0,xmm5
movaps xmmword ptr [rdi+000000C0h],xmm4
shufps xmm0,xmmword ptr [rdi+000000D0h],-06h
shufps xmm5,xmm0,-3Ch
movaps xmmword ptr [rdi+000000D0h],xmm5
exit:
jmp qword ptr [_cameraWrite2InterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
cameraWrite2Interceptor ENDP
cameraWrite3Interceptor PROC
;Engine.dll+383400 - 48 8B 41 10 - mov rax,[rcx+10]
;Engine.dll+383404 - 48 85 C0 - test rax,rax
;Engine.dll+383407 - 74 38 - je Engine.dll+383441
;Engine.dll+383409 - 0F28 02 - movaps xmm0,[rdx]
;Engine.dll+38340C - 0F28 4A 10 - movaps xmm1,[rdx+10]
;Engine.dll+383410 - 0F28 52 20 - movaps xmm2,[rdx+20]
;Engine.dll+383414 - 0F28 5A 30 - movaps xmm3,[rdx+30]
;Engine.dll+383418 - 66 0F7F 80 B0000000 - movdqa [rax+000000B0],xmm0 << row 1 << INTERCEPT HERE
;Engine.dll+383420 - 66 0F7F 88 C0000000 - movdqa [rax+000000C0],xmm1 << row 2
;Engine.dll+383428 - 66 0F7F 90 D0000000 - movdqa [rax+000000D0],xmm2 << row 3
;Engine.dll+383430 - 66 0F7F 98 E0000000 - movdqa [rax+000000E0],xmm3 << row 4
;Engine.dll+383438 - 48 8B 49 10 - mov rcx,[rcx+10] << CONTINUE HERE
;Engine.dll+38343C - E9 D522CAFF - jmp Engine.Spider::danAnimationManager::findAnimationSet+C3
;Engine.dll+383441 - C3 - ret
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
movdqa xmmword ptr [rax+000000B0h],xmm0
movdqa xmmword ptr [rax+000000C0h],xmm1
movdqa xmmword ptr [rax+000000D0h],xmm2
movdqa xmmword ptr [rax+000000E0h],xmm3
exit:
jmp qword ptr [_cameraWrite3InterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
cameraWrite3Interceptor ENDP
fogWriteInterceptor PROC
;Engine.dll+377E91 - 66 0F7F 83 60010000 - movdqa [rbx+00000160],xmm0
;Engine.dll+377E99 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377EA0 - 8B 47 40 - mov eax,[rdi+40]
;Engine.dll+377EA3 - 89 83 70010000 - mov [rbx+00000170],eax
;Engine.dll+377EA9 - C6 83 A4020000 01 - mov byte ptr [rbx+000002A4],01 { 1 }
;Engine.dll+377EB0 - 8B 47 44 - mov eax,[rdi+44]
;Engine.dll+377EB3 - 89 83 74010000 - mov [rbx+00000174],eax
;Engine.dll+377EB9 - C6 83 A5020000 01 - mov byte ptr [rbx+000002A5],01 { 1 }
;Engine.dll+377EC0 - 8B 47 48 - mov eax,[rdi+48]
;Engine.dll+377EC3 - 89 83 80010000 - mov [rbx+00000180],eax
;Engine.dll+377EC9 - C6 83 A6020000 01 - mov byte ptr [rbx+000002A6],01 { 1 }
;Engine.dll+377ED0 - 8B 47 4C - mov eax,[rdi+4C]
;Engine.dll+377ED3 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377EDA - 89 83 78010000 - mov [rbx+00000178],eax << WRITE Fog. Block to overrule it. << INTERCEPT HERE
;Engine.dll+377EE0 - 8B 47 50 - mov eax,[rdi+50]
;Engine.dll+377EE3 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377EEA - 89 83 7C010000 - mov [rbx+0000017C],eax << CONTINUE HERE
;Engine.dll+377EF0 - 8B 47 54 - mov eax,[rdi+54]
;Engine.dll+377EF3 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377EFA - 89 83 A8010000 - mov [rbx+000001A8],eax
;Engine.dll+377F00 - 8B 47 58 - mov eax,[rdi+58]
;Engine.dll+377F03 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377F0A - 89 83 AC010000 - mov [rbx+000001AC],eax
;Engine.dll+377F10 - 8B 47 5C - mov eax,[rdi+5C]
;Engine.dll+377F13 - C6 83 A3020000 01 - mov byte ptr [rbx+000002A3],01 { 1 }
;Engine.dll+377F1A - 89 83 B0010000 - mov [rbx+000001B0],eax
mov [g_fogStructAddress], rbx
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
mov [rbx+00000178h],eax
exit:
mov eax,[rdi+50h]
mov byte ptr [rbx+000002A3h],01h
jmp qword ptr [_fogWriteInterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
fogWriteInterceptor ENDP
todWriteInterceptor PROC
;Game.dll+5C1885 - 72 19 - jb Game.dll+5C18A0
;Game.dll+5C1887 - 8B 43 28 - mov eax,[rbx+28]
;Game.dll+5C188A - 66 0F1F 44 00 00 - nop [rax+rax+00]
;Game.dll+5C1890 - F3 41 0F58 C2 - addss xmm0,xmm10
;Game.dll+5C1895 - FF C0 - inc eax
;Game.dll+5C1897 - 41 0F2F C0 - comiss xmm0,xmm8
;Game.dll+5C189B - 73 F3 - jae Game.dll+5C1890
;Game.dll+5C189D - 89 43 28 - mov [rbx+28],eax
;Game.dll+5C18A0 - F3 0F10 4B 34 - movss xmm1,[rbx+34] << First address of non-jmp targets.
;Game.dll+5C18A5 - 41 0F2F C9 - comiss xmm1,xmm9
;Game.dll+5C18A9 - 44 0F28 54 24 50 - movaps xmm10,[rsp+50] << INTERCEPT HERE
;Game.dll+5C18AF - 44 0F28 44 24 70 - movaps xmm8,[rsp+70]
;Game.dll+5C18B5 - F3 0F11 43 2C - movss [rbx+2C],xmm0 << WRITE ToD. No need to block it as it is read above.
;Game.dll+5C18BA - 76 43 - jna Game.dll+5C18FF << CONTINUE
;Game.dll+5C18BC - F3 0F58 CA - addss xmm1,xmm2
;Game.dll+5C18C0 - 44 89 6B 34 - mov [rbx+34],r13d
;Game.dll+5C18C4 - C7 44 24 20 05000000 - mov [rsp+20],00000005 { 5 }
;Game.dll+5C18CC - C7 44 24 24 15000000 - mov [rsp+24],00000015 { 21 }
mov [g_todStructAddress], rbx
movaps xmm10, xmmword ptr [rsp+50h]
movaps xmm8, xmmword ptr [rsp+70h]
cmp byte ptr [g_cameraEnabled], 1
je exit
originalCode:
movss dword ptr [rbx+2Ch],xmm0
exit:
jmp qword ptr [_todWriteInterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
todWriteInterceptor ENDP
gamespeedReadInterceptor PROC
;Engine.dll+4E5E1F - EB 03 - jmp Engine.dll+4E5E24
;Engine.dll+4E5E21 - 0F57 C9 - xorps xmm1,xmm1
;Engine.dll+4E5E24 - F3 0F10 47 24 - movss xmm0,[rdi+24] << INTERCEPT HERE << Read gamespeed. 1 is normal, 0 is pause.
;Engine.dll+4E5E29 - F3 0F59 47 20 - mulss xmm0,[rdi+20]
;Engine.dll+4E5E2E - F3 0F59 C1 - mulss xmm0,xmm1
;Engine.dll+4E5E32 - F3 0F5D 05 26A74500 - minss xmm0,[Engine.Spider::danPooledAnimTreeDesc::`vftable'+1AE8] << CONTINUE HERE
;Engine.dll+4E5E3A - F3 0F11 83 90000000 - movss [rbx+00000090],xmm0
;Engine.dll+4E5E42 - 48 8B 5C 24 40 - mov rbx,[rsp+40]
;Engine.dll+4E5E47 - 0F28 7C 24 20 - movaps xmm7,[rsp+20]
;Engine.dll+4E5E4C - 48 83 C4 30 - add rsp,30 { 48 }
;Engine.dll+4E5E50 - 5F - pop rdi
;Engine.dll+4E5E51 - C3 - ret
mov [g_gamespeedStructAddress], rdi
movss xmm0,dword ptr [rdi+24h]
mulss xmm0,dword ptr [rdi+20h]
mulss xmm0,xmm1
exit:
jmp qword ptr [_gamespeedReadInterceptionContinue] ; jmp back into the original game code, which is the location after the original statements above.
gamespeedReadInterceptor ENDP
END |
interpreter/parser/TypedLambda.g4 | WunschUnreif/CS383-Visualization | 2 | 5421 | <filename>interpreter/parser/TypedLambda.g4
grammar TypedLambda;
program : SP* (using SP*)* SP* expr SP*;
using
: OPEN_MID SP* USING SP* IDENTIFIER SP* EQ SP* type SP* CLOSE_MID;
expr
: variable # e_variable
| literal # e_literal
| MIN SP* expr # e_uminus
| OP_NOT SP* expr # e_not
| FIX SP* expr # e_fix
| expr DOT INT # e_tuple_proj
| expr SP* op=(MUL|DIV|MOD) SP* expr # e_muldiv
| expr SP* op=(ADD|SUB) SP* expr # e_addsub
| expr SP* op=(LT|LTE|GT|GTE|EQ) SP* expr # e_compare
| expr SP* op=(OP_AND|OP_OR) SP* expr # e_logic
| <assoc=right> expr CONS expr # e_cons
| abstraction # e_abstraction
| expr SP+ expr # e_application
| IF SP* expr SP* THEN SP* expr SP* ELSE SP* expr # e_conditional
| LET SP* variable SP* EQ SP* expr SP* IN SP* expr # e_let
| CASE SP* expr SP*
CASE_OF SP* NIL SP* CASE_YIELD SP* expr SP*
CASE_OR SP* IDENTIFIER CONS IDENTIFIER SP* CASE_YIELD SP* expr
# e_case
| OPEN_PAR SP* expr SP* CLOSE_PAR # e_group
;
variable : IDENTIFIER;
abstraction : ABS variable SP* OF SP* type SP* DOT SP* expr;
literal
: INT # l_int
| TRUE # l_true
| FALSE # l_false
| OPEN_BRACE
SP* expr SP* (COMMA SP* expr SP*)*
CLOSE_BRACE # l_tuple
| NIL SP* OPEN_PAR SP* type SP* CLOSE_PAR # l_nil
;
type
: IDENTIFIER # t_using
| T_BOOL # t_bool
| T_INT # t_int
| <assoc=right> type SP* T_ARROW SP* type # t_arrow
| type SP* MUL SP* type # t_tuple
| OPEN_MID SP* type SP* CLOSE_MID # t_list
| OPEN_PAR SP* type SP* CLOSE_PAR # t_group
;
// LEXER Part:
INT : ('0') | ('1'..'9')('0'..'9')*;
TRUE : 'true';
FALSE : 'false';
NIL : 'nil';
ABS : '\\';
DOT : '.';
CONS : '::';
OF : ':';
IF : 'if';
THEN : 'then';
ELSE : 'else';
LET : 'let';
IN : 'in';
USING : 'using';
CASE : 'case';
CASE_OF : 'of';
CASE_YIELD : '=>';
CASE_OR : '|';
FIX : 'fix';
ADD : '+';
SUB : '-';
MUL : '*';
DIV : '/';
MOD : '%';
LT : '<';
LTE : '<=';
GT : '>';
GTE : '>=';
EQ : '=';
OP_AND : 'and';
OP_OR : 'or';
OP_NOT : 'not';
MIN : '~';
T_BOOL : 'Bool';
T_INT : 'Int';
T_ARROW : '->';
OPEN_PAR : '(';
CLOSE_PAR : ')';
OPEN_MID : '[';
CLOSE_MID : ']';
OPEN_BRACE : '{';
CLOSE_BRACE : '}';
COMMA : ',';
IDENTIFIER : (('a'..'z')|('A'..'Z')|'_') (('a'..'z')|('A'..'Z')|'_'|('0'..'9'))*;
SP : ' ';
WS : ('\t' | '\n' | '\r') -> channel(1);
|
libsrc/target/z88/input/in_keytranstbl.asm | ahjelm/z88dk | 640 | 92299 |
; This table translates key presses into ascii codes.
; Also used by 'GetKey' and 'LookupKey'. An effort has been made for
; this key translation table to emulate a PC keyboard with the 'CTRL'
; key represented by CAPS SHIFT + SYM SHIFT.
SECTION rodata_clib
PUBLIC in_keytranstbl
.in_keytranstbl
defb 255, 255, 27, 255, 6, '.', '/', '|' ; RSH SQR ESC INDEX CAPS . / £
defb 255, 255, 7, 255, 255, ',', ';', '\'' ; HELP LSH TAB DIA MENU , ; '
defb '[', ' ', '1', 'q', 'a', 'z', 'l', '0' ;[ SP 1 q a z l 0
defb ']', 8, '2', 'w', 's', 'x', 'm', 'p' ;] LEFT 2 w s x m p
defb '-', 9, '3', 'e', 'd', 'c', 'k', '9' ;- RIGH 3 e d c k 9
defb '=', 10, '4', 'r', 'f', 'v', 'j', 'o' ;= DOWN 4 r f v j o
defb '\\', 11, '5', 't', 'g', 'b', 'u', 'i' ;\ UP 5 t g b u i
defb 12, 13, '6', 'y', 'h', 'n', '7', '8' ;DEL ENTER 6 y h n 6 7
;Shifted
defb 255, 255, 27, 255, 6, '>', '?', '~' ; RSH SQR ESC INDEX CAPS . / £
defb 255, 255, 7, 255, 255, '<', ':', '\"' ; HELP LSH TAB DIA MENU , ; '
defb '{', ' ', '!', 'Q', 'A', 'Z', 'L', ')' ;[ SP 1 q a z l 0
defb '}', 8, '@', 'W', 'S', 'X', 'M', 'P' ;] LEFT 2 w s x m p
defb '-', 9, '#', 'E', 'D', 'C', 'K', '(' ;- RIGH 3 e d c k 9
defb '=', 10, '$', 'R', 'F', 'V', 'J', 'O' ;= DOWN 4 r f v j o
defb '\\', 11, '%', 'T', 'G', 'B', 'U', 'I' ;\ UP 5 t g b u i
defb 127, 13, '^', 'Y', 'H', 'N', '&', '*' ;DEL ENTER 6 y h n 6 7
;Control
defb 255, 255, 27, 255, 6, '.', '/', '|' ; RSH SQR ESC INDEX CAPS . / £
defb 255, 255, 7, 255, 255, ',', ';', '\'' ; HELP LSH TAB DIA MENU , ; '
defb '[', ' ', '1', 17, 1, 26, 12, '0' ;[ SP 1 q a z l 0
defb ']', 8, '2', 23, 19, 24, 13, 16 ;] LEFT 2 w s x m p
defb '-', 9, '3', 5, 4, 3, 11, '9' ;- RIGH 3 e d c k 9
defb '=', 10, '4', 18, 6, 22, 10, 15 ;= DOWN 4 r f v j o
defb '\\', 11, '5', 20, 7, 2, 21, 9 ;\ UP 5 t g b u i
defb 12, 13, '6', 25, 8, 14, '7', '8' ;DEL ENTER 6 y h n 6 7
|
src/convtest/aviotest0.adb | shintakezou/adaplayground | 0 | 33 | <filename>src/convtest/aviotest0.adb
with Measure_Units; use Measure_Units;
with Ada.Text_IO; use Ada.Text_IO;
procedure Aviotest0 is
Avg_Speed : Kn := 350.0;
Travel_Time : Duration := 2.0 * 3600.0; -- two hours
CR : Climb_Rate := 1500.0;
Climb_Time : Duration := 60.0 * 20; -- 2 minutes
Alt0 : Ft := 50_000.0; -- from here
Alt1 : Ft := 20_000.0; -- to here
Sink_Time : Duration := 60.0 * 10; -- in 10 minutes
begin
Put_Line ("avg speed (kt): " & Avg_Speed);
Put_Line ("avg speed (m/s): " & To_Mps (Avg_Speed));
Put_Line ("flight duration (s): " & Duration'Image (Travel_Time));
Put_Line ("distance (NM): " & (Avg_Speed * Travel_Time));
Put_Line ("distance (m): " & To_Meters (Avg_Speed * Travel_Time));
Put_Line ("climb rate (ft/min): " & CR);
Put_Line ("alt (ft) after "
& Duration'Image (Climb_Time)
& " s: "
& (CR * Climb_Time));
Put_Line ("change alt rate (ft/m): " & ((Alt1 - Alt0) / Sink_Time));
end Aviotest0;
|
Task/Text-processing-1/Ada/text-processing-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 29025 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Strings_Edit; use Strings_Edit;
with Strings_Edit.Floats; use Strings_Edit.Floats;
with Strings_Edit.Integers; use Strings_Edit.Integers;
procedure Data_Munging is
Syntax_Error : exception;
type Gap_Data is record
Count : Natural := 0;
Line : Natural := 0;
Pointer : Integer;
Year : Integer;
Month : Integer;
Day : Integer;
end record;
File : File_Type;
Max : Gap_Data;
This : Gap_Data;
Current : Gap_Data;
Count : Natural := 0;
Sum : Float := 0.0;
begin
Open (File, In_File, "readings.txt");
loop
declare
Line : constant String := Get_Line (File);
Pointer : Integer := Line'First;
Flag : Integer;
Data : Float;
begin
Current.Line := Current.Line + 1;
Get (Line, Pointer, SpaceAndTab);
Get (Line, Pointer, Current.Year);
Get (Line, Pointer, Current.Month);
Get (Line, Pointer, Current.Day);
while Pointer <= Line'Last loop
Get (Line, Pointer, SpaceAndTab);
Current.Pointer := Pointer;
Get (Line, Pointer, Data);
Get (Line, Pointer, SpaceAndTab);
Get (Line, Pointer, Flag);
if Flag < 0 then
if This.Count = 0 then
This := Current;
end if;
This.Count := This.Count + 1;
else
if This.Count > 0 and then Max.Count < This.Count then
Max := This;
end if;
This.Count := 0;
Count := Count + 1;
Sum := Sum + Data;
end if;
end loop;
exception
when End_Error =>
raise Syntax_Error;
end;
end loop;
exception
when End_Error =>
Close (File);
if This.Count > 0 and then Max.Count < This.Count then
Max := This;
end if;
Put_Line ("Average " & Image (Sum / Float (Count)) & " over " & Image (Count));
if Max.Count > 0 then
Put ("Max. " & Image (Max.Count) & " false readings start at ");
Put (Image (Max.Line) & ':' & Image (Max.Pointer) & " stamped ");
Put_Line (Image (Max.Year) & Image (Max.Month) & Image (Max.Day));
end if;
when others =>
Close (File);
Put_Line ("Syntax error at " & Image (Current.Line) & ':' & Image (Max.Pointer));
end Data_Munging;
|
Algorithms/List/Sort/Quick/Properties.agda | rei1024/agda-misc | 3 | 1454 | <reponame>rei1024/agda-misc
-- Properties of quicksort
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Algorithms.List.Sort.Quick.Properties
{c l₁ l₂} (DTO : DecTotalOrder c l₁ l₂)
where
-- agda-stdlib
open import Level
open import Data.List
import Data.List.Properties as Listₚ
import Data.List.Relation.Binary.Equality.Setoid as EqualitySetoid
import Data.List.Relation.Binary.Permutation.Setoid as PermutationSetoid
open import Data.Product
import Data.Nat as ℕ
open import Data.Nat.Induction as Ind
open import Relation.Binary as B
open import Relation.Unary as U
import Relation.Unary.Properties as Uₚ
open import Relation.Binary.PropositionalEquality as P using (_≡_)
import Relation.Binary.Reasoning.Setoid as SetoidReasoning
open import Function.Base
open import Induction.WellFounded
-- agda-misc
open import Algorithms.List.Sort.Common DTO
open import Algorithms.List.Sort.Quick
open DecTotalOrder DTO renaming (Carrier to A)
open Quicksort _≤?_
open PermutationSetoid Eq.setoid
open EqualitySetoid Eq.setoid
{-
sort-acc-cong : ∀ {xs ys rs₁ rs₂} → xs ≋ ys → sort-acc xs rs₁ ≋ sort-acc ys rs₂
sort-acc-cong {[]} {[]} {rs₁} {rs₂} xs≋ys = ≋-refl
sort-acc-cong {x ∷ xs} {y ∷ ys} {acc rs₁} {acc rs₂} (x≈y EqualitySetoid.∷ xs≋ys) =
++⁺ (sort-acc-cong {! !}) (++⁺ (x≈y ∷ []) {! !})
-}
{-
sort-acc-filter : ∀ x xs rs lt₁ lt₂ →
sort-acc (x ∷ xs) (acc rs) ≡
sort-acc (filter (_≤? x) xs) (rs _ lt₁) ++ [ x ] ++
sort-acc (filter (Uₚ.∁? (_≤? x)) xs) (rs _ lt₂)
sort-acc-filter x xs rs lt₁ lt₂ = begin
sort-acc (proj₁ (split x xs)) (rs _ _) ++ [ x ] ++
sort-acc (proj₂ (split x xs)) (rs _ _)
≡⟨ ? ⟩
sort-acc (filter (_≤? x) xs) (rs _ lt₁) ++ [ x ] ++
sort-acc (filter (Uₚ.∁? (_≤? x)) xs) (rs _ lt₂) ∎
sort-acc-permutation : ∀ xs ac → sort-acc xs ac ↭ xs
sort-acc-permutation [] ac = ↭-refl
sort-acc-permutation (x ∷ xs) (acc rs) = begin
sort-acc (x ∷ xs) (acc rs) ≈⟨ {! !} ⟩
x ∷ xs ∎
where open SetoidReasoning ↭-setoid
-}
|
source/oasis/program-elements-anonymous_access_to_procedures.ads | optikos/oasis | 0 | 4643 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Anonymous_Access_Definitions;
with Program.Lexical_Elements;
with Program.Elements.Parameter_Specifications;
package Program.Elements.Anonymous_Access_To_Procedures is
pragma Pure (Program.Elements.Anonymous_Access_To_Procedures);
type Anonymous_Access_To_Procedure is
limited interface
and Program.Elements.Anonymous_Access_Definitions
.Anonymous_Access_Definition;
type Anonymous_Access_To_Procedure_Access is
access all Anonymous_Access_To_Procedure'Class with Storage_Size => 0;
not overriding function Parameters
(Self : Anonymous_Access_To_Procedure)
return Program.Elements.Parameter_Specifications
.Parameter_Specification_Vector_Access is abstract;
not overriding function Has_Not_Null
(Self : Anonymous_Access_To_Procedure)
return Boolean is abstract;
not overriding function Has_Protected
(Self : Anonymous_Access_To_Procedure)
return Boolean is abstract;
type Anonymous_Access_To_Procedure_Text is limited interface;
type Anonymous_Access_To_Procedure_Text_Access is
access all Anonymous_Access_To_Procedure_Text'Class
with Storage_Size => 0;
not overriding function To_Anonymous_Access_To_Procedure_Text
(Self : aliased in out Anonymous_Access_To_Procedure)
return Anonymous_Access_To_Procedure_Text_Access is abstract;
not overriding function Not_Token
(Self : Anonymous_Access_To_Procedure_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Null_Token
(Self : Anonymous_Access_To_Procedure_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Access_Token
(Self : Anonymous_Access_To_Procedure_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
not overriding function Protected_Token
(Self : Anonymous_Access_To_Procedure_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Procedure_Token
(Self : Anonymous_Access_To_Procedure_Text)
return not null Program.Lexical_Elements.Lexical_Element_Access
is abstract;
not overriding function Left_Bracket_Token
(Self : Anonymous_Access_To_Procedure_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
not overriding function Right_Bracket_Token
(Self : Anonymous_Access_To_Procedure_Text)
return Program.Lexical_Elements.Lexical_Element_Access is abstract;
end Program.Elements.Anonymous_Access_To_Procedures;
|
alloy4fun_models/trainstlt/models/5/m8poMmu2CCJuHP2dX.als | Kaixi26/org.alloytools.alloy | 0 | 5002 | open main
pred idm8poMmu2CCJuHP2dX_prop6 {
always all s : Signal {
((s in Green) implies (eventually s not in Green))
or
((s not in Green) implies (eventually s in Green))
}
}
pred __repair { idm8poMmu2CCJuHP2dX_prop6 }
check __repair { idm8poMmu2CCJuHP2dX_prop6 <=> prop6o } |
libsrc/graphics/w_undraw.asm | andydansby/z88dk-mk2 | 1 | 22861 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
; Wide resolution (WORD based parameters) version by <NAME>
;
; $Id: w_undraw.asm,v 1.1 2008/07/17 15:39:56 stefano Exp $
;
XLIB undraw
LIB swapgfxbk
XREF swapgfxbk1
LIB w_line
LIB w_respixel
.undraw
ld ix,2
add ix,sp
ld l,(ix+6)
ld h,(ix+7)
ld e,(ix+4)
ld d,(ix+5)
call swapgfxbk
call w_respixel
call swapgfxbk1
ld l,(ix+2)
ld h,(ix+3)
ld e,(ix+0)
ld d,(ix+1)
call swapgfxbk
ld ix,w_respixel
call w_line
jp swapgfxbk1
|
src/sdl_display.adb | Fabien-Chouteau/lvgl-ada-simulator | 1 | 8206 | with Ada.Unchecked_Conversion;
with SDL.Video.Pixels;
with System;
with Interfaces.C; use Interfaces.C;
with SDL;
with SDL.Video.Windows;
with SDL.Video.Windows.Makers;
with SDL.Video.Surfaces;
with SDL.Video.Pixel_Formats;
with SDL.Video.Palettes; use SDL.Video.Palettes;
with SDL.Video.Pixel_Formats; use SDL.Video.Pixel_Formats;
with SDL.Video.Textures; use SDL.Video.Textures;
with SDL.Video.Textures.Makers;
with SDL.Video.Renderers;
with SDL.Video.Renderers.Makers;
with SDL.Events; use SDL.Events;
with SDL.Events.Events; use SDL.Events.Events;
with SDL.Events.Keyboards; use SDL.Events.Keyboards;
with SDL.Events.Mice; use SDL.Events.Mice;
with SDL.Inputs.Mice; use SDL.Inputs.Mice;
with LV; use LV;
with LV.Color;
with LV.VDB;
with LV.HAL.Disp; use LV.HAL.Disp;
with LV.HAL.Indev; use LV.HAL.Indev;
with LV.Indev;
with LV.Objx;
with LV.Objx.Img;
with Ada.Text_IO;
with GNAT.OS_Lib;
package body SDL_Display is
W : SDL.Video.Windows.Window;
Renderer : SDL.Video.Renderers.Renderer;
Texture : SDL.Video.Textures.Texture;
SDL_Pixels : System.Address;
type Texture_1D_Array is array (Int32_T range <>)
of aliased SDL_Pixel;
procedure Lock is new SDL.Video.Textures.Lock
(Pixel_Pointer_Type => System.Address);
function To_Address is
new Ada.Unchecked_Conversion
(Source => SDL.Video.Pixels.ARGB_8888_Access.Pointer,
Target => System.Address);
procedure Update;
LV_Disp_Drv : aliased Disp_Drv_T;
LV_Disp : Disp_T;
LV_Indev_Drv : aliased Indev_Drv_T;
LV_Indev : Indev_T;
Cursor_Obj : LV.Objx.Img.Instance;
function Read (Data : access indev_data_t) return u_Bool
with Convention => C;
procedure Disp_Flush
(x1 : int32_t;
y1 : int32_t;
x2 : int32_t;
y2 : int32_t;
Color : access constant Color_Array)
with Convention => C;
procedure Disp_Fill
(x1 : int32_t;
y1 : int32_t;
x2 : int32_t;
y2 : int32_t;
Color : LV.Color.Color_T)
with Convention => C;
procedure Disp_Map
(x1 : int32_t;
y1 : int32_t;
x2 : int32_t;
y2 : int32_t;
Color : access constant Color_Array)
with Convention => C;
----------------
-- Initialize --
----------------
procedure Initialize is
Mouse_Cursor_Icon : Integer;
pragma Import (C, Mouse_Cursor_Icon, "mouse_cursor_icon");
begin
if not SDL.Initialise (Flags => SDL.Enable_Screen) then
raise Program_Error with "SDL Video init failed";
end if;
SDL.Video.Windows.Makers.Create
(W, "LVGL-Ada Example",
0,
0,
Integer (Width),
Integer (Height),
Flags => SDL.Video.Windows.Resizable);
SDL.Video.Renderers.Makers.Create (Renderer, W);
SDL.Video.Textures.Makers.Create
(Tex => Texture,
Renderer => Renderer,
Format => SDL.Video.Pixel_Formats.Pixel_Format_RGB_565,
Kind => SDL.Video.Textures.Streaming,
Size => (Integer (Width),
Integer (Height)));
LV.HAL.Disp.Init_Drv (LV_Disp_Drv'Access);
LV_Disp_Drv.disp_flush := disp_flush'Access;
LV_Disp_Drv.disp_fill := disp_fill'Access;
LV_Disp_Drv.disp_map := disp_map'Access;
LV_Disp := LV.HAL.Disp.register (LV_Disp_Drv'Access);
LV.HAL.Disp.set_active (LV_Disp);
LV.HAL.Indev.Init_Drv (LV_Indev_Drv'Access);
LV_Indev_Drv.read := Read'Access;
LV_Indev_Drv.c_type := LV.HAL.Indev.TYPE_POINTER;
LV_Indev := LV.HAL.Indev.register (LV_Indev_Drv'Access);
Cursor_Obj := LV.Objx.Img.Create (lv.Objx.Scr_Act, LV.Objx.No_Obj);
LV.Objx.Img.Set_Src (Cursor_Obj, Mouse_Cursor_Icon'Address);
LV.Indev.set_cursor (LV_Indev, Cursor_Obj);
end Initialize;
------------
-- Update --
------------
procedure Update is
Width : constant Natural := Texture.Get_Size.Width;
Height : constant Natural := Texture.Get_Size.Height;
begin
Renderer.Clear;
Renderer.Copy (Texture, To => (0,
0,
int (Width),
int (Height)));
Renderer.Present;
end Update;
----------
-- Read --
----------
function Read (Data : access indev_data_t) return u_Bool is
Event : SDL.Events.Events.Events;
Mouse_Button_Masks : SDL.Events.Mice.Button_Masks;
X, Y : SDL.Events.Mice.Movement_Values;
begin
while SDL.Events.Events.Poll (Event) loop
if Event.Common.Event_Type in Key_Down | Key_Up then
case Event.Keyboard.Key_Sym.Scan_Code is
when Scan_Code_Escape =>
GNAT.OS_Lib.OS_Exit (0);
when others =>
null;
end case;
end if;
end loop;
Mouse_Button_Masks := SDL.Inputs.Mice.Get_State (X, Y);
Data.Union.point := (LV.Int16_T (X), LV.Int16_T (Y));
if (Mouse_Button_Masks and Left_Mask) /= 0 then
Data.state := LV.HAL.Indev.STATE_PR;
else
Data.state := LV.HAL.Indev.STATE_REL;
end if;
-- Return false because the points are not buffered, so no more data to
-- be read.
return 0;
end Read;
----------------
-- Disp_Flush --
----------------
procedure Disp_Flush
(x1 : int32_t;
y1 : int32_t;
x2 : int32_t;
y2 : int32_t;
Color : access constant Color_Array)
is
Width : constant Natural := Texture.Get_Size.Width;
Height : constant Natural := Texture.Get_Size.Height;
begin
if X2 < 0
or else
Y2 < 0
or else
X1 > Int32_T (Width - 1)
or else
Y1 > Int32_T (Height - 1)
then
LV.VDB.Flush_Ready;
return;
end if;
Lock (Texture, SDL_Pixels);
declare
Actual_Pixels : Texture_1D_Array (0 .. Int32_T (Width * Height - 1))
with
Address => SDL_Pixels;
Index : Natural := Color'First;
begin
for Y in Y1 .. Y2 loop
for X in X1 .. X2 loop
Actual_Pixels (Y * Int32_T (Width) + X)
:= LV.Color.Color_To16 (Color (Index));
Index := Index + 1;
end loop;
end loop;
end;
LV.VDB.Flush_Ready;
Texture.Unlock;
Update;
end Disp_Flush;
---------------
-- Disp_Fill --
---------------
procedure Disp_Fill
(x1 : int32_t;
y1 : int32_t;
x2 : int32_t;
y2 : int32_t;
Color : LV.Color.Color_T)
is
Width : constant Natural := Texture.Get_Size.Width;
Height : constant Natural := Texture.Get_Size.Height;
C : constant Uint16_T := LV.Color.Color_To16 (Color);
begin
if X2 < 0
or else
Y2 < 0
or else
X1 > Int32_T (Width - 1)
or else
Y1 > Int32_T (Height - 1)
then
LV.VDB.Flush_Ready;
return;
end if;
Lock (Texture, SDL_Pixels);
declare
Actual_Pixels : Texture_1D_Array (0 .. Int32_T (Width * Height - 1))
with
Address => SDL_Pixels;
begin
for Y in Y1 .. Y2 loop
for X in X1 .. X2 loop
Actual_Pixels (Y * Int32_T (Width) + X) := C;
end loop;
end loop;
end;
LV.VDB.Flush_Ready;
Texture.Unlock;
Update;
end Disp_Fill;
--------------
-- Disp_Map --
--------------
procedure Disp_Map
(x1 : int32_t;
y1 : int32_t;
x2 : int32_t;
y2 : int32_t;
Color : access constant Color_Array)
is
begin
Ada.Text_IO.Put_Line ("X1:" & X1'Img);
Ada.Text_IO.Put_Line ("Y1:" & Y1'Img);
Ada.Text_IO.Put_Line ("X2:" & X2'Img);
Ada.Text_IO.Put_Line ("Y2:" & Y2'Img);
Ada.Text_IO.Put_Line ("Length:" & Color'Length'Img);
Ada.Text_IO.Put_Line ("First:" & Color'First'Img);
end Disp_Map;
------------------
-- To_SDL_Color --
------------------
function To_SDL_Color (R, G, B : Unsigned_8) return SDL_Pixel is
RB : constant Unsigned_16 :=
Shift_Right (Unsigned_16 (R), 3) and 16#1F#;
GB : constant Unsigned_16 :=
Shift_Right (Unsigned_16 (G), 2) and 16#3F#;
BB : constant Unsigned_16 :=
Shift_Right (Unsigned_16 (B), 3) and 16#1F#;
begin
return (Shift_Left (RB, 11) or Shift_Left (GB, 5) or BB);
end To_SDL_Color;
end SDL_Display;
|
programs/oeis/319/A319638.asm | neoneye/loda | 22 | 15552 | <filename>programs/oeis/319/A319638.asm
; A319638: Number of non-isomorphic weight-n antichains of distinct sets whose dual is also an antichain of distinct sets.
; 1,1,1,1,1,1,2,2,3,4,7
trn $0,3
mov $2,$0
pow $0,$0
add $2,2
dif $0,$2
dif $0,2
mod $0,$2
|
PRG/prg005.asm | narfman0/smb3_pp1 | 0 | 92537 | ; Super Mario Bros. 3 Full Disassembly by Southbird 2012
; For more info, see http://www.sonicepoch.com/sm3mix/
;
; PLEASE INCLUDE A CREDIT TO THE SOUTHBIRD DISASSEMBLY
; AND THE ABOVE LINK SOMEWHERE IN YOUR WORKS :)
;
; Original disassembler source generated by DCC6502 version v1.4
; (With labels, comments, and some syntax corrections for nesasm by Southbird)
; For more info about DCC6502, e-mail <EMAIL>
;
; This source file last updated: 2011-11-18 21:50:36.000000000 -0600
; Distribution package date: Fri Apr 6 23:46:16 UTC 2012
;---------------------------------------------------------------------------
; CAUTION!! ObjectGroup04 labels MUST appear at the
; address specified by the predefined constants! I can't
; verify this at the assembler level, so be careful!!
; I'm using a ".org" directive to help enforce it, but
; the assembler does not warn you if you overwrite and
; instead will simply "stomp" on your code if you passed
; that limit ... sorry, original coders assumed a constant
; position on banks 1 - 5 and didn't use a LUT this time...
; Object group $04 (i.e. objects starting at ID $90) State 1 jump table
.org ObjectGroup_InitJumpTable ; <-- help enforce this table *here*
ObjectGroup04_InitJumpTable:
.word ObjInit_RotatePlatform ; Object $90 - OBJ_TILTINGPLATFORM
.word ObjInit_RotatePlatform ; Object $91 - OBJ_TWIRLINGPLATCWNS
.word ObjInit_RotatePlatform ; Object $92 - OBJ_TWIRLINGPLATCW
.word ObjInit_RotatePlatformPer ; Object $93 - OBJ_TWIRLINGPERIODIC
.word ObjInit_BigQBlock ; Object $94 - OBJ_BIGQBLOCK_3UP
.word ObjInit_BigQBlock ; Object $95 - OBJ_BIGQBLOCK_MUSHROOM
.word ObjInit_BigQBlock ; Object $96 - OBJ_BIGQBLOCK_FIREFLOWER
.word ObjInit_BigQBlock ; Object $97 - OBJ_BIGQBLOCK_SUPERLEAF
.word ObjInit_BigQBlock ; Object $98 - OBJ_BIGQBLOCK_TANOOKI
.word ObjInit_BigQBlock ; Object $99 - OBJ_BIGQBLOCK_FROG
.word ObjInit_BigQBlock ; Object $9A - OBJ_BIGQBLOCK_HAMMER
.word ObjInit_DoNothing ; Object $9B
.word ObjInit_DoNothing ; Object $9C
.word ObjInit_FireJetUpward ; Object $9D - OBJ_FIREJET_UPWARD
.word ObjInit_Podoboo ; Object $9E - OBJ_PODOBOO
.word ObjInit_ParaBeetle ; Object $9F - OBJ_PARABEETLE
.word ObjInit_GreenPiranha ; Object $A0 - OBJ_GREENPIRANHA
.word ObjInit_GreenPiranhaFlip ; Object $A1 - OBJ_GREENPIRANHA_FLIPPED
.word ObjInit_RedPiranha ; Object $A2 - OBJ_REDPIRANHA
.word ObjInit_RedPiranhaFlip ; Object $A3 - OBJ_REDPIRANHA_FLIPPED
.word ObjInit_GreenPiranha ; Object $A4 - OBJ_GREENPIRANHA_FIRE
.word ObjInit_GreenPiranhaFlip ; Object $A5 - OBJ_GREENPIRANHA_FIREC
.word ObjInit_RedPiranha ; Object $A6 - OBJ_VENUSFIRETRAP
.word ObjInit_RedPiranhaFlip ; Object $A7 - OBJ_VENUSFIRETRAP_CEIL
.word ObjInit_DoNothing ; Object $A8 - OBJ_ARROWONE
.word ObjInit_DoNothing ; Object $A9 - OBJ_ARROWANY
.word ObjInit_AirshipProp ; Object $AA - OBJ_AIRSHIPPROP
.word ObjInit_FireJetRight ; Object $AB (doesn't really work, and the "normal" routine is even weirder)
.word ObjInit_FireJetLeft ; Object $AC - OBJ_FIREJET_LEFT
.word ObjInit_RockyWrench ; Object $AD - OBJ_ROCKYWRENCH
.word ObjInit_BoltLift ; Object $AE - OBJ_BOLTLIFT
.word ObjInit_Sun ; Object $AF - OBJ_ENEMYSUN
.word ObjInit_BigCannonBall ; Object $B0 - OBJ_BIGCANNONBALL
.word ObjInit_FireJetRight ; Object $B1 - OBJ_FIREJET_RIGHT
.word ObjInit_FireJetUpsideDown ; Object $B2 - OBJ_FIREJET_UPSIDEDOWN
.word ObjInit_ObjB3 ; Object $B3
; Object group $04 (i.e. objects starting at ID $90) State 2 jump table
.org ObjectGroup_NormalJumpTable ; <-- help enforce this table *here*
ObjectGroup04_NormalJumpTable:
.word ObjNorm_TiltingPlatform ; Object $90 - OBJ_TILTINGPLATFORM
.word ObjNorm_TwirlingPlatCWNS ; Object $91 - OBJ_TWIRLINGPLATCWNS
.word ObjNorm_TwirlingPlatCW ; Object $92 - OBJ_TWIRLINGPLATCW
.word ObjNorm_TwirlingPlatCW ; Object $93 - OBJ_TWIRLINGPERIODIC
.word ObjNorm_BigQBlock ; Object $94 - OBJ_BIGQBLOCK_3UP
.word ObjNorm_BigQBlock ; Object $95 - OBJ_BIGQBLOCK_MUSHROOM
.word ObjNorm_BigQBlock ; Object $96 - OBJ_BIGQBLOCK_FIREFLOWER
.word ObjNorm_BigQBlock ; Object $97 - OBJ_BIGQBLOCK_SUPERLEAF
.word ObjNorm_BigQBlock ; Object $98 - OBJ_BIGQBLOCK_TANOOKI
.word ObjNorm_BigQBlock ; Object $99 - OBJ_BIGQBLOCK_FROG
.word ObjNorm_BigQBlock ; Object $9A - OBJ_BIGQBLOCK_HAMMER
.word ObjNorm_DoNothing ; Object $9B
.word ObjNorm_DoNothing ; Object $9C
.word ObjNorm_FireJet ; Object $9D - OBJ_FIREJET_UPWARD
.word ObjNorm_Podoboo ; Object $9E - OBJ_PODOBOO
.word ObjNorm_ParaBeetle ; Object $9F - OBJ_PARABEETLE
.word ObjNorm_Piranha ; Object $A0 - OBJ_GREENPIRANHA
.word ObjNorm_Piranha ; Object $A1 - OBJ_GREENPIRANHA_FLIPPED
.word ObjNorm_Piranha ; Object $A2 - OBJ_REDPIRANHA
.word ObjNorm_Piranha ; Object $A3 - OBJ_REDPIRANHA_FLIPPED
.word ObjNorm_Piranha ; Object $A4 - OBJ_GREENPIRANHA_FIRE
.word ObjNorm_Piranha ; Object $A5 - OBJ_GREENPIRANHA_FIREC
.word ObjNorm_Piranha ; Object $A6 - OBJ_VENUSFIRETRAP
.word ObjNorm_Piranha ; Object $A7 - OBJ_VENUSFIRETRAP_CEIL
.word ObjNorm_ArrowPlatform ; Object $A8 - OBJ_ARROWONE
.word ObjNorm_ArrowPlatform ; Object $A9 - OBJ_ARROWANY
.word ObjNorm_AirshipPropellar ; Object $AA - OBJ_AIRSHIPPROP
.word FireJetLR_SpriteVisibleTest ; Object $AB (this call doesn't make any sense!!)
.word ObjNorm_FireJet ; Object $AC - OBJ_FIREJET_LEFT
.word ObjNorm_RockyWrench ; Object $AD - OBJ_ROCKYWRENCH
.word ObjNorm_BoltLift ; Object $AE - OBJ_BOLTLIFT
.word ObjNorm_Sun ; Object $AF - OBJ_ENEMYSUN
.word ObjNorm_BigCannonBall ; Object $B0 - OBJ_BIGCANNONBALL
.word ObjNorm_FireJet ; Object $B1 - OBJ_FIREJET_RIGHT
.word ObjNorm_FireJet ; Object $B2 - OBJ_FIREJET_UPSIDEDOWN
.word ObjNorm_ObjB3 ; Object $B3
; Object group $04 (i.e. objects starting at ID $90) Collision routine jump table (if calling Object_HitTestRespond;
; Special values of OCSPECIAL_KILLCHANGETO or OCSPECIAL_HIGHSCORE can be used here instead otherwise.)
.org ObjectGroup_CollideJumpTable ; <-- help enforce this table *here*
ObjectGroup04_CollideJumpTable:
.word ObjHit_DoNothing ; Object $90 - OBJ_TILTINGPLATFORM
.word ObjHit_DoNothing ; Object $91 - OBJ_TWIRLINGPLATCWNS
.word ObjHit_DoNothing ; Object $92 - OBJ_TWIRLINGPLATCW
.word ObjHit_DoNothing ; Object $93 - OBJ_TWIRLINGPERIODIC
.word ObjHit_DoNothing ; Object $94 - OBJ_BIGQBLOCK_3UP
.word ObjHit_DoNothing ; Object $95 - OBJ_BIGQBLOCK_MUSHROOM
.word ObjHit_DoNothing ; Object $96 - OBJ_BIGQBLOCK_FIREFLOWER
.word ObjHit_DoNothing ; Object $97 - OBJ_BIGQBLOCK_SUPERLEAF
.word ObjHit_DoNothing ; Object $98 - OBJ_BIGQBLOCK_TANOOKI
.word ObjHit_DoNothing ; Object $99 - OBJ_BIGQBLOCK_FROG
.word ObjHit_DoNothing ; Object $9A - OBJ_BIGQBLOCK_HAMMER
.word ObjHit_DoNothing ; Object $9B
.word ObjHit_DoNothing ; Object $9C
.word ObjHit_DoNothing ; Object $9D - OBJ_FIREJET_UPWARD
.word ObjHit_DoNothing ; Object $9E - OBJ_PODOBOO
.word ObjHit_DoNothing ; Object $9F - OBJ_PARABEETLE
.word ObjHit_DoNothing ; Object $A0 - OBJ_GREENPIRANHA
.word ObjHit_DoNothing ; Object $A1 - OBJ_GREENPIRANHA_FLIPPED
.word ObjHit_DoNothing ; Object $A2 - OBJ_REDPIRANHA
.word ObjHit_DoNothing ; Object $A3 - OBJ_REDPIRANHA_FLIPPED
.word ObjHit_DoNothing ; Object $A4 - OBJ_GREENPIRANHA_FIRE
.word ObjHit_DoNothing ; Object $A5 - OBJ_GREENPIRANHA_FIREC
.word ObjHit_DoNothing ; Object $A6 - OBJ_VENUSFIRETRAP
.word ObjHit_DoNothing ; Object $A7 - OBJ_VENUSFIRETRAP_CEIL
.word ObjHit_DoNothing ; Object $A8 - OBJ_ARROWONE
.word ObjHit_DoNothing ; Object $A9 - OBJ_ARROWANY
.word ObjHit_DoNothing ; Object $AA - OBJ_AIRSHIPPROP
.word ObjHit_DoNothing ; Object $AB
.word ObjHit_DoNothing ; Object $AC - OBJ_FIREJET_LEFT
.word ObjHit_DoNothing ; Object $AD - OBJ_ROCKYWRENCH
.word ObjHit_DoNothing ; Object $AE - OBJ_BOLTLIFT
.word ObjHit_DoNothing ; Object $AF - OBJ_ENEMYSUN
.word $0000 ; Object $B0 - OBJ_BIGCANNONBALL
.word $0000 ; Object $B1 - OBJ_FIREJET_RIGHT
.word $0000 ; Object $B2 - OBJ_FIREJET_UPSIDEDOWN
.word $0000 ; Object $B3
; Object group $04 (i.e. objects starting at ID $90) attribute bits set 1 (OA1_* flags valid here)
.org ObjectGroup_Attributes ; <-- help enforce this table *here*
ObjectGroup04_Attributes:
.byte OA1_PAL0 | OA1_HEIGHT16 | OA1_WIDTH8 ; Object $90 - OBJ_TILTINGPLATFORM
.byte OA1_PAL0 | OA1_HEIGHT16 | OA1_WIDTH8 ; Object $91 - OBJ_TWIRLINGPLATCWNS
.byte OA1_PAL0 | OA1_HEIGHT16 | OA1_WIDTH8 ; Object $92 - OBJ_TWIRLINGPLATCW
.byte OA1_PAL0 | OA1_HEIGHT16 | OA1_WIDTH8 ; Object $93 - OBJ_TWIRLINGPERIODIC
.byte OA1_PAL0 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $94 - OBJ_BIGQBLOCK_3UP
.byte OA1_PAL0 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $95 - OBJ_BIGQBLOCK_MUSHROOM
.byte OA1_PAL0 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $96 - OBJ_BIGQBLOCK_FIREFLOWER
.byte OA1_PAL0 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $97 - OBJ_BIGQBLOCK_SUPERLEAF
.byte OA1_PAL0 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $98 - OBJ_BIGQBLOCK_TANOOKI
.byte OA1_PAL0 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $99 - OBJ_BIGQBLOCK_FROG
.byte OA1_PAL0 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $9A - OBJ_BIGQBLOCK_HAMMER
.byte OA1_PAL0 | OA1_HEIGHT16 | OA1_WIDTH8 ; Object $9B
.byte OA1_PAL0 | OA1_HEIGHT16 | OA1_WIDTH8 ; Object $9C
.byte OA1_PAL1 | OA1_HEIGHT48 | OA1_WIDTH16 ; Object $9D - OBJ_FIREJET_UPWARD
.byte OA1_PAL1 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $9E - OBJ_PODOBOO
.byte OA1_PAL1 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $9F - OBJ_PARABEETLE
.byte OA1_PAL2 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $A0 - OBJ_GREENPIRANHA
.byte OA1_PAL2 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $A1 - OBJ_GREENPIRANHA_FLIPPED
.byte OA1_PAL1 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $A2 - OBJ_REDPIRANHA
.byte OA1_PAL1 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $A3 - OBJ_REDPIRANHA_FLIPPED
.byte OA1_PAL2 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $A4 - OBJ_GREENPIRANHA_FIRE
.byte OA1_PAL2 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $A5 - OBJ_GREENPIRANHA_FIREC
.byte OA1_PAL1 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $A6 - OBJ_VENUSFIRETRAP
.byte OA1_PAL1 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $A7 - OBJ_VENUSFIRETRAP_CEIL
.byte OA1_PAL0 | OA1_HEIGHT16 | OA1_WIDTH32 ; Object $A8 - OBJ_ARROWONE
.byte OA1_PAL0 | OA1_HEIGHT16 | OA1_WIDTH32 ; Object $A9 - OBJ_ARROWANY
.byte OA1_PAL2 | OA1_HEIGHT16 | OA1_WIDTH8 ; Object $AA - OBJ_AIRSHIPPROP
.byte OA1_PAL2 | OA1_HEIGHT16 | OA1_WIDTH32 ; Object $AB
.byte OA1_PAL1 | OA1_HEIGHT16 | OA1_WIDTH48 ; Object $AC - OBJ_FIREJET_LEFT
.byte OA1_PAL1 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $AD - OBJ_ROCKYWRENCH
.byte OA1_PAL2 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $AE - OBJ_BOLTLIFT
.byte OA1_PAL3 | OA1_HEIGHT32 | OA1_WIDTH16 ; Object $AF - OBJ_ENEMYSUN
.byte OA1_PAL3 | OA1_HEIGHT32 | OA1_WIDTH32 ; Object $B0 - OBJ_BIGCANNONBALL
.byte OA1_PAL1 | OA1_HEIGHT16 | OA1_WIDTH48 ; Object $B1 - OBJ_FIREJET_RIGHT
.byte OA1_PAL1 | OA1_HEIGHT48 | OA1_WIDTH16 ; Object $B2 - OBJ_FIREJET_UPSIDEDOWN
.byte OA1_PAL1 | OA1_HEIGHT16 | OA1_WIDTH16 ; Object $B3
; Object group $04 (i.e. objects starting at ID $90) second set attribute bits
.org ObjectGroup_Attributes2 ; <-- help enforce this table *here*
ObjectGroup04_Attributes2:
.byte OA2_TDOGRP0 ; Object $90 - OBJ_TILTINGPLATFORM
.byte OA2_TDOGRP0 ; Object $91 - OBJ_TWIRLINGPLATCWNS
.byte OA2_TDOGRP0 ; Object $92 - OBJ_TWIRLINGPLATCW
.byte OA2_TDOGRP0 ; Object $93 - OBJ_TWIRLINGPERIODIC
.byte OA2_TDOGRP0 ; Object $94 - OBJ_BIGQBLOCK_3UP
.byte OA2_TDOGRP0 ; Object $95 - OBJ_BIGQBLOCK_MUSHROOM
.byte OA2_TDOGRP0 ; Object $96 - OBJ_BIGQBLOCK_FIREFLOWER
.byte OA2_TDOGRP0 ; Object $97 - OBJ_BIGQBLOCK_SUPERLEAF
.byte OA2_TDOGRP0 ; Object $98 - OBJ_BIGQBLOCK_TANOOKI
.byte OA2_TDOGRP0 ; Object $99 - OBJ_BIGQBLOCK_FROG
.byte OA2_TDOGRP0 ; Object $9A - OBJ_BIGQBLOCK_HAMMER
.byte OA2_TDOGRP0 ; Object $9B
.byte OA2_TDOGRP0 ; Object $9C
.byte OA2_TDOGRP0 ; Object $9D - OBJ_FIREJET_UPWARD
.byte OA2_TDOGRP0 ; Object $9E - OBJ_PODOBOO
.byte OA2_STOMPDONTCARE | OA2_TDOGRP1 ; Object $9F - OBJ_PARABEETLE
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP1 ; Object $A0 - OBJ_GREENPIRANHA
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP1 ; Object $A1 - OBJ_GREENPIRANHA_FLIPPED
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP1 ; Object $A2 - OBJ_REDPIRANHA
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP1 ; Object $A3 - OBJ_REDPIRANHA_FLIPPED
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP1 ; Object $A4 - OBJ_GREENPIRANHA_FIRE
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP1 ; Object $A5 - OBJ_GREENPIRANHA_FIREC
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP1 ; Object $A6 - OBJ_VENUSFIRETRAP
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP1 ; Object $A7 - OBJ_VENUSFIRETRAP_CEIL
.byte OA2_TDOGRP0 ; Object $A8 - OBJ_ARROWONE
.byte OA2_TDOGRP0 ; Object $A9 - OBJ_ARROWANY
.byte OA2_TDOGRP0 ; Object $AA - OBJ_AIRSHIPPROP
.byte OA2_STOMPDONTCARE | OA2_TDOGRP1 ; Object $AB
.byte OA2_STOMPDONTCARE | OA2_TDOGRP1 ; Object $AC - OBJ_FIREJET_LEFT
.byte OA2_STOMPDONTCARE | OA2_TDOGRP1 ; Object $AD - OBJ_ROCKYWRENCH
.byte OA2_STOMPDONTCARE | OA2_TDOGRP10 ; Object $AE - OBJ_BOLTLIFT
.byte OA2_STOMPDONTCARE | OA2_TDOGRP1 ; Object $AF - OBJ_ENEMYSUN
.byte OA2_NOSHELLORSQUASH | OA2_TDOGRP0 ; Object $B0 - OBJ_BIGCANNONBALL
.byte OA2_TDOGRP0 ; Object $B1 - OBJ_FIREJET_RIGHT
.byte OA2_TDOGRP0 ; Object $B2 - OBJ_FIREJET_UPSIDEDOWN
.byte OA2_TDOGRP11 ; Object $B3
; Object group $04 (i.e. objects starting at ID $90) third set attribute bits
.org ObjectGroup_Attributes3 ; <-- help enforce this table *here*
ObjectGroup04_Attributes3:
.byte OA3_HALT_NORMALONLY ; Object $90 - OBJ_TILTINGPLATFORM
.byte OA3_HALT_NORMALONLY ; Object $91 - OBJ_TWIRLINGPLATCWNS
.byte OA3_HALT_NORMALONLY ; Object $92 - OBJ_TWIRLINGPLATCW
.byte OA3_HALT_NORMALONLY ; Object $93 - OBJ_TWIRLINGPERIODIC
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $94 - OBJ_BIGQBLOCK_3UP
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $95 - OBJ_BIGQBLOCK_MUSHROOM
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $96 - OBJ_BIGQBLOCK_FIREFLOWER
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $97 - OBJ_BIGQBLOCK_SUPERLEAF
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $98 - OBJ_BIGQBLOCK_TANOOKI
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $99 - OBJ_BIGQBLOCK_FROG
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $9A - OBJ_BIGQBLOCK_HAMMER
.byte OA3_HALT_HOTFOOTSPECIAL ; Object $9B
.byte OA3_HALT_HOTFOOTSPECIAL ; Object $9C
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE | OA3_TAILATKIMMUNE ; Object $9D - OBJ_FIREJET_UPWARD
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE | OA3_TAILATKIMMUNE ; Object $9E - OBJ_PODOBOO
.byte OA3_HALT_NORMALONLY ; Object $9F - OBJ_PARABEETLE
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE ; Object $A0 - OBJ_GREENPIRANHA
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE ; Object $A1 - OBJ_GREENPIRANHA_FLIPPED
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE ; Object $A2 - OBJ_REDPIRANHA
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE ; Object $A3 - OBJ_REDPIRANHA_FLIPPED
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE ; Object $A4 - OBJ_GREENPIRANHA_FIRE
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE ; Object $A5 - OBJ_GREENPIRANHA_FIREC
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE ; Object $A6 - OBJ_VENUSFIRETRAP
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE ; Object $A7 - OBJ_VENUSFIRETRAP_CEIL
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $A8 - OBJ_ARROWONE
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $A9 - OBJ_ARROWANY
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $AA - OBJ_AIRSHIPPROP
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $AB
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE | OA3_TAILATKIMMUNE ; Object $AC - OBJ_FIREJET_LEFT
.byte OA3_HALT_NORMALONLY ; Object $AD - OBJ_ROCKYWRENCH
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $AE - OBJ_BOLTLIFT
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $AF - OBJ_ENEMYSUN
.byte OA3_HALT_NORMALONLY | OA3_TAILATKIMMUNE ; Object $B0 - OBJ_BIGCANNONBALL
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE | OA3_TAILATKIMMUNE ; Object $B1 - OBJ_FIREJET_RIGHT
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE | OA3_TAILATKIMMUNE ; Object $B2 - OBJ_FIREJET_UPSIDEDOWN
.byte OA3_HALT_NORMALONLY | OA3_NOTSTOMPABLE | OA3_TAILATKIMMUNE ; Object $B3
; Object group $04 (i.e. objects starting at ID $90) Pattern Table Select
.org ObjectGroup_PatTableSel ; <-- help enforce this table *here*
ObjectGroup04_PatTableSel:
.byte OPTS_SETPT6 | $4F ; Object $90 - OBJ_TILTINGPLATFORM
.byte OPTS_SETPT6 | $4F ; Object $91 - OBJ_TWIRLINGPLATCWNS
.byte OPTS_SETPT6 | $4F ; Object $92 - OBJ_TWIRLINGPLATCW
.byte OPTS_SETPT6 | $4F ; Object $93 - OBJ_TWIRLINGPERIODIC
.byte OPTS_SETPT5 | $4C ; Object $94 - OBJ_BIGQBLOCK_3UP
.byte OPTS_SETPT5 | $4C ; Object $95 - OBJ_BIGQBLOCK_MUSHROOM
.byte OPTS_SETPT5 | $4C ; Object $96 - OBJ_BIGQBLOCK_FIREFLOWER
.byte OPTS_SETPT5 | $4C ; Object $97 - OBJ_BIGQBLOCK_SUPERLEAF
.byte OPTS_SETPT5 | $4C ; Object $98 - OBJ_BIGQBLOCK_TANOOKI
.byte OPTS_SETPT5 | $4C ; Object $99 - OBJ_BIGQBLOCK_FROG
.byte OPTS_SETPT5 | $4C ; Object $9A - OBJ_BIGQBLOCK_HAMMER
.byte OPTS_NOCHANGE ; Object $9B
.byte OPTS_NOCHANGE ; Object $9C
.byte OPTS_SETPT6 | $37 ; Object $9D - OBJ_FIREJET_UPWARD
.byte OPTS_SETPT5 | $12 ; Object $9E - OBJ_PODOBOO
.byte OPTS_SETPT5 | $0E ; Object $9F - OBJ_PARABEETLE
.byte OPTS_SETPT6 | $4F ; Object $A0 - OBJ_GREENPIRANHA
.byte OPTS_SETPT6 | $4F ; Object $A1 - OBJ_GREENPIRANHA_FLIPPED
.byte OPTS_SETPT6 | $4F ; Object $A2 - OBJ_REDPIRANHA
.byte OPTS_SETPT6 | $4F ; Object $A3 - OBJ_REDPIRANHA_FLIPPED
.byte OPTS_SETPT6 | $4F ; Object $A4 - OBJ_GREENPIRANHA_FIRE
.byte OPTS_SETPT6 | $4F ; Object $A5 - OBJ_GREENPIRANHA_FIREC
.byte OPTS_SETPT6 | $4F ; Object $A6 - OBJ_VENUSFIRETRAP
.byte OPTS_SETPT6 | $4F ; Object $A7 - OBJ_VENUSFIRETRAP_CEIL
.byte OPTS_SETPT5 | $5A ; Object $A8 - OBJ_ARROWONE
.byte OPTS_SETPT5 | $5A ; Object $A9 - OBJ_ARROWANY
.byte OPTS_SETPT5 | $36 ; Object $AA - OBJ_AIRSHIPPROP
.byte OPTS_SETPT5 | $36 ; Object $AB
.byte OPTS_SETPT6 | $37 ; Object $AC - OBJ_FIREJET_LEFT
.byte OPTS_SETPT5 | $36 ; Object $AD - OBJ_ROCKYWRENCH
.byte OPTS_SETPT5 | $36 ; Object $AE - OBJ_BOLTLIFT
.byte OPTS_SETPT5 | $32 ; Object $AF - OBJ_ENEMYSUN
.byte OPTS_SETPT5 | $36 ; Object $B0 - OBJ_BIGCANNONBALL
.byte OPTS_SETPT6 | $37 ; Object $B1 - OBJ_FIREJET_RIGHT
.byte OPTS_SETPT6 | $37 ; Object $B2 - OBJ_FIREJET_UPSIDEDOWN
.byte OPTS_SETPT5 | $0B ; Object $B3
; Object group $04 (i.e. objects starting at ID $90) "Kill Action"
.org ObjectGroup_KillAction ; <-- help enforce this table *here*
ObjectGroup04_KillAction:
.byte KILLACT_STANDARD ; Object $90 - OBJ_TILTINGPLATFORM
.byte KILLACT_STANDARD ; Object $91 - OBJ_TWIRLINGPLATCWNS
.byte KILLACT_STANDARD ; Object $92 - OBJ_TWIRLINGPLATCW
.byte KILLACT_STANDARD ; Object $93 - OBJ_TWIRLINGPERIODIC
.byte KILLACT_STANDARD ; Object $94 - OBJ_BIGQBLOCK_3UP
.byte KILLACT_STANDARD ; Object $95 - OBJ_BIGQBLOCK_MUSHROOM
.byte KILLACT_STANDARD ; Object $96 - OBJ_BIGQBLOCK_FIREFLOWER
.byte KILLACT_STANDARD ; Object $97 - OBJ_BIGQBLOCK_SUPERLEAF
.byte KILLACT_STANDARD ; Object $98 - OBJ_BIGQBLOCK_TANOOKI
.byte KILLACT_STANDARD ; Object $99 - OBJ_BIGQBLOCK_FROG
.byte KILLACT_STANDARD ; Object $9A - OBJ_BIGQBLOCK_HAMMER
.byte KILLACT_STANDARD ; Object $9B
.byte KILLACT_STANDARD ; Object $9C
.byte KILLACT_STANDARD ; Object $9D - OBJ_FIREJET_UPWARD
.byte KILLACT_JUSTDRAWMIRROR ; Object $9E - OBJ_PODOBOO
.byte KILLACT_JUSTDRAW16X16 ; Object $9F - OBJ_PARABEETLE
.byte KILLACT_POOFDEATH ; Object $A0 - OBJ_GREENPIRANHA
.byte KILLACT_POOFDEATH ; Object $A1 - OBJ_GREENPIRANHA_FLIPPED
.byte KILLACT_POOFDEATH ; Object $A2 - OBJ_REDPIRANHA
.byte KILLACT_POOFDEATH ; Object $A3 - OBJ_REDPIRANHA_FLIPPED
.byte KILLACT_POOFDEATH ; Object $A4 - OBJ_GREENPIRANHA_FIRE
.byte KILLACT_POOFDEATH ; Object $A5 - OBJ_GREENPIRANHA_FIREC
.byte KILLACT_POOFDEATH ; Object $A6 - OBJ_VENUSFIRETRAP
.byte KILLACT_POOFDEATH ; Object $A7 - OBJ_VENUSFIRETRAP_CEIL
.byte KILLACT_STANDARD ; Object $A8 - OBJ_ARROWONE
.byte KILLACT_STANDARD ; Object $A9 - OBJ_ARROWANY
.byte KILLACT_STANDARD ; Object $AA - OBJ_AIRSHIPPROP
.byte KILLACT_STANDARD ; Object $AB
.byte KILLACT_STANDARD ; Object $AC - OBJ_FIREJET_LEFT
.byte KILLACT_NORMALANDKILLED ; Object $AD - OBJ_ROCKYWRENCH
.byte KILLACT_STANDARD ; Object $AE - OBJ_BOLTLIFT
.byte KILLACT_NORMALANDKILLED ; Object $AF - OBJ_ENEMYSUN
.byte KILLACT_NORMALANDKILLED ; Object $B0 - OBJ_BIGCANNONBALL
.byte KILLACT_STANDARD ; Object $B1 - OBJ_FIREJET_RIGHT
.byte KILLACT_STANDARD ; Object $B2 - OBJ_FIREJET_UPSIDEDOWN
.byte KILLACT_NORMALANDKILLED ; Object $B3
; Object group $04 (i.e. objects starting at ID $90) pattern index starts
; These are used for all states except "normal"
OG4_POff .func (\1 - ObjectGroup04_PatternSets)
.org ObjectGroup_PatternStarts ; <-- help enforce this table *here*
ObjectGroup04_PatternStarts:
; Index by object group relative index (ObjGroupRel_Idx)
.byte OG4_POff(ObjP90), OG4_POff(ObjP91), OG4_POff(ObjP92), OG4_POff(ObjP93)
.byte OG4_POff(ObjP94), OG4_POff(ObjP95), OG4_POff(ObjP96), OG4_POff(ObjP97)
.byte OG4_POff(ObjP98), OG4_POff(ObjP99), OG4_POff(ObjP9A), OG4_POff(ObjP9B)
.byte OG4_POff(ObjP9C), OG4_POff(ObjP9D), OG4_POff(ObjP9E), OG4_POff(ObjP9F)
.byte OG4_POff(ObjPA0), OG4_POff(ObjPA1), OG4_POff(ObjPA2), OG4_POff(ObjPA3)
.byte OG4_POff(ObjPA4), OG4_POff(ObjPA5), OG4_POff(ObjPA6), OG4_POff(ObjPA7)
.byte OG4_POff(ObjPA8), OG4_POff(ObjPA9), OG4_POff(ObjPAA), OG4_POff(ObjPAB)
.byte OG4_POff(ObjPAC), OG4_POff(ObjPAD), OG4_POff(ObjPAE), OG4_POff(ObjPAF)
.byte OG4_POff(ObjPB0), OG4_POff(ObjPB1), OG4_POff(ObjPB2), OG4_POff(ObjPB3)
; Object group $04 (i.e. objects starting at ID $90) pattern sets
; Note that each "frame" is made up of two tile starts, so there's
; always going to be an even amount of tiles per object. That is,
; for each "frame" value, it moves up two bytes to the next pair.
; NOTE: SPECIAL EXCEPTION: If an object has Objects_IsGiant set
; OR has its ID >= OBJ_BIGGREENTROOPA, there is an assumption
; that the initial bytes at ObjectGroup04_PatternSets form a
; valid JMP $xxxx instruction to go to an alternate giant shell
; drawing routine (since otherwise default code is used)
.org ObjectGroup_PatternSets ; <-- help enforce this table *here*
ObjectGroup04_PatternSets:
; (End restricted alignment space)
ObjP90:
ObjP91:
ObjP92:
ObjP93:
ObjP94:
ObjP95:
ObjP96:
ObjP97:
ObjP98:
ObjP99:
ObjP9A:
ObjP9B:
ObjP9C:
ObjP9E:
ObjPA8:
ObjPA9:
ObjPAC:
ObjPB1:
.byte $8D, $8D, $8F, $8F, $B5, $B5
ObjPB3:
.byte $BD, $BD, $BB, $BB, $BD, $BD, $99, $99
ObjPB0:
.byte $A5, $A7, $A5, $A7
ObjP9D:
ObjPB2:
.byte $DD, $71, $DF, $71, $D9, $71, $DB, $71, $CD, $D3, $CF, $D5, $71, $71, $71, $71, $CB, $D1
ObjPA0:
ObjPA1:
ObjPA2:
ObjPA3:
.byte $E1, $E1, $E3, $E3, $E5, $E5, $E3, $E3, $E1, $E1, $71, $71, $E5, $E5, $71, $71
ObjPA4:
ObjPA5:
ObjPA6:
ObjPA7:
.byte $F1, $F3, $E3, $E3, $F5, $F7, $E3, $E3, $F1, $F3, $71, $71, $F5, $F7, $71, $71
ObjP9F:
.byte $B1, $B3, $B5, $B7, $B1, $B3
ObjPAF:
.byte $99, $99, $9B, $9B, $93, $93, $95, $95
ObjPAE:
.byte $81, $81, $83, $83, $85, $85, $87, $87
ObjPAD:
.byte $91, $93, $8D, $8F, $89, $8B, $B3, $B5, $97, $9B, $99, $99, $9B, $97, $99, $99
ObjPAB:
.byte $A5, $A7
ObjPAA:
; Note to self: Remember, until the label!
.byte $A9, $71
ObjInit_Podoboo:
; Start at X + 8
LDA <Objects_X,X
ADD #$08
STA <Objects_X,X
; Var5 = Original Y
LDA <Objects_Y,X
STA <Objects_Var5,X
; Var4 = Original Y Hi
LDA <Objects_YHi,X
STA <Objects_Var4,X
RTS ; Return
; The higher Podoboo goes, the less velocity it has
;
; NOTE: Where it becomes positive, these are actual values
; sent into Timer3, and the Y velocity used is still -$80
Podoboo_YVelByHeight:
.byte -$10, -$24, -$30, -$38, -$40, -$48, -$4E, -$54, -$5A, -$60, -$66, -$6A, -$6E, -$74, -$78, -$7C, -$80, $04, $08, $0C, $10, $14
ObjNorm_Podoboo:
LDA Objects_Timer,X
BEQ PRG005_A259 ; If timer expired, jump to PRG005_A259
; Objects_SprHVis = Timer (screwy way to make Podoboo invisible until timer expires)
STA Objects_SprHVis,X
CMP #$01
BNE PRG005_A258 ; If timer <> 1, jump to PRG005_A258 (RTS)
PRG005_A250:
JSR Object_DetermineHorzVis ; Determine ACTUAL horizontal visibility
; Podoboo splashes coming out of the lava
LDA #$13
JSR Podoboo_Splash
PRG005_A258:
RTS ; Return
PRG005_A259:
LDA <Player_HaltGame
BEQ PRG005_A260 ; If gameplay is not halted, jump to PRG005_A260
JMP PRG005_A2E1 ; Otherwise, jump to PRG005_A2E1
PRG005_A260:
JSR Player_HitEnemy ; Do Player to Podoboo collision
LDA #$00 ; A = $00 (no flip)
LDY <Objects_YVel,X
BMI PRG005_A26B ; If Podobo is moving upward, jump to PRG005_A26B
LDA #SPR_VFLIP ; A = SPR_VFLIP (vertically flip)
PRG005_A26B:
STA Objects_FlipBits,X ; Set appropriate flip
LDA <Counter_1
AND #$03
BNE PRG005_A283 ; 1:4 ticks proceed, otherwise, jump to PRG005_A283
; Cycle frame 0-2
INC Objects_Frame,X ; Frame++
LDA Objects_Frame,X
CMP #$03
BNE PRG005_A283 ; If frame <> 3, jump to PRG005_A283
; Reset frame to zero
LDA #$00
STA Objects_Frame,X
PRG005_A283:
LDA <Objects_YVel,X
BMI PRG005_A2C9 ; If Podoboo is moving upward, jump to PRG005_A2C9
JSR Object_WorldDetectN1 ; Detect against world
LDA Object_TileFeet2
CMP #TILE2_LAVATOP
BNE PRG005_A2C9 ; If Podoboo has not hit the lava, jump to PRG005_A2C9
LDA <Objects_Y,X
SUB <Objects_Var5,X
STA <Temp_Var1
LDA <Objects_YHi,X
SBC <Objects_Var4,X
LSR A
ROR <Temp_Var1
LDA <Temp_Var1
LSR A
LSR A
LSR A
TAY ; Y = Podoboo's relative height as an index
LDA Podoboo_YVelByHeight,Y ; Get Y Velocity by height
BMI PRG005_A2AF ; If this is a negative value, jump to PRG005_A2AF
STA Objects_Timer3,X ; Otherwise, the value actually goes into Timer3
LDA #-$80 ; Use velocity of -$80
PRG005_A2AF:
STA <Objects_YVel,X ; Set Podoboo's Y velocity
LDA <Objects_Y,X
PHA ; Save Y
SBC #$04
STA <Objects_Y,X ; Subtract 4 from Y
JSR PRG005_A250 ; Splash and determine horizontal visibility
; Restore Y
PLA
STA <Objects_Y,X
LDA RandomN,X
AND #$3f
ORA #$40
STA Objects_Timer,X ; Set Podoboo's timer to $40 - $7F
RTS ; Return
PRG005_A2C9:
JSR Object_ApplyYVel_NoLimit ; Apply Y velocity
LDA Objects_Timer3,X
BNE PRG005_A2DE ; If Timer3 not expired, jump to PRG005_A2DE
LDA <Objects_YVel,X
BMI PRG005_A2D9 ; If Podoboo is moving upward, jump to PRG005_A2D9
CMP #$70
BGE PRG005_A2DE ; If Podoboo is falling >= $70, jump to PRG005_A2DE
PRG005_A2D9:
; +2 to Podoboo's Y Velocity (Gravity)
ADD #$02
STA <Objects_YVel,X
PRG005_A2DE:
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
PRG005_A2E1:
JMP Object_ShakeAndDrawMirrored ; Draw Podoboo and don't come back!!
SpinyEgg_TowardsPlayer: .byte $0A, -$0A
ObjInit_ObjB3:
JSR Level_ObjCalcXDiffs
; Set X velocity towards Player
LDA SpinyEgg_TowardsPlayer,Y
STA <Objects_XVel,X
RTS ; Return
ObjB3_AttrByFrame: .byte $03, $01, $02, $01
ObjNorm_ObjB3:
; Strange object... hurts Player, can be killed, appears able to be "bounced" off a sideways bounce block
LDA Level_NoStopCnt
LSR A
LSR A
AND #$03
STA Objects_Frame,X ; Set frame 0 to 3
TAY ; Y = 0 to 3
LDA ObjB3_AttrByFrame,Y
STA Objects_SprAttr,X ; Set attribute by frame
JSR Object_ShakeAndDraw ; Draw thing
; Clear horizontal and vertical flip bits on first sprite
LDA Sprite_RAM+$02,Y
AND #$3f
STA Sprite_RAM+$02,Y
; Set horizontal and vertical flip bits on second sprite
ORA #$c0
STA Sprite_RAM+$06,Y
LDA Objects_State,X
CMP #OBJSTATE_NORMAL
BNE PRG005_A34A ; If object state is not Normal, jump to PRG005_A34A
LDA <Player_HaltGame
BNE PRG005_A34A ; If gameplay halted, jump to PRG005_A34A
LDA <Counter_1
LSR A
NOP
NOP
AND #$01
STA Objects_Frame,X ; Toggle frame 0 or 1
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
JSR Player_HitEnemy ; Do Player to "thing" collision
JSR Object_Move ; Do standard movements
LDA <Objects_DetStat,X
AND #$04
BEQ PRG005_A34F ; If object did not hit floor, jump to PRG005_A34F
JSR Object_HitGround ; Align to floor
LDA Objects_Timer,X
BNE PRG005_A34A ; If timer not expired, jump to PRG005_A34A
LDA LRBounce_Vel
CMP <Objects_Var4,X
BEQ PRG005_A34A ; If bounced different, jump to PRG005_A34A
JSR PRG005_A355 ; Turn around
PRG005_A34A:
; Lock in how object was bounced so it can't be bounced the same again
LDA LRBounce_Vel
STA <Objects_Var4,X
PRG005_A34F:
LDA <Objects_DetStat,X
AND #$03
BEQ ObjInit_BigCannonBall ; If object did not hit wall, jump to ObjInit_BigCannonBall (RTS)
PRG005_A355:
; Set timer to $20
LDA #$20
STA Objects_Timer,X
JSR Object_AboutFace ; Turn around
JSR Object_ApplyXVel ; Apply X velocity
JSR Object_ApplyXVel ; Apply Y velocity
ObjInit_BigCannonBall:
RTS ; Return
; FIXME: Anybody want to claim this??
; $A364
.byte $A1, $A1, $A1, $A9, $AF, $B5, $A1, $10, $08, $10, $10, $10, $10, $10, $08, $10
.byte $10, $10, $10, $10, $10, $03, $83, $03, $03, $03, $03, $03, $C3, $43, $43, $43
.byte $43, $43, $43, $00, $03, $08, $0D, $10, $0D, $08, $03, $04, $03, $00, $03, $04
.byte $07, $08, $07
ObjNorm_BigCannonBall:
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
JSR BigCannonBall_Draw ; Draw the big cannon ball
LDA Objects_State,X
CMP #OBJSTATE_NORMAL
BNE ObjInit_BigCannonBall ; If big cannon ball's state is not Normal, jump to ObjInit_BigCannonBall (RTS)
LDA <Player_HaltGame
BNE ObjInit_BigCannonBall ; If gameplay halted, jump to ObjInit_BigCannonBall (RTS)
JSR Object_ApplyXVel ; Apply X velocity
JMP Player_HitEnemy ; Do Player to Big Cannon Ball collision and don't come back!
BigCannonBall_Draw:
LDA #$00
STA Objects_Frame,X ; Set frame to zero
STA Objects_FlipBits,X ; No flip
; horizontal visibility bits -> Temp_VarNP0
LDA Objects_SprHVis,X
STA Temp_VarNP0
LDA <Objects_X,X
PHA ; Save big cannon ball's X
ADD #$08
STA <Objects_X,X ; +8 to big cannon ball's X
LDA <Objects_XHi,X
PHA ; Save big cannon ball's X Hi
ADC #$00 ; Apply carry
STA <Objects_XHi,X ; Update big cannon ball's X Hi
ASL Objects_SprHVis,X
JSR Object_Draw16x32Sprite ; Draw center of big cannon ball
; Restore X/Hi
PLA
STA <Objects_XHi,X
PLA
STA <Objects_X,X
JSR Object_CalcSpriteXY_NoHi
LDA Objects_SprVVis,X
BNE PRG005_A429 ; If any sprite of the big cannon ball is vertically off-screen, jump to PRG005_A429 (RTS)
; Temp_Var1 = big cannon ball's Sprite Y
LDA <Objects_SpriteY,X
STA <Temp_Var1
LDY Object_SprRAM,X ; Y = Sprite RAM offset
LDA Temp_VarNP0
BMI PRG005_A3F3 ; If this sprite is horizontally off-screen, jump to PRG005_A3F3
; Add 8 to Sprite Y for left edge sprite (vertically centered)
LDA <Temp_Var1
ADD #$08
STA Sprite_RAM+$10,Y
PRG005_A3F3:
LDA Temp_VarNP0
AND #%00010000
BNE PRG005_A402 ; If this sprite is horizontally off-screen, jump to PRG005_A402
; Add 8 to Sprite Y for right edge sprite (vertically centered)
LDA <Temp_Var1
ADD #$08
STA Sprite_RAM+$14,Y
PRG005_A402:
; Set palette select 3 and vertical flip for lower sprites
LDA #(SPR_VFLIP | SPR_PAL3)
STA Sprite_RAM+$0A,Y
STA Sprite_RAM+$0E,Y
; Left edge sprite pattern
LDA #$a3
STA Sprite_RAM+$11,Y
; Right edge sprite pattern
LDA #$b1
STA Sprite_RAM+$15,Y
; Set palette select 3 for edge sprites
LDA #SPR_PAL3
STA Sprite_RAM+$12,Y
STA Sprite_RAM+$16,Y
LDX <SlotIndexBackup ; X = object slot index
; Set Sprite X for edge sprites
LDA <Objects_SpriteX,X
STA Sprite_RAM+$13,Y
ADD #24
STA Sprite_RAM+$17,Y
PRG005_A429:
RTS ; Return
ObjInit_FireJetUpward:
; Start +15 Y
LDA <Objects_Y,X
ADD #15
STA <Objects_Y,X
LDA <Objects_YHi,X
ADC #$00
STA <Objects_YHi,X
RTS ; Return
ObjInit_FireJetUpsideDown:
; Start at Y - 1
DEC <Objects_Y,X
LDA <Objects_Y,X
CMP #$ff
BNE PRG005_A442
DEC <Objects_YHi,X
PRG005_A442:
RTS ; Return
FireJet_TimerReload:
.byte $78, $08, $08, $60, $02, $02
FireJet_Frame:
.byte -$01, $00, $01, $02, $01, $00
ObjNorm_FireJet:
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
LDA <Player_HaltGame
BNE PRG005_A47F ; If gameplay is halted, jump to PRG005_A47F
LDA Objects_Timer,X
BNE PRG005_A47F ; If timer is not expired, jump to PRG005_A47F
; Timer expired...
INC <Objects_Var4,X ; Var4++
LDA <Objects_Var4,X
CMP #$06
BLT PRG005_A465 ; If Var4 < 6, jump to PRG005_A465
LDA #$00 ; A = 0 (reset Var4)
PRG005_A465:
STA <Objects_Var4,X ; Update Var4
TAY ; -> 'Y'
; Reload the Flame Jet timer
LDA FireJet_TimerReload,Y
STA Objects_Timer,X
CPY #$03
BNE PRG005_A47F ; If Var4 <> 3, jump to PRG005_A47F
LDA SndCur_Level2
BNE PRG005_A47F ; If a sound is already playing out of the "Level2" set, jump to PRG005_A47F (flame sound not priority)
; Flame sound
LDA Sound_QLevel2
ORA #SND_LEVELFLAME
STA Sound_QLevel2
PRG005_A47F:
LDA Level_ObjectID,X
CMP #OBJ_FIREJET_UPWARD
BEQ PRG005_A48D ; If upward jet, jump to PRG005_A48D
CMP #OBJ_FIREJET_UPSIDEDOWN
BEQ PRG005_A4F6 ; If downward jet, jump to PRG005_A4F6
JMP PRG005_A581 ; Jump to PRG005_A581
PRG005_A48D:
; Upward jet
LDA <Objects_X,X
PHA ; Save X
LDY <Objects_Var4,X
BEQ PRG005_A4F2 ; If Var4 = 0, jump to PRG005_A4F2
LDA Level_NoStopCnt
LSR A
CPY #$03
BEQ PRG005_A49F ; If Var4 = 3, jump to PRG005_A49F
; Divide further otherwise!
LSR A
LSR A
LSR A
PRG005_A49F:
LSR A
LDA #$00 ; A = $00 (No flip, Var4 < 3)
BLT PRG005_A4A6 ; If Var4 < 3, jump to PRG005_A4A6
LDA #SPR_HFLIP ; A = SPR_HFLIP (Horizontal flip, otherwise)
PRG005_A4A6:
STA Objects_FlipBits,X ; Set proper flip
CPY #$03
BEQ PRG005_A4BB ; If Var4 = 3, jump to PRG005_A4BB
; Var4 <> 3...
LDA #$04 ; A = $04
LDY Objects_FlipBits,X
BEQ PRG005_A4B6 ; If not flipped, jump to PRG005_A4B6
LDA #-$04 ; A = -$04
PRG005_A4B6:
ADD <Objects_X,X
STA <Objects_X,X ; Apply offset to X
PRG005_A4BB:
LDY <Objects_Var4,X ; Y = Var4
LDA FireJet_Frame,Y
PHA ; Save frame value
STA Objects_Frame,X ; -> Frame
JSR Object_Draw16x32Sprite ; Draw bottom of flame
PLA ; Restore frame value
ADD #$06 ; +6
STA Objects_Frame,X ; Set as new frame value
LDA <Objects_Y,X
PHA ; Save Y
SUB #16
STA <Objects_Y,X ; Subtract 16 from Y
LDA <Objects_YHi,X
PHA ; Save Y Hi
SBC #$00
STA <Objects_YHi,X
LDA Object_SprRAM,X
ADD #16 ; 4 sprites forward
STA Object_SprRAM,X
JSR Object_ShakeAndDraw ; Draw top of flame
; Restore Y/Hi
PLA
STA <Objects_YHi,X
PLA
STA <Objects_Y,X
JSR FireJet_PlayerHitTest ; Do Player to Fire Jet collision
PRG005_A4F2:
; Restore X
PLA
STA <Objects_X,X
RTS ; Return
PRG005_A4F6:
; Downward jet
; Vertically flip
LDA #SPR_VFLIP
STA Objects_FlipBits,X
LDA <Objects_X,X
PHA ; Save X
LDY <Objects_Var4,X
BEQ PRG005_A565 ; If Var4 = 0, jump to PRG005_A565
LDA Level_NoStopCnt
LSR A
CPY #$03
BEQ PRG005_A50D ; If Var4 = 3, jump to PRG005_A50D
; Divide further otherwise!
LSR A
LSR A
LSR A
PRG005_A50D:
LSR A
LDA #SPR_VFLIP ; A = SPR_VFLIP (Vertical flip only, Var4 < 3)
BLT PRG005_A514 ; If Var4 < 3, jump to PRG005_A514
LDA #(SPR_HFLIP | SPR_VFLIP) ; A = (Horizontal and Vertical flip, otherwise)
PRG005_A514:
STA Objects_FlipBits,X ; Set proper flip
CPY #$03
BEQ PRG005_A52B ; If Var4 = 3, jump to PRG005_A52B
; Var4 <> 3...
LDA Objects_FlipBits,X
ASL A
ASL A ; will set carry if horizontally flipped
LDA #$04 ; A = $04
BCC PRG005_A526 ; If horizontally flipped, jump to PRG005_A526
LDA #-$04 ; A = -$04
PRG005_A526:
ADD <Objects_X,X
STA <Objects_X,X ; Apply offset to X
PRG005_A52B:
LDY <Objects_Var4,X ; Y = Var4
LDA FireJet_Frame,Y
PHA ; Save frame value
STA Objects_Frame,X ; -> Frame
JSR Object_Draw16x32Sprite ; Draw bottom of flame
PLA ; Restore frame value
ADD #$06 ; +6
STA Objects_Frame,X ; Set as new frame value
LDA <Objects_Y,X
PHA ; Save Y
ADD #32
STA <Objects_Y,X ; Add 32 to Y
LDA <Objects_YHi,X
PHA ; Save Y Hi
ADC #$00
STA <Objects_YHi,X
LDA Object_SprRAM,X
ADD #16 ; 4 sprites forward
STA Object_SprRAM,X
JSR Object_ShakeAndDraw ; Draw top of flame
; Restore Y/Hi
PLA
STA <Objects_YHi,X
PLA
STA <Objects_Y,X
JSR Object_CalcSpriteXY_NoHi
JSR FireJet_PlayerHitTest ; Do Player to Fire Jet collision
PRG005_A565:
; Restore X
PLA
STA <Objects_X,X
PRG005_A568:
RTS ; Return
FireJetLR_Patterns:
.byte $71, $71, $71, $F3, $F5, $F7, $01, $01, $71, $E9, $EB, $ED, $EF, $F1, $01, $01
.byte $FF, $C1, $C3, $C5, $C7, $C9, $01, $01
PRG005_A581:
; Left or Right Fire jet here...
; Temp_Var16 = 0
LDA #$00
STA <Temp_Var16
LDY <Objects_Var4,X
BEQ PRG005_A568 ; If Var4 = 0, jump to PRG005_A568 (RTS)
LDA FireJet_Frame,Y
STA Objects_Frame,X ; -> Frame
JSR Object_CalcSpriteXY_NoHi
; Temp_Var1 = Sprite Y - 1
LDA <Objects_SpriteY,X
SUB #$01
STA <Temp_Var1
; Temp_Var2 = Sprite X
LDA <Objects_SpriteX,X
STA <Temp_Var2
PRG005_A59D:
LDA <Temp_Var2
JSR FireJetLR_SpriteVisibleTest
BCS PRG005_A605 ; If sprite is not visible, jump to PRG005_A605
LDA <Temp_Var16
ASL A
ASL A
ADC Object_SprRAM,X
TAY ; Y = Sprite RAM offset
; Set Sprite Y
LDA <Temp_Var1
STA Sprite_RAM+$00,Y
; Set Sprite X
LDA <Temp_Var2
STA Sprite_RAM+$03,Y
; Counter value -> Temp_Var3
LDA Level_NoStopCnt
STA <Temp_Var3
LDA <Objects_Var4,X
LSR <Temp_Var3
CMP #$03
BEQ PRG005_A5C9 ; If Var4 = 3, jump to PRG005_A5C9
; Otherwise, divide it further
LSR <Temp_Var3
LSR <Temp_Var3
LSR <Temp_Var3
PRG005_A5C9:
LSR <Temp_Var3
PHP ; Save process status
LDA Level_ObjectID,X
TAX ; This Fire Jet's ID -> 'X'
LDA #SPR_PAL1 ; Use palette select 1
CPX #OBJ_FIREJET_RIGHT
BNE PRG005_A5D8 ; If this is not a rightward fire jet, jump to PRG005_A5D8
LDA #(SPR_HFLIP | SPR_PAL1) ; Use horizontal flip and palette select 1
PRG005_A5D8:
PLP ; Restore process status
BCC PRG005_A5DD ; Periodically jump to PRG005_A5DD
ORA #(SPR_VFLIP | SPR_PAL1) ; Apply vertical flip (and palette select 1, though that's needless)
PRG005_A5DD:
STA Sprite_RAM+$02,Y ; Set sprite attribute
LDX <SlotIndexBackup ; X = object slot index
; Temp_Var15 = Temp_Var16 (sprite ram offset)
LDA <Temp_Var16
STA <Temp_Var15
LDA Level_ObjectID,X
CMP #OBJ_FIREJET_RIGHT
BNE PRG005_A5F4 ; If this is not a rightward fire jet, jump to PRG005_A5F4
; Otherwise, Temp_Var15 = 5 - Temp_Var16
LDA #$05
SUB <Temp_Var16
STA <Temp_Var15
PRG005_A5F4:
LDA Objects_Frame,X
ASL A
ASL A
ASL A
ADC <Temp_Var15
TAX ; X = appropriate fire jet pattern index
; Set pattern for this sprite
LDA FireJetLR_Patterns,X
STA Sprite_RAM+$01,Y
LDX <SlotIndexBackup ; X = object slot index
PRG005_A605:
; Temp_Var2 (Sprite X) += 8 (next sprite over)
LDA <Temp_Var2
ADD #$08
STA <Temp_Var2
INC <Temp_Var16 ; Temp_Var16
LDA <Temp_Var16
CMP #$06
BNE PRG005_A59D ; If this is not the sixth fire jet sprite, jump to PRG005_A59D
FireJet_PlayerHitTest:
LDA <Objects_Var4,X
CMP #$03
BNE PRG005_A61D ; If Var4 <> 3, jump to PRG005_A61D (RTS)
JSR Player_HitEnemy ; Do Player to Fire Jet collision
PRG005_A61D:
RTS ; Return
ObjInit_RedPiranhaFlip:
LDY #$21 ; Y = $21
LDA #16 ; Start at Y + 16
BNE PRG005_A628 ; Jump (technically always) to PRG005_A628
ObjInit_GreenPiranhaFlip:
LDY #$19 ; Y = $19
; X += 8
LDA #$08
PRG005_A628:
ADD <Objects_Y,X
STA <Objects_Y,X
; Start vertically flipped
LDA #SPR_VFLIP
STA Objects_FlipBits,X
BNE PRG005_A63A ; Jump (technically always) to PRG005_A63A
ObjInit_RedPiranha:
LDY #33 ; Y = 33
BNE PRG005_A63A ; Jump (technically always) to PRG005_A63A
ObjInit_GreenPiranha:
LDY #25 ; Y = 25
PRG005_A63A:
; Var5 = original Y
LDA <Objects_Y,X
STA <Objects_Var5,X
TYA
STA Objects_TargetingYVal,X ; Objects_TargetingYVal = 25 if green, 33 if red
; Objects_Var1 = 9 or 17
SUB #16
STA Objects_Var1,X
; Var7 = Original Y Hi
LDA <Objects_YHi,X
STA Objects_Var7,X
; X += 8
LDA <Objects_X,X
ADD #$08
STA <Objects_X,X
RTS ; Return
Piranha_Style:
; Bit 0: Set for "ceiling" (vertically flipped) version of Piranha
; Bit 7: Set for fire spitting type
.byte $00 ; OBJ_GREENPIRANHA
.byte $01 ; OBJ_GREENPIRANHA_FLIPPED
.byte $00 ; OBJ_REDPIRANHA
.byte $01 ; OBJ_REDPIRANHA_FLIPPED
.byte $80 ; OBJ_GREENPIRANHA_FIRE
.byte $81 ; OBJ_GREENPIRANHA_FIREC
.byte $80 ; OBJ_VENUSFIRETRAP
.byte $81 ; OBJ_VENUSFIRETRAP_CEIL
Piranha_FacePlayerFlip: .byte SPR_HFLIP, $00
Piranha_VFlip: .byte $00, SPR_VFLIP
ObjNorm_Piranha:
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
LDA <Objects_Var4,X
LDY Objects_FlipBits,X
BPL PRG005_A66E ; If not vertically flipped, jump to PRG005_A66E
ADD #$02 ; A = Var4 + 2
PRG005_A66E:
AND #$03
BNE PRG005_A67D
JSR Object_CalcSpriteXY_NoHi
; Objects_SprHVis = 1 (?)
LDA #$01
STA Objects_SprHVis,X
JMP PRG005_A78F ; Jump to PRG005_A78F
PRG005_A67D:
JSR Level_ObjCalcXDiffs
; Face Player
LDA Objects_FlipBits,X
AND #~SPR_HFLIP
ORA Piranha_FacePlayerFlip,Y
STA Objects_FlipBits,X
; Sprite RAM += 8 (two sprites over)
LDA Object_SprRAM,X
ADD #$08
STA Object_SprRAM,X
; Toggle frame 0/1
LDA Objects_Var3,X
LSR A
LSR A
LSR A
AND #$01
STA Objects_Frame,X
LDA Level_ObjectID,X
SUB #OBJ_GREENPIRANHA
TAY ; Y = relative Piranha index
; Load Var2 with appropriate value
LDA Piranha_Style,Y
STA Objects_Var2,X
AND #$01 ; Only concerned with bit 0 (set for "ceiling" type) here
STA <Temp_Var2
LDA <Objects_Var5,X ; Original Y
SUB <Objects_Y,X ; - Current Y
LDY <Temp_Var2
BEQ PRG005_A6C0 ; If Temp_Var2 = 0, jump to PRG005_A6C0
CMP Objects_Var1,X
BLT PRG005_A6CA ; If the Y difference < low Y difference, jump to PRG005_A6C4
BGE PRG005_A6C4 ; Otherwise, jump to PRG005_A6C4
PRG005_A6C0:
CMP #$11
BGE PRG005_A6CA ; If the Y difference >= $11, jump to PRG005_A6CA
PRG005_A6C4:
; Frame += 2
INC Objects_Frame,X
INC Objects_Frame,X
PRG005_A6CA:
JSR Object_Draw16x32Sprite ; Draw Piranha
JSR Level_ObjCalcYDiffs
STY <Temp_Var1 ; Store Player's relative position value -> Temp_Var1
LDY Object_SprRAM,X ; Y = Sprite_RAM offset
LDA Objects_Var2,X
BMI PRG005_A6FD ; If Var2 is negative, jump to PRG005_A6FD
LDA Objects_FlipBits,X
BMI PRG005_A6EE ; If Piranha is vertically flipped, jump to PRG005_A6EE
LDA Sprite_RAM+$02,Y
AND #~SPR_HFLIP
STA Sprite_RAM+$02,Y
ORA #SPR_HFLIP
STA Sprite_RAM+$06,Y
BNE PRG005_A712 ; Jump (technically always) to PRG005_A712
PRG005_A6EE:
LDA Sprite_RAM+$0A,Y
AND #~SPR_HFLIP
STA Sprite_RAM+$0A,Y
ORA #SPR_HFLIP
STA Sprite_RAM+$0E,Y
BNE PRG005_A72E ; Jump (technically always) to PRG005_A72E
PRG005_A6FD:
LDA Objects_FlipBits,X
BMI PRG005_A71E ; If vertically flipped, jump to PRG005_A71E
LDX <Temp_Var1 ; X = Temp_Var1
LDA Sprite_RAM+$02,Y
AND #~SPR_VFLIP
ORA Piranha_VFlip,X
STA Sprite_RAM+$02,Y
STA Sprite_RAM+$06,Y
PRG005_A712:
LDA #SPR_PAL2 ; Palette select 2
STA Sprite_RAM+$0A,Y
LDA #(SPR_HFLIP | SPR_PAL2) ; Horizontal flip and Palette select 2
STA Sprite_RAM+$0E,Y
BNE PRG005_A738 ; Jump (technically always) to PRG005_A738
PRG005_A71E:
LDX <Temp_Var1 ; X = Temp_Var1
LDA Sprite_RAM+$0A,Y
AND #~SPR_VFLIP
ORA Piranha_VFlip,X
STA Sprite_RAM+$0A,Y
STA Sprite_RAM+$0E,Y
PRG005_A72E:
LDA #(SPR_VFLIP | SPR_PAL2) ; Vertical flip and Palette select 2
STA Sprite_RAM+$02,Y
LDA #(SPR_HFLIP | SPR_VFLIP | SPR_PAL2) ; Horizontal and vertical flip and palette select 2
STA Sprite_RAM+$06,Y
PRG005_A738:
LDX <SlotIndexBackup ; X = object slot index
; The following adds the masking sprite over the bottom of the Piranha,
; the trick used to make it appear as if it is emerging from the pipe..
LDA Objects_SprVVis,X
BNE PRG005_A78F ; If any sprite is vertically off-screen, jump to PRG005_A78F
; Temp_Var1 = 1
LDA #$01
STA <Temp_Var1
LDA Objects_Var2,X
AND #$01
BEQ PRG005_A74F ; If Var2 bit 0 not set, jump to PRG005_A74F
; Otherwise, load Temp_Var1 = Var1
LDA Objects_Var1,X
STA <Temp_Var1
PRG005_A74F:
LDA Objects_SprHVis,X
BMI PRG005_A760 ; If leftmost sprite is horizontally off-screen, jump to PRG005_A760
; Set Sprite Y at Origin Y - Temp_Var1, made relative to scroll
LDA <Objects_Var5,X
SUB <Temp_Var1
SUB Level_VertScroll
STA Sprite_RAM-$08,Y
PRG005_A760:
LDA Objects_SprHVis,X
AND #$40
BNE PRG005_A773 ; If the second from left sprite is horizontally off-screen, jump to PRG005_A773
; Set Sprite Y at Origin Y - Temp_Var1, made relative to scroll
LDA <Objects_Var5,X
SUB <Temp_Var1
SUB Level_VertScroll
STA Sprite_RAM-$04,Y
PRG005_A773:
; Mask sprite pattern
LDA #$77
STA Sprite_RAM-$07,Y
STA Sprite_RAM-$03,Y
; Mask sprite attribute
LDA #$22
STA Sprite_RAM-$06,Y
STA Sprite_RAM-$02,Y
; Copy Sprite X
LDA Sprite_RAM+$03,Y
STA Sprite_RAM-$05,Y
; Copy Sprite X
LDA Sprite_RAM+$07,Y
STA Sprite_RAM-$01,Y
PRG005_A78F:
LDA <Player_HaltGame
BEQ PRG005_A794 ; If gameplay is not halted, jump to PRG005_A794
RTS ; Return
PRG005_A794:
JSR Player_HitEnemy ; Do Player to Piranha collision
INC Objects_Var3,X ; Var3++
LDA <Objects_Var4,X
AND #$03 ; Keep internal state counter 0-3
JSR DynJump
.word Piranha_HideInPipe
.word Piranha_Emerge
.word Piranha_Attack
.word Piranha_Retract
Piranha_Emerge:
; Var5 = original Y
; Var7 = original Y Hi
LDA <Objects_Var5,X ; Original Y
SUB Objects_TargetingYVal,X ; subtract TargetingYVal
PHA ; Save it
LDA Objects_Var7,X
SBC #$00
STA <Temp_Var1 ; Temp_Var1 = Original Y Hi, carry applied
PLA ; Restore the Original Y difference
CMP <Objects_Y,X
LDA <Temp_Var1
SBC <Objects_YHi,X
BCS PRG005_A824 ; Basically if Piranha is at his Y and Y Hi highest point, jump to PRG004_B7F0
LDA #-$10 ; A = -$10
BNE PRG005_A7DC ; Jump (technically always) to PRG005_A7DC
Piranha_Retract:
LDA <Objects_Y,X
ADD #$01
PHA ; Save Y + 1
LDA <Objects_YHi,X
ADC #$00
STA <Temp_Var1 ; Temp_Var1 = carry applied to Y Hi
PLA ; Restore Y + 1
CMP <Objects_Var5,X
LDA <Temp_Var1
SBC Objects_Var7,X
BCS PRG005_A824 ; Basically if Piranha is at his Y and Y Hi origin, jump to PRG005_A824
LDA #$10 ; A = $10
PRG005_A7DC:
; Piranha is not fully extended/retracted...
STA <Objects_YVel,X ; Set Y velocity as appropriate
JMP Object_ApplyYVel_NoLimit ; Apply Y velocity and don't come back!!
Piranha_Attack:
; TIP: For Var2, see Piranha_Style
LDA Objects_Var2,X
BPL PRG005_A808 ; If this is not a fire spitting type of Piranha, jump to PRG005_A808
; Fire spitting piranha...
LDA Objects_FlipBits,X
BMI PRG005_A808 ; If Piranha is vertically flipped, jump to PRG005_A808
; Var3 = 0
LDA #$00
STA Objects_Var3,X
LDA Objects_Timer,X
LDY World_Num
BNE PRG005_A7FD ; If this is not World 1, jump to PRG005_A7FD
; World 1 only...
CMP #$28
BEQ PRG005_A805 ; If timer = $28, jump to PRG005_A805
TYA ; A = 0 (deliberately fails the following checks)
PRG005_A7FD:
CMP #$10
BEQ PRG005_A805 ; If timer = $10, jump to PRG005_A805
CMP #$40
BNE PRG005_A808 ; If timer <> $40, jump to PRG005_A808
PRG005_A805:
JSR Piranha_SpitFire ; Spit fireball at Player
PRG005_A808:
LDA Objects_Timer,X
BNE PRG005_A877 ; If timer not expired, jump to PRG005_A877 (RTS)
LDA Objects_FlipBits,X
BPL PRG005_A824 ; If piranha is not vertically flipped, jump to PRG005_A824
LDA Objects_Var2,X
LSR A
BCS PRG005_A824 ; If this is a ceiling piranha, jump to PRG005_A824
; Non-ceiling piranha only...
JSR Level_ObjCalcXDiffs
LDA <Temp_Var16
ADD #$1b
CMP #$37
BLT PRG005_A833 ; If Player is too close, jump to PRG005_A833
PRG005_A824:
INC <Objects_Var4,X ; Var4++ (next internal state)
LDA #$30 ; A = $30
LDY Level_ObjectID,X
CPY #OBJ_GREENPIRANHA_FIRE
BLT PRG005_A830 ; If this is a red piranha, jump to PRG005_A830
ASL A ; A = $60
PRG005_A830:
STA Objects_Timer,X ; Set timer
PRG005_A833:
RTS ; Return
Piranha_HideInPipe:
LDA Objects_Var2,X
BPL PRG005_A85B ; If this is not a fire spitting piranha, jump to PRG005_A85B
LDA Objects_FlipBits,X
BPL PRG005_A85B ; If piranha is not vertically flipped, jump to PRG005_A85B
; Var3 = 0
LDA #$00
STA Objects_Var3,X
LDA Objects_Timer,X
LDY World_Num
BNE PRG005_A850 ; If this is not World 1, jump to PRG005_A850
; World 1 only...
CMP #$28
BEQ PRG005_A858 ; If timer = $28, jump to PRG005_A858
TYA ; A = 0 (deliberately fails the following checks)
PRG005_A850:
CMP #$10
BEQ PRG005_A858 ; If timer = $10, jump to PRG005_A805
CMP #$40
BNE PRG005_A85B ; If timer <> $40, jump to PRG005_A808
PRG005_A858:
JSR Piranha_SpitFire ; Spit fireball at Player
PRG005_A85B:
LDA Objects_Timer,X
BNE PRG005_A877 ; If timer not expired, jump to PRG005_A877
LDA Objects_FlipBits,X
BMI PRG005_A824 ; If piranha is vertically flipped, jump to PRG005_A824
LDA Objects_Var2,X
LSR A
BCS PRG005_A824 ; If this is a ceiling piranha, jump to PRG005_A824
; Non-ceiling piranha only...
JSR Level_ObjCalcXDiffs
LDA <Temp_Var16
ADD #$1b
CMP #$37
BGE PRG005_A824 ; If Player is too far, jump to PRG005_A833
PRG005_A877:
RTS ; Return
PiranhaFireball_YVel: .byte $0B, $05
PiranhaFireball_XVel: .byte $0B, $0E
Piranha_SpitFire:
LDY #$00 ; Y = 0
LDA Objects_FlipBits,X
BPL PRG005_A885 ; If piranha is not vertically flipped, jump to PRG005_A885
LDY #16 ; Y = 16
PRG005_A885:
STY <Temp_Var1 ; Temp_Var1 = 0 or 16
LDY #$03 ; Y = 3
JSR SpecialObj_FindEmptyAbortY ; Find an empty slot from special object slot 0 to 3 or don't come back!
; Set X offset
LDA <Objects_X,X
ADD #$03
STA SpecialObj_XLo,Y
; Set Y offset
LDA <Objects_Y,X
ADD <Temp_Var1
STA SpecialObj_YLo,Y
LDA <Objects_YHi,X
ADC #$00
STA SpecialObj_YHi,Y
; Piranha fireball
LDA #SOBJ_PIRANHAFIREBALL
STA SpecialObj_ID,Y
STY <Temp_Var1 ; Special object slot index -> Temp_Var1
; Y difference -> Temp_Var6
JSR Level_ObjCalcYDiffs
STY <Temp_Var6
; X difference -> Temp_Var7
JSR Level_ObjCalcXDiffs
STY <Temp_Var7
LDX #$00 ; X = 0 (Player is close)
LDA <Temp_Var16
ADD #$50
CMP #$a0
BLT PRG005_A8C0 ; If Player is close, jump to PRG005_A8C0
INX ; X = 1 (Player is far)
PRG005_A8C0:
LDY <Temp_Var1 ; Y = special object slot index
LDA PiranhaFireball_YVel,X
LSR <Temp_Var6
BCC PRG005_A8CC ; If Y differance is not negative, jump to PRG005_A8CC
JSR Negate ; Otherwise, negate the loaded Y velocity
PRG005_A8CC:
STA SpecialObj_YVel,Y ; Set fireball Y velocity
LDA PiranhaFireball_XVel,X
LSR <Temp_Var7
BCC PRG005_A8D9 ; If X difference is not negative, jump to PRG005_A8D9
JSR Negate ; Otherwise negate the loaded X velocity
PRG005_A8D9:
STA SpecialObj_XVel,Y ; Set fireball X velocity
LDA #$00
STA SpecialObj_XVelFrac,Y
STA SpecialObj_YVelFrac,Y
LDX <SlotIndexBackup ; X = object slot index
RTS ; Return
ObjInit_AirshipProp:
; Start at Y + 3
LDA <Objects_Y,X
ADD #$03
STA <Objects_Y,X
RTS
Prop_UpperYOff: .byte -$10, $08
Prop_LowerYOff: .byte $00, -$08
ObjNorm_AirshipPropellar:
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
JSR Object_AnySprOffscreen
BNE PRG005_A95B ; If any sprite is off-screen, jump to PRG005_A95B (RTS)
JSR Object_CalcSpriteXY_NoHi
; Temp_Var1 = Sprite Y
LDA <Objects_SpriteY,X
STA <Temp_Var1
LDY Object_SprRAM,X ; Y = Sprite RAM offset
; Set Sprite Xs
LDA <Objects_SpriteX,X
STA Sprite_RAM+$03,Y
STA Sprite_RAM+$07,Y
; Set upper sprite pattern
LDA #$a9
STA Sprite_RAM+$01,Y
; Set lower sprite pattern
LDA #$ab
STA Sprite_RAM+$05,Y
; Temp_Var3 = 2 (palette select 2)
LDA #SPR_PAL2
STA <Temp_Var3
LDX #$00 ; X = 0
LDA Level_NoStopCnt
AND #$02
BEQ PRG005_A929 ; 2 ticks on, 2 ticks off; jump to PRG005_A929
LDA #(SPR_VFLIP | SPR_PAL2) ; palette select 2, vertically flipped
STA <Temp_Var3 ; -> Temp_Var3
INX ; X = 1
PRG005_A929:
LDA Level_NoStopCnt
LSR A
LSR A
LSR A
; Set upper and lower sprite attributes
LDA <Temp_Var3
STA Sprite_RAM+$06,Y
STA Sprite_RAM+$02,Y
BCC PRG005_A947 ; 8 ticks on, 8 ticks off; jump to PRG005_A947
; Set horizontal flip to upper sprite
ORA #SPR_HFLIP
STA Sprite_RAM+$02,Y
; Add 2 to upper sprite X
LDA Sprite_RAM+$03,Y
ADD #$02
STA Sprite_RAM+$03,Y
PRG005_A947:
LDA <Temp_Var1 ; Get Upper Sprite Y
ADD Prop_UpperYOff,X ; Add Y offset to upper sprite Y
STA Sprite_RAM+$00,Y ; Update Sprite Y
LDA <Temp_Var1 ; Get Lower Sprite Y
ADD Prop_LowerYOff,X ; Add Y offset to lower sprite Y
STA Sprite_RAM+$04,Y ; Update Sprite Y
LDX <SlotIndexBackup ; X = object slot index
PRG005_A95B:
RTS ; Return
; Returns carry set if not visible, carry clear if is visible
; Very similar to ChainChomp_LinkVisibleTest
FireJetLR_SpriteVisibleTest:
; Backup X, Y, A
STX <Temp_Var4
STY <Temp_Var3
STA <Temp_Var2
LDX <SlotIndexBackup ; X = object slot index
LDA Objects_SprVVis,X
BNE PRG005_A97E ; If any sprite is vertically off-screen, jump to PRG005_A97E
LDY #$40 ; Y = $40
LDA <Objects_SpriteX,X
BMI PRG005_A971 ; If on right half, jump to PRG005_A971
LDY #$c0 ; Y = $C0
PRG005_A971:
CPY <Temp_Var2
EOR Objects_SprHVis,X
BMI PRG005_A97C
BCC PRG005_A97E
BCS PRG005_A981
PRG005_A97C:
BCC PRG005_A981
PRG005_A97E:
SEC ; Set carry (sprite not visible)
BCS PRG005_A982 ; Jump (technically always) to PRG005_A982
PRG005_A981:
CLC ; Clear carry (sprite visible)
PRG005_A982:
; Restore Y, A, X
LDY <Temp_Var3
LDA <Temp_Var2
LDX <Temp_Var4
RTS ; Return
ObjInit_FireJetLeft:
DEC <Objects_Y,X ; Start at Y - 1
LDY <Objects_Y,X
INY
BNE ObjInit_FireJetRight
DEC <Objects_YHi,X ; Apply carry
ObjInit_FireJetRight:
RTS ; Return
RockyWrench_FlipBits: .byte $60, $20
ObjInit_RockyWrench:
INC <Objects_Var4,X ; Var4 = 1 (keeps Rocky alive)
Rocky_FacePlayer:
JSR Level_ObjCalcXDiffs
; Set flip towards Player
LDA RockyWrench_FlipBits,Y
STA Objects_FlipBits,X
RTS ; Return
; Timer reload values for Rocky by his internal state
Rocky_TimerReload:
.byte $00, $20, $16, $20, $20, $10
ObjNorm_RockyWrench:
LDA Objects_State,X
CMP #OBJSTATE_NORMAL
BEQ PRG005_A9B1 ; If Rocky's state is Normal, jump to PRG005_A9B1
JMP Rocky_Draw ; Draw Rocky and don't come back!
PRG005_A9B1:
; Set Rocky's priority
LDA Objects_FlipBits,X
ORA #SPR_BEHINDBG
STA Objects_FlipBits,X
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
; Sprite RAM +8 (Two sprites over)
LDA Object_SprRAM,X
ADD #$08
STA Object_SprRAM,X
JSR Object_ShakeAndDraw ; Draw Rocky
LDA Objects_Frame,X
CMP #$01
BNE PRG005_A9F7 ; If frame <> 1, jump to PRG005_A9F7
JSR Object_AnySprOffscreen
BNE PRG005_A9F7 ; If any of Rocky's sprites are off-screen, jump to PRG005_A9F7
; Set Rocky's held wrench Y
LDA <Objects_SpriteY,X
SUB #$08
STA Sprite_RAM-$08,Y
LDA Objects_FlipBits,X
ASL A
ASL A
LDA #$00 ; A = 0
BCS PRG005_A9E7 ; If Rocky is horizontally flipped, jump to PRG005_A9E7
LDA #$08 ; A = 8
PRG005_A9E7:
; Offset Rocky's Wrench X
ADD <Objects_SpriteX,X
STA Sprite_RAM-$05,Y
; Rocky's Wrench pattern
LDA #$a1
STA Sprite_RAM-$07,Y
; Palette select 1
LDA #SPR_PAL1
STA Sprite_RAM-$06,Y
PRG005_A9F7:
LDA <Player_HaltGame
BNE PRG005_AA38 ; If gameplay is halted, jump to PRG005_AA38
JSR Rocky_KillOrStandOn ; Kill Rocky or stand on top of him
LDA <Objects_Var5,X ; Var5 is internal state
JSR DynJump
; THESE MUST FOLLOW DynJump FOR THE DYNAMIC JUMP TO WORK!!
.word Rocky_FaceAndPopup ; 0: After timer, Rocky pops up and faces Player
.word Rocky_WaitTimer ; 1: Just waiting for timer to expire
.word Rocky_RiseUp ; 2: Rocky rises up
.word Rocky_ReadyThrowWrench ; 3: Gets ready to throw wrench
.word Rocky_WrenchToss ; 4: Toss the wrench
.word Rocky_DieOrWaitRevive ; 5: Rocky is dead if Var4 = 0, otherwise delay until revive
.word Rocky_Killed ; 6: Rocky's killed state
Rocky_FaceAndPopup:
LDA Objects_Timer,X
BNE PRG005_AA38 ; If timer not expired, jump to PRG005_AA38 (RTS)
JSR Rocky_FacePlayer ; Rocky faces Player
; Rocky "pops up" to look for Player
LDA <Objects_Y,X
ADD #$08
AND #$f0
SUB #$06
STA <Objects_Y,X
BCS Rocky_WaitTimer
DEC <Objects_YHi,X ; Apply carry
; Wait for timer to expire, go to next state, reload timer
Rocky_WaitTimer:
LDA Objects_Timer,X
BNE PRG005_AA38 ; If timer not expired, jump to PRG005_AA38 (RTS)
INC <Objects_Var5,X ; Var5++ (next internal state)
LDY <Objects_Var5,X
LDA Rocky_TimerReload,Y ; Load timer value by internal state
STA Objects_Timer,X ; Set timer
PRG005_AA38:
RTS ; Return
Rocky_RiseUp:
; Set frame 0 and advance state after timer expires
LDA #$00
JSR Rocky_UpdFrameAdvIntState
LDA Objects_Timer,X
LSR A
BCS PRG005_AA4D ; Every other tick, jump to PRG005_AA4D (RTS)
; Move up one pixel
DEC <Objects_Y,X
LDY <Objects_Y,X
INY
BNE PRG005_AA4D
DEC <Objects_YHi,X
PRG005_AA4D:
RTS ; Return
Rocky_ReadyThrowWrench:
LDA #$01 ; Ready to throw frame
Rocky_UpdFrameAdvIntState:
STA Objects_Frame,X ; Update frame
JMP Rocky_WaitTimer ; Wait for timer to expire and advance state afterward
Rocky_WrenchToss:
; Set frame 2 (thrown wrench) and advance state after timer expires
LDA #$02
JSR Rocky_UpdFrameAdvIntState
LDA Objects_Timer,X
CMP #$1f
BNE PRG005_AA65 ; 1:32 ticks proceed, otherwise jump to PRG005_AA65
JSR Rocky_ThrowWrench ; Throw Wrench
PRG005_AA65:
RTS ; Return
Rocky_DieOrWaitRevive:
LDA Objects_Timer,X
BNE PRG005_AA7F ; If timer not expired, jump to PRG005_AA7F
LDA <Objects_Var4,X
BNE PRG005_AA75 ; If Var4 <> 0 (Rocky will come back, otherwise he's gone forever), jump to PRG005_AA75
; Set Rocky's state to Dead/Empty
LDA #OBJSTATE_DEADEMPTY
STA Objects_State,X
RTS ; Return
PRG005_AA75:
; Go back to initial internal state
LDA #$00
STA <Objects_Var5,X
; Set timer to $40
LDA #$40
STA Objects_Timer,X
RTS ; Return
PRG005_AA7F:
; +1 to Rocky's Y
INC <Objects_Y,X
BNE PRG005_AA85
INC <Objects_YHi,X
PRG005_AA85:
; Frame = 0
LDA #$00
STA Objects_Frame,X
RTS ; Return
Rocky_Killed:
LDA Objects_Timer,X
BNE PRG005_AA96 ; If timer not expired, jump to PRG005_AA96
; Set Rocky state to Killed
LDA #OBJSTATE_KILLED
STA Objects_State,X
RTS ; Return
PRG005_AA96:
; Set frame to 3
LDA #$03
STA Objects_Frame,X
RTS ; Return
Rocky_KillOrStandOn:
LDA <Objects_Var5,X
CMP #$06
BEQ PRG005_AAE8 ; If Var5 = 6, jump to PRG005_AAE8 (RTS)
; Bumps up the kill Tally so Rocky's base score is 200 pts IF he gets bumped from underneath
; But that never happens??
INC Kill_Tally
JSR Object_HandleBumpUnderneath
DEC Kill_Tally
LDA Objects_PlayerHitStat,X
BEQ PRG005_AAE8 ; If Player has not collided with Rocky, jump to PRG005_AAE8
LDA <Player_YVel
BMI PRG005_AAE8 ; If Player is moving upward, jump to PRG005_AAE8 (RTS)
CMP #$10
BGE PRG005_AACA ; If Player is falling faster than $10, jump to PRG005_AACA
; Player not falling fast enough; stand on top of Rocky
; Flag Player as not mid-air
LDA #$00
STA <Player_InAir
; Set Player at Rocky's Y - 31
LDA <Objects_Y,X
SUB #31
STA <Player_Y
LDA <Objects_YHi,X
SBC #$00
STA <Player_YHi
RTS ; Return
PRG005_AACA:
; Rocky got stepped on!
; Var5 = 6
LDA #$06
STA <Objects_Var5,X
; Timer = $0C
LDA #$0c
STA Objects_Timer,X
; Bounce Rocky a bit
LDA #-$30
STA <Player_YVel
; Kill sound
LDA Sound_QPlayer
ORA #SND_PLAYERKICK
STA Sound_QPlayer
; Score for the kill!
LDA Kill_Tally
INC Kill_Tally
JSR Score_Get100PlusPts
PRG005_AAE8:
RTS ; Return
Rocky_WrenchYVel: .byte $00, -$10, -$20, -$10, $00, -$10, -$20, -$10
Rocky_ThrowWrench:
; Rocky's wrench throw
JSR SpecialObj_FindEmptyAbort ; Find an empty special object slot or don't come back!
; Set Wrench at Rocky's Y - 8
LDA <Objects_Y,X
SUB #$08
STA SpecialObj_YLo,Y
LDA <Objects_YHi,X
SBC #$00
STA SpecialObj_YHi,Y
LDA <Objects_X,X
STA SpecialObj_XLo,Y
LDA Level_AScrlHVel
CMP #$0e
LDA #$10 ; A = $10 (horizontal velocity < $0E)
BLT PRG005_AB13 ; If autoscroll horizontal velocity < $0E, jump to PRG005_AB13
LDA #$18 ; A = $18 (otherwise)
PRG005_AB13:
STA <Temp_Var3 ; -> Temp_Var3
LDA Objects_FlipBits,X
ASL A
ASL A
STY <Temp_Var1 ; Special object slot index -> Temp_Var1
LDA <Temp_Var3
BCS PRG005_AB22 ; If Rocky is horizontally flipped, jump to PRG005_AB22
LDA #-$10
PRG005_AB22:
STA SpecialObj_XVel,Y ; Set appropriate X velocity of wrench
LDA RandomN,X
AND #$07
TAY ; Y = 0 to 7, random
; Set Rocky's Wrench Y Velocity
LDA Rocky_WrenchYVel,Y
LDY <Temp_Var1
STA SpecialObj_YVel,Y
; Rocky's Wrench ID
LDA #SOBJ_WRENCH
STA SpecialObj_ID,Y
RTS ; Return
Rocky_Draw:
LDY #$02 ; Y = 2
LDA Level_NoStopCnt
AND #$10
BEQ PRG005_AB43 ; 16 ticks on, 16 ticks off; jump to PRG005_AB43
INY ; Y = 3
PRG005_AB43:
TYA ; A = 2 or 3
STA Objects_Frame,X ; Set frame to 2 or 3
; Set Rocky's priority
LDA #SPR_BEHINDBG
STA Objects_FlipBits,X
JMP Object_DrawTallAndHFlip ; Draw Rocky and don't come back!
ObjInit_BoltLift:
; Set at Y - 1
LDA <Objects_Y,X
SUB #$01
STA <Objects_Y,X
LDA <Objects_YHi,X
SBC #$00
STA <Objects_YHi,X
PRG005_AB5C:
RTS ; Return
PRG005_AB5D: .byte $60, $70, $80, $90, $A0, $B0, $C0, $D0
ObjNorm_BoltLift:
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
JSR Object_ShakeAndDraw ; Draw left half of bolt lift
LDA Objects_SprHVis,X
PHA ; Save horizontal visibility bits
; Shift over visibility to draw second half
ASL A
ASL A
STA Objects_SprHVis,X
LDA <Objects_X,X
PHA ; Save object X
ADD #16
STA <Objects_X,X ; Add 16 to bolt lift's X
LDA <Objects_XHi,X
PHA ; Save object X Hi
ADC #$00
STA <Objects_XHi,X ; Apply carry
; Two sprites over
LDA Object_SprRAM,X
ADD #$08
STA Object_SprRAM,X
JSR Object_ShakeAndDraw ; Draw right half of bolt lift
; Restore XHi / X / horizontal visibility bits
PLA
STA <Objects_XHi,X
PLA
STA <Objects_X,X
PLA
STA Objects_SprHVis,X
JSR Object_CalcSpriteXY_NoHi
LDA <Player_HaltGame
BNE PRG005_AB5C ; If gameplay is halted, jump to PRG005_AB5C
LDA <Objects_XVel,X
BEQ PRG005_ABC9 ; If bolt lift is not moving horizontally, jump to PRG005_ABC9
BPL PRG005_ABA9 ; If bolt lift is moving to the right, jump to PRG005_ABA9
JSR Negate ; Otherwise, negate the X velocity (absolute velocity)
PRG005_ABA9:
ASL A
ASL A
ASL A
ASL A ; Divide absolute value of X velocity by 16
ADC #$60 ; A = $60 to $6F
ADC Objects_Var7,X ; Add Var7
STA Objects_Var7,X ; -> Var7
BCC PRG005_ABC9 ; If no overflow, jump to PRG005_ABC9
LDA <Objects_XVel,X
ASL A
LDA #$01 ; A = 1
BCC PRG005_ABC0 ; If X velocity is not negative, jump to PRG005_ABC0
LDA #-$01 ; A = -1
PRG005_ABC0:
ADD Objects_Frame,X ; Add current frame value
AND #$03 ; Modulus 3 (frame capped into 0 to 3)
STA Objects_Frame,X ; -> Frame
PRG005_ABC9:
LDA <Objects_Var5,X
BEQ PRG005_ABD0 ; If Var5 = 0, jump to PRG005_ABD0
JMP PRG005_AC57 ; Jump to PRG005_AC57 (indirect to Object_Move)
PRG005_ABD0:
LDA <Counter_1
AND #$07
BNE PRG005_ABE2 ; 1:8 ticks proceed, otherwise jump to PRG005_ABE2
LDA <Objects_XVel,X
BEQ PRG005_ABE2 ; If bolt is not moving horizontally, jump to PRG005_ABE2
BPL PRG005_ABE0 ; If bolt is moving to the right, jump to PRG005_ABE0
; Bolt moving to the left; slow down
INC <Objects_XVel,X
INC <Objects_XVel,X ; This is just to overcome the DEC that follows, so really only one INC
PRG005_ABE0:
; Bolt moving to the right; slow down
DEC <Objects_XVel,X
PRG005_ABE2:
JSR Bolt_CheckOnThread ; Checks if bolt is on thread tile; if not, Var5 = 1
JSR Object_WorldDetectN1
LDA Object_TileWall2
CMP #TILE10_BOLT_H
BNE PRG005_ABF5 ; If bolt has not hit thread end tile, jump to PRG005_ABF5
; Bolt hit thread end, halt horizontal movement
LDA #$00
STA <Objects_XVel,X
INC <Objects_DetStat,X ; DetStat++ (bad use of this var :P)
PRG005_ABF5:
JSR Bolt_ToBoltCollide ; Bolt-to-bolt intersection response
JSR Object_ApplyXVel ; Apply X velocity
LDA <Objects_XVel,X
BEQ PRG005_AC04 ; If bolt is not moving horizontally, jump to PRG005_AC04
LDA Objects_Timer,X
BNE PRG005_AC56 ; If timer not expired, jump to PRG005_AC56 (RTS)
PRG005_AC04:
JSR Object_CalcSpriteXY_NoHi
JSR Object_HitTest
BCC PRG005_AC56 ; If Player isn't touching bolt, jump to PRG005_AC56 (RTS)
LDA <Player_SpriteY
ADC #23
CMP <Objects_SpriteY,X
BGE PRG005_AC36 ; If Player is lower than the top of bolt, jump to PRG005_AC36
LDA <Player_YVel
BMI PRG005_AC35 ; If Player is moving upward, jump to PRG005_AC35 (RTS)
LDA <Objects_DetStat,X ; Bad use of this var
BNE PRG005_AC20 ; If bolt hit end of thread, jump to PRG005_AC20
; Bolt moves to the right
LDA #$05
STA <Objects_XVel,X
PRG005_AC20:
LDA #$10
STA Objects_Timer,X ; Set timer to $10
STA Player_AllowAirJump ; Lets Player jump off bolt
LDA #$00
STA <Player_YVel ; Halt Player's vertical movement
STA <Player_InAir ; Flag Player as not mid-air
; Set Player to top of bolt
LDA <Objects_Y,X
SUB #30
STA <Player_Y
PRG005_AC35:
RTS ; Return
PRG005_AC36:
LDA #-4 ; A = -4
LDY <Player_Suit
BNE PRG005_AC3E ; If Player is not small, jump to PRG005_AC3E
LDA #12 ; A = 12
PRG005_AC3E:
ADD <Player_SpriteY ; Offset Player Y
CMP <Objects_SpriteY,X
BLT PRG005_AC52 ; If Player is not hitting head off bolt, jump to PRG005_AC52
LDA <Player_YVel
BPL PRG005_AC51 ; If Player is moving downard, jump to PRG005_AC51 (RTS)
; Move bolt backward
LDA #-$05
STA <Objects_XVel,X
; Player bumped head off bolt!
LDA #$10
STA <Player_YVel
PRG005_AC51:
RTS ; Return
PRG005_AC52:
; Halt horizontal movement
LDA #$00
STA <Player_XVel
PRG005_AC56:
RTS ; Return
PRG005_AC57:
JMP Object_Move ; Do standard movements and don't come back!
Bolt_CheckOnThread:
LDA #-30 ; A = -30 (X offset for bolt moving to the right)
LDY <Objects_XVel,X
BEQ PRG005_AC93 ; If bolt is not moving horizontally, jump to PRG005_AC93
BPL PRG005_AC64 ; If bolt is moving to the right, jump to PRG005_AC64
LDA #30 ; A = 30 (X offset for bolt moving to the left)
PRG005_AC64:
LDY #$00 ; Y = $00 (16-bit sign extension)
CMP #$00
BGS PRG005_AC6B ; If decided value is non-negative ($1E), jump to PRG005_AC6B
DEY ; Y = $FF (16-bit sign extension)
PRG005_AC6B:
STA <Temp_Var1 ; A = -30 or 30
LDA <Objects_X,X
PHA ; Save bolt's X
ADD <Temp_Var1 ; Add decided value
STA <Objects_X,X ; -> bolt's X
LDA <Objects_XHi,X
PHA ; Save bolt's X Hi
TYA ; sign extension -> 'A'
ADC <Objects_XHi,X ; Apply sign
STA <Objects_XHi,X ; -> X Hi
JSR Object_WorldDetectN1
; Restore X/Hi
PLA
STA <Objects_XHi,X
PLA
STA <Objects_X,X
LDA Object_TileWall2
CMP #TILE10_BOLT_H
BEQ PRG005_AC93 ; If bolt lift has hit a thread end tile, jump to PRG005_AC93
CMP #TILE10_THREAD_H
BEQ PRG005_AC93 ; If bolt lift is running along the thread, jump to PRG005_AC93
; Bolt is run into the end
INC <Objects_Var5,X ; Var5 = 1
PRG005_AC93:
RTS ; Return
Bolt_ToBoltCollide:
LDA Objects_SprVVis,X
BNE PRG005_AD06 ; If any sprite of the bolt is vertically off-screen, jump to PRG005_AD06 (RTS)
LDA Objects_SprHVis,X
AND #%11000000
CMP #%11000000
BEQ PRG005_AD06 ; If left two sprites are off-screen, jump to PRG005_AD06 (RTS)
JSR Object_CalcBoundBox2
TXA
BEQ PRG005_AD06 ; If this is object slot 0, jump to PRG005_AD06 (RTS)
DEX ; X-- (consider previous object)
PRG005_ACA9:
LDA Objects_State,X
CMP #OBJSTATE_NORMAL
BNE PRG005_AD01 ; If state is not Normal, jump to PRG005_AD01 (skip this object)
LDA Level_ObjectID,X
CMP #OBJ_BOLTLIFT
BNE PRG005_AD01 ; If this is not another bolt lift, jump to PRG005_AD01 (skip this object)
LDA Objects_SprVVis,X
BNE PRG005_AD01 ; If this other bolt is vertically off-screen, jump to PRG005_AD01 (skip this object)
LDA Objects_SprHVis,X
AND #%11000000
CMP #%11000000
BEQ PRG005_AD01 ; If this other bolt is horizontally off-screen, jump to PRG005_AD01 (skip this object)
JSR Object_CalcSpriteXY_NoHi
JSR Object_CalcBoundBox
JSR ObjectObject_Intersect
BCC PRG005_AD01 ; If the two bolts are colliding with eachother, jump to PRG005_AD01 (skip this object)
LDY <SlotIndexBackup ; Y = current bolt's object slot index
LDA <Objects_X,X
SUB Objects_X,Y
PHA ; Save X difference of two bolts
LDA <Objects_XHi,X
SBC Objects_XHi,Y
STA <Temp_Var1 ; Temp_Var1 = difference of X His
ROL <Temp_Var2 ; Pushes sign bit
PLA ; Restore X difference
ADC #$80
LDA <Temp_Var1
ADC #$00
BNE PRG005_AD01 ; If bolts haven't hit, jump to PRG005_AD01 (skip this object)
LSR <Temp_Var2
LDA #-$01 ; A = -$01
BCS PRG005_ACF3
LDA #$01 ; A = $01
PRG005_ACF3:
STX <Temp_Var16 ; Backup this other bolt's index
LDX <SlotIndexBackup ; X = original bolt object slot index
STA <Objects_XVel,X ; Set this bolt's X velocity
PHA ; ?? doesn't do anything useful (see immediately below)
LDX <Temp_Var16 ; Restore this other bolt's index
PLA ; ?? doesn't do anything useful (see immediately above)
EOR #$ff ; The opposite value
STA <Objects_XVel,X ; Store opposing value into the other bolt
PRG005_AD01:
DEX ; X-- (previous object)
BPL PRG005_ACA9 ; While X >= 0, loop!
LDX <SlotIndexBackup ; X = object slot index
PRG005_AD06:
ObjInit_Sun:
RTS ; Return
Sun_VelAccel: .byte $08, $F8, $08, $F8
Sun_VelLimits: .byte $40, $C0, $40, $C0
ObjNorm_Sun:
LDA Objects_State,X
CMP #OBJSTATE_NORMAL
BEQ PRG005_AD1E ; If sun's state is Normal, jump to PRG005_AD1E
; Set frame to 1
LDA #$01
STA Objects_Frame,X
JMP Sun_Draw ; Draw Sun and don't come back
PRG005_AD1E:
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
LDA Objects_Var7,X
BEQ PRG005_AD29 ; If Var7 = 0 (initial internal state), jump to PRG005_AD29
JSR Player_HitEnemy ; Do Player to Sun collision
PRG005_AD29
LDA <Player_HaltGame
BNE PRG005_AD41 ; If gameplay halted, jump to PRG005_AD41
LDY #$00 ; Y = $00 (16-bit sign extension)
BNE PRG005_AD48 ; Jump technically NEVER to PRG005_AD48
LDA Level_ScrollDiffH
BPL PRG005_AD37 ; If the screen scroll difference is positive, jump to PRG005_AD37
DEY ; Y = $FF (16-bit sign extension)
PRG005_AD37:
ADD <Objects_X,X ; Sun moves by horizontal scroll
STA <Objects_X,X ; Update X position
TYA ; Sign extension -> 'A'
ADC <Objects_XHi,X ; Apply carry
STA <Objects_XHi,X ; Update XHi
PRG005_AD41:
JSR Sun_Draw ; Draw the Sun
LDA <Player_HaltGame
BNE PRG005_AD7D ; If gameplay halted, jump to PRG005_AD7D (RTS)
PRG005_AD48:
LDY #$00 ; Y = 0
LDA <Counter_1
AND #%00001100
BEQ PRG005_AD51 ; 12 ticks on, 12 ticks off; jump to PRG005_AD51
INY ; Y = 1
PRG005_AD51:
TYA
STA Objects_Frame,X ; Periodically use frame 0 or 1
LDA Objects_Var7,X ; Var7 is internal state
JSR DynJump
; THESE MUST FOLLOW DynJump FOR THE DYNAMIC JUMP TO WORK!!
.word Sun_WaitFarEnough ; 0: Waits until screen has
.word Sun_WaitThenAttackRight ; 1: Does circling movements and then starts attack to the right
.word Sun_WaitAndResetTimer20 ; 2: Resets timer to $20 after it expires
.word Sun_WaitForUpperReturn ; 3: Waits for the Sun to make his way back up to the top
.word Sun_WaitThenAttackLeft ; 4: Does circling movements and then starts attack to the left
.word Sun_WaitAndResetTimer20 ; 5: Resets timer to $20 after it expires
.word Sun_WaitForUpperReturn2 ; 6: Waits for the Sun to make his way back up to the top
Sun_WaitFarEnough:
LDA #$00
STA Objects_Frame,X ; Hold Sun in frame 0
LDA <Objects_XHi,X
CMP #$05
BNE PRG005_AD7D ; If Sun has not yet reached the fifth screen, jump to PRG005_AD7D
; We're on the fifth screen...
LDA <Objects_X,X
CMP #176
BLT PRG005_AD7D ; If the sun is less than 176 pixels across on the fifth screen, jump to PRG005_AD7D
JSR PRG005_ADF6 ; Prepare to enter internal state 1
PRG005_AD7D:
RTS ; Return
Sun_WaitThenAttackRight:
JSR Sun_DoMovement ; Do sun's circling movement
LDA Objects_Timer,X
BNE PRG005_AD96 ; If timer not expired, jump to PRG005_AD96 (RTS)
INC Objects_Var7,X ; Next internal state
; Sun launches down and to the right!
; Set Y velocity to $40
LDA #$40
STA <Objects_YVel,X
; Set X velocity to $14
LDA #$14
STA <Objects_XVel,X
PRG005_AD91:
; Set timer to $10
LDA #$10
STA Objects_Timer,X
PRG005_AD96:
RTS ; Return
Sun_WaitThenAttackLeft:
JSR Sun_DoMovement ; Do sun's circling movement
LDA Objects_Timer,X
BNE PRG005_ADAD ; If timer not expired, jump to PRG005_ADAD
INC Objects_Var7,X ; Var7++ (next internal state)
; Set Y velocity to $40
LDA #$40
STA <Objects_YVel,X
; Set X velocity to -$14
LDA #-$14
STA <Objects_XVel,X
JMP PRG005_AD91 ; Jump to PRG005_AD91
PRG005_ADAD:
RTS ; Return
Sun_TimerReload: .byte $40, $60, $80, $A0
Sun_WaitForUpperReturn:
JSR Object_ApplyXVel ; Apply X velocity
JSR Object_ApplyYVel_NoLimit ; Apply Y Velocity
DEC <Objects_YVel,X ; Sun slows down and moves upward
LDA <Objects_Y,X
CMP #16
BGE PRG005_ADE3 ; If Sun's Y >= 16, jump to PRG005_ADE3 (RTS)
; Lock Sun Y at 16
LDA #16
STA <Objects_Y,X
INC Objects_Var7,X ; Var7++ (next internal state)
; Set directions
LDA #$01
STA Objects_TargetingYVal,X
STA Objects_TargetingXVal,X
; Halt horizontal movement
LDA #$00
STA <Objects_XVel,X
; Set Y Vel to -$40
LDA #-$40
STA <Objects_YVel,X
PRG005_ADD7:
LDA RandomN,X
AND #$03
TAY ; Y = random 0 to 3
; Reload the sun with a randomly selected timer value
LDA Sun_TimerReload,Y
STA Objects_Timer,X
PRG005_ADE3:
RTS ; Return
Sun_WaitForUpperReturn2:
JSR Object_ApplyXVel ; Apply X velocity
JSR Object_ApplyYVel_NoLimit ; Apply Y velocity
DEC <Objects_YVel,X ; Sun slows down and moves upward
LDA <Objects_Y,X
CMP #16
BGE PRG005_AE10 ; If Sun's Y >= 16, jump to PRG005_AE10 (RTS)
; Lock Sun Y at 16
LDA #16
STA <Objects_Y,X
PRG005_ADF6:
; Set internal state to 1
LDA #$01
STA Objects_Var7,X
; Objects_TargetingYVal = 1
LDA #$01
STA Objects_TargetingYVal,X
; Objects_TargetingXVal = 0
LDA #$00
STA Objects_TargetingXVal,X
; Halt horizontal movement
LDA #$00
STA <Objects_XVel,X
; Set Y Vel = -$40
LDA #-$40
STA <Objects_YVel,X
JMP PRG005_ADD7 ; Jump to PRG005_ADD7
PRG005_AE10:
RTS ; Return
Sun_WaitAndResetTimer20:
LDA Objects_Timer,X
BNE PRG005_AE21 ; If timer not expired, jump to PRG005_AE21
INC Objects_Var7,X ; Var7++ (next internal state)
LDY Objects_Var7,X ; ??
; Set timer to $20
LDA #$20
STA Objects_Timer,X
PRG005_AE21:
RTS ; Return
Sun_DoMovement:
JSR Object_ApplyXVel ; Apply X velocity
JSR Object_ApplyYVel_NoLimit ; Apply Y velocity
; Objects_TargetingXVal is used as a horizontal direction here
LDA Objects_TargetingXVal,X
AND #$01
TAY ; Y = 0 or 1
LDA <Objects_XVel,X
CMP Sun_VelLimits,Y
BNE PRG005_AE39 ; If Sun is not at his X Vel limit, jump to PRG005_AE39
INC Objects_TargetingXVal,X ; Otherwise, change horizontal direction
INY ; Y++
PRG005_AE39:
ADD Sun_VelAccel,Y ; Apply acceleration to X velocity
STA <Objects_XVel,X ; Update X velocity
; Objects_TargetingYVal is used as a vertical direction here
LDA Objects_TargetingYVal,X
AND #$01
TAY ; Y = 0 or 1
LDA <Objects_YVel,X
CMP Sun_VelLimits,Y
BNE PRG005_AE50 ; If Sun is not at his X Vel limit, jump to PRG005_AE50
INC Objects_TargetingYVal,X ; Otherwise, change vertical direction
INY ; Y++
PRG005_AE50:
ADD Sun_VelAccel,Y ; Apply acceleration to Y velocity
STA <Objects_YVel,X ; Update Y velocity
PRG005_AE56:
RTS ; Return
Sun_Patterns: .byte $97, $91
Sun_SpriteYOffs: .byte $08, $00
Sun_Draw:
LDA Objects_FlipBits,X
AND #~SPR_BEHINDBG ; Clear priority bit
LDY Objects_Var7,X
BNE PRG005_AE67 ; If Var7 <> 0, jump to PRG005_AE67
ORA #$20 ; Set priority bit
PRG005_AE67:
STA Objects_FlipBits,X ; Update attributes
LDA Objects_SprHVis,X
STA Temp_VarNP0 ; Sprite horizontal visibility -> Temp_VarNP0
LDA <Objects_X,X
PHA ; Save Sun's X
ADD #$08
STA <Objects_X,X ; Set Sun's X + 8
LDA <Objects_XHi,X
PHA ; Save Sun's X Hi
ADC #$00 ; Apply carry
STA <Objects_XHi,X ; Update X Hi
ASL Objects_SprHVis,X
JSR Object_DrawTallAndHFlip ; Draw's middle of sun
; Restore X/Hi
PLA
STA <Objects_XHi,X
PLA
STA <Objects_X,X
; Left and right edges of sun...
JSR Object_CalcSpriteXY_NoHi
LDY Object_SprRAM,X ; Y = Sprite RAM offset
LDA Objects_SprVVis,X
BNE PRG005_AE56 ; If Sun is vertically off-screen, jump to PRG005_AE56 (RTS)
; Sun's Sprite Y -> Temp_Var1
LDA <Objects_SpriteY,X
STA <Temp_Var1
LDA Objects_Frame,X
TAX ; Frame -> 'X'
LDA Temp_VarNP0
BMI PRG005_AEAC ; If sprite is horizontally off-screen, jump to PRG005_AEAC
; Set Sprite Y
LDA <Temp_Var1
ADD Sun_SpriteYOffs,X
STA Sprite_RAM+$10,Y
PRG005_AEAC:
LDA Temp_VarNP0
AND #%00010000
BNE PRG005_AEBC ; If this sprite is horizontally off-screen, jump to PRG005_AEBC
; Set Sprite Y
LDA <Temp_Var1
ADD Sun_SpriteYOffs,X
STA Sprite_RAM+$14,Y
PRG005_AEBC:
; Set sun patterns
LDA Sun_Patterns,X
STA Sprite_RAM+$11,Y
STA Sprite_RAM+$15,Y
; Keep all sun bits except vertical flip from first sprite -> Temp_Var15 and four sprites over
LDA Sprite_RAM+$02,Y
AND #~SPR_VFLIP
STA <Temp_Var15
STA Sprite_RAM+$12,Y
; Keep all sun bits except vertical flip from second sprite -> Temp_Var16 and four sprites over
LDA Sprite_RAM+$06,Y
AND #~SPR_VFLIP
STA <Temp_Var16
STA Sprite_RAM+$16,Y
LDX <SlotIndexBackup ; X = object slot index
; Sun Sprite X -> Temp_Var2 and sprite
LDA <Objects_SpriteX,X
STA <Temp_Var2
STA Sprite_RAM+$13,Y
; +24 for right edge sprite
ADD #24
STA Sprite_RAM+$17,Y
LDA Objects_Frame,X
BEQ PRG005_AF28 ; If frame = 0, jump to PRG005_AF28 (RTS)
JSR Object_GetRandNearUnusedSpr
; Set lower left sprite at Sprite Y + 16
LDA <Temp_Var1
ADD #16
STA Sprite_RAM+$00,Y
; Set lower left Sprite X
LDA <Temp_Var2
STA Sprite_RAM+$03,Y
; Vertically flip lower left sprite
LDA <Temp_Var15
ORA #SPR_VFLIP
STA Sprite_RAM+$02,Y
; Lower left sprite pattern
LDA #$91
STA Sprite_RAM+$01,Y
JSR Object_GetRandNearUnusedSpr
; Set lower right sprite Y + 16
LDA <Temp_Var1
ADD #16
STA Sprite_RAM+$00,Y
; Set lower right sprite X
LDA <Temp_Var2
ADD #24
STA Sprite_RAM+$03,Y
; Set lower right sprite attributes
LDA <Temp_Var16
ORA #SPR_VFLIP
STA Sprite_RAM+$02,Y
; Lower right sprite pattern
LDA #$91
STA Sprite_RAM+$01,Y
PRG005_AF28:
RTS ; Return
ArrowPlat_XVel:
.byte $00 ; Platform Type 0 (Up)
.byte -$08 ; Platform Type 1 (Left)
.byte $00 ; Platform Type 2 (Up)
.byte $08 ; Platform Type 3 (Right)
ArrowPlat_YVel:
.byte -$08 ; Platform Type 0 (Up)
.byte $00 ; Platform Type 1 (Left)
.byte -$08 ; Platform Type 2 (Up)
.byte $00 ; Platform Type 3 (Right)
ObjNorm_ArrowPlatform:
JSR ArrowPlat_Draw ; Draw the arrow platform
LDA <Objects_SpriteY,X
CMP #200
BLT PRG005_AF40 ; If the SpriteY < 200, jump to PRG005_AF40
PRG005_AF3A:
; Otherwise, set platform state to 0 (Dead/Empty)
LDA #OBJSTATE_DEADEMPTY
STA Objects_State,X
PRG005_AF3F:
RTS ; Return
PRG005_AF40:
LDA <Player_HaltGame
BNE PRG005_AF3F ; If gameplay is halted, jump to PRG005_AF3F (RTS)
LDA Level_NoStopCnt
AND #$03
BNE PRG005_AF4F ; Proceed 1:4 ticks, otherwise jump to PRG005_AF4F
DEC <Objects_Var5,X ; Var5-- (the arrow platform "life" ticker)
BEQ PRG005_AF3A ; If Var5 = 0, jump to PRG005_AF3A
PRG005_AF4F:
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
LDY <Objects_Var4,X ; Y = Var4 (Arrow Platform type)
; Set Arrow Platform's X velocity
LDA ArrowPlat_XVel,Y
STA <Objects_XVel,X
; Set Arrow Platform's Y velocity
LDA ArrowPlat_YVel,Y
STA <Objects_YVel,X
JSR Object_ApplyYVel_NoLimit ; Apply Y velocity
JSR Object_ApplyXVel ; Apply X velocity
; Arrow platform is always X Hi = 0 (arrow platforms are only going to work in "vertical" levels)
LDA #$00
STA <Objects_XHi,X
JSR Object_HitTest
BCC PRG005_AFE2 ; If Player is not touching arrow platform, jump to PRG005_AFE2
LDA <Player_SpriteY
ADD #24
CMP <Objects_SpriteY,X
BGE PRG005_AFE3 ; If Player Y + 24 is lower than the arrow platform Y, jump to PRG005_AFE3
LDA <Player_YVel
BMI PRG005_AFE2 ; If arrow platform is moving upward, jump to PRG005_AFE2
LDY Level_ObjectID,X
CPY #OBJ_ARROWANY
BNE PRG005_AF98 ; If this is not the multi-directional arrow platform, jump to PRG005_AF98
CMP #$10
BLT PRG005_AF98 ; If Player's Y Velocity < $10 (speed required to trigger direction change), jump to PRG005_AF98
; Play the direction switch sound
LDA #SND_MAPPATHMOVE
STA Sound_QMap
; Timer = 8
LDA #$08
STA Objects_Timer,X
; Var4 = (Var4 + 1) % 3 (increment and capped 0 to 3)
LDA <Objects_Var4,X
ADD #$01
AND #$03
STA <Objects_Var4,X
PRG005_AF98:
LDA #$00
STA <Player_YVel ; Halt Player's vertical movement
STA <Player_InAir ; Flag Player as not in air
LDA #$01
STA ArrowPlat_IsActive ; Flag arrow platform as active
; Set Player's Y as arrow platform's Y - 31
LDA <Objects_Y,X
SUB #31
STA <Player_Y
LDA <Objects_YHi,X
SBC #$00
STA <Player_YHi
LDY #$00 ; Y = 0 (16-bit sign extension)
LDA Object_VelCarry
BPL PRG005_AFB8 ; If platform X velocity carried, jump to PRG005_AFB8
DEY ; Y = $FF (16-bit sign extension)
PRG005_AFB8:
ADD <Player_X ; Add carry value to Player X
STA <Player_X ; Update Player X
TYA ; Sign extension -> 'A'
ADC <Player_XHi ; Apply carry
STA <Player_XHi ; Update Player X Hi
JSR ArrowPlat_CheckWorldCollide
BLT PRG005_AFE2 ; If arrow platform is not going to run into solid, jump to PRG005_AFE2 (RTS)
STA <Temp_Var1 ; Store detected tile -> Temp_Var1
; Set state to Dead/Empty
LDA #OBJSTATE_DEADEMPTY
STA Objects_State,X
LDY Level_TilesetIdx
LDA SpikesEnable,Y
CMP #$ff
BEQ PRG005_AFE2 ; If there's no spikes in the active tileset, jump to PRG005_AFE2
SUB <Temp_Var1 ; Subtract the detected tile
CMP #$02
BGE PRG005_AFE2 ; If this is not a spike tile, jump to PRG005_AFE2 (RTS)
JSR Player_GetHurt ; Player got pushed into spikes; hurt him!
PRG005_AFE2:
RTS ; Return
PRG005_AFE3:
LDA #-$08
LDY <Player_Suit
BNE PRG005_AFEB ; If Player is not small, jump to PRG005_AFEB
LDA #$08 ; A = 8
PRG005_AFEB:
ADD <Player_SpriteY
CMP <Objects_SpriteY,X
BLT PRG005_AFFB ; If Player's head is sufficiently beneath the platform, jump to PRG005_AFFB
LDA <Player_YVel
BPL PRG005_AFFA ; If Player is moving downward, jump to PRG005_AFFA
; Player's YVel = $10 (bump head off platform)
LDA #$10
STA <Player_YVel
PRG005_AFFA:
RTS ; Return
PRG005_AFFB:
LDA <Objects_XVel,X
BEQ PRG005_B012 ; If arrow platform is not moving horizontally, jump to PRG005_B012
LDA <Player_X
SUB <Objects_X,X
EOR <Objects_XVel,X
BMI PRG005_B00D ; If Player is not in "front" of moving platform, jump to PRG005_B00D
; Player gets pushed by platform
LDA <Objects_XVel,X
STA <Player_XVel
RTS ; Return
PRG005_B00D:
; Halt Player's horizontal movement (just ran into side)
LDA #$00
STA <Player_XVel
RTS ; Return
PRG005_B012:
JMP PRG005_B6BA ; Jump to PRG005_B6BA (make platform solid from the sides)
ArrowPlat_Patterns:
.byte $A3, $A5, $A7, $A9 ; Type 0 (Up)
.byte $A3, $AB, $AD, $A9 ; Type 1 (Left)
.byte $A3, $A5, $A7, $A9 ; Type 2 (Up)
.byte $A9, $AD, $AB, $A3 ; Type 3 (Right)
.byte $A3, $AF, $AF, $A9 ; Type 4 (mid-direction-change)
ArrowPlat_Attrs:
.byte $02, $02, $02, $42, $02
; A mask that decides the "flicker" rate of the arrow platform as it disappears
ArrowPlat_FlickerMask: .byte $02, $02, $04, $04
ArrowPlat_Draw:
JSR Object_CalcSpriteXY_NoHi
LDA #$00
STA Objects_SprHVis,X
; Var5 is the platform's "life ticks"
LDA <Objects_Var5,X
CMP #$20
BGE PRG005_B04C ; If Var5 >= $20 (not flickering away yet), jump to PRG005_B04C
LSR A
LSR A
LSR A ; Divide Var5 by 8
TAY ; Y = 0 to 3
LDA Level_NoStopCnt
AND ArrowPlat_FlickerMask,Y
BEQ PRG005_B0A0 ; If masking results in zero, jump to PRG005_B0A0 (RTS)
PRG005_B04C:
; Temp_Var2 = Sprite X
LDA <Objects_SpriteX,X
STA <Temp_Var2
LDY <Objects_Var4,X ; Y = Var4
LDA Objects_Timer,X
BEQ PRG005_B059 ; If timer expired, jump to PRG005_B059
LDY #$04 ; Y = 4 (platform is mid-direction-change)
PRG005_B059:
STY <Temp_Var3 ; Temp_Var3 = Var4 or 4 (arrow platform type)
LDY Object_SprRAM,X ; Y = Sprite RAM offset
; Temp_Var1 = 0
LDA #$00
STA <Temp_Var1
PRG005_B062:
; Set Sprite Y
LDA <Objects_SpriteY,X
STA Sprite_RAM+$00,Y
; Set Sprite X
LDA <Temp_Var2
STA Sprite_RAM+$03,Y
; +8 (next sprite over)
ADD #$08
STA <Temp_Var2
LDA <Temp_Var3
ASL A
ASL A ; Multiply type by 4 to get to pattern start
ADC <Temp_Var1 ; This particular pattern of the loop
TAX ; X = proper index into ArrowPlat_Patterns
; Set the pattern for this sprite of the arrow platform
LDA ArrowPlat_Patterns,X
STA Sprite_RAM+$01,Y
LDX <Temp_Var3 ; X = Temp_Var3 (arrow platform type index)
LDA ArrowPlat_Attrs,X
CPX #$04
BNE PRG005_B08F ; If arrow platform is in mid-direction-change, jump to PRG005_B08F
LDX <Temp_Var1 ; X = this loop index
CPX #$02
BNE PRG005_B08F ; If this is the second up direction state, jump to PRG005_B08F
; Second "up" arrow platform only
LDA #(SPR_HFLIP | SPR_PAL2) ; Palette select 2 and horizontal flip
PRG005_B08F:
STA Sprite_RAM+$02,Y ; Set sprite attribute
LDX <SlotIndexBackup ; X = object slot index
INY
INY
INY
INY ; Y += 4 (next sprite)
INC <Temp_Var1 ; Temp_Var1++
LDA <Temp_Var1
CMP #$04
BNE PRG005_B062 ; If Temp_Var1 <> 4, loop!
PRG005_B0A0:
RTS ; Return
ArrowPlat_CheckWorldCollide:
; NOTE: This only works for "vertical" levels
LDA #$06 ; Y = $06 (Player not ducking and not small)
LDY Player_IsDucking
BNE PRG005_B0AC ; If Player is ducking, jump to PRG005_B0AC
LDY <Player_Suit
BNE PRG005_B0AE ; If Player is not small, jump to PRG005_B0AE
PRG005_B0AC:
LDA #$12 ; Y = $12 (Player ducking or small)
PRG005_B0AE:
ADC <Player_Y ; Add Player Y
AND #$f0 ; Align to tile grid vertically
STA <Temp_Var3 ; -> Temp_Var3
LDA <Player_YHi
ADC #$00
CMP #16
BGE PRG005_B0DD ; If Player Y Hi >= 16 (Player is really low) jump to PRG005_B0DD
; Tile_Mem address high byte
ADC #HIGH(Tile_Mem)
STA <Temp_Var2
LDA <Player_X
ADD #$08 ; Center Player X
LSR A
LSR A
LSR A
LSR A ; Divide by 16 (tile grid column value)
ORA <Temp_Var3 ; "OR" in the vertical position
STA <Temp_Var1 ; Temp_Var1 is a row/column grid position
LDY #$00 ; Y = 0
LDA [Temp_Var1],Y ; Get the tile here
PHA ; Save it
ASL A
ROL A
ROL A
AND #$03
TAY ; Y = tile quadrant
PLA ; Restore tile proper
CMP Tile_AttrTable+4,Y ; Test if this tile is one of the solid ceiling/wall tiles
RTS ; Return
PRG005_B0DD:
CLC ; Clear carry
RTS ; Return
Parabeetle_FlipByXVel:
LDA #$00 ; A = $00 (no flip)
LDY <Objects_XVel,X
BMI PRG005_B0E7 ; If Parabeetle is moving to the left, jump to PRG005_B0E7
LDA #SPR_HFLIP ; Otherwise, A = SPR_HFLIP (horizontal flip)
PRG005_B0E7:
STA Objects_FlipBits,X ; Set flip
RTS ; Return
ParaBeetle_XVelTowardsPlayer: .byte $08, -$08
ObjInit_ParaBeetle:
JSR Level_ObjCalcXDiffs
; Start out flying towards Player
LDA ParaBeetle_XVelTowardsPlayer,Y
STA <Objects_XVel,X
PRG005_B0F5:
RTS ; Return
ObjNorm_ParaBeetle:
LDA <Objects_XVel,X
BPL PRG005_B0FD ; If Parabeetle is not moving to the left, jump to PRG005_B0FD
JSR Negate ; Negate X velocity (get absolute value)
PRG005_B0FD:
CMP #$10
LDA #SPR_PAL1 ; A = 1 (palette select 1 for "slow" Parabeetles)
BLT PRG005_B105 ; If absolute value of X velocity < $10, jump to PRG005_B105
ADC #$00 ; A = 2 (palette select 2 for "fast" Parabeetles) (ADC's is an unclear way to get A = 2 :P)
PRG005_B105:
STA Objects_SprAttr,X ; Set sprite attribute
JSR Object_DeleteOffScreen ; Delete object if it falls off-screen
JSR Parabeetle_FlipByXVel ; Face correct direction based on travel
; Toggle frame 0/1
LDA Objects_Var3,X
LSR A
LSR A
LSR A
AND #$01
STA Objects_Frame,X
JSR Object_ShakeAndDraw ; Draw Parabeetle
LDA <Player_HaltGame
BNE PRG005_B0F5 ; If gameplay halted, jump to PRG005_B0F5 (RTS)
INC Objects_Var3,X ; Var3++
JSR Object_ApplyYVel_NoLimit ; Apply Y velocity
JSR Object_ApplyXVel ; Apply X velocity
; Temp_VarNP0 = Player hit status bits (previous frame's detection status)
LDA Objects_PlayerHitStat,X
STA Temp_VarNP0
; I'm not sure the reason for the modification of "Kill_Tally" here...
; Maybe at one time this was just another stompable enemy?
; This pattern of INC then DEC is used e.g. for Rocky Wrench to make his baseline score 200 pts
INC Kill_Tally ; Kill_Tally++ (??)
JSR Player_HitEnemy ; Do Player to Parabeetle hit detection
DEC Kill_Tally ; Kill_Tally-- (??)
LDA Objects_PlayerHitStat,X
BEQ PRG005_B1A8 ; If no collision, jump to PRG005_B1A8
CMP Temp_VarNP0
BEQ PRG005_B14C ; If detection status hasn't changed from last frame, jump to PRG005_B14C
LDA #$0C
LDY <Player_Suit
BEQ PRG005_B14A ; If Player is small, jump to PRG005_B14A
LDA #$14 ; Parabeetle moves down further for non-small Player
PRG005_B14A:
STA <Objects_YVel,X ; Set Y velocity as appropriate
PRG005_B14C:
; Var3 += 2
INC Objects_Var3,X
INC Objects_Var3,X
LDA #-$0C
LDY <Player_Suit
BNE PRG005_B15A ; If Player is NOT small, jump to PRG005_B15A
LDA #-$10 ; Parabeetle can go upward faster if Player is small
PRG005_B15A
CMP <Objects_YVel,X
BGS PRG005_B162 ; If Parabeetle is at his limit, jump to PRG005_B162
; Accelerate upward!
DEC <Objects_YVel,X
DEC <Objects_YVel,X ; Double decrement to overcome the INC below
PRG005_B162:
INC <Objects_YVel,X ; Parabeetle starts to droop
; Let's Player jump off Parabeetle
LDA #$05
STA Player_AllowAirJump
LDA <Player_YVel
BMI PRG005_B1A7 ; If Player is moving upward, jump to PRG005_B1A7 (RTS)
LDY #$00 ; Y = $00 (16-bit sign extension)
LDA Object_VelCarry
BPL PRG005_B175 ; If there's not a negative carry from X velocity, jump to PRG005_B175
DEY ; Y = $FF (16-bit sign extension)
PRG005_B175:
ADD <Player_X ; Offset Player's X
STA <Player_X ; Set it!
; Carry to X Hi
TYA
ADC <Player_XHi
STA <Player_XHi
; Set Player at Parabeetle Y - 27
LDA <Objects_Y,X
SUB #27
STA <Player_Y
LDA <Objects_YHi,X
SBC #$00
STA <Player_YHi
; Clear Player's Y velocity and "in air" flags
LDA #$00
STA <Player_YVel
STA <Player_InAir
LDA <Pad_Holding
AND #(PAD_LEFT | PAD_RIGHT)
BNE PRG005_B1A7 ; If Player is not pressing left or right, jump to PRG005_B1A7 (RTS)
JSR Fish_FixedYIfAppro ; ?? Also a strange thing to call, would align parabeetles with the vertical scroll in a raster-effect
LDA <Player_XVel
BEQ PRG005_B1A7 ; If Player's X Velocity = 0, jump to PRG005_B1A7 (RTS)
BPL PRG005_B1A5 ; If Player's X Velocity is positive, jump to PRG005_B1A5
; Negative Player velocity...
; Double INC to overcome the DEC
INC <Player_XVel
INC <Player_XVel
PRG005_B1A5:
DEC <Player_XVel
PRG005_B1A7:
RTS ; Return
PRG005_B1A8:
LDA <Objects_YVel,X
BEQ PRG005_B1B4 ; If Parabeetle's Y Velocity = 0, jump to PRG005_B1B4 (RTS)
BPL PRG005_B1B2 ; If Parabeetle's Y Velocity is positive, jump to PRG005_B1B2
; Negative Parabeetle velocity...
; Double INC to overcome the DEC
INC <Objects_YVel,X
INC <Objects_YVel,X
PRG005_B1B2:
DEC <Objects_YVel,X
PRG005_B1B4:
RTS
ObjInit_RotatePlatformPer:
LDA #$02
STA Objects_FlipBits,X
ObjInit_RotatePlatform:
LDA #$00
STA <Objects_VarBSS,X
STA <Objects_Var5,X
STA Objects_Var7,X
; Set at Y - 12
LDA <Objects_Y,X
SUB #12
STA <Objects_Y,X
LDA <Objects_YHi,X
SBC #$00
STA <Objects_YHi,X
RTS ; Return
ObjNorm_TwirlingPlatCWNS:
; NOTE: I admit, I'm just not interested enough in how these gadgets work to bother
; working out their rather complex algorithm. I'll leave this as an exercise for
; one of the more rabid types out there... just making it relocatable like everything
; else, but if you wanted to actually know what it does, you're out of luck today...
; Var5 = $30
LDA #$30
STA <Objects_Var5,X
PRG005_B1D5:
JSR Platform_SplitVar5
JSR PRG005_B40A
JSR PRG005_SUB_B4BB
JMP PRG005_B270 ; Jump to PRG005_B270
PRG005_B1E1: .byte $20, $50, $20, $50
PRG005_B1E5: .byte $F8, $08, $08, $F8
PRG005_B1E9: .byte $00, $40, $00, $C0
ObjNorm_TwirlingPlatCW:
; NOTE: I admit, I'm just not interested enough in how these gadgets work to bother
; working out their rather complex algorithm. I'll leave this as an exercise for
; one of the more rabid types out there... just making it relocatable like everything
; else, but if you wanted to actually know what it does, you're out of luck today...
JSR PRG005_B1D5
LDA <Player_HaltGame
BNE PRG005_B21A ; If gameplay halted, jump to PRG005_B21A (RTS)
LDA <Objects_Var4,X
AND #$01
ORA Objects_FlipBits,X
TAY
LDA Objects_Timer,X
BNE PRG005_B209 ; If timer not expired, jump to PRG005_B209
LDA PRG005_B1E1,Y
STA Objects_Timer,X
INC <Objects_Var4,X
PRG005_B209:
AND #$00 ; ... interesting ...
BNE PRG005_B21A ; This jump will never be taken..
LDA <Objects_Var5,X
CMP PRG005_B1E9,Y
BEQ PRG005_B21A
ADD PRG005_B1E5,Y
STA <Objects_Var5,X
PRG005_B21A:
RTS ; Return
PRG005_B21B: .byte $18, $18, $17, $17, $16, $15, $14, $13, $11, $0F, $0D, $0B, $09, $07, $05, $02, $00
PRG005_B22C: .byte $00, $01, $01, $02, $FF, $FF, $FE, $00, $FF, $FF, $FE, $01, $01, $02
TiltPlat_XVelAccel: .byte $01, -$01
TiltPlat_XVelLimit: .byte $10, -$10
ObjNorm_TiltingPlatform:
; NOTE: I admit, I'm just not interested enough in how these gadgets work to bother
; working out their rather complex algorithm. I'll leave this as an exercise for
; one of the more rabid types out there... just making it relocatable like everything
; else, but if you wanted to actually know what it does, you're out of luck today...
LDA Objects_Timer,X
BNE PRG005_B266 ; If timer not expired, jump to PRG005_B266
LDA <Counter_1
AND #$01
BNE PRG005_B266 ; Every other tick, jump to PRG005_B266
LDY Objects_Var7,X ; Y = Var7
; Accelerate!
LDA <Objects_XVel,X
ADD TiltPlat_XVelAccel,Y
STA <Objects_XVel,X
CMP TiltPlat_XVelLimit,Y
BNE PRG005_B266 ; If tilting platform has not reached velocity limit, jump to PRG005_B266
; Invert Var7
LDA Objects_Var7,X
EOR #$01
STA Objects_Var7,X
; Set timer to $A0
LDA #$a0
STA Objects_Timer,X
PRG005_B266:
; XVel = 0
LDA #$00
STA <Objects_XVel,X
JSR PRG005_SUB_B3CF
JSR PRG005_SUB_B4BB
PRG005_B270:
JSR Object_DeleteOffScreen_N2 ; Delete object if it falls off screen
LDA Player_OffScreen
BNE PRG005_B2C5
LDA Level_ObjectID,X
SUB #$90
STA <Temp_Var15
LDY #$06
PRG005_B282:
STY <Temp_Var1
CPY #$06
BNE PRG005_B28D
LDA <Temp_Var7
JMP PRG005_B294
PRG005_B28D:
TYA
ASL A
ASL A
ADD Object_SprRAM,X
PRG005_B294:
STA <Temp_Var16
LDA <Player_Y
SUB Level_VertScroll
ADD #$18
LDY <Player_YVel
BPL PRG005_B2A6
SUB #$10
PRG005_B2A6:
LDY <Temp_Var16
SUB Sprite_RAM+$00,Y
CMP #$09
BCS PRG005_B2C0
LDA <Player_X
SUB <Horz_Scroll
ADD #$08
SUB Sprite_RAM+$03,Y
CMP #$09
BCC PRG005_B2C6
PRG005_B2C0:
LDY <Temp_Var1
DEY
BPL PRG005_B282
PRG005_B2C5:
RTS
PRG005_B2C6:
LDA <Player_IsDying
BNE PRG005_B2C5
LDA Sprite_RAM+$00,Y
CMP #$f8
BEQ PRG005_B2C0
LDA <Temp_Var15
BEQ PRG005_B33E
LDA <Objects_Var5,X
BNE PRG005_B303
LDA <Player_YVel
BPL PRG005_B2E2
LDA #$00
STA <Player_YVel
RTS
PRG005_B2E2:
LDA <Pad_Holding
AND #(PAD_LEFT | PAD_RIGHT)
BNE PRG005_B2F4
LDA <Player_XVel
BEQ PRG005_B2F4
BPL PRG005_B2F2
INC <Player_XVel
INC <Player_XVel
PRG005_B2F2:
DEC <Player_XVel
PRG005_B2F4:
LDA #$00
STA <Player_YVel
STA <Player_InAir
JSR PRG005_B3B1
LDA #$10
STA Player_AllowAirJump
RTS
PRG005_B303:
LDA <Objects_Var5,X
LDY <Temp_Var1
CPY #$04
BCC PRG005_B30D
EOR #$80
PRG005_B30D:
ASL A
BCS PRG005_B331
LDA <Temp_Var6
ASL A
ASL A
ASL A
STA <Player_YVel
LDA <Temp_Var5
EOR #$ff
PRG005_B31B:
ASL A
ASL A
ASL A
BPL PRG005_B328
CMP #$c0
BCS PRG005_B32E
LDA #$c0
BNE PRG005_B32E
PRG005_B328:
CMP #$40
BCC PRG005_B32E
LDA #$40
PRG005_B32E:
STA <Player_XVel
RTS
PRG005_B331:
LDA <Temp_Var5
JSR PRG005_B31B
LDA <Temp_Var6
ASL A
ASL A
ASL A
STA <Player_YVel
RTS
PRG005_B33E:
LDY <Temp_Var1
LDA <Objects_VarBSS,X
CMP #$10
BCC PRG005_B34F
CMP #$30
BCS PRG005_B34F
TYA
ADD #$07
TAY
PRG005_B34F:
LDA <Player_YVel
BMI PRG005_B359
LDA <Counter_1
AND #$03
BNE PRG005_B369
PRG005_B359:
LDA PRG005_B22C,Y
LDY <Player_YVel
BPL PRG005_B364
JSR Negate
ASL A
PRG005_B364:
ADD <Objects_Var5,X
STA <Objects_Var5,X
PRG005_B369:
LDA <Temp_Var5
EOR <Temp_Var6
BPL PRG005_B375
LDA <Temp_Var5
BPL PRG005_B379
BMI PRG005_B37C
PRG005_B375:
LDA <Temp_Var5
BPL PRG005_B37C
PRG005_B379:
JSR Negate
PRG005_B37C:
LDY <Player_YVel
BPL PRG005_B38B
JSR Negate
ASL A
STA <Player_XVel
LDA #$00
STA <Player_YVel
RTS
PRG005_B38B:
LDY #$20
STA <Temp_Var1
ASL <Temp_Var1
ROR A
NOP
NOP
NOP
NOP
NOP
NOP
ADD <Player_XVel
ADD <Objects_XVel,X
STA <Player_XVel
BPL PRG005_B3A7
JSR Negate
LDY #$e0
PRG005_B3A7:
CMP #$20
BCC PRG005_B3AD
STY <Player_XVel
PRG005_B3AD:
LDA #$10
STA <Player_YVel
PRG005_B3B1:
LDY <Temp_Var16
LDA <Player_Y
PHA
LDA Sprite_RAM+$00,Y
ADD Level_VertScroll
SUB #$18
STA <Player_Y
PLA
CMP <Player_Y
BCS PRG005_B3C9
DEC <Player_YHi
PRG005_B3C9:
LDA #$08
STA Player_AllowAirJump
RTS
PRG005_SUB_B3CF:
JSR Platform_SplitVar5
LDA <Objects_VarBSS,X ; A value 0-63
ADD #$07 ; Add 7
AND #$3f ; Cap 0-63 again
LDY <Objects_Var5,X ; Y = Var5
BMI PRG005_B3EC ; If Var5 is negative, jump to PRG005_B3EC
CMP #$10
BLT PRG005_B3F8 ; If Var5 < $10, jump to PRG005_B3F8
CMP #$18
BGE PRG005_B3EC ; If Var5 >= $18, jump to PRG005_B3EC
; VarBSS = 8
LDA #$08
STA <Objects_VarBSS,X
JMP PRG005_B3F4 ; Jump to PRG005_B3F8
PRG005_B3EC:
AND #$20
BEQ PRG005_B3F8
; VarBSS = $38
LDA #$38
STA <Objects_VarBSS,X
PRG005_B3F4:
; Var5 = 0
LDA #$00
STA <Objects_Var5,X
PRG005_B3F8:
LDA <Counter_1
AND #$07
BNE PRG005_B40A ; 1:8 ticks we proceed, otherwise jump to PRG005_B40A
LDA <Objects_Var5,X
BEQ PRG005_B40A ; If Var5 = 0, jump to PRG005_B40A
BMI PRG005_B408 ; If Var5 < 0, jump to PRG005_B408
DEC <Objects_Var5,X ; Var5--
BPL PRG005_B40A ; Jump to PRG005_B40A
PRG005_B408:
INC <Objects_Var5,X ; Var5++
PRG005_B40A:
LDA <Objects_VarBSS,X
AND #$0f
TAY ; Y = 0 to 15
LDA PRG005_B21B,Y
STA <Temp_Var10 ; Temp_Var10 = PRG005_B21B[Y]
TYA ; Y = 0 to 15 again
EOR #$ff
AND #$0f
ADD #$01
TAY
LDA PRG005_B21B,Y
STA <Temp_Var9 ; Temp_Var9 = PRG005_B21B[Y]
LDA <Objects_VarBSS,X
AND #$10
BEQ PRG005_B432
LDA <Temp_Var9
PHA
LDA <Temp_Var10
STA <Temp_Var9
PLA
STA <Temp_Var10
PRG005_B432:
LDA <Temp_Var10
CMP #$03
BCS PRG005_B444
LSR A
STA <Temp_Var2
STA <Temp_Var6
LDA #$00
STA <Temp_Var4
JMP PRG005_B460
PRG005_B444:
LDY #$ff
SEC
PRG005_B447:
SBC #$03
INY
BCS PRG005_B447
ADC #$03
STA <Temp_Var4
STY <Temp_Var2
STY <Temp_Var4
STY <Temp_Var6
TAY
BEQ PRG005_B460
INC <Temp_Var2
DEY
BEQ PRG005_B460
INC <Temp_Var6
PRG005_B460:
LDA <Temp_Var9
CMP #$03
BCS PRG005_B472
LSR A
STA <Temp_Var1
STA <Temp_Var5
LDA #$00
STA <Temp_Var3
JMP PRG005_B48C
PRG005_B472:
LDY #$ff
SEC
PRG005_B475:
SBC #$03
INY
BCS PRG005_B475
ADC #$03
STY <Temp_Var1
STY <Temp_Var3
STY <Temp_Var5
TAY
BEQ PRG005_B48C
INC <Temp_Var1
DEY
BEQ PRG005_B48C
INC <Temp_Var5
PRG005_B48C:
LDA <Objects_VarBSS,X
AND #$30
BEQ PRG005_B4B4
CMP #$10
BEQ PRG005_B49D
CMP #$30
BEQ PRG005_B4B7
JSR PRG005_B4B7
PRG005_B49D:
LDX #$01
PRG005_B49F:
LDA <Temp_Var1,X
JSR Negate
STA <Temp_Var1,X
LDA <Temp_Var3,X
JSR Negate
STA <Temp_Var3,X
LDA <Temp_Var5,X
JSR Negate
STA <Temp_Var5,X
PRG005_B4B4:
LDX <SlotIndexBackup
RTS
PRG005_B4B7:
LDX #$00 ; X = 0
BEQ PRG005_B49F ; Jump (technically always) to PRG005_B49F
PRG005_SUB_B4BB:
JSR Object_GetRandNearUnusedSpr
JSR PRG005_SUB_B596
; Draws any of the tilting/rotating platforms
LDY Object_SprRAM,X
LDA <Temp_Var14
STA Sprite_RAM+$00,Y
ADD <Temp_Var1
STA Sprite_RAM+$04,Y
ADD <Temp_Var3
STA Sprite_RAM+$08,Y
ADD <Temp_Var5
STA Sprite_RAM+$0C,Y
LDA <Temp_Var14
SUB <Temp_Var1
STA Sprite_RAM+$10,Y
SUB <Temp_Var3
STA Sprite_RAM+$14,Y
SUB <Temp_Var5
LDY <Temp_Var7
STA Sprite_RAM+$00,Y
LDY Object_SprRAM,X
LDA <Temp_Var15
STA Sprite_RAM+$03,Y
ADD <Temp_Var2
STA Sprite_RAM+$07,Y
ADD <Temp_Var4
STA Sprite_RAM+$0B,Y
ADD <Temp_Var6
STA Sprite_RAM+$0F,Y
LDA <Temp_Var15
SUB <Temp_Var2
STA Sprite_RAM+$13,Y
SUB <Temp_Var4
STA Sprite_RAM+$17,Y
SUB <Temp_Var6
LDY <Temp_Var7
STA Sprite_RAM+$03,Y
LDY Object_SprRAM,X
LDX #$06
PRG005_B526:
CPX #$00
BNE PRG005_B52C
LDY <Temp_Var7
PRG005_B52C:
LDA Sprite_RAM+$00,Y
CMP #$c2
BCS PRG005_B53A
LDA <Temp_Var13
AND PRG005_B58F,X
BEQ PRG005_B541
PRG005_B53A:
LDA #$f8
STA Sprite_RAM+$00,Y
BNE PRG005_B551
PRG005_B541:
LDA #$01
CPX #$06
BNE PRG005_B549
LDA #$02
PRG005_B549:
STA Sprite_RAM+$02,Y
LDA #$ed
STA Sprite_RAM+$01,Y
PRG005_B551:
INY
INY
INY
INY
DEX
BPL PRG005_B526
LDX <SlotIndexBackup
RTS
; The lower nibble of Var5 is shifted left 4 bits, Temp_Var1 is added, and this is returned as Temp_Var1
; The upper nibble of Var5 is arithmetically shifted right 4 bits and added to VarBSS which is capped to 0-63
Platform_SplitVar5:
LDA <Player_HaltGame
BNE PRG005_B581 ; If gameplay is halted, jump to PRG005_B581
LDA Objects_Var5,X
PHA ; Save Var5
ASL A
ASL A
ASL A
ASL A ; Var5 * 16
ADD Objects_Var1,X ; + Var1
STA Objects_Var1,X ; -> Temp_Var1
PLA ; Restore Var5
PHP ; Save process status
LSR A
LSR A
LSR A
LSR A ; Var5 / 16
; Essentially the following makes it an arithmetic shift
CMP #$08
BLT PRG005_B57A ; If result < 8, jump to PRG005_B57A
ORA #$f0 ; Otherwise, make negative
PRG005_B57A:
PLP ; Restore process status
; Add VarBSS and cap result to 0-63
ADC <Objects_VarBSS,X
AND #$3f
STA <Objects_VarBSS,X
PRG005_B581:
RTS ; Return
PRG005_B582:
.byte $05, $03, $01, $01, $03, $05
PRG005_B588: .byte $80, $40, $20, $10, $08, $04, $02
PRG005_B58F: .byte $80, $40, $20, $02, $04, $08, $10
PRG005_SUB_B596:
LDA #$00
STA <Temp_Var13
STA <Temp_Var11
LDA <Temp_Var2
ADD <Temp_Var4
ADD <Temp_Var6
STA <Temp_Var12
PHA
LDA <Objects_X,X
SUB <Temp_Var12
STA <Temp_Var12
PLA
BPL PRG005_B5B3
DEC <Temp_Var11
PRG005_B5B3:
LDA <Objects_XHi,X
SBC <Temp_Var11
STA <Temp_Var11
LDY #$00
PRG005_B5BB:
LDA <Temp_Var12
CMP <Horz_Scroll
LDA <Temp_Var11
SBC <Horz_Scroll_Hi
BEQ PRG005_B5CC
LDA PRG005_B588,Y
ORA <Temp_Var13
STA <Temp_Var13
PRG005_B5CC:
STX <Temp_Var15
LDX PRG005_B582,Y
LDA <Temp_Var1,X
PHA
ADD <Temp_Var12
STA <Temp_Var12
LDX <Temp_Var15
STY <Temp_Var16
LDY #$00
PLA
BPL PRG005_B5E3
DEY
PRG005_B5E3:
TYA
ADC <Temp_Var11
STA <Temp_Var11
LDY <Temp_Var16
INY
CPY #$07
BNE PRG005_B5BB
LDA <Objects_X,X
SUB <Horz_Scroll
STA <Temp_Var15
LDA <Objects_Y,X
SUB Level_VertScroll
STA <Temp_Var14
LDA <Objects_YHi,X
ADC #$00
CMP #$01
BNE PRG005_B60C
LDA <Temp_Var14
CMP #$e0
BCC PRG005_B610
PRG005_B60C:
LDA #$ff
STA <Temp_Var13
PRG005_B610:
RTS
; Bit set per Big ? Block within the world; they can only be opened once!!
BigQBlock_GotItBits:
.byte $80, $40, $20, $10, $08, $04, $02, $01
ObjInit_BigQBlock:
; Start just one pixel higher...
LDA <Objects_Y,X
BNE PRG005_B61F
DEC <Objects_YHi,X
PRG005_B61F:
DEC <Objects_Y,X
LDY <Objects_XHi,X ; Depending on where it is positioned
LDA BigQBlock_GotIt
AND BigQBlock_GotItBits,Y
BEQ PRG005_B62E ; If you didn't open this Big ? Block yet, jump to PRG005_B62E (RTS)
INC Objects_Frame,X ; Otherwise, set it as already collected
PRG005_B62E:
RTS ; Return
; Set Y velocity based on value of Objects_Timer
; This is how it "bounces upward" when hit...
BigQBlock_YVelByTimer:
.byte $00, $40, $30, $20, $10, $00, -$10, -$20, -$30, -$40
ObjNorm_BigQBlock:
JSR Object_DeleteOffScreen ; Delete block if it falls off-screen
JSR BigQBlock_Draw ; Draw the Big ? Block
LDA <Player_HaltGame
BNE PRG005_B62E ; If gameplay is halted, jump to PRG005_B62E (RTS)
LDA <Objects_Var5,X
BEQ PRG005_B65B ; If Var5 = 0 (no more power ups to emerge, mainly for 3-up), jump to PRG005_B65B
LDA Objects_Timer2,X
BNE PRG005_B65B ; If timer2 not expired, jump to PRG005_B65B
LDY #$04 ; Y = 4
PRG005_B64E:
LDA Objects_State,Y
BEQ PRG005_B656 ; If this object slot is dead/empty, jump to PRG005_B656
DEY ; Y--
BNE PRG005_B64E ; While Y >= 0, loop!
PRG005_B656:
JSR BigQBlock_EmergePowerup ; Power up emerges!
DEC <Objects_Var5,X ; Var5-- (one less power-up to emerge)
PRG005_B65B:
LDY Objects_Timer,X
; Set proper Y velocity based on value of timer
LDA BigQBlock_YVelByTimer,Y
STA <Objects_YVel,X
JSR Object_ApplyYVel ; Apply Y velocity
JSR Object_HitTest ; Test if Player is colliding with Big ? Block
BCC PRG005_B6CF ; If not, jump to PRG005_B6CF (RTS)
LDA <Player_SpriteY
ADD #24
CMP <Objects_SpriteY,X
BGE PRG005_B69A ; If Player's sprite Y + 24 is beneath top of Big ? Block, jump to PRG005_B69A
; Not below the Big ? Block...
LDA <Player_YVel
BMI PRG005_B699 ; If Player is moving upward (away from top of block), jump to PRG005_B699 (RTS)
; Set Player on top of the Big ? Block
LDA <Objects_Y,X
SUB #31
STA <Player_Y
LDA <Objects_YHi,X
SBC #$00
STA <Player_YHi
; Mark Player as not in air
LDY #$00
STY <Player_InAir
LDA Object_VelCarry
BPL PRG005_B68F ; If carry is positive, jump to PRG005_B68F
DEY ; Y = -1
PRG005_B68F:
; Apply the X velocity carry
ADD <Player_X
STA <Player_X
TYA
ADC <Player_XHi
STA <Player_XHi
PRG005_B699:
RTS ; Return
PRG005_B69A:
LDA #-24
; If Player is small or ducking, jump to PRG005_B6A5, otherwise jump to PRG005_B6A7
LDY <Player_Suit
BEQ PRG005_B6A5
LDY Player_IsDucking
BEQ PRG005_B6A7
PRG005_B6A5:
LDA #-8 ; For small or ducking only
PRG005_B6A7:
ADD <Player_SpriteY
CMP <Objects_SpriteY,X
BLT PRG005_B6BA ; If Player's head is above Big ? Block, jump to PRG005_B6BA
LDA <Player_YVel
BPL PRG005_B6B9 ; If Player is not moving upward, jump to PRG005_B6B9
; Bounce off Big ? Block
LDA #$10
STA <Player_YVel
JSR BigQBlock_Open ; Open the Big ? Block...
PRG005_B6B9:
RTS ; Return
PRG005_B6BA:
; NOTE: Arrow platform uses this code too
JSR Level_ObjCalcXDiffs
INY ; Makes this value agree with Player pressing left/right on pad
LDA <Pad_Holding
AND #(PAD_LEFT | PAD_RIGHT)
STA <Temp_Var1 ; Temp_Var1 = non-zero if Player is pressing left or right
LDA #$00 ; Halt Player if he presses direction "into" the Big ? Block
CPY <Temp_Var1
BNE PRG005_B6CD ; If Player is doing that, jump to PRG005_B6CD
LDA BigQBlock_PlayerPushXVel-1,Y ; Get direction of Player away from block
PRG005_B6CD:
STA <Player_XVel ; Set Player's velocity appropriately
PRG005_B6CF:
RTS ; Return
BigQBlock_PlayerPushXVel: .byte $04, -$04
BigQBlock_Item:
.byte OBJ_POWERUP_1UP ; OBJ_BIGQBLOCK_3UP
.byte OBJ_POWERUP_MUSHROOM ; OBJ_BIGQBLOCK_MUSHROOM (not used!!)
.byte OBJ_POWERUP_FIREFLOWER ; OBJ_BIGQBLOCK_FIREFLOWER (not used!!)
.byte OBJ_POWERUP_SUPERLEAF ; OBJ_BIGQBLOCK_SUPERLEAF (not used!!)
.byte OBJ_POWERUP_STARMAN ; OBJ_BIGQBLOCK_TANOOKI (frame change to Starman makes it a Tanooki suit)
.byte OBJ_POWERUP_STARMAN ; OBJ_BIGQBLOCK_FROG (frame change to Starman makes it a Frog suit)
.byte OBJ_POWERUP_STARMAN ; OBJ_BIGQBLOCK_HAMMER (frame change to Starman makes it a Hammer suit)
BigQBlock_StarManFlash:
.byte $01 ; OBJ_BIGQBLOCK_3UP
.byte $01 ; OBJ_BIGQBLOCK_MUSHROOM (not used!!)
.byte $80 ; OBJ_BIGQBLOCK_FIREFLOWER (not used!!)
.byte $01 ; OBJ_BIGQBLOCK_SUPERLEAF (not used!!)
.byte $01 ; OBJ_BIGQBLOCK_TANOOKI
.byte $02 ; OBJ_BIGQBLOCK_FROG
.byte $03 ; OBJ_BIGQBLOCK_HAMMER
BigQBlock_Open:
LDA Objects_Frame,X
BNE PRG005_B70D ; If this Big ? Block is already opened, jump to PRG005_B70D
LDY #$05 ; Y = 5
JSR BigQBlock_EmergePowerup ; Emerge power up
LDA Level_ObjectID,X
CMP #OBJ_BIGQBLOCK_3UP
BNE PRG005_B6F5 ; If this is NOT a 3-Up Big ? Block, jump to PRG005_B6F5
; Var5 = 2 (2 more 1-ups to emerge after this one)
LDA #$02
STA <Objects_Var5,X
PRG005_B6F5:
; Shake effect!
LDA #$40
STA Level_Vibration
; Set timer to $0A
LDA #$0a
STA Objects_Timer,X
INC Objects_Frame,X ; Set to "opened" frame
LDY <Objects_XHi,X ; Get which "Big ? Block Area" we're in
; Set that bit in BigQBlock_GotIt so this block cannot ever be opened again...
LDA BigQBlock_GotIt
ORA BigQBlock_GotItBits,Y
STA BigQBlock_GotIt
PRG005_B70D:
RTS ; Return
BigQBlock_EmergePowerup:
; Set to initializing state
LDA #OBJSTATE_INIT
STA Objects_State,Y
; Appear at +8 from Big ? Block
LDA <Objects_X,X
ADD #$08
STA Objects_X,Y
LDA <Objects_XHi,X
ADC #$00
STA Objects_XHi,Y
; Same Y
LDA <Objects_Y,X
STA Objects_Y,Y
LDA <Objects_YHi,X
STA Objects_YHi,Y
LDA Level_ObjectID,X
TAX
; Set item ID that should emerge from Big ? Block
LDA BigQBlock_Item-OBJ_BIGQBLOCK_3UP,X
STA Level_ObjectID,Y
; Set proper flag for emerging item (mainly sets correct for super suits)
LDA BigQBlock_StarManFlash-OBJ_BIGQBLOCK_3UP,X
STA PUp_StarManFlash
; So powerup knows which way to emerge
LDA #$01
STA Player_BounceDir
LDX <SlotIndexBackup ; X = object slot index
; Set timer to $50 (masks powerup)
LDA #$50
STA Objects_Timer2,X
RTS ; Return
; Patterns of the Big ? Block
; These are interlaced between the "unopened" and "opened" block
BigQBlock_UpperPats: .byte $87, $9B, $85, $99, $83, $99, $81, $97
BigQBlock_LowerPats: .byte $8F, $8F, $8D, $9D, $8B, $9D, $89, $89
BigQBlock_Draw:
JSR Object_ShakeAndCalcSprite
STY <Temp_Var14 ; Sprite RAM offset -> Temp_Var14
LDA <Temp_Var8
STA <Temp_Var15 ; Horizontal visibility -> Temp_Var15
LDX <SlotIndexBackup ; X = object slot index
LDA Objects_Frame,X
LDX #$06 ; X = 6
CMP #$00
BEQ PRG005_B76E ; If Frame = 0 (Not opened), jump to PRG005_B76E
INX ; X = 7
PRG005_B76E:
ASL <Temp_Var15
BCS PRG005_B788 ; If this sprite is horizontally off-screen, jump to PRG005_B788
LDA <Temp_Var5
STA <Temp_Var16 ; Vertical visibility -> Temp_Var16
LDA <Temp_Var1
LSR <Temp_Var16
BCS PRG005_B77F ; If this sprite is vertically off-screen, jump to PRG005_B77F
STA Sprite_RAM+$00,Y ; Set upper sprite Y
PRG005_B77F:
LSR <Temp_Var16
BCS PRG005_B788 ; If this sprite is vertically off-screen, jump to PRG005_B788
ADC #16 ; +16 for lower sprite
STA Sprite_RAM+$04,Y ; Set lower sprite Y
PRG005_B788:
; Set pattern of upper sprite
LDA BigQBlock_UpperPats,X
STA Sprite_RAM+$01,Y
; Set pattern of lower sprite
LDA BigQBlock_LowerPats,X
STA Sprite_RAM+$05,Y
; Palette select 3
LDA #SPR_PAL3
STA Sprite_RAM+$02,Y
STA Sprite_RAM+$06,Y
; Sprite X
LDA <Temp_Var2
STA Sprite_RAM+$03,Y
STA Sprite_RAM+$07,Y
ADD #$08
STA <Temp_Var2 ; +8 to next sprite to the right
; Sprite Offset += 8 (next two sprites)
TYA
ADD #$08
TAY
; X -= 2 (next appropriate pattern)
DEX
DEX
BMI PRG005_B7BC ; If this was the last cycle, jump to PRG005_B7BC
CPX #$02
BGE PRG005_B76E ; If this wasn't the second-to-last, jump to PRG005_B76E
JSR Object_GetRandNearUnusedSpr ; Mixes up the sprite index a little
JMP PRG005_B76E ; Loop!
PRG005_B7BC:
LDX <SlotIndexBackup ; X = object slot index
LDA Objects_Timer2,X
BEQ PRG005_B7E5 ; If timer2 expired, jump to PRG005_B7E5
LDY <Temp_Var14 ; Y = Temp_Var14 (Sprite RAM offset)
LDX #$00 ; X = 0
; This loop duplicates sprites to effectively mask the power up emerging
; (and possibly disrupt any other sprite in its scanline)
PRG005_B7C7:
LDA Sprite_RAM+$08,Y
STA Sprite_RAM+$00,X
INY ; Y++
INX ; X++
CPX #$08
BGE PRG005_B7DD ; If 'X' >= 8, jump to PRG005_B7DD
CPX #$04
BNE PRG005_B7C7 ; If 'X' <> 4, jump to PRG005_B7C7
; Y += 4 (next sprite)
INY
INY
INY
INY
BNE PRG005_B7C7 ; Jump (technically always) to PRG005_B7C7
PRG005_B7DD:
; Clear these sprites
LDA #$f8
STA Sprite_RAM-$04,Y
STA Sprite_RAM-$14,Y
PRG005_B7E5:
LDX <SlotIndexBackup ; X = object slot index
RTS ; Return
; FIXME: Anyone want to claim this??
PRG005_B7E8:
.byte $1C, $FF, $1C, $FA, $1C, $10, $1C, $15
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Level_SpawnObjsAndBounce
;
; This spawns new objects as the screen scrolls, and also
; incidentally handles spawning the "bounced block" effect object
; if the Player just bounced off such a block... kind of weird to
; put those together, but I guess it has to go somewhere...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Level_SpawnObjsAndBounce:
; Do scene-change-reset, if needed
; NOTE!! Does NOT return here if it did!
JSR Level_DoChangeReset
LDA Player_Bounce
BEQ PRG005_B826 ; If Player is not bouncing, jump to PRG005_B826
; If we're going to do a Player bounce, a special effect of the block
; bouncing is performed as an object. This uses the reserved object
; slots of 6 or 7. If neither is free, no bounce for the Player!
LDX #$06 ; X = 6
LDA Objects_State,X
BEQ PRG005_B80D ; If object slot is "dead/empty", jump to PRG005_B80D
INX ; X = 7
LDA Objects_State,X
BEQ PRG005_B80D ; If object slot is "dead/empty", jump to PRG005_B80D
; Slot 6 & 7 are occupied; no bounce for you!
LDA #$00
STA Player_Bounce ; Player_Bounce = 0
JMP PRG005_B826 ; Jump to PRG005_B80D
PRG005_B80D:
; Found a free slot (6 or 7)
LDY #OBJ_BOUNCEDOWNUP ; Y = OBJ_BOUNCEDOWNUP (up/down bounce effect block)
LDA Player_BounceDir
AND #$7f
CMP #$02
BLS PRG005_B81A ; If Player is bouncing down/up, jump to PRG005_B81A
LDY #OBJ_BOUNCELEFTRIGHT ; Y = OBJ_BOUNCELEFTRIGHT (left/right bounce effect block)
PRG005_B81A:
; Store appropriate object ID
TYA
STA Level_ObjectID,X
; Set object state to 1
LDA #OBJSTATE_INIT
STA Objects_State,X
JMP PRG005_B831 ; Jump to PRG005_B831 (RTS)
PRG005_B826:
LDA Level_7Vertical
BEQ PRG005_B82E ; If level is NOT vertical, jump to PRG005_B82E
JMP Level_ObjectsSpawnByScrollV ; Spawn objects as screen scrolls
PRG005_B82E:
JMP Level_ObjectsSpawnByScroll ; Spawn objects as screen scrolls
PRG005_B831:
RTS ; Return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Level_ObjectsSpawnByScroll
;
; Spawns object while screen scrolls (how it goes from static
; level data to dynamic stuff on the screen)
; Non-vertical variant of Level_ObjectsSpawnByScrollV
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This defines the values used as "look ahead" when screen is moving
; Basically the values are $110 (one screen over + 16)
; and -$20 (32 pixels to the left)
LOSBS_LookAhead: .byte 16, -32
LOSBS_LookAheadHi: .byte $01, $FF ; sign extensions
Level_ObjectsSpawnByScroll:
LDY <Scroll_LastDir
LDA <Horz_Scroll
ADD LOSBS_LookAhead,Y
AND #$f0
STA <Temp_Var6 ; Temp_Var6 = Horz_Scroll + LOSBS_LookAhead[Y] (appropriate "look ahead" values)
LDA <Horz_Scroll_Hi
ADC LOSBS_LookAheadHi,Y
STA <Temp_Var7 ; Temp_Var7 = "look ahead" high part
CMP <Level_Width
BEQ PRG005_B852
BLT PRG005_B852 ; If the "high part" is <= the level width, jump to PRG005_B852
JMP PRG005_B956 ; Otherwise, at the end, jump to PRG005_B956 (RTS)
PRG005_B852:
LDX <Temp_Var7 ; X = "look ahead" high part
LDA Level_ObjIdxStartByScreen,X ; Get starting Level_Objects index for this screen
BMI PRG005_B872 ; If no objects on this screen, jump to PRG005_B872 (RTS)
STA <Temp_Var2 ; Starting index -> Temp_Var2
TAX ; -> 'X'
ASL A
ADD <Temp_Var2 ; Multiply by 3 (get to appropriate object)
TAY ; -> 'Y'
DEY ; Y-- (offset to object column, decrement to counteract Y += 3 on first pass)
DEX ; X-- (basically to counteract following INX on first pass)
PRG005_B863:
INX ; X++ (next object index)
INY
INY
INY ; Y += 3 (next object, aligned to "column" element)
LDA Level_Objects,Y ; Get object column
LSR A
LSR A
LSR A
LSR A ; Divide by 16 to get "screen" (16 columns per screen)
CMP <Temp_Var7
BEQ PRG005_B873 ; If object is on this "look ahead" screen, jump to PRG005_B873
PRG005_B872:
RTS ; Return
PRG005_B873:
LDA Level_Objects-1,Y ; Get object ID (we're aligned by column, hence -1)
CMP #$ff
BEQ PRG005_B872 ; If this is the terminator, jump to PRG005_B872 (RTS)
LDA Level_ObjectsSpawned,X
CMP #$00
BMI PRG005_B863 ; If this object is already currently spawned, jump to PRG005_B863 (skip to next object)
LDA Level_Objects,Y ; Get object column
ASL A
ASL A
ASL A
ASL A ; Multiply by 16 (make pixel position)
CMP <Temp_Var6
BNE PRG005_B863 ; If object not equal to "look ahead" low component, jump to PRG005_B863 (skip to next object)
; Object should be spawned...
STX <Temp_Var2 ; Backup object index -> Temp_Var2
STA <Temp_Var1 ; Backup pixel X position -> Temp_Var1
LDA Level_Objects-1,Y ; Get object ID
CMP #OBJ_TOADANDKING
BNE PRG005_B89C ; If object ID <> OBJ_TOADANDKING, jump to PRG005_B89C
INC Cine_ToadKing ; OBJ_TOADANDKING initializes the cinematic
BNE PRG005_B8BE ; Jump (technically always) to PRG005_B8BE (mark self as spawned so it never re-triggers)
PRG005_B89C:
CMP #OBJ_BONUSCONTROLLER
BNE PRG005_B8B3 ; If object ID <> OBJ_BONUSCONTROLLER, jump to PRG005_B8B3
LDA Level_Objects+1,Y ; Get object row
PHA ; Save it
; Set the bonus type by whether it is on an odd/even row (Even = 1; White Toad House, Odd = 2; UNKNOWN MAPOBJ_UNK0C thing!!)
AND #$01 ; Check if on odd/even row
TAX ; -> 'X'
INX ; X++
STX Map_BonusType ; -> Map_BonusType
; Set the bonus value by the actual row it is on
; NOTE: Thus White Toad House will always be an even number of coins
PLA ; Restore row
AND #$7f ; Trim bit 7
STA Map_BonusCoinsReqd ; -> Map_BonusCoinsReqd
BPL PRG005_B8BE ; Jump (technically always) to PRG005_B8BE (mark self as spawned so it never re-triggers)
PRG005_B8B3:
CMP #OBJ_AUTOSCROLL
BNE PRG005_B8CB ; If object ID <> OBJ_AUTOSCROLL, jump to PRG005_B8CB
TYA ; Level_Objects index -> 'A'
PHA ; Save it
JSR ObjAutoScroller_Init ; Initialization code for OBJ_AUTOSCROLL
PLA
TAY ; Restore Level_Objects index
PRG005_B8BE:
LDX <Temp_Var2 ; Restore object index
LDA Level_ObjectsSpawned,X
ORA #$80
STA Level_ObjectsSpawned,X ; Mark object as already spawned (even though technically it isn't, but prevents re-triggering)
JMP PRG005_B863 ; Jump to PRG005_B863 (next object)
PRG005_B8CB:
LDA Level_Objects-1,Y ; Get object ID
CMP #OBJ_TREASURESET
BNE PRG005_B8DB ; If object ID <> OBJ_TREASURESET, jump to PRG005_B8DB
; Set Level_TreasureItem by what row it was placed on
LDA Level_Objects+1,Y ; Get object row
STA Level_TreasureItem ; Level_TreasureItem = row
JMP PRG005_B8BE ; Jump to PRG005_B8BE (mark self as spawned so it never re-triggers)
PRG005_B8DB:
CMP #OBJ_CHEEPCHEEPBEGIN
BLT PRG005_B909 ; If object ID < OBJ_CHEEPCHEEPBEGIN, jump to PRG005_B909
; All object IDs higher than OBJ_CHEEPCHEEPBEGIN are handled specially:
CMP #OBJ_SPAWN3GREENTROOPAS
BNE PRG005_B8E9 ; If object ID <> OBJ_SPAWN3GREENTROOPAS, jump to PRG005_B8E9
; OBJ_SPAWN3GREENTROOPAS specific...
JSR Spawn3TroopsOrCheeps ; Spawn up to 3 hopping green paratroopas
JMP PRG005_B863 ; Jump to PRG005_B863 (next object)
PRG005_B8E9:
CMP #OBJ_SPAWN3ORANGECHEEPS
BNE PRG005_B8F3 ; If object ID <> OBJ_SPAWN3ORANGECHEEPS, jump to PRG005_B8F3
; OBJ_SPAWN3ORANGECHEEPS specific ...
JSR Spawn3TroopsOrCheeps ; Spawn up to 3 "lost" orange cheep cheeps
JMP PRG005_B863 ; Jump to PRG005_B863 (next object)
PRG005_B8F3:
CMP #OBJ_CFIRE_BULLETBILL
BLT PRG005_B902 ; If object ID < OBJ_CFIRE_BULLETBILL, jump to PRG005_B902
; Object ID >= OBJ_CFIRE_BULLETBILL...
SBC #OBJ_CFIRE_BULLETBILL ; Zero base it
ADD #$01 ; +1 (because zero means "empty/unused" in Cannon Fire)
JSR CannonFire_Init ; Initialize the Cannon Fire
JMP PRG005_B863 ; Jump to PRG005_B863 (next object)
PRG005_B902:
; Trigger Level_Event
SUB #(OBJ_CHEEPCHEEPBEGIN-1) ; Base at 1
STA Level_Event ; Set Level_Event
RTS ; Return
PRG005_B909:
; Basically the end level card gets priority and will ALWAYS
; spawn into slot 6, regardless of what was there previously.
; (Normal objects are in lower slots so this generally should
; not be too noticeable.)
CMP #OBJ_ENDLEVELCARD
BNE PRG005_B911 ; If object ID <> OBJ_ENDLEVELCARD, jump to PRG005_B911
LDX #$06 ; X = 6
BNE PRG005_B91E ; Jump (technically always) to PRG005_B91E (skip looking for empty slot, force 6)
PRG005_B911:
LDX #$04 ; X = 4
PRG005_B913:
LDA Objects_State,X
BEQ PRG005_B91E ; If this object slot is "dead/empty", jump to PRG005_B91E
DEX ; X--
BPL PRG005_B913 ; While X >= 0, loop!
JMP PRG005_B956 ; Jump to PRG005_B956 (RTS)
PRG005_B91E:
; Set object X
LDA <Temp_Var1
STA <Objects_X,X
LDA <Temp_Var7
STA <Objects_XHi,X
INY ; Y++ (different way of getting at row, I guess)
; Upper 4 bits shifted right (high Y)
LDA Level_Objects,Y ; Get object row
AND #$f0
LSR A
LSR A
LSR A
LSR A
STA <Objects_YHi,X
; Lower 4 bits shifted left (low Y)
LDA Level_Objects,Y ; Get object row
AND #$0f
ASL A
ASL A
ASL A
ASL A
STA <Objects_Y,X
DEY
DEY ; Y -= 2 (at object ID now)
; Set object ID
LDA Level_Objects,Y
STA Level_ObjectID,X
LDY <Temp_Var2 ; Object index -> 'Y'
; Mark this object as spawned
LDA Level_ObjectsSpawned,Y
ORA #$80
STA Level_ObjectsSpawned,Y
TYA ; Object index -> 'A'
; Store original spawn index
STA Objects_SpawnIdx,X
; Set object state to 1
INC Objects_State,X
PRG005_B956:
RTS ; Return
; OBJ_AUTOSCROLL specific initialization
; Placing it on row $60 causes it to activate "water line" mode
; This mode is used in 3-2 to have water tiles at the bottom
; of the level. Sprites do not appear below the line. Only really
; looks right when there's no vertical scrolling.
ObjAutoScroller_Init:
LDA Level_Objects+1,Y ; Get object row
CMP #$60
BNE PRG005_B964 ; If object is NOT on row $60, jump to PRG005_B964
LDA #UPDATERASTER_WATERLINE
STA Update_Request ; Update_Request = UPDATERASTER_WATERLINE
RTS ; Return
PRG005_B964:
PHA ; Save object row
; Clear auto scroll variables
LDY #$14 ; Y = $14
LDA #$00 ; A = 0
PRG005_B969:
STA AScroll_Anchor-1,Y ; Clear this auto scroll variable
DEY ; Y--
BNE PRG005_B969 ; While Y <> 0, loop!
PLA ; Restore object row
PHA ; Save object row
AND #$0f ; Cap 0 - 15
TAY ; -> 'Y'
PLA ; Restore object row
LSR A
LSR A
LSR A
LSR A ; Divide by 16
STA Level_AScrlSelect
CMP #$03
BGE PRG005_B98E ; If Level_AScrlSelect >= 3 (Likely but not necessarily one of the Airships), jump to PRG005_B98E
CMP #$01
BNE PRG005_B988 ; If Level_AScrlSelect <> 1 (World 3 Airship), jump to PRG005_B988
TYA
ORA #$10
TAY ; New base for Y index at $10
PRG005_B988:
LDA AScroll_HorizontalInitMove,Y
STA Level_AScrlVar ; -> Level_AScrlVar
PRG005_B98E:
STY Level_AScrlLimitSel ; Y -> Level_AScrlLimitSel
LDA <Vert_Scroll
STA Level_AScrlPosV ; Level_AScrlPosV = Vert_Scroll
INC Level_HAutoScroll ; Level_HAutoScroll = 1 (enable auto horizontal scroll!)
RTS ; Return
ObjLRFlags: .byte SPR_HFLIP, $00 ; If Player is to right of object vs left, stored into Objects_FlipBits
Spawn3XOff: .byte -32, 32 ; X Lo offsets
Spawn3XHiOff: .byte $FF, $00 ; Sign extension
Spawn3YVels: .byte 11, -5, -11 ; Y velocities
Spawn3Var4: .byte 1, 1, 0 ; Initial value for Var 4
; Spawns up to 3 hopping green paratroopas or the school of lost orange cheep cheeps
Spawn3TroopsOrCheeps:
STA Temp_VarNP0 ; Backup object ID
TXA
PHA ; Save object index
TYA
PHA ; Save Level_Objects offset
; Changing object row value into a 16-bit Y value
; Upper 4 bits shifted right -> Temp_Var9 (high Y)
LDA Level_Objects+1,Y ; Get object row
AND #$f0
LSR A
LSR A
LSR A
LSR A
STA <Temp_Var9 ; -> Temp_Var9
; Lower 4 bits shifted left -> Temp_Var10 (low Y)
LDA Level_Objects+1,Y ; Get object row
AND #$0f
ASL A
ASL A
ASL A
ASL A
STA <Temp_Var10 ; -> Temp_Var10
LDA <Temp_Var7
STA <Temp_Var11 ; Temp_Var11 = Temp_Var7 (pixel high X of object)
LDA <Temp_Var1
STA <Temp_Var12 ; Temp_Var12 = Temp_Var1 (pixel X position of object)
LDX <Temp_Var2 ; Restore object index -> 'X'
; Mark object as already spawned
LDA Level_ObjectsSpawned,X
ORA #$80
STA Level_ObjectsSpawned,X
; Spawning up to 3 of orange cheep cheeps or green hopping paratroopas
LDA #$02
STA <Temp_Var13 ; Temp_Var13 = 2
PRG005_B9D9:
LDX #$04 ; X = 4
PRG005_B9DB:
LDA Objects_State,X
BEQ PRG005_B9E6 ; If this object slot is "dead/empty", jump to PRG005_B9E6
DEX ; X--
BPL PRG005_B9DB ; While X >= 0, loop!
JMP PRG005_BA3D ; If no empty slots, jump to PRG005_BA3D
PRG005_B9E6:
JSR Level_PrepareNewObject ; Set up new object
; Set object Y/Hi by calculated values
LDA <Temp_Var9
STA <Objects_YHi,X
LDA <Temp_Var10
STA <Objects_Y,X
; Set object X/Hi
LDA <Temp_Var12
STA <Objects_X,X
LDA <Temp_Var11
STA <Objects_XHi,X
; Difference of Player vs object X Lo -> Temp_Var16
; Reg Y is set to 0 if Player is to the right of object, 1 if to the left
JSR Level_ObjCalcXDiffs
LDA ObjLRFlags,Y
STA Objects_FlipBits,X ; Set appropriate flag
LDA <Temp_Var12
ADD Spawn3XOff,Y
STA <Temp_Var12 ; Temp_Var12 += Spawn3XOff[Y]
LDA <Temp_Var11
ADC Spawn3XHiOff,Y
STA <Temp_Var11 ; related sign extension
LDA Temp_VarNP0 ; Get object ID back
CMP #OBJ_SPAWN3GREENTROOPAS
BEQ PRG005_BA2B ; If object ID = OBJ_SPAWN3GREENTROOPAS, jump to PRG005_BA2B
; OBJ_SPAWN3ORANGECHEEPS specific...
LDY <Temp_Var13 ; 0 - 2, loop counter
LDA Spawn3YVels,Y
STA <Objects_YVel,X ; Set appropriate Y velocity
LDA Spawn3Var4,Y
STA <Objects_Var4,X ; Set initial var 4 value
INC Objects_InWater,X ; Set object as in water
LDA #OBJ_ORANGECHEEP ; A = OBJ_ORANGECHEEP
BNE PRG005_BA2D ; Jump (technically always) to PRG005_BA2D
PRG005_BA2B:
LDA #OBJ_PARATROOPAGREENHOP ; A = OBJ_PARATROOPAGREENHOP
PRG005_BA2D:
STA Level_ObjectID,X ; Set object ID
; Set state to OBJSTATE_NORMAL
LDA #OBJSTATE_NORMAL
STA Objects_State,X
LDA #SPR_PAL2
STA Objects_SprAttr,X ; Force palette 2
; Flag object to use the short horizontal test (delete immediately if even partially off-screen)
STA Objects_UseShortHTest,X
PRG005_BA3D:
DEC <Temp_Var13 ; Temp_Var13--
BPL PRG005_B9D9 ; While Temp_Var13 >= 0, loop!
PLA
TAY ; Restore Level_Objects offset
PLA
TAX ; Restore object index
RTS ; Return
CannonFire_Init:
STA <Temp_Var16 ; Store index value (1+)
TXA ; -> 'X'
PHA ; Save it too
LDA CannonFire_ID+7
PHA ; Backup last Cannon Fire ID
LDA CannonFire_Parent+7
PHA ; Backup last Cannon Fire parent index
; Move over all current Cannon Fires
LDX #$06 ; X = 6
PRG005_BA54:
LDA CannonFire_ID,X
STA CannonFire_ID+1,X
LDA CannonFire_YHi,X
STA CannonFire_YHi+1,X
LDA CannonFire_Y,X
STA CannonFire_Y+1,X
LDA CannonFire_XHi,X
STA CannonFire_XHi+1,X
LDA CannonFire_X,X
STA CannonFire_X+1,X
LDA CannonFire_Parent,X
STA CannonFire_Parent+1,X
LDA CannonFire_Timer,X
STA CannonFire_Timer+1,X
LDA CannonFire_Var,X
STA CannonFire_Var+1,X
LDA CannonFire_Timer2,X
STA CannonFire_Timer2+1,X
DEX ; X--
BPL PRG005_BA54 ; While X >= 0, loop
PLA ; Restore last Cannon Fire Parent index
TAX ; -> 'X'
PLA ; Restore last Cannon Fire ID
BEQ PRG005_BA9A ; If last Cannon Fire ID = 0 (this slot was not previously in use), jump to PRG005_BA9A
; Mark the parent creator object as NOT spawned since this cannon fire slot is being overwritten
LDA Level_ObjectsSpawned,X
AND #$7f
STA Level_ObjectsSpawned,X
PRG005_BA9A:
; Upper 4 bits shifted right -> CannonFire_YHi (high Y)
LDA Level_Objects+1,Y ; Get object row
AND #$f0
LSR A
LSR A
LSR A
LSR A
STA CannonFire_YHi
; Upper 4 bits shifted left -> CannonFire_Y (low Y)
LDA Level_Objects+1,Y ; Get object row
AND #$0f
ASL A
ASL A
ASL A
ASL A
STA CannonFire_Y
LDA <Temp_Var7
STA CannonFire_XHi ; CannonFire_XHi = (pixel high X of object)
LDA <Temp_Var1
STA CannonFire_X ; CannonFire_X = (pixel X position of object)
LDA #$00
STA CannonFire_Var ; Clear Cannon Fire variable
STA CannonFire_Timer2 ; Clear Cannon Fire timer 2
LDA #$60
LDX <Temp_Var16 ; X = Temp_Var16 (ID of Cannon Fire)
CPX #CFIRE_4WAY
BNE PRG005_BACE ; If X <> 4, jump to PRG005_BACE
LDA #$00 ; Otherwise, A = 0
PRG005_BACE:
STA CannonFire_Timer ; CannonFire_Timer = $00 or $60, depending on whether we're a 4-Way cannon
LDX <Temp_Var2 ; Restore object index
STX CannonFire_Parent ; CannonFire_Parent = Temp_Var2
; Mark this object as spawned
LDA Level_ObjectsSpawned,X
ORA #$80
STA Level_ObjectsSpawned,X
LDA <Temp_Var16
STA CannonFire_ID
PLA ; Restore input index value
TAX ; -> 'X'
RTS ; Return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Level_ObjectsSpawnByScrollV
;
; Spawns object while screen scrolls (how it goes from static
; level data to dynamic stuff on the screen)
; Vertical variant of Level_ObjectsSpawnByScroll
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This defines the values used as "look ahead" when screen is moving
; Basically the values are $110 (one screen over + 16)
; and -$20 (32 pixels to the left)
LOSBSV_LookAhead: .byte -32, 32
LOSBSV_LookAheadHi: .byte $FF, $01 ; sign extensions
Level_ObjectsSpawnByScrollV:
LDY <Scroll_LastDir
LDA Level_VertScroll
ADD LOSBSV_LookAhead,Y
AND #$f0
STA <Temp_Var6 ; Temp_Var6 = Vert_Scroll + LOSBSV_LookAhead[Y] (appropriate "look ahead" values)
LDA Level_VertScrollH
ADC LOSBSV_LookAheadHi,Y
STA <Temp_Var7 ; Temp_Var7 = "look ahead" high part
LDY <Level_Width
CMP VertLevel_ScreenH+1,Y
BLT PRG005_BB12 ; If the "high part" is < the level high size, jump to PRG005_BB12
BNE PRG005_BB0F ; If the "high part" is otherwise not equal, jump to PRG005_BB0F
LDA <Temp_Var6
CMP VertLevel_ScreenL+1,Y
BLT PRG005_BB12 ; If the lookahead low part is < the level low size, jump to PRG005_BB12
PRG005_BB0F:
JMP PRG005_BB9A ; Jump to PRG005_BB9A (RTS)
PRG005_BB12:
LDX <Temp_Var7 ; X = "look ahead" high part
LDA Level_ObjIdxStartByScreen,X ; Get starting Level_Objects index for this screen
BMI PRG005_BB2F ; If no objects on this screen, jump to PRG005_BB2F (RTS)
STA <Temp_Var2 ; Starting index -> Temp_Var2
TAX ; -> 'X'
ASL A
ADD <Temp_Var2 ; Multiply by 3 (get to appropriate object)
TAY ; -> 'Y'
PRG005_BB21:
INY
INY
INY ; Y += 3 (next object, aligned to "row" element)
LDA Level_Objects,Y ; Get object row
LSR A
LSR A
LSR A
LSR A ; Divide by 16 to get "screen" (16 rows per screen)
CMP <Temp_Var7
BEQ PRG005_BB30 ; If object is on this "look ahead" screen, jump to PRG005_BB30
PRG005_BB2F:
RTS ; Return
PRG005_BB30:
LDA Level_Objects-2,Y
CMP #$ff
BEQ PRG005_BB2F ; If this is the terminator, jump to PRG005_B82F (RTS)
LDA Level_ObjectsSpawned,X
INX ; X++
CMP #$00
BMI PRG005_BB21 ; If this object is already currently spawned, jump to PRG005_BB21 (skip to next object)
LDA Level_Objects,Y ; Get object row
ASL A
ASL A
ASL A
ASL A ; Multiply by 16 (make pixel position)
CMP <Temp_Var6
BNE PRG005_BB21 ; If object not equal to "look ahead" low component, jump to PRG005_BB21 (skip to next object)
; Object should be spawned...
DEX ; X-- (undo INX above)
STX <Temp_Var2 ; Backup object index -> Temp_Var2
STA <Temp_Var1 ; Backup pixel X position -> Temp_Var1
; BUG!! This appears to be done wrong! They really meant
; Level_Objects-2 (i.e. the Object ID); incidentally, this
; still works because you would never find an object at
; column $B4 (OBJ_CHEEPCHEEPBEGIN), but you can't access
; and Level_Events this way (not that they were ever used
; in a vertical area!) Sort of a half-schroedinbug.
; And who knows why there's a double load; probably a very
; old copy and paste error, eh? :)
LDA Level_Objects-1,Y
LDA Level_Objects-1,Y
CMP #OBJ_CHEEPCHEEPBEGIN
BLT PRG005_BB5F
; This is never used, but actually cheep cheep swarms in a
; vertical pipe maze is really kinda cool!
SBC #(OBJ_CHEEPCHEEPBEGIN-1)
STA Level_Event ; Store into Level_Event
RTS ; Return
PRG005_BB5F:
LDX #$04 ; X = 4
PRG005_BB61:
LDA Objects_State,X
BEQ PRG005_BB6C ; If this object is "dead/empty", jump to PRG005_BB6C
DEX ; X--
BPL PRG005_BB61 ; While X >= 0, loop!
JMP PRG005_BB9A ; Jump to PRG005_BB9A (RTS)
PRG005_BB6C:
; Set object Y
LDA <Temp_Var1
STA <Objects_Y,X
LDA <Temp_Var7
STA <Objects_YHi,X
; Object X Hi is never used in a vertical level
LDA #$00
STA <Objects_XHi,X
DEY ; Y-- (different way of getting at the column...)
; Turn column into X pixel coordinate
LDA Level_Objects,Y ; Get object column
ASL A
ASL A
ASL A
ASL A
STA <Objects_X,X
DEY ; Y-- (now we're at the ID field)
; Store object ID
LDA Level_Objects,Y
STA Level_ObjectID,X
LDY <Temp_Var2 ; Y = Temp_Var2 (object index)
; Mark object as spawned
LDA Level_ObjectsSpawned,Y
ORA #$80
STA Level_ObjectsSpawned,Y
TYA ; Y -> 'A' (object index)
STA Objects_SpawnIdx,X ; Store parent index
INC Objects_State,X ; Set object state to 1
PRG005_BB9A:
RTS ; Return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; LevelEvent_Do
;
; Performs a "level event" based on the value of Level_Event
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
LevelEvent_Do:
LDA Level_Event
BEQ PRG005_BBBF ; If no level event, jump to PRG005_BBBF (RTS)
JSR DynJump ; Dynamic jump based on Level_Event...
; THESE MUST FOLLOW DynJump FOR THE DYNAMIC JUMP TO WORK!!
.word LevelEvent_DoNothing ; 0 - Do nothing (not used!)
.word LevelEvent_CheepCheep ; 1 - Cheep Cheep attack
.word LevelEvent_SpikeCheep ; 2 - Spike Cheeps float by
.word LevelEvent_LakituFlee ; 3 - Clears Lakitu_Active which causes an active Lakitu to flee / be removed
.word LevelEvent_Parabeetles ; 4 - Green and red parabeetles flyby!
.word LevelEvent_CloudsinBG ; 5 - Floating clouds in background float by
.word LevelEvent_WoodPlatforms ; 6 - Random wooden platforms
.word LevelEvent_TreasureBox ; 7 - Get a treasure box
.word LevelEvent_Cancel ; 8 - Does nothing but clear Level_Event
LevelEvent_LakituFlee:
; Clears Lakitu_Active
LDA #$00
STA Lakitu_Active
LevelEvent_Cancel:
LDA #$00
STA Level_Event
PRG005_BBBF:
RTS ; Return
WoodenPlatform_XVel:
.byte -$04, -$08, -$06, -$08
LevelEvent_WoodPlatforms:
LDA Level_NoStopCnt
AND #$7f
BNE PRG005_BC41 ; Only do anything every 127 ticks
LDA #OBJ_WOODENPLATFORM
JSR Level_CountNotDeadObjs
CPY #$03
BCS PRG005_BC41 ; If there's already at least 3 wooden platforms, jump to PRG005_BC41 (RTS)
JSR Level_SpawnObj ; Spawn new object (Note: If no slots free, does not return)
; ?? ObjectID 0?
LDA #$00
STA Level_ObjectID,X
LDA RandomN,X
PRG005_BBDF:
AND #$7f
ADD #$40
ADD Level_VertScroll
AND #$e0 ; Locks to 32 pixel grid
ORA #$0f
STA <Temp_Var1 ; Temp_Var1 = 64 + (Random 0 to 127), locked to 32 pixel grid with 15 offset
PHP ; Save process status
; Now comes a lengthy check to make sure that no wooden
; platform appears where another already is (vertically)
LDY #$04
PRG005_BBF1:
LDA Objects_State,Y
BEQ PRG005_BC11 ; If this object slot is "dead/empty", jump to PRG005_BC11
LDA Level_ObjectID,Y
CMP #OBJ_WOODENPLATFORM
BNE PRG005_BC11 ; If this object slot is a OBJ_WOODENPLATFORM, jump to PRG005_BC11
; This check specifically prevents two platforms from appearing in the same place
LDA Objects_Y,Y
CMP <Temp_Var1
BNE PRG005_BC11 ; If this object slot's Y position does not match what we generated, jump to PRG005_BC11
; Random + $30
LDA RandomN,X
ADD #$30
STA RandomN,X
PLP ; Restore process status
JMP PRG005_BBDF ; Jump to PRG005_BBDF
PRG005_BC11:
DEY ; Y--
BPL PRG005_BBF1 ; While Y >= 0, loop!
; Y coordinate checks out, assign!
LDA <Temp_Var1
STA <Objects_Y,X
PLP ; Restore process status
LDA <Vert_Scroll_Hi
ADC #$00
STA <Objects_YHi,X
; Set X coordinate
LDA <Horz_Scroll
ADD #$ff
STA <Objects_X,X
LDA <Horz_Scroll_Hi
ADC #$00
STA <Objects_XHi,X
; Set X velocity
LDA RandomN,X
AND #$03
TAY ; Y = random 0 to 3
LDA WoodenPlatform_XVel,Y
STA <Objects_XVel,X
; Force palette 3
LDA #SPR_PAL3
STA Objects_SprAttr,X
; Set wooden platform ID at last
LDA #OBJ_WOODENPLATFORM
STA Level_ObjectID,X
PRG005_BC41:
RTS ; Return
FloatingCloud_Var5: .byte $00, $01, $02, $01
FloatingCloud_XVel: .byte $10, $12, $14, $12
LevelEvent_CloudsinBG:
LDA Level_NoStopCnt
AND #$03
BNE PRG005_BCA2
INC LevelEvent_Cnt
LDA LevelEvent_Cnt
CMP #$c0
BNE PRG005_BCA2 ; Only do something every 768 ticks
LDA #$00
STA LevelEvent_Cnt ; LevelEvent_Cnt = 0
LDA #OBJ_FLOATINGBGCLOUD
JSR Level_CountNotDeadObjs
CPY #$02
BGE PRG005_BCA2 ; If there at least 2 clouds already, jump to PRG005_BCA2
JSR Level_SpawnObj ; Spawn new object (Note: If no slots free, does not return)
; Store floating cloud's ID
LDA #OBJ_FLOATINGBGCLOUD
STA Level_ObjectID,X
; Set floating cloud's Y position (screen scroll + 48 + (Random 0 to 127))
LDA RandomN,X
AND #$7f
ADD #$30
ADD Level_VertScroll
STA <Objects_Y,X
LDA <Vert_Scroll_Hi
ADC #$00
STA <Objects_YHi,X
; Set starting X position
LDA <Horz_Scroll
SUB #$20
STA <Objects_X,X
LDA <Horz_Scroll_Hi
SBC #$00
STA <Objects_XHi,X
LDA RandomN,X
AND #$03
TAY ; Y = random 0 to 3
; Var 5 = FloatingCloud_Var5[Y]
LDA FloatingCloud_Var5,Y
STA <Objects_Var5,X
; Set cloud's X velocity
LDA FloatingCloud_XVel,Y
STA <Objects_XVel,X
PRG005_BCA2:
RTS ; Return
LevelEvent_TreasureBox:
; Used as delay until collected box kicks back to map
LDY LevelEvent_Cnt
BEQ PRG005_BCB6 ; If LevelEvent_Cnt = 0, jump to PRG005_BCB6
DEC LevelEvent_Cnt ; LevelEvent_Cnt--
BNE PRG005_BCB5 ; If LevelEvent_Cnt <> 0, jump to PRG005_BCB5 (RTS)
; Exit to map
INC Level_ExitToMap
LDA #$00
STA Map_ReturnStatus
PRG005_BCB5:
RTS ; Return
PRG005_BCB6:
; The following loop limits the appearance of the treasure box
; to only when there's no objects...
LDY #$07 ; Y = 7
PRG005_BCB8:
LDA SpecialObj_ID,Y
BNE PRG005_BCF4 ; If special object slot <> 0 (dead/empty), jump to PRG005_BCF4 (RTS)
CPY #$05
BGE PRG005_BCCD ; If Y >= 5, jump to PRG005_BCCD
LDA Level_ObjectID,Y
CMP #OBJ_GIANTBLOCKCTL
BEQ PRG005_BCCD ; If object ID = OBJ_GIANTBLOCKCTL (the Giant World block controller), jump to PRG005_BCCD
LDA Objects_State,Y
BNE PRG005_BCF4 ; If this object slot is not "dead/empty", jump to PRG005_BCF4
PRG005_BCCD:
DEY ; Y--
BPL PRG005_BCB8 ; While Y >= 0, loop!
; Set treasure box state to Init
LDA #OBJSTATE_INIT
STA Objects_State
; Set treasure box ID
LDA #OBJ_TREASUREBOX
STA Level_ObjectID
; Treasure box always appears at Y coordinate $0170
LDA #$01
STA <Objects_YHi
LDA #$70
STA <Objects_Y
; Treasure box attempts to appear roughly at left quarter of screen
LDA #$30
LDY <Player_X
BMI PRG005_BCEA
LDA #$c0
PRG005_BCEA:
ADC <Horz_Scroll
STA <Objects_X
LDA <Horz_Scroll_Hi
ADC #$00
STA <Objects_XHi
PRG005_BCF4:
RTS ; Return
; Random X Offsets employed by the jumping
; Cheep Cheeps; may negate sign!
CheepCheep_RandomXs:
.byte $10, $18, $20, $28
; Random X Velocities employed by the jumping
; Cheep Cheeps; may negate sign!
CheepCheep_RandomXVels:
.byte $18, $1A, $1C, $1E
LevelEvent_CheepCheep:
LDA Level_NoStopCnt
AND #$1f ; Cap 0 - 31
BNE PRG005_BD53 ; If not zero, jump to PRG005_BD53 (RTS)
LDA #OBJ_JUMPINGCHEEPCHEEP
JSR Level_CountNotDeadObjs
CPY #$03
BGE PRG005_BD53 ; If there are already at least 3 Jumping Cheep Cheeps, jump to PRG005_BD53 (RT)S
JSR Level_SpawnObj ; Spawn new object (Note: If no slots free, does not return)
; Set the Cheep Cheep's object ID
LDA #OBJ_JUMPINGCHEEPCHEEP
STA Level_ObjectID,X
; Set Cheep Cheep's Y at bottom of screen
LDA Level_VertScroll
ADD #$c0
STA <Objects_Y,X
LDA <Vert_Scroll_Hi
ADC #$00
STA <Objects_YHi,X
LDA RandomN,X ; Get random number
PHP ; Save process status
PHP ; Save process status
AND #$03 ; Cap 0 - 3
TAY ; -> 'Y'
LDA CheepCheep_RandomXs,Y ; Get one of the random X offset
PLP ; Restore process status
BPL PRG005_BD33 ; If random number was positive, jump to PRG005_BD33
EOR #$ff ; Otherwise, negate (sort of)
PRG005_BD33:
ADD <Horz_Scroll ; Horz_Scroll + X offset
STA <Objects_X,X ; Store as object's X
; Apply carry as needed
LDA <Horz_Scroll_Hi
ADC #$00
STA <Objects_XHi,X
LDA RandomN+2,X ; Get another random number
AND #$03 ; Cap 0 - 3
TAY ; -> 'Y'
LDA CheepCheep_RandomXVels,Y ; Get one of the random X velocities
PLP ; Restore process status
BPL PRG005_BD4D ; If original random number was positive, jump to PRG005_BD4D
JSR Negate ; Otherwise, negate it!
PRG005_BD4D:
STA <Objects_XVel,X ; Set X velocity
LDA #-$48
STA <Objects_YVel,X ; Set Y velocity = -$48
PRG005_BD53:
RTS ; Return
; The Spike Cheeps appear on the left or right side of the screen (respective)
; And thus travel to the right or the left (respective again)
SpikeCheepX: .byte 0, 255
SpikeCheepXVel: .byte 8, -16
LevelEvent_SpikeCheep:
INC LevelEvent_Cnt ; LevelEvent_Cnt++
LDA LevelEvent_Cnt
CMP #$aa
BNE PRG005_BDB0 ; If LevelEvent_Cnt <> $AA, jump to PRG005_BDB0 (RTS)
LDA #$00
STA LevelEvent_Cnt ; Reset LevelEvent_Cnt
LDX #$02 ; X = 2 (only spawning Spike Cheeps in slots 0 - 2)
JSR Level_SpawnObjSetMax ; Spawn new object (Note: If no slots free, does not return)
; Set Spike Cheep's object ID
LDA #OBJ_GREENCHEEP
STA Level_ObjectID,X
LDA RandomN,X ; Get a random number
AND #$01 ; Random 0 or 1
TAY ; -> 'Y'
; Set Spike Cheep's X
LDA <Horz_Scroll
ADD SpikeCheepX,Y ; Start on left or right of screen
STA <Objects_X,X
LDA <Horz_Scroll_Hi
ADC #$00
STA <Objects_XHi,X
LDA SpikeCheepXVel,Y ; Get matching X velocity
LDY Level_AScrlConfig
BEQ PRG005_BD91 ; If auto scroll is not in effect , jump to PRG005_BD91
ADD Level_AScrlHVel ; Otherwise, apply auto scroll's horizontal delta to Spike Cheep's X velocity
PRG005_BD91:
STA <Objects_XVel,X ; Set X velocity
; Set Spike Cheep's Y
LDA RandomN,X ; Get random number
AND #$f0 ; Keep aligned to 16 pixels
ADC #$20 ; + 32
AND #$7f ; Cap 0 - $7F
ADC Level_VertScroll
STA <Objects_Y,X
LDA Level_VertScrollH
ADC #$00
STA <Objects_YHi,X
LDA #$01
STA Objects_Var1,X ; var 1 = 1
STA Objects_InWater,X ; Object is in water
PRG005_BDB0:
RTS ; Return
ParaBeetle_X: .byte 0, 255
ParaBeetle_XVel: .byte 8, -8
LevelEvent_Parabeetles:
LDA Level_NoStopCnt
AND #$3f
BNE PRG005_BDFF ; Only do anything once every 64 ticks
LDA #OBJ_PARABEETLE
JSR Level_CountNotDeadObjs
CPY #$04
BGE PRG005_BDFF ; If there's already at least 4 parabeetles, jump to PRG005_BDFF (RTS)
JSR Level_SpawnObj ; Spawn new object (Note: If no slots free, does not return)
; Set parabeetle's object ID
LDA #OBJ_PARABEETLE
STA Level_ObjectID,X
LDA RandomN,X
AND #$01
TAY ; Y = random 0 or 1
; Set appropriate starting X position
LDA <Horz_Scroll
ADD ParaBeetle_X,Y
STA <Objects_X,X
LDA <Horz_Scroll_Hi
ADC #$00
STA <Objects_XHi,X
; Set appropriate starting X velocity
LDA ParaBeetle_XVel,Y
LDY RandomN+1,X
BPL PRG005_BDEA
ASL A ; Roughly 50/50 chance that this parabeetle will be twice as fast!
PRG005_BDEA:
STA <Objects_XVel,X
; Set Y position (screen height + 16 + (Random 0 - 127))
LDA RandomN,X
AND #$7f
ADD #$10
ADC Level_VertScroll
STA <Objects_Y,X
LDA <Vert_Scroll_Hi
ADC #$00
STA <Objects_YHi,X
PRG005_BDFF:
RTS ; Return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Level_SpawnObj -- slots 0 - 4
; Level_SpawnObjSetMax -- slots 0 - input X register
;
; This function "spawns" a new object (finds an empty object slot
; from slots 0 - 4 (or custom) and preps it for normal operation.)
; Does not set up X, Y, ID, etc -- this is the responsibility of
; the caller to do so.
; NOTE!! If no slot is free, this function does NOT RETURN TO
; THE CALLER!! So no additional logic checking is necessary.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Level_SpawnObj:
LDX #$04 ; X = 4
Level_SpawnObjSetMax:
LDA Objects_State,X ; Check the state of this object slot
BEQ PRG005_BE26 ; If this object slot is "dead/empty", jump to PRG005_BE26
DEX ; X--
BPL Level_SpawnObjSetMax ; While X >= 0, loop!
; When no slots are open, does not return to caller!
PLA
PLA ; Do not return to caller!!
RTS ; Return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Level_CountNotDeadObjs
;
; This function counts the number of objects that are not in the
; "dead/empty" state in object slots 0 - 4
; It also sets X = SlotIndexBackup
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Level_CountNotDeadObjs:
STA <Temp_Var1 ; Store object ID we're hunting for -> Temp_Var1
LDY #$00 ; Y = 0 (count how many of this object already exist)
LDX #$04 ; X = 4
PRG005_BE13:
LDA Objects_State,X
BEQ PRG005_BE20 ; If this object slot is "dead", jump to PRG005_BE20
LDA Level_ObjectID,X
CMP <Temp_Var1
BNE PRG005_BE20 ; If this object slot does not have the same ID as what was input, jump to PRG005_BE20
INY ; Otherwise, increment count
PRG005_BE20:
DEX ; X--
BPL PRG005_BE13 ; While X >= 0, loop!
LDX <SlotIndexBackup ; X = SlotIndexBackup
RTS ; Return
PRG005_BE26:
JSR Level_PrepareNewObject ; Prepare new object!
LDA #OBJSTATE_NORMAL
STA Objects_State,X ; Objects_State[X] = OBJSTATE_NORMAL (item alive, default state)
RTS ; Return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Level_DoChangeReset
;
; Whenever a new "scene" of a level is entered into, the initial
; screen needs to be set up (clears old objects out, spawns new
; ones in!) This activates only when Level_ChangeReset = 0!
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Level_DoChangeReset:
LDA Level_ChangeReset
BEQ PRG005_BE35 ; If Level_ChangeReset not set, jump to PRG005_BE35
RTS ; Return
PRG005_BE35:
LDY #$09 ; Y = 9
PRG005_BE37:
STA SpecialObj_ID,Y ; Set special object ID to 0
CPY #$08
BGE PRG005_BE41 ; If Y >= 8, jump to PRG005_BE41
STA CannonFire_ID,Y
PRG005_BE41:
CPY #$05
BGE PRG005_BE4B ; If Y >= 5, jump to PRG005_BE4B
; Clear the scores
STA Scores_Value,Y
STA Scores_Counter,Y
PRG005_BE4B:
CPY #$03
BEQ PRG005_BE64 ; If Y = 3, jump to PRG005_BE64
BGE PRG005_BE67 ; If Y > 3, jump to PRG005_BE67
STA Bubble_Cnt,Y ; Clear any water bubbles
STA Splash_Counter,Y ; Clear any water splashes
STA BrickBust_En,Y ; Clear any brick busting effects
CPY #$02
BGE PRG005_BE64 ; If Y >= 2, jump to PRG005_BE64
STA Buffer_Occupied,Y ; Clear the buffer occupation flags
STA PlayerProj_ID,Y ; Clear Player projectiles
PRG005_BE64:
STA CoinPUp_State,Y ; Clear power-up coin state
PRG005_BE67:
DEY ; Y--
BPL PRG005_BE37 ; While Y >= 0, loop
; Clear a bunch of stuff!
STA Player_DebugNoHitFlag
STA EndCard_Flag
STA RotatingColor_Cnt
STA Player_TwisterSpin
STA Level_Vibration
STA Vert_Scroll_Off
STA Player_VibeDisable
STA Level_Event
STA LevelEvent_Cnt
STA Splash_DisTimer
STA Level_ScrollDiffH
STA Level_ScrollDiffV
; Clear Level_ObjectsSpawned (nothing spawned)
LDY #$2f ; Y = $2F
PRG005_BE90:
STA Level_ObjectsSpawned,Y
DEY ; Y--
BPL PRG005_BE90 ; While Y >= 0, loop!
STY Level_ChangeReset
STA Player_PartDetEn
STA Level_ObjIdxStartByScreen
STA Player_InWater
STA Player_UphillFlag
STA AScrlURDiag_WrapState_Copy
STA AScrlURDiag_WrapState
STA Cine_ToadKing
STA Level_AScrlVVel
STA <Temp_Var1
TAX ; X = 0
TAY
INY ; Y = 1
PRG005_BEB6:
CPX #$10
BEQ PRG005_BEFC ; If X = $10, jump to PRG005_BEFC
LDA Level_Objects,Y
CMP #$ff
BEQ PRG005_BEE5 ; If terminator, jump to PRG005_BEE5
LDA Level_7Vertical
PHP ; Save process status
LDA Level_Objects+1,Y ; Get object column
PLP ; Restore process status
BEQ PRG005_BECE ; If level is NOT vertical, jump to PRG005_BECE
LDA Level_Objects+2,Y ; Get object row instead for vertical
PRG005_BECE:
LSR A
LSR A
LSR A
LSR A ; Get appropriate screen offset
STA <Temp_Var2 ; -> Temp_Var2
CPX <Temp_Var2
BNE PRG005_BEE5 ; If X <> screen offset, jump to PRG005_BEE5
INC <Temp_Var1 ; Temp_Var1++
LDA <Temp_Var1
STA Level_ObjIdxStartByScreen+1,X ; Calculated first object index for next screen
INY
INY
INY ; Y += 3 (next object)
JMP PRG005_BEB6 ; Jump to PRG005_BEB6
PRG005_BEE5:
LDA <Temp_Var1
CPX #$0f
BEQ PRG005_BEEE ; If X = $F, jump to PRG005_BEEE
STA Level_ObjIdxStartByScreen+1,X ; Calculated first object index for next screen
PRG005_BEEE:
CMP Level_ObjIdxStartByScreen,X
BNE PRG005_BEF8 ; If Level_ObjIdxStartByScreen[X] <> 0, jump to PRG005_BEF8
LDA #$ff
STA Level_ObjIdxStartByScreen,X ; Level_ObjIdxStartByScreen[X] = $FF (means no objects this screen)
PRG005_BEF8:
INX ; X++
JMP PRG005_BEB6 ; Jump to PRG005_BEB6
; Clear all object states
PRG005_BEFC:
LDX #$07 ; X = 7
PRG005_BEFE:
LDA #OBJSTATE_DEADEMPTY
STA Objects_State,X ; Clear object state
DEX ; X--
BPL PRG005_BEFE ; While X >= 0, loop!
LDA #$4f
STA PatTable_BankSel+5 ; Set sixth pattern table to $4F
LDA Level_TilesetIdx
CMP #$0a
BNE PRG005_BF1C ; If Level_TilesetIdx <> 10 (Giant World), jump to PRG005_BF1C
; Setup object slot 4 for OBJ_GIANTBLOCKCTL
LDA #OBJSTATE_INIT
STA Objects_State+4
LDA #OBJ_GIANTBLOCKCTL
STA Level_ObjectID+4
PRG005_BF1C:
LDA Level_7Vertical
BNE PRG005_BF70 ; If level is vertical, jump to PRG005_BF70
LDA <Horz_Scroll
PHA ; Save Horz_Scroll
LDA LOSBS_LookAhead ; $10
SUB LOSBS_LookAhead+1 ; $10 - $E0 = $30
; Adds $130 to Horz_Scroll/Hi (basically one screen over to the right of the start)
ADD <Horz_Scroll ; Horz_Scroll += $30
AND #$f0 ; Align to grid
STA <Temp_Var14 ; -> Temp_Var14
LDA <Horz_Scroll_Hi
PHA ; Save Horz_Scroll_Hi
ADC LOSBS_LookAheadHi ; Add 1 with carry (LOSBS_LookAheadHi = 1)
STA <Temp_Var15 ; -> Temp_Var15
LDA #$01
STA <Scroll_LastDir ; Scroll_LastDir = 1 (screen last moved left)
; Fake leftward scroll by 16
LDA <Horz_Scroll
SUB #16
STA <Horz_Scroll ; Horz_Scroll -= $10
BCS PRG005_BF49 ; If carry set, jump to PRG005_BF49
DEC <Horz_Scroll_Hi ; Apply carry
; This loop spawns all objects which should be visible at the initial
; screen of the level by pretending to scroll a whole screen's worth
PRG005_BF49:
LDA <Horz_Scroll
ADC #$10
AND #$f0
STA <Horz_Scroll ; Horz_Scroll += $10, aligned to grid
BCC PRG005_BF55 ; If no carry, jump to PRG005_BF55
INC <Horz_Scroll_Hi ; Apply carry
PRG005_BF55:
; Ensures all objects that should appear on the initial screen, will appear
JSR Level_ObjectsSpawnByScroll
JSR Level_ObjectsSpawnByScroll
LDA <Temp_Var15
CMP <Horz_Scroll_Hi
BNE PRG005_BF49 ; If we haven't reached the high target yet, loop
LDA <Temp_Var14
CMP <Horz_Scroll
BNE PRG005_BF49 ; If we haven't reached the low target yet, loop
PLA
STA <Horz_Scroll_Hi ; Restore Horz_Scroll_Hi
PLA
STA <Horz_Scroll ; Restore Horz_Scroll
; Do not return to caller!!
PLA
PLA
RTS ; Return
PRG005_BF70:
; This loop spawns all objects which should be visible at the initial
; screen of the level by pretending to scroll a whole screen's worth
LDA Level_VertScroll
PHA ; Save Level_VertScroll
ADD LOSBSV_LookAhead+1
AND #$f0
STA <Temp_Var14 ; Temp_Var14 = Level_VertScroll + [LOSBSV_LookAhead+1], aligned to nearest row
LDA Level_VertScrollH
PHA ; Save Level_VertScrollH
ADD LOSBSV_LookAheadHi+1
STA <Temp_Var15 ; Temp_Var15 = Level_VertScrollH + [LOSBSV_LookAheadHi+1]
LDA #$00
STA <Scroll_LastDir ; Scroll_LastDir = 0 (screen last moved up)
; Fake upward scroll by one row
LDA Level_VertScroll
SUB #16
STA Level_VertScroll ; Level_VertScroll -= 16
BCS PRG005_BF98 ; If carry set, jump to PRG005_BF98
DEC Level_VertScrollH ; Apply carry
PRG005_BF98:
LDA Level_VertScroll
ADC #16
AND #$f0
STA Level_VertScroll ; Level_VertScroll += 16, aligned to row
BCC PRG005_BFA7 ; If carry clear, jump to PRG005_BFA7
INC Level_VertScrollH ; Apply carry
PRG005_BFA7:
; Ensures all objects that should appear on the initial screen, will appear
JSR Level_ObjectsSpawnByScrollV
JSR Level_ObjectsSpawnByScrollV
LDA <Temp_Var15
CMP Level_VertScrollH
BNE PRG005_BF98 ; If we haven't reached the high target yet, loop
LDA <Temp_Var14
CMP Level_VertScroll
BNE PRG005_BF98 ; If we haven't reached the low target yet, loop
PLA
STA Level_VertScrollH ; Restore Level_VertScrollH
PLA
STA Level_VertScroll ; Restore Level_VertScroll
; Do not return to caller!!
PLA
PLA
RTS ; Return
; Rest of ROM bank was empty...
|
EBOOT.asm | gil-unx/extraction-tools | 0 | 81311 | .PSP
.open "isofiles/EBOOT_DEC.BIN","isofiles/EBOOT_patched.BIN",0x8804000 -0xc0
//textbox line limit char
.org 0x8804d28
li a0,0x29
//speaker y pos
.org 0x8807d04
addiu a1,a2,0xC0
.org 0x8807db8
addiu a0,a0,0x12
//text y pos
.org 0x8809788
addiu a0,a0,0xD0
.org 0x88098c8
nop
.org 0x88098e8
addiu a0,a0,0x15
.org 0x88098f4
addiu a0,a1,0x12
//log textbox line limit char
.org 0x8813b58
li a2,0x29
//other limit
.org 0x08804F54
li a2,0x29
.org 0x08807374
li a2,0x29
.org 0x08813770
li a2,0x29
.org 0x08807434
li a2,0x29
.org 0x088070E8
//checksum always true
.org 0x883b644
li v0,0x1
.org 0x884e154
jal vwf_speaker
.org 0x884e158
nop
.org 0x884e160
nop
.org 0x884e7ec
nop
.org 0x884e7f4
nop
.org 0x884e804
addu a2,a2,a1
.org 0x884e820
jal vwf_text
.org 0x896e514
.func vwf_text
li v0,0x5C
mult s1,v0
mflo a0
addu v0,a0,a1
lbu v0,0x5B(v0)//load width from lt.bin
lbu a0,0x5EB0(s5)
beq a0,zero,Lab1
move a0,v0
lhu a0,0x5ED0(s5)
addu a2,a2,a0
addu a0,a0,v0
Lab1:
sh a0,0x5ED0(s5)
jr ra
move a0,s1
.endfunction
.func vwf_speaker
li v0,0x5C
mult a0,v0
mflo a0
addu v0,a0,a1
lbu v0,0x5B(v0)//load width from lt.bin
beq s3,zero,Lab2
move a0,v0
lhu a0,0x30(s5)
addu a2,a2,a0
addu a0,a0,v0
Lab2:
sh a0,0x30(s5)
jr ra
lhu a0,0x0(s0)
.endfunction
.close |
Mac Installer/Scripts/Software.applescript | olafwrieden/mac-installer | 0 | 2648 | --
-- Software.applescript
-- Mac Installer
--
-- Created by <NAME> on 06/11/17.
-- Copyright © 2018 <NAME>. All rights reserved.
--
script Software
property parent : class "AppDelegate"
-- Copy Installer Files to local 'Shared' user
on copyInstallersToLocal_(args)
try
tell application "Finder" to duplicate folder (item 1 of args as text) to folder (item 2 of args as text) with replacing
end try
end copyInstallersToLocal_
-- Install PKG Apps
on installPKGApps_(args)
try
set installedPKGApps to {}
tell application "Finder"
set allPKGFiles to every file of ((item 1 of args as text) as alias) whose name extension is "pkg"
if allPKGFiles is not {} then
tell me to log ("---- There are " & (count of allPKGFiles) as text) & " PKG files to be installed."
repeat with pkgFile from 1 to count of allPKGFiles
try
set currentPKG to (item pkgFile of allPKGFiles) as text
set installPath to quoted form of (posix path of currentPKG as text)
set mainName to name of (info for currentPKG as alias)
do shell script ("installer -pkg " & installPath & " -target /") with administrator privileges --> Installs PKG
set end of installedPKGApps to mainName as text & return
tell me to log "App Installed: " & mainName as text
end try
end repeat
end if
end tell
log "---- Installation of " & (count of allPKGFiles) & " PKG files completed."
return installedPKGApps as text
on error errorMsg
display dialog errorMsg
return installedPKGApps as text
end try
end installPKGApps_
-- Show Manual Apps to Install
on installAppsManually_(installersDir)
try
set manualInstallDir to installersDir as text & "Manual Installers:"
tell application "Finder"
set totalManualInstallers to count of (files in folder manualInstallDir of desktop whose name extension is "dmg" or name extension is "pkg")
if totalManualInstallers > 0 then
activate (display dialog "For security / licensing reasons " & (totalManualInstallers as integer) & " app(s) need to be installed manually." & return & return & "Click 'Continue' and manually install all apps in the folder." with title "Manual Installers" buttons {"Continue"} default button 1 with icon 1)
open (manualInstallDir)
activate
end if
end tell
end try
end InstallAppsManually_
-- Install DMG Apps
on installDMGApps_(args)
try
set installedDMGApps to {}
tell application "Finder"
set allDMGFiles to every file of (item 1 of args as text as alias) whose name extension is "dmg"
if allDMGFiles is not {} then
tell me to log ("---- There are " & (count of allDMGFiles) as text) & " DMG files to be installed."
repeat with dmgFile from 1 to count of allDMGFiles
try
set mountedDisk to my mountDMG_(item dmgFile of allDMGFiles) --> Mount the DMG
if mountedDisk is missing value then error "Could not mount the disk: " & (item dmgFile of allDMGFiles) as text
set theApp to my getAppFileOnDisk_(mountedDisk) --> Find app file to install
if theApp is missing value then error "Could not find the application to install from disk: " & mountedDisk
move {theApp} to (path to applications folder) with replacing --> Installs DMG
set end of installedDMGApps to mountedDisk as text & return
tell me to log "App Installed: " & mountedDisk as text
my ejectDisk_(mountedDisk) --> Eject the mounted DMG
end try
end repeat
end if
end tell
log "---- Installation of " & (count of allDMGFiles) & " DMG files completed."
return installedDMGApps as text
on error errorMsg
display dialog errorMsg
return installedDMGApps as text
end try
end installDMGApps_
-- Mount a .dmg file
on mountDMG_(dmgPath)
set dmgPOSIXPath to POSIX path of (dmgPath as text)
try
set hdiutilResult to do shell script "/usr/bin/hdiutil attach -noverify " & quoted form of dmgPOSIXPath & " | /usr/bin/awk '/Apple_HFS/'"
set {TID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "Apple_HFS"}
set rawMountPoint to text item 2 of hdiutilResult
set AppleScript's text item delimiters to TID
repeat while character 1 of rawMountPoint is not "/"
set rawMountPoint to text 2 thru -1 of (get rawMountPoint)
end repeat
return rawMountPoint as POSIX file as alias
on error
return missing value
end try
end mountDMG_
-- Return .app Files on Disk
on getAppFileOnDisk_(diskName)
tell application "Finder"
set theApp to {}
try
set theApp to files of (entire contents of disk diskName) whose name extension is "app"
on error errMsg
log errMsg
try
set theApp to first file of (entire contents of disk diskName) whose name extension is "app"
end try
end try
end tell
return {theApp}
end getAppFileOnDisk_
-- Eject Input Disk
on ejectDisk_(diskName)
try
tell application "Finder" to eject disk diskName
end try
end ejectDisk_
end script
|
.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors_sorted.ads | caqg/linux-home | 0 | 8287 | <filename>.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors_sorted.ads<gh_stars>0
-- Abstract :
--
-- A simple bounded sorted vector of definite items, in Spark.
--
-- Copyright (C) 2018 - 2020 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) any later
-- version. This library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-
-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- As a special exception under Section 7 of GPL version 3, you are granted
-- additional permissions described in the GCC Runtime Library Exception,
-- version 3.1, as published by the Free Software Foundation.
pragma License (Modified_GPL);
generic
type Element_Type is private;
with function Element_Compare (Left, Right : in Element_Type) return Compare_Result;
Capacity : in Ada.Containers.Count_Type;
package SAL.Gen_Bounded_Definite_Vectors_Sorted
with Spark_Mode
is
use all type Ada.Containers.Count_Type;
No_Index : constant Base_Peek_Type := 0;
type Vector is private with
Default_Initial_Condition => Last_Index (Vector) = No_Index;
function Length (Container : in Vector) return Ada.Containers.Count_Type with
Post => Length'Result in 0 .. Capacity;
function Is_Full (Container : in Vector) return Boolean with
Post => Is_Full'Result = (Length (Container) = Capacity);
procedure Clear (Container : in out Vector) with
Post => Last_Index (Container) = No_Index;
function First_Index (Container : in Vector) return Peek_Type
is (Peek_Type'First) with
Depends => (First_Index'Result => null, null => Container);
function Last_Index (Container : in Vector) return Base_Peek_Type with
Inline;
function Element (Container : in Vector; Index : in Peek_Type) return Element_Type with
Pre => Index in First_Index (Container) .. Last_Index (Container);
function Is_Sorted (Container : in Vector) return Boolean is
-- See comment on similar Is_Sorted below
(for all I in First_Index (Container) .. Last_Index (Container) - 1 =>
(for all J in I + 1 .. Last_Index (Container) =>
Element_Compare (Element (Container, I), Element (Container, J)) in Less | Equal));
procedure Insert
(Container : in out Vector;
New_Item : in Element_Type;
Ignore_If_Equal : in Boolean := False) with
Pre => Last_Index (Container) < Peek_Type (Capacity),
Post => Is_Sorted (Container) and
(if Ignore_If_Equal then
(Last_Index (Container) = Last_Index (Container'Old) or
Last_Index (Container) = Last_Index (Container'Old) + 1)
else
Last_Index (Container) = Last_Index (Container'Old) + 1);
-- Insert New_Item in sorted position. Items are sorted in increasing
-- order according to Element_Compare. New_Item is inserted after
-- Equal items, unless Ignore_If_Equal is true, in which case
-- New_Item is not inserted.
private
type Array_Type is array (Peek_Type range 1 .. Peek_Type (Capacity)) of aliased Element_Type;
function Is_Sorted (Container : in Array_Type; Last : in Base_Peek_Type) return Boolean
-- This is too hard for gnatprove (in 2019):
-- is (for all I in Container'First .. Last - 1 =>
-- Element_Compare (Container (I), Container (I + 1)) in Less | Equal)
-- This works:
is (for all I in Container'First .. Last - 1 =>
(for all J in I + 1 .. Last =>
Element_Compare (Container (I), Container (J)) in Less | Equal))
with Pre => Last <= Container'Last;
subtype Index_Type is Base_Peek_Type range No_Index .. Base_Peek_Type (Capacity);
-- Helps with proofs
type Vector is record
Elements : Array_Type;
Last : Index_Type := No_Index;
end record with
Type_Invariant => Last <= Elements'Last and Is_Sorted (Vector.Elements, Vector.Last);
pragma Annotate (GNATprove, Intentional, "type ""Vector"" is not fully initialized",
"Only items in Elements with index <= Last are accessed");
end SAL.Gen_Bounded_Definite_Vectors_Sorted;
|
C5515_Support_Files/C5515_Lib/dsplib_2.40.00/twiddle/twid2048.asm | HeroSizy/Sizy | 0 | 244726 | <filename>C5515_Support_Files/C5515_Lib/dsplib_2.40.00/twiddle/twid2048.asm<gh_stars>0
;***********************************************************
; Version 2.30.00
;***********************************************************
.def twiddle
.sect ".data:twiddle"
twiddle:
.word 32767 ;[ 0 ]
.word 0 ;[ 0 ]
.word -1 ;[ 512 ]
.word 32766 ;[ 512 ]
.word 23169 ;[ 256 ]
.word 23169 ;[ 256 ]
.word -23170 ;[ 768 ]
.word 23169 ;[ 768 ]
.word 30272 ;[ 128 ]
.word 12539 ;[ 128 ]
.word -12540 ;[ 640 ]
.word 30272 ;[ 640 ]
.word 12539 ;[ 384 ]
.word 30272 ;[ 384 ]
.word -30273 ;[ 896 ]
.word 12539 ;[ 896 ]
.word 32137 ;[ 64 ]
.word 6392 ;[ 64 ]
.word -6393 ;[ 576 ]
.word 32137 ;[ 576 ]
.word 18204 ;[ 320 ]
.word 27244 ;[ 320 ]
.word -27245 ;[ 832 ]
.word 18204 ;[ 832 ]
.word 27244 ;[ 192 ]
.word 18204 ;[ 192 ]
.word -18205 ;[ 704 ]
.word 27244 ;[ 704 ]
.word 6392 ;[ 448 ]
.word 32137 ;[ 448 ]
.word -32138 ;[ 960 ]
.word 6392 ;[ 960 ]
.word 32609 ;[ 32 ]
.word 3211 ;[ 32 ]
.word -3212 ;[ 544 ]
.word 32609 ;[ 544 ]
.word 20787 ;[ 288 ]
.word 25329 ;[ 288 ]
.word -25330 ;[ 800 ]
.word 20787 ;[ 800 ]
.word 28897 ;[ 160 ]
.word 15446 ;[ 160 ]
.word -15447 ;[ 672 ]
.word 28897 ;[ 672 ]
.word 9511 ;[ 416 ]
.word 31356 ;[ 416 ]
.word -31357 ;[ 928 ]
.word 9511 ;[ 928 ]
.word 31356 ;[ 96 ]
.word 9511 ;[ 96 ]
.word -9512 ;[ 608 ]
.word 31356 ;[ 608 ]
.word 15446 ;[ 352 ]
.word 28897 ;[ 352 ]
.word -28898 ;[ 864 ]
.word 15446 ;[ 864 ]
.word 25329 ;[ 224 ]
.word 20787 ;[ 224 ]
.word -20788 ;[ 736 ]
.word 25329 ;[ 736 ]
.word 3211 ;[ 480 ]
.word 32609 ;[ 480 ]
.word -32610 ;[ 992 ]
.word 3211 ;[ 992 ]
.word 32727 ;[ 16 ]
.word 1607 ;[ 16 ]
.word -1608 ;[ 528 ]
.word 32727 ;[ 528 ]
.word 22004 ;[ 272 ]
.word 24278 ;[ 272 ]
.word -24279 ;[ 784 ]
.word 22004 ;[ 784 ]
.word 29621 ;[ 144 ]
.word 14009 ;[ 144 ]
.word -14010 ;[ 656 ]
.word 29621 ;[ 656 ]
.word 11038 ;[ 400 ]
.word 30851 ;[ 400 ]
.word -30852 ;[ 912 ]
.word 11038 ;[ 912 ]
.word 31785 ;[ 80 ]
.word 7961 ;[ 80 ]
.word -7962 ;[ 592 ]
.word 31785 ;[ 592 ]
.word 16845 ;[ 336 ]
.word 28105 ;[ 336 ]
.word -28106 ;[ 848 ]
.word 16845 ;[ 848 ]
.word 26318 ;[ 208 ]
.word 19519 ;[ 208 ]
.word -19520 ;[ 720 ]
.word 26318 ;[ 720 ]
.word 4807 ;[ 464 ]
.word 32412 ;[ 464 ]
.word -32413 ;[ 976 ]
.word 4807 ;[ 976 ]
.word 32412 ;[ 48 ]
.word 4807 ;[ 48 ]
.word -4808 ;[ 560 ]
.word 32412 ;[ 560 ]
.word 19519 ;[ 304 ]
.word 26318 ;[ 304 ]
.word -26319 ;[ 816 ]
.word 19519 ;[ 816 ]
.word 28105 ;[ 176 ]
.word 16845 ;[ 176 ]
.word -16846 ;[ 688 ]
.word 28105 ;[ 688 ]
.word 7961 ;[ 432 ]
.word 31785 ;[ 432 ]
.word -31786 ;[ 944 ]
.word 7961 ;[ 944 ]
.word 30851 ;[ 112 ]
.word 11038 ;[ 112 ]
.word -11039 ;[ 624 ]
.word 30851 ;[ 624 ]
.word 14009 ;[ 368 ]
.word 29621 ;[ 368 ]
.word -29622 ;[ 880 ]
.word 14009 ;[ 880 ]
.word 24278 ;[ 240 ]
.word 22004 ;[ 240 ]
.word -22005 ;[ 752 ]
.word 24278 ;[ 752 ]
.word 1607 ;[ 496 ]
.word 32727 ;[ 496 ]
.word -32728 ;[ 1008 ]
.word 1607 ;[ 1008 ]
.word 32757 ;[ 8 ]
.word 804 ;[ 8 ]
.word -805 ;[ 520 ]
.word 32757 ;[ 520 ]
.word 22594 ;[ 264 ]
.word 23731 ;[ 264 ]
.word -23732 ;[ 776 ]
.word 22594 ;[ 776 ]
.word 29955 ;[ 136 ]
.word 13278 ;[ 136 ]
.word -13279 ;[ 648 ]
.word 29955 ;[ 648 ]
.word 11792 ;[ 392 ]
.word 30571 ;[ 392 ]
.word -30572 ;[ 904 ]
.word 11792 ;[ 904 ]
.word 31970 ;[ 72 ]
.word 7179 ;[ 72 ]
.word -7180 ;[ 584 ]
.word 31970 ;[ 584 ]
.word 17530 ;[ 328 ]
.word 27683 ;[ 328 ]
.word -27684 ;[ 840 ]
.word 17530 ;[ 840 ]
.word 26789 ;[ 200 ]
.word 18867 ;[ 200 ]
.word -18868 ;[ 712 ]
.word 26789 ;[ 712 ]
.word 5601 ;[ 456 ]
.word 32284 ;[ 456 ]
.word -32285 ;[ 968 ]
.word 5601 ;[ 968 ]
.word 32520 ;[ 40 ]
.word 4011 ;[ 40 ]
.word -4012 ;[ 552 ]
.word 32520 ;[ 552 ]
.word 20159 ;[ 296 ]
.word 25831 ;[ 296 ]
.word -25832 ;[ 808 ]
.word 20159 ;[ 808 ]
.word 28510 ;[ 168 ]
.word 16150 ;[ 168 ]
.word -16151 ;[ 680 ]
.word 28510 ;[ 680 ]
.word 8739 ;[ 424 ]
.word 31580 ;[ 424 ]
.word -31581 ;[ 936 ]
.word 8739 ;[ 936 ]
.word 31113 ;[ 104 ]
.word 10278 ;[ 104 ]
.word -10279 ;[ 616 ]
.word 31113 ;[ 616 ]
.word 14732 ;[ 360 ]
.word 29268 ;[ 360 ]
.word -29269 ;[ 872 ]
.word 14732 ;[ 872 ]
.word 24811 ;[ 232 ]
.word 21402 ;[ 232 ]
.word -21403 ;[ 744 ]
.word 24811 ;[ 744 ]
.word 2410 ;[ 488 ]
.word 32678 ;[ 488 ]
.word -32679 ;[ 1000 ]
.word 2410 ;[ 1000 ]
.word 32678 ;[ 24 ]
.word 2410 ;[ 24 ]
.word -2411 ;[ 536 ]
.word 32678 ;[ 536 ]
.word 21402 ;[ 280 ]
.word 24811 ;[ 280 ]
.word -24812 ;[ 792 ]
.word 21402 ;[ 792 ]
.word 29268 ;[ 152 ]
.word 14732 ;[ 152 ]
.word -14733 ;[ 664 ]
.word 29268 ;[ 664 ]
.word 10278 ;[ 408 ]
.word 31113 ;[ 408 ]
.word -31114 ;[ 920 ]
.word 10278 ;[ 920 ]
.word 31580 ;[ 88 ]
.word 8739 ;[ 88 ]
.word -8740 ;[ 600 ]
.word 31580 ;[ 600 ]
.word 16150 ;[ 344 ]
.word 28510 ;[ 344 ]
.word -28511 ;[ 856 ]
.word 16150 ;[ 856 ]
.word 25831 ;[ 216 ]
.word 20159 ;[ 216 ]
.word -20160 ;[ 728 ]
.word 25831 ;[ 728 ]
.word 4011 ;[ 472 ]
.word 32520 ;[ 472 ]
.word -32521 ;[ 984 ]
.word 4011 ;[ 984 ]
.word 32284 ;[ 56 ]
.word 5601 ;[ 56 ]
.word -5602 ;[ 568 ]
.word 32284 ;[ 568 ]
.word 18867 ;[ 312 ]
.word 26789 ;[ 312 ]
.word -26790 ;[ 824 ]
.word 18867 ;[ 824 ]
.word 27683 ;[ 184 ]
.word 17530 ;[ 184 ]
.word -17531 ;[ 696 ]
.word 27683 ;[ 696 ]
.word 7179 ;[ 440 ]
.word 31970 ;[ 440 ]
.word -31971 ;[ 952 ]
.word 7179 ;[ 952 ]
.word 30571 ;[ 120 ]
.word 11792 ;[ 120 ]
.word -11793 ;[ 632 ]
.word 30571 ;[ 632 ]
.word 13278 ;[ 376 ]
.word 29955 ;[ 376 ]
.word -29956 ;[ 888 ]
.word 13278 ;[ 888 ]
.word 23731 ;[ 248 ]
.word 22594 ;[ 248 ]
.word -22595 ;[ 760 ]
.word 23731 ;[ 760 ]
.word 804 ;[ 504 ]
.word 32757 ;[ 504 ]
.word -32758 ;[ 1016 ]
.word 804 ;[ 1016 ]
.word 32764 ;[ 4 ]
.word 402 ;[ 4 ]
.word -403 ;[ 516 ]
.word 32764 ;[ 516 ]
.word 22883 ;[ 260 ]
.word 23452 ;[ 260 ]
.word -23453 ;[ 772 ]
.word 22883 ;[ 772 ]
.word 30116 ;[ 132 ]
.word 12909 ;[ 132 ]
.word -12910 ;[ 644 ]
.word 30116 ;[ 644 ]
.word 12166 ;[ 388 ]
.word 30424 ;[ 388 ]
.word -30425 ;[ 900 ]
.word 12166 ;[ 900 ]
.word 32056 ;[ 68 ]
.word 6786 ;[ 68 ]
.word -6787 ;[ 580 ]
.word 32056 ;[ 580 ]
.word 17868 ;[ 324 ]
.word 27466 ;[ 324 ]
.word -27467 ;[ 836 ]
.word 17868 ;[ 836 ]
.word 27019 ;[ 196 ]
.word 18537 ;[ 196 ]
.word -18538 ;[ 708 ]
.word 27019 ;[ 708 ]
.word 5997 ;[ 452 ]
.word 32213 ;[ 452 ]
.word -32214 ;[ 964 ]
.word 5997 ;[ 964 ]
.word 32567 ;[ 36 ]
.word 3611 ;[ 36 ]
.word -3612 ;[ 548 ]
.word 32567 ;[ 548 ]
.word 20474 ;[ 292 ]
.word 25582 ;[ 292 ]
.word -25583 ;[ 804 ]
.word 20474 ;[ 804 ]
.word 28706 ;[ 164 ]
.word 15799 ;[ 164 ]
.word -15800 ;[ 676 ]
.word 28706 ;[ 676 ]
.word 9126 ;[ 420 ]
.word 31470 ;[ 420 ]
.word -31471 ;[ 932 ]
.word 9126 ;[ 932 ]
.word 31236 ;[ 100 ]
.word 9895 ;[ 100 ]
.word -9896 ;[ 612 ]
.word 31236 ;[ 612 ]
.word 15090 ;[ 356 ]
.word 29085 ;[ 356 ]
.word -29086 ;[ 868 ]
.word 15090 ;[ 868 ]
.word 25072 ;[ 228 ]
.word 21096 ;[ 228 ]
.word -21097 ;[ 740 ]
.word 25072 ;[ 740 ]
.word 2811 ;[ 484 ]
.word 32646 ;[ 484 ]
.word -32647 ;[ 996 ]
.word 2811 ;[ 996 ]
.word 32705 ;[ 20 ]
.word 2009 ;[ 20 ]
.word -2010 ;[ 532 ]
.word 32705 ;[ 532 ]
.word 21705 ;[ 276 ]
.word 24546 ;[ 276 ]
.word -24547 ;[ 788 ]
.word 21705 ;[ 788 ]
.word 29446 ;[ 148 ]
.word 14372 ;[ 148 ]
.word -14373 ;[ 660 ]
.word 29446 ;[ 660 ]
.word 10659 ;[ 404 ]
.word 30984 ;[ 404 ]
.word -30985 ;[ 916 ]
.word 10659 ;[ 916 ]
.word 31684 ;[ 84 ]
.word 8351 ;[ 84 ]
.word -8352 ;[ 596 ]
.word 31684 ;[ 596 ]
.word 16499 ;[ 340 ]
.word 28309 ;[ 340 ]
.word -28310 ;[ 852 ]
.word 16499 ;[ 852 ]
.word 26077 ;[ 212 ]
.word 19840 ;[ 212 ]
.word -19841 ;[ 724 ]
.word 26077 ;[ 724 ]
.word 4409 ;[ 468 ]
.word 32468 ;[ 468 ]
.word -32469 ;[ 980 ]
.word 4409 ;[ 980 ]
.word 32350 ;[ 52 ]
.word 5205 ;[ 52 ]
.word -5206 ;[ 564 ]
.word 32350 ;[ 564 ]
.word 19194 ;[ 308 ]
.word 26556 ;[ 308 ]
.word -26557 ;[ 820 ]
.word 19194 ;[ 820 ]
.word 27896 ;[ 180 ]
.word 17189 ;[ 180 ]
.word -17190 ;[ 692 ]
.word 27896 ;[ 692 ]
.word 7571 ;[ 436 ]
.word 31880 ;[ 436 ]
.word -31881 ;[ 948 ]
.word 7571 ;[ 948 ]
.word 30713 ;[ 116 ]
.word 11416 ;[ 116 ]
.word -11417 ;[ 628 ]
.word 30713 ;[ 628 ]
.word 13645 ;[ 372 ]
.word 29790 ;[ 372 ]
.word -29791 ;[ 884 ]
.word 13645 ;[ 884 ]
.word 24006 ;[ 244 ]
.word 22301 ;[ 244 ]
.word -22302 ;[ 756 ]
.word 24006 ;[ 756 ]
.word 1206 ;[ 500 ]
.word 32744 ;[ 500 ]
.word -32745 ;[ 1012 ]
.word 1206 ;[ 1012 ]
.word 32744 ;[ 12 ]
.word 1206 ;[ 12 ]
.word -1207 ;[ 524 ]
.word 32744 ;[ 524 ]
.word 22301 ;[ 268 ]
.word 24006 ;[ 268 ]
.word -24007 ;[ 780 ]
.word 22301 ;[ 780 ]
.word 29790 ;[ 140 ]
.word 13645 ;[ 140 ]
.word -13646 ;[ 652 ]
.word 29790 ;[ 652 ]
.word 11416 ;[ 396 ]
.word 30713 ;[ 396 ]
.word -30714 ;[ 908 ]
.word 11416 ;[ 908 ]
.word 31880 ;[ 76 ]
.word 7571 ;[ 76 ]
.word -7572 ;[ 588 ]
.word 31880 ;[ 588 ]
.word 17189 ;[ 332 ]
.word 27896 ;[ 332 ]
.word -27897 ;[ 844 ]
.word 17189 ;[ 844 ]
.word 26556 ;[ 204 ]
.word 19194 ;[ 204 ]
.word -19195 ;[ 716 ]
.word 26556 ;[ 716 ]
.word 5205 ;[ 460 ]
.word 32350 ;[ 460 ]
.word -32351 ;[ 972 ]
.word 5205 ;[ 972 ]
.word 32468 ;[ 44 ]
.word 4409 ;[ 44 ]
.word -4410 ;[ 556 ]
.word 32468 ;[ 556 ]
.word 19840 ;[ 300 ]
.word 26077 ;[ 300 ]
.word -26078 ;[ 812 ]
.word 19840 ;[ 812 ]
.word 28309 ;[ 172 ]
.word 16499 ;[ 172 ]
.word -16500 ;[ 684 ]
.word 28309 ;[ 684 ]
.word 8351 ;[ 428 ]
.word 31684 ;[ 428 ]
.word -31685 ;[ 940 ]
.word 8351 ;[ 940 ]
.word 30984 ;[ 108 ]
.word 10659 ;[ 108 ]
.word -10660 ;[ 620 ]
.word 30984 ;[ 620 ]
.word 14372 ;[ 364 ]
.word 29446 ;[ 364 ]
.word -29447 ;[ 876 ]
.word 14372 ;[ 876 ]
.word 24546 ;[ 236 ]
.word 21705 ;[ 236 ]
.word -21706 ;[ 748 ]
.word 24546 ;[ 748 ]
.word 2009 ;[ 492 ]
.word 32705 ;[ 492 ]
.word -32706 ;[ 1004 ]
.word 2009 ;[ 1004 ]
.word 32646 ;[ 28 ]
.word 2811 ;[ 28 ]
.word -2812 ;[ 540 ]
.word 32646 ;[ 540 ]
.word 21096 ;[ 284 ]
.word 25072 ;[ 284 ]
.word -25073 ;[ 796 ]
.word 21096 ;[ 796 ]
.word 29085 ;[ 156 ]
.word 15090 ;[ 156 ]
.word -15091 ;[ 668 ]
.word 29085 ;[ 668 ]
.word 9895 ;[ 412 ]
.word 31236 ;[ 412 ]
.word -31237 ;[ 924 ]
.word 9895 ;[ 924 ]
.word 31470 ;[ 92 ]
.word 9126 ;[ 92 ]
.word -9127 ;[ 604 ]
.word 31470 ;[ 604 ]
.word 15799 ;[ 348 ]
.word 28706 ;[ 348 ]
.word -28707 ;[ 860 ]
.word 15799 ;[ 860 ]
.word 25582 ;[ 220 ]
.word 20474 ;[ 220 ]
.word -20475 ;[ 732 ]
.word 25582 ;[ 732 ]
.word 3611 ;[ 476 ]
.word 32567 ;[ 476 ]
.word -32568 ;[ 988 ]
.word 3611 ;[ 988 ]
.word 32213 ;[ 60 ]
.word 5997 ;[ 60 ]
.word -5998 ;[ 572 ]
.word 32213 ;[ 572 ]
.word 18537 ;[ 316 ]
.word 27019 ;[ 316 ]
.word -27020 ;[ 828 ]
.word 18537 ;[ 828 ]
.word 27466 ;[ 188 ]
.word 17868 ;[ 188 ]
.word -17869 ;[ 700 ]
.word 27466 ;[ 700 ]
.word 6786 ;[ 444 ]
.word 32056 ;[ 444 ]
.word -32057 ;[ 956 ]
.word 6786 ;[ 956 ]
.word 30424 ;[ 124 ]
.word 12166 ;[ 124 ]
.word -12167 ;[ 636 ]
.word 30424 ;[ 636 ]
.word 12909 ;[ 380 ]
.word 30116 ;[ 380 ]
.word -30117 ;[ 892 ]
.word 12909 ;[ 892 ]
.word 23452 ;[ 252 ]
.word 22883 ;[ 252 ]
.word -22884 ;[ 764 ]
.word 23452 ;[ 764 ]
.word 402 ;[ 508 ]
.word 32764 ;[ 508 ]
.word -32765 ;[ 1020 ]
.word 402 ;[ 1020 ]
.word 32766 ;[ 2 ]
.word 201 ;[ 2 ]
.word -202 ;[ 514 ]
.word 32766 ;[ 514 ]
.word 23027 ;[ 258 ]
.word 23311 ;[ 258 ]
.word -23312 ;[ 770 ]
.word 23027 ;[ 770 ]
.word 30195 ;[ 130 ]
.word 12724 ;[ 130 ]
.word -12725 ;[ 642 ]
.word 30195 ;[ 642 ]
.word 12353 ;[ 386 ]
.word 30349 ;[ 386 ]
.word -30350 ;[ 898 ]
.word 12353 ;[ 898 ]
.word 32097 ;[ 66 ]
.word 6589 ;[ 66 ]
.word -6590 ;[ 578 ]
.word 32097 ;[ 578 ]
.word 18036 ;[ 322 ]
.word 27355 ;[ 322 ]
.word -27356 ;[ 834 ]
.word 18036 ;[ 834 ]
.word 27132 ;[ 194 ]
.word 18371 ;[ 194 ]
.word -18372 ;[ 706 ]
.word 27132 ;[ 706 ]
.word 6195 ;[ 450 ]
.word 32176 ;[ 450 ]
.word -32177 ;[ 962 ]
.word 6195 ;[ 962 ]
.word 32588 ;[ 34 ]
.word 3411 ;[ 34 ]
.word -3412 ;[ 546 ]
.word 32588 ;[ 546 ]
.word 20631 ;[ 290 ]
.word 25456 ;[ 290 ]
.word -25457 ;[ 802 ]
.word 20631 ;[ 802 ]
.word 28802 ;[ 162 ]
.word 15623 ;[ 162 ]
.word -15624 ;[ 674 ]
.word 28802 ;[ 674 ]
.word 9319 ;[ 418 ]
.word 31413 ;[ 418 ]
.word -31414 ;[ 930 ]
.word 9319 ;[ 930 ]
.word 31297 ;[ 98 ]
.word 9703 ;[ 98 ]
.word -9704 ;[ 610 ]
.word 31297 ;[ 610 ]
.word 15268 ;[ 354 ]
.word 28992 ;[ 354 ]
.word -28993 ;[ 866 ]
.word 15268 ;[ 866 ]
.word 25201 ;[ 226 ]
.word 20942 ;[ 226 ]
.word -20943 ;[ 738 ]
.word 25201 ;[ 738 ]
.word 3011 ;[ 482 ]
.word 32628 ;[ 482 ]
.word -32629 ;[ 994 ]
.word 3011 ;[ 994 ]
.word 32717 ;[ 18 ]
.word 1808 ;[ 18 ]
.word -1809 ;[ 530 ]
.word 32717 ;[ 530 ]
.word 21855 ;[ 274 ]
.word 24413 ;[ 274 ]
.word -24414 ;[ 786 ]
.word 21855 ;[ 786 ]
.word 29534 ;[ 146 ]
.word 14191 ;[ 146 ]
.word -14192 ;[ 658 ]
.word 29534 ;[ 658 ]
.word 10849 ;[ 402 ]
.word 30918 ;[ 402 ]
.word -30919 ;[ 914 ]
.word 10849 ;[ 914 ]
.word 31735 ;[ 82 ]
.word 8156 ;[ 82 ]
.word -8157 ;[ 594 ]
.word 31735 ;[ 594 ]
.word 16672 ;[ 338 ]
.word 28208 ;[ 338 ]
.word -28209 ;[ 850 ]
.word 16672 ;[ 850 ]
.word 26198 ;[ 210 ]
.word 19680 ;[ 210 ]
.word -19681 ;[ 722 ]
.word 26198 ;[ 722 ]
.word 4608 ;[ 466 ]
.word 32441 ;[ 466 ]
.word -32442 ;[ 978 ]
.word 4608 ;[ 978 ]
.word 32382 ;[ 50 ]
.word 5006 ;[ 50 ]
.word -5007 ;[ 562 ]
.word 32382 ;[ 562 ]
.word 19357 ;[ 306 ]
.word 26437 ;[ 306 ]
.word -26438 ;[ 818 ]
.word 19357 ;[ 818 ]
.word 28001 ;[ 178 ]
.word 17017 ;[ 178 ]
.word -17018 ;[ 690 ]
.word 28001 ;[ 690 ]
.word 7766 ;[ 434 ]
.word 31833 ;[ 434 ]
.word -31834 ;[ 946 ]
.word 7766 ;[ 946 ]
.word 30783 ;[ 114 ]
.word 11227 ;[ 114 ]
.word -11228 ;[ 626 ]
.word 30783 ;[ 626 ]
.word 13827 ;[ 370 ]
.word 29706 ;[ 370 ]
.word -29707 ;[ 882 ]
.word 13827 ;[ 882 ]
.word 24143 ;[ 242 ]
.word 22153 ;[ 242 ]
.word -22154 ;[ 754 ]
.word 24143 ;[ 754 ]
.word 1406 ;[ 498 ]
.word 32736 ;[ 498 ]
.word -32737 ;[ 1010 ]
.word 1406 ;[ 1010 ]
.word 32751 ;[ 10 ]
.word 1005 ;[ 10 ]
.word -1006 ;[ 522 ]
.word 32751 ;[ 522 ]
.word 22448 ;[ 266 ]
.word 23869 ;[ 266 ]
.word -23870 ;[ 778 ]
.word 22448 ;[ 778 ]
.word 29873 ;[ 138 ]
.word 13462 ;[ 138 ]
.word -13463 ;[ 650 ]
.word 29873 ;[ 650 ]
.word 11604 ;[ 394 ]
.word 30643 ;[ 394 ]
.word -30644 ;[ 906 ]
.word 11604 ;[ 906 ]
.word 31926 ;[ 74 ]
.word 7375 ;[ 74 ]
.word -7376 ;[ 586 ]
.word 31926 ;[ 586 ]
.word 17360 ;[ 330 ]
.word 27790 ;[ 330 ]
.word -27791 ;[ 842 ]
.word 17360 ;[ 842 ]
.word 26673 ;[ 202 ]
.word 19031 ;[ 202 ]
.word -19032 ;[ 714 ]
.word 26673 ;[ 714 ]
.word 5403 ;[ 458 ]
.word 32318 ;[ 458 ]
.word -32319 ;[ 970 ]
.word 5403 ;[ 970 ]
.word 32495 ;[ 42 ]
.word 4210 ;[ 42 ]
.word -4211 ;[ 554 ]
.word 32495 ;[ 554 ]
.word 20000 ;[ 298 ]
.word 25954 ;[ 298 ]
.word -25955 ;[ 810 ]
.word 20000 ;[ 810 ]
.word 28410 ;[ 170 ]
.word 16325 ;[ 170 ]
.word -16326 ;[ 682 ]
.word 28410 ;[ 682 ]
.word 8545 ;[ 426 ]
.word 31633 ;[ 426 ]
.word -31634 ;[ 938 ]
.word 8545 ;[ 938 ]
.word 31049 ;[ 106 ]
.word 10469 ;[ 106 ]
.word -10470 ;[ 618 ]
.word 31049 ;[ 618 ]
.word 14552 ;[ 362 ]
.word 29358 ;[ 362 ]
.word -29359 ;[ 874 ]
.word 14552 ;[ 874 ]
.word 24679 ;[ 234 ]
.word 21554 ;[ 234 ]
.word -21555 ;[ 746 ]
.word 24679 ;[ 746 ]
.word 2209 ;[ 490 ]
.word 32692 ;[ 490 ]
.word -32693 ;[ 1002 ]
.word 2209 ;[ 1002 ]
.word 32662 ;[ 26 ]
.word 2610 ;[ 26 ]
.word -2611 ;[ 538 ]
.word 32662 ;[ 538 ]
.word 21249 ;[ 282 ]
.word 24942 ;[ 282 ]
.word -24943 ;[ 794 ]
.word 21249 ;[ 794 ]
.word 29177 ;[ 154 ]
.word 14911 ;[ 154 ]
.word -14912 ;[ 666 ]
.word 29177 ;[ 666 ]
.word 10087 ;[ 410 ]
.word 31175 ;[ 410 ]
.word -31176 ;[ 922 ]
.word 10087 ;[ 922 ]
.word 31525 ;[ 90 ]
.word 8932 ;[ 90 ]
.word -8933 ;[ 602 ]
.word 31525 ;[ 602 ]
.word 15975 ;[ 346 ]
.word 28608 ;[ 346 ]
.word -28609 ;[ 858 ]
.word 15975 ;[ 858 ]
.word 25707 ;[ 218 ]
.word 20317 ;[ 218 ]
.word -20318 ;[ 730 ]
.word 25707 ;[ 730 ]
.word 3811 ;[ 474 ]
.word 32544 ;[ 474 ]
.word -32545 ;[ 986 ]
.word 3811 ;[ 986 ]
.word 32249 ;[ 58 ]
.word 5799 ;[ 58 ]
.word -5800 ;[ 570 ]
.word 32249 ;[ 570 ]
.word 18702 ;[ 314 ]
.word 26905 ;[ 314 ]
.word -26906 ;[ 826 ]
.word 18702 ;[ 826 ]
.word 27575 ;[ 186 ]
.word 17699 ;[ 186 ]
.word -17700 ;[ 698 ]
.word 27575 ;[ 698 ]
.word 6982 ;[ 442 ]
.word 32014 ;[ 442 ]
.word -32015 ;[ 954 ]
.word 6982 ;[ 954 ]
.word 30498 ;[ 122 ]
.word 11980 ;[ 122 ]
.word -11981 ;[ 634 ]
.word 30498 ;[ 634 ]
.word 13094 ;[ 378 ]
.word 30036 ;[ 378 ]
.word -30037 ;[ 890 ]
.word 13094 ;[ 890 ]
.word 23592 ;[ 250 ]
.word 22739 ;[ 250 ]
.word -22740 ;[ 762 ]
.word 23592 ;[ 762 ]
.word 603 ;[ 506 ]
.word 32761 ;[ 506 ]
.word -32762 ;[ 1018 ]
.word 603 ;[ 1018 ]
.word 32761 ;[ 6 ]
.word 603 ;[ 6 ]
.word -604 ;[ 518 ]
.word 32761 ;[ 518 ]
.word 22739 ;[ 262 ]
.word 23592 ;[ 262 ]
.word -23593 ;[ 774 ]
.word 22739 ;[ 774 ]
.word 30036 ;[ 134 ]
.word 13094 ;[ 134 ]
.word -13095 ;[ 646 ]
.word 30036 ;[ 646 ]
.word 11980 ;[ 390 ]
.word 30498 ;[ 390 ]
.word -30499 ;[ 902 ]
.word 11980 ;[ 902 ]
.word 32014 ;[ 70 ]
.word 6982 ;[ 70 ]
.word -6983 ;[ 582 ]
.word 32014 ;[ 582 ]
.word 17699 ;[ 326 ]
.word 27575 ;[ 326 ]
.word -27576 ;[ 838 ]
.word 17699 ;[ 838 ]
.word 26905 ;[ 198 ]
.word 18702 ;[ 198 ]
.word -18703 ;[ 710 ]
.word 26905 ;[ 710 ]
.word 5799 ;[ 454 ]
.word 32249 ;[ 454 ]
.word -32250 ;[ 966 ]
.word 5799 ;[ 966 ]
.word 32544 ;[ 38 ]
.word 3811 ;[ 38 ]
.word -3812 ;[ 550 ]
.word 32544 ;[ 550 ]
.word 20317 ;[ 294 ]
.word 25707 ;[ 294 ]
.word -25708 ;[ 806 ]
.word 20317 ;[ 806 ]
.word 28608 ;[ 166 ]
.word 15975 ;[ 166 ]
.word -15976 ;[ 678 ]
.word 28608 ;[ 678 ]
.word 8932 ;[ 422 ]
.word 31525 ;[ 422 ]
.word -31526 ;[ 934 ]
.word 8932 ;[ 934 ]
.word 31175 ;[ 102 ]
.word 10087 ;[ 102 ]
.word -10088 ;[ 614 ]
.word 31175 ;[ 614 ]
.word 14911 ;[ 358 ]
.word 29177 ;[ 358 ]
.word -29178 ;[ 870 ]
.word 14911 ;[ 870 ]
.word 24942 ;[ 230 ]
.word 21249 ;[ 230 ]
.word -21250 ;[ 742 ]
.word 24942 ;[ 742 ]
.word 2610 ;[ 486 ]
.word 32662 ;[ 486 ]
.word -32663 ;[ 998 ]
.word 2610 ;[ 998 ]
.word 32692 ;[ 22 ]
.word 2209 ;[ 22 ]
.word -2210 ;[ 534 ]
.word 32692 ;[ 534 ]
.word 21554 ;[ 278 ]
.word 24679 ;[ 278 ]
.word -24680 ;[ 790 ]
.word 21554 ;[ 790 ]
.word 29358 ;[ 150 ]
.word 14552 ;[ 150 ]
.word -14553 ;[ 662 ]
.word 29358 ;[ 662 ]
.word 10469 ;[ 406 ]
.word 31049 ;[ 406 ]
.word -31050 ;[ 918 ]
.word 10469 ;[ 918 ]
.word 31633 ;[ 86 ]
.word 8545 ;[ 86 ]
.word -8546 ;[ 598 ]
.word 31633 ;[ 598 ]
.word 16325 ;[ 342 ]
.word 28410 ;[ 342 ]
.word -28411 ;[ 854 ]
.word 16325 ;[ 854 ]
.word 25954 ;[ 214 ]
.word 20000 ;[ 214 ]
.word -20001 ;[ 726 ]
.word 25954 ;[ 726 ]
.word 4210 ;[ 470 ]
.word 32495 ;[ 470 ]
.word -32496 ;[ 982 ]
.word 4210 ;[ 982 ]
.word 32318 ;[ 54 ]
.word 5403 ;[ 54 ]
.word -5404 ;[ 566 ]
.word 32318 ;[ 566 ]
.word 19031 ;[ 310 ]
.word 26673 ;[ 310 ]
.word -26674 ;[ 822 ]
.word 19031 ;[ 822 ]
.word 27790 ;[ 182 ]
.word 17360 ;[ 182 ]
.word -17361 ;[ 694 ]
.word 27790 ;[ 694 ]
.word 7375 ;[ 438 ]
.word 31926 ;[ 438 ]
.word -31927 ;[ 950 ]
.word 7375 ;[ 950 ]
.word 30643 ;[ 118 ]
.word 11604 ;[ 118 ]
.word -11605 ;[ 630 ]
.word 30643 ;[ 630 ]
.word 13462 ;[ 374 ]
.word 29873 ;[ 374 ]
.word -29874 ;[ 886 ]
.word 13462 ;[ 886 ]
.word 23869 ;[ 246 ]
.word 22448 ;[ 246 ]
.word -22449 ;[ 758 ]
.word 23869 ;[ 758 ]
.word 1005 ;[ 502 ]
.word 32751 ;[ 502 ]
.word -32752 ;[ 1014 ]
.word 1005 ;[ 1014 ]
.word 32736 ;[ 14 ]
.word 1406 ;[ 14 ]
.word -1407 ;[ 526 ]
.word 32736 ;[ 526 ]
.word 22153 ;[ 270 ]
.word 24143 ;[ 270 ]
.word -24144 ;[ 782 ]
.word 22153 ;[ 782 ]
.word 29706 ;[ 142 ]
.word 13827 ;[ 142 ]
.word -13828 ;[ 654 ]
.word 29706 ;[ 654 ]
.word 11227 ;[ 398 ]
.word 30783 ;[ 398 ]
.word -30784 ;[ 910 ]
.word 11227 ;[ 910 ]
.word 31833 ;[ 78 ]
.word 7766 ;[ 78 ]
.word -7767 ;[ 590 ]
.word 31833 ;[ 590 ]
.word 17017 ;[ 334 ]
.word 28001 ;[ 334 ]
.word -28002 ;[ 846 ]
.word 17017 ;[ 846 ]
.word 26437 ;[ 206 ]
.word 19357 ;[ 206 ]
.word -19358 ;[ 718 ]
.word 26437 ;[ 718 ]
.word 5006 ;[ 462 ]
.word 32382 ;[ 462 ]
.word -32383 ;[ 974 ]
.word 5006 ;[ 974 ]
.word 32441 ;[ 46 ]
.word 4608 ;[ 46 ]
.word -4609 ;[ 558 ]
.word 32441 ;[ 558 ]
.word 19680 ;[ 302 ]
.word 26198 ;[ 302 ]
.word -26199 ;[ 814 ]
.word 19680 ;[ 814 ]
.word 28208 ;[ 174 ]
.word 16672 ;[ 174 ]
.word -16673 ;[ 686 ]
.word 28208 ;[ 686 ]
.word 8156 ;[ 430 ]
.word 31735 ;[ 430 ]
.word -31736 ;[ 942 ]
.word 8156 ;[ 942 ]
.word 30918 ;[ 110 ]
.word 10849 ;[ 110 ]
.word -10850 ;[ 622 ]
.word 30918 ;[ 622 ]
.word 14191 ;[ 366 ]
.word 29534 ;[ 366 ]
.word -29535 ;[ 878 ]
.word 14191 ;[ 878 ]
.word 24413 ;[ 238 ]
.word 21855 ;[ 238 ]
.word -21856 ;[ 750 ]
.word 24413 ;[ 750 ]
.word 1808 ;[ 494 ]
.word 32717 ;[ 494 ]
.word -32718 ;[ 1006 ]
.word 1808 ;[ 1006 ]
.word 32628 ;[ 30 ]
.word 3011 ;[ 30 ]
.word -3012 ;[ 542 ]
.word 32628 ;[ 542 ]
.word 20942 ;[ 286 ]
.word 25201 ;[ 286 ]
.word -25202 ;[ 798 ]
.word 20942 ;[ 798 ]
.word 28992 ;[ 158 ]
.word 15268 ;[ 158 ]
.word -15269 ;[ 670 ]
.word 28992 ;[ 670 ]
.word 9703 ;[ 414 ]
.word 31297 ;[ 414 ]
.word -31298 ;[ 926 ]
.word 9703 ;[ 926 ]
.word 31413 ;[ 94 ]
.word 9319 ;[ 94 ]
.word -9320 ;[ 606 ]
.word 31413 ;[ 606 ]
.word 15623 ;[ 350 ]
.word 28802 ;[ 350 ]
.word -28803 ;[ 862 ]
.word 15623 ;[ 862 ]
.word 25456 ;[ 222 ]
.word 20631 ;[ 222 ]
.word -20632 ;[ 734 ]
.word 25456 ;[ 734 ]
.word 3411 ;[ 478 ]
.word 32588 ;[ 478 ]
.word -32589 ;[ 990 ]
.word 3411 ;[ 990 ]
.word 32176 ;[ 62 ]
.word 6195 ;[ 62 ]
.word -6196 ;[ 574 ]
.word 32176 ;[ 574 ]
.word 18371 ;[ 318 ]
.word 27132 ;[ 318 ]
.word -27133 ;[ 830 ]
.word 18371 ;[ 830 ]
.word 27355 ;[ 190 ]
.word 18036 ;[ 190 ]
.word -18037 ;[ 702 ]
.word 27355 ;[ 702 ]
.word 6589 ;[ 446 ]
.word 32097 ;[ 446 ]
.word -32098 ;[ 958 ]
.word 6589 ;[ 958 ]
.word 30349 ;[ 126 ]
.word 12353 ;[ 126 ]
.word -12354 ;[ 638 ]
.word 30349 ;[ 638 ]
.word 12724 ;[ 382 ]
.word 30195 ;[ 382 ]
.word -30196 ;[ 894 ]
.word 12724 ;[ 894 ]
.word 23311 ;[ 254 ]
.word 23027 ;[ 254 ]
.word -23028 ;[ 766 ]
.word 23311 ;[ 766 ]
.word 201 ;[ 510 ]
.word 32766 ;[ 510 ]
.word -32767 ;[ 1022 ]
.word 201 ;[ 1022 ]
.word 32766 ;[ 1 ]
.word 100 ;[ 1 ]
.word -101 ;[ 513 ]
.word 32766 ;[ 513 ]
.word 23098 ;[ 257 ]
.word 23240 ;[ 257 ]
.word -23241 ;[ 769 ]
.word 23098 ;[ 769 ]
.word 30234 ;[ 129 ]
.word 12632 ;[ 129 ]
.word -12633 ;[ 641 ]
.word 30234 ;[ 641 ]
.word 12446 ;[ 385 ]
.word 30311 ;[ 385 ]
.word -30312 ;[ 897 ]
.word 12446 ;[ 897 ]
.word 32117 ;[ 65 ]
.word 6491 ;[ 65 ]
.word -6492 ;[ 577 ]
.word 32117 ;[ 577 ]
.word 18120 ;[ 321 ]
.word 27300 ;[ 321 ]
.word -27301 ;[ 833 ]
.word 18120 ;[ 833 ]
.word 27188 ;[ 193 ]
.word 18287 ;[ 193 ]
.word -18288 ;[ 705 ]
.word 27188 ;[ 705 ]
.word 6293 ;[ 449 ]
.word 32156 ;[ 449 ]
.word -32157 ;[ 961 ]
.word 6293 ;[ 961 ]
.word 32599 ;[ 33 ]
.word 3311 ;[ 33 ]
.word -3312 ;[ 545 ]
.word 32599 ;[ 545 ]
.word 20709 ;[ 289 ]
.word 25392 ;[ 289 ]
.word -25393 ;[ 801 ]
.word 20709 ;[ 801 ]
.word 28850 ;[ 161 ]
.word 15534 ;[ 161 ]
.word -15535 ;[ 673 ]
.word 28850 ;[ 673 ]
.word 9415 ;[ 417 ]
.word 31385 ;[ 417 ]
.word -31386 ;[ 929 ]
.word 9415 ;[ 929 ]
.word 31326 ;[ 97 ]
.word 9607 ;[ 97 ]
.word -9608 ;[ 609 ]
.word 31326 ;[ 609 ]
.word 15357 ;[ 353 ]
.word 28945 ;[ 353 ]
.word -28946 ;[ 865 ]
.word 15357 ;[ 865 ]
.word 25265 ;[ 225 ]
.word 20864 ;[ 225 ]
.word -20865 ;[ 737 ]
.word 25265 ;[ 737 ]
.word 3111 ;[ 481 ]
.word 32618 ;[ 481 ]
.word -32619 ;[ 993 ]
.word 3111 ;[ 993 ]
.word 32722 ;[ 17 ]
.word 1708 ;[ 17 ]
.word -1709 ;[ 529 ]
.word 32722 ;[ 529 ]
.word 21930 ;[ 273 ]
.word 24346 ;[ 273 ]
.word -24347 ;[ 785 ]
.word 21930 ;[ 785 ]
.word 29577 ;[ 145 ]
.word 14100 ;[ 145 ]
.word -14101 ;[ 657 ]
.word 29577 ;[ 657 ]
.word 10944 ;[ 401 ]
.word 30885 ;[ 401 ]
.word -30886 ;[ 913 ]
.word 10944 ;[ 913 ]
.word 31760 ;[ 81 ]
.word 8059 ;[ 81 ]
.word -8060 ;[ 593 ]
.word 31760 ;[ 593 ]
.word 16759 ;[ 337 ]
.word 28156 ;[ 337 ]
.word -28157 ;[ 849 ]
.word 16759 ;[ 849 ]
.word 26258 ;[ 209 ]
.word 19599 ;[ 209 ]
.word -19600 ;[ 721 ]
.word 26258 ;[ 721 ]
.word 4708 ;[ 465 ]
.word 32426 ;[ 465 ]
.word -32427 ;[ 977 ]
.word 4708 ;[ 977 ]
.word 32397 ;[ 49 ]
.word 4907 ;[ 49 ]
.word -4908 ;[ 561 ]
.word 32397 ;[ 561 ]
.word 19438 ;[ 305 ]
.word 26378 ;[ 305 ]
.word -26379 ;[ 817 ]
.word 19438 ;[ 817 ]
.word 28053 ;[ 177 ]
.word 16931 ;[ 177 ]
.word -16932 ;[ 689 ]
.word 28053 ;[ 689 ]
.word 7864 ;[ 433 ]
.word 31809 ;[ 433 ]
.word -31810 ;[ 945 ]
.word 7864 ;[ 945 ]
.word 30817 ;[ 113 ]
.word 11133 ;[ 113 ]
.word -11134 ;[ 625 ]
.word 30817 ;[ 625 ]
.word 13918 ;[ 369 ]
.word 29663 ;[ 369 ]
.word -29664 ;[ 881 ]
.word 13918 ;[ 881 ]
.word 24211 ;[ 241 ]
.word 22079 ;[ 241 ]
.word -22080 ;[ 753 ]
.word 24211 ;[ 753 ]
.word 1507 ;[ 497 ]
.word 32732 ;[ 497 ]
.word -32733 ;[ 1009 ]
.word 1507 ;[ 1009 ]
.word 32754 ;[ 9 ]
.word 904 ;[ 9 ]
.word -905 ;[ 521 ]
.word 32754 ;[ 521 ]
.word 22521 ;[ 265 ]
.word 23800 ;[ 265 ]
.word -23801 ;[ 777 ]
.word 22521 ;[ 777 ]
.word 29915 ;[ 137 ]
.word 13370 ;[ 137 ]
.word -13371 ;[ 649 ]
.word 29915 ;[ 649 ]
.word 11698 ;[ 393 ]
.word 30607 ;[ 393 ]
.word -30608 ;[ 905 ]
.word 11698 ;[ 905 ]
.word 31948 ;[ 73 ]
.word 7277 ;[ 73 ]
.word -7278 ;[ 585 ]
.word 31948 ;[ 585 ]
.word 17445 ;[ 329 ]
.word 27736 ;[ 329 ]
.word -27737 ;[ 841 ]
.word 17445 ;[ 841 ]
.word 26731 ;[ 201 ]
.word 18949 ;[ 201 ]
.word -18950 ;[ 713 ]
.word 26731 ;[ 713 ]
.word 5502 ;[ 457 ]
.word 32301 ;[ 457 ]
.word -32302 ;[ 969 ]
.word 5502 ;[ 969 ]
.word 32508 ;[ 41 ]
.word 4110 ;[ 41 ]
.word -4111 ;[ 553 ]
.word 32508 ;[ 553 ]
.word 20079 ;[ 297 ]
.word 25893 ;[ 297 ]
.word -25894 ;[ 809 ]
.word 20079 ;[ 809 ]
.word 28460 ;[ 169 ]
.word 16238 ;[ 169 ]
.word -16239 ;[ 681 ]
.word 28460 ;[ 681 ]
.word 8642 ;[ 425 ]
.word 31606 ;[ 425 ]
.word -31607 ;[ 937 ]
.word 8642 ;[ 937 ]
.word 31081 ;[ 105 ]
.word 10373 ;[ 105 ]
.word -10374 ;[ 617 ]
.word 31081 ;[ 617 ]
.word 14642 ;[ 361 ]
.word 29313 ;[ 361 ]
.word -29314 ;[ 873 ]
.word 14642 ;[ 873 ]
.word 24745 ;[ 233 ]
.word 21478 ;[ 233 ]
.word -21479 ;[ 745 ]
.word 24745 ;[ 745 ]
.word 2310 ;[ 489 ]
.word 32685 ;[ 489 ]
.word -32686 ;[ 1001 ]
.word 2310 ;[ 1001 ]
.word 32670 ;[ 25 ]
.word 2510 ;[ 25 ]
.word -2511 ;[ 537 ]
.word 32670 ;[ 537 ]
.word 21326 ;[ 281 ]
.word 24877 ;[ 281 ]
.word -24878 ;[ 793 ]
.word 21326 ;[ 793 ]
.word 29222 ;[ 153 ]
.word 14822 ;[ 153 ]
.word -14823 ;[ 665 ]
.word 29222 ;[ 665 ]
.word 10182 ;[ 409 ]
.word 31144 ;[ 409 ]
.word -31145 ;[ 921 ]
.word 10182 ;[ 921 ]
.word 31553 ;[ 89 ]
.word 8836 ;[ 89 ]
.word -8837 ;[ 601 ]
.word 31553 ;[ 601 ]
.word 16063 ;[ 345 ]
.word 28559 ;[ 345 ]
.word -28560 ;[ 857 ]
.word 16063 ;[ 857 ]
.word 25769 ;[ 217 ]
.word 20238 ;[ 217 ]
.word -20239 ;[ 729 ]
.word 25769 ;[ 729 ]
.word 3911 ;[ 473 ]
.word 32532 ;[ 473 ]
.word -32533 ;[ 985 ]
.word 3911 ;[ 985 ]
.word 32267 ;[ 57 ]
.word 5700 ;[ 57 ]
.word -5701 ;[ 569 ]
.word 32267 ;[ 569 ]
.word 18785 ;[ 313 ]
.word 26847 ;[ 313 ]
.word -26848 ;[ 825 ]
.word 18785 ;[ 825 ]
.word 27629 ;[ 185 ]
.word 17615 ;[ 185 ]
.word -17616 ;[ 697 ]
.word 27629 ;[ 697 ]
.word 7081 ;[ 441 ]
.word 31992 ;[ 441 ]
.word -31993 ;[ 953 ]
.word 7081 ;[ 953 ]
.word 30535 ;[ 121 ]
.word 11886 ;[ 121 ]
.word -11887 ;[ 633 ]
.word 30535 ;[ 633 ]
.word 13186 ;[ 377 ]
.word 29996 ;[ 377 ]
.word -29997 ;[ 889 ]
.word 13186 ;[ 889 ]
.word 23661 ;[ 249 ]
.word 22666 ;[ 249 ]
.word -22667 ;[ 761 ]
.word 23661 ;[ 761 ]
.word 703 ;[ 505 ]
.word 32759 ;[ 505 ]
.word -32760 ;[ 1017 ]
.word 703 ;[ 1017 ]
.word 32763 ;[ 5 ]
.word 502 ;[ 5 ]
.word -503 ;[ 517 ]
.word 32763 ;[ 517 ]
.word 22811 ;[ 261 ]
.word 23522 ;[ 261 ]
.word -23523 ;[ 773 ]
.word 22811 ;[ 773 ]
.word 30076 ;[ 133 ]
.word 13002 ;[ 133 ]
.word -13003 ;[ 645 ]
.word 30076 ;[ 645 ]
.word 12073 ;[ 389 ]
.word 30461 ;[ 389 ]
.word -30462 ;[ 901 ]
.word 12073 ;[ 901 ]
.word 32035 ;[ 69 ]
.word 6884 ;[ 69 ]
.word -6885 ;[ 581 ]
.word 32035 ;[ 581 ]
.word 17784 ;[ 325 ]
.word 27520 ;[ 325 ]
.word -27521 ;[ 837 ]
.word 17784 ;[ 837 ]
.word 26962 ;[ 197 ]
.word 18620 ;[ 197 ]
.word -18621 ;[ 709 ]
.word 26962 ;[ 709 ]
.word 5898 ;[ 453 ]
.word 32231 ;[ 453 ]
.word -32232 ;[ 965 ]
.word 5898 ;[ 965 ]
.word 32556 ;[ 37 ]
.word 3711 ;[ 37 ]
.word -3712 ;[ 549 ]
.word 32556 ;[ 549 ]
.word 20396 ;[ 293 ]
.word 25645 ;[ 293 ]
.word -25646 ;[ 805 ]
.word 20396 ;[ 805 ]
.word 28657 ;[ 165 ]
.word 15887 ;[ 165 ]
.word -15888 ;[ 677 ]
.word 28657 ;[ 677 ]
.word 9029 ;[ 421 ]
.word 31498 ;[ 421 ]
.word -31499 ;[ 933 ]
.word 9029 ;[ 933 ]
.word 31206 ;[ 101 ]
.word 9991 ;[ 101 ]
.word -9992 ;[ 613 ]
.word 31206 ;[ 613 ]
.word 15001 ;[ 357 ]
.word 29131 ;[ 357 ]
.word -29132 ;[ 869 ]
.word 15001 ;[ 869 ]
.word 25007 ;[ 229 ]
.word 21173 ;[ 229 ]
.word -21174 ;[ 741 ]
.word 25007 ;[ 741 ]
.word 2711 ;[ 485 ]
.word 32654 ;[ 485 ]
.word -32655 ;[ 997 ]
.word 2711 ;[ 997 ]
.word 32699 ;[ 21 ]
.word 2109 ;[ 21 ]
.word -2110 ;[ 533 ]
.word 32699 ;[ 533 ]
.word 21629 ;[ 277 ]
.word 24613 ;[ 277 ]
.word -24614 ;[ 789 ]
.word 21629 ;[ 789 ]
.word 29402 ;[ 149 ]
.word 14462 ;[ 149 ]
.word -14463 ;[ 661 ]
.word 29402 ;[ 661 ]
.word 10564 ;[ 405 ]
.word 31017 ;[ 405 ]
.word -31018 ;[ 917 ]
.word 10564 ;[ 917 ]
.word 31659 ;[ 85 ]
.word 8448 ;[ 85 ]
.word -8449 ;[ 597 ]
.word 31659 ;[ 597 ]
.word 16412 ;[ 341 ]
.word 28360 ;[ 341 ]
.word -28361 ;[ 853 ]
.word 16412 ;[ 853 ]
.word 26016 ;[ 213 ]
.word 19920 ;[ 213 ]
.word -19921 ;[ 725 ]
.word 26016 ;[ 725 ]
.word 4310 ;[ 469 ]
.word 32482 ;[ 469 ]
.word -32483 ;[ 981 ]
.word 4310 ;[ 981 ]
.word 32334 ;[ 53 ]
.word 5304 ;[ 53 ]
.word -5305 ;[ 565 ]
.word 32334 ;[ 565 ]
.word 19113 ;[ 309 ]
.word 26615 ;[ 309 ]
.word -26616 ;[ 821 ]
.word 19113 ;[ 821 ]
.word 27843 ;[ 181 ]
.word 17274 ;[ 181 ]
.word -17275 ;[ 693 ]
.word 27843 ;[ 693 ]
.word 7473 ;[ 437 ]
.word 31903 ;[ 437 ]
.word -31904 ;[ 949 ]
.word 7473 ;[ 949 ]
.word 30678 ;[ 117 ]
.word 11510 ;[ 117 ]
.word -11511 ;[ 629 ]
.word 30678 ;[ 629 ]
.word 13553 ;[ 373 ]
.word 29832 ;[ 373 ]
.word -29833 ;[ 885 ]
.word 13553 ;[ 885 ]
.word 23938 ;[ 245 ]
.word 22374 ;[ 245 ]
.word -22375 ;[ 757 ]
.word 23938 ;[ 757 ]
.word 1105 ;[ 501 ]
.word 32748 ;[ 501 ]
.word -32749 ;[ 1013 ]
.word 1105 ;[ 1013 ]
.word 32740 ;[ 13 ]
.word 1306 ;[ 13 ]
.word -1307 ;[ 525 ]
.word 32740 ;[ 525 ]
.word 22227 ;[ 269 ]
.word 24075 ;[ 269 ]
.word -24076 ;[ 781 ]
.word 22227 ;[ 781 ]
.word 29748 ;[ 141 ]
.word 13736 ;[ 141 ]
.word -13737 ;[ 653 ]
.word 29748 ;[ 653 ]
.word 11322 ;[ 397 ]
.word 30748 ;[ 397 ]
.word -30749 ;[ 909 ]
.word 11322 ;[ 909 ]
.word 31856 ;[ 77 ]
.word 7668 ;[ 77 ]
.word -7669 ;[ 589 ]
.word 31856 ;[ 589 ]
.word 17103 ;[ 333 ]
.word 27948 ;[ 333 ]
.word -27949 ;[ 845 ]
.word 17103 ;[ 845 ]
.word 26497 ;[ 205 ]
.word 19276 ;[ 205 ]
.word -19277 ;[ 717 ]
.word 26497 ;[ 717 ]
.word 5106 ;[ 461 ]
.word 32366 ;[ 461 ]
.word -32367 ;[ 973 ]
.word 5106 ;[ 973 ]
.word 32455 ;[ 45 ]
.word 4509 ;[ 45 ]
.word -4510 ;[ 557 ]
.word 32455 ;[ 557 ]
.word 19760 ;[ 301 ]
.word 26137 ;[ 301 ]
.word -26138 ;[ 813 ]
.word 19760 ;[ 813 ]
.word 28259 ;[ 173 ]
.word 16586 ;[ 173 ]
.word -16587 ;[ 685 ]
.word 28259 ;[ 685 ]
.word 8253 ;[ 429 ]
.word 31710 ;[ 429 ]
.word -31711 ;[ 941 ]
.word 8253 ;[ 941 ]
.word 30951 ;[ 109 ]
.word 10754 ;[ 109 ]
.word -10755 ;[ 621 ]
.word 30951 ;[ 621 ]
.word 14281 ;[ 365 ]
.word 29490 ;[ 365 ]
.word -29491 ;[ 877 ]
.word 14281 ;[ 877 ]
.word 24480 ;[ 237 ]
.word 21780 ;[ 237 ]
.word -21781 ;[ 749 ]
.word 24480 ;[ 749 ]
.word 1908 ;[ 493 ]
.word 32711 ;[ 493 ]
.word -32712 ;[ 1005 ]
.word 1908 ;[ 1005 ]
.word 32637 ;[ 29 ]
.word 2911 ;[ 29 ]
.word -2912 ;[ 541 ]
.word 32637 ;[ 541 ]
.word 21019 ;[ 285 ]
.word 25136 ;[ 285 ]
.word -25137 ;[ 797 ]
.word 21019 ;[ 797 ]
.word 29038 ;[ 157 ]
.word 15179 ;[ 157 ]
.word -15180 ;[ 669 ]
.word 29038 ;[ 669 ]
.word 9799 ;[ 413 ]
.word 31267 ;[ 413 ]
.word -31268 ;[ 925 ]
.word 9799 ;[ 925 ]
.word 31442 ;[ 93 ]
.word 9222 ;[ 93 ]
.word -9223 ;[ 605 ]
.word 31442 ;[ 605 ]
.word 15711 ;[ 349 ]
.word 28754 ;[ 349 ]
.word -28755 ;[ 861 ]
.word 15711 ;[ 861 ]
.word 25519 ;[ 221 ]
.word 20553 ;[ 221 ]
.word -20554 ;[ 733 ]
.word 25519 ;[ 733 ]
.word 3511 ;[ 477 ]
.word 32578 ;[ 477 ]
.word -32579 ;[ 989 ]
.word 3511 ;[ 989 ]
.word 32194 ;[ 61 ]
.word 6096 ;[ 61 ]
.word -6097 ;[ 573 ]
.word 32194 ;[ 573 ]
.word 18454 ;[ 317 ]
.word 27076 ;[ 317 ]
.word -27077 ;[ 829 ]
.word 18454 ;[ 829 ]
.word 27411 ;[ 189 ]
.word 17952 ;[ 189 ]
.word -17953 ;[ 701 ]
.word 27411 ;[ 701 ]
.word 6688 ;[ 445 ]
.word 32077 ;[ 445 ]
.word -32078 ;[ 957 ]
.word 6688 ;[ 957 ]
.word 30386 ;[ 125 ]
.word 12260 ;[ 125 ]
.word -12261 ;[ 637 ]
.word 30386 ;[ 637 ]
.word 12817 ;[ 381 ]
.word 30156 ;[ 381 ]
.word -30157 ;[ 893 ]
.word 12817 ;[ 893 ]
.word 23382 ;[ 253 ]
.word 22955 ;[ 253 ]
.word -22956 ;[ 765 ]
.word 23382 ;[ 765 ]
.word 301 ;[ 509 ]
.word 32765 ;[ 509 ]
.word -32766 ;[ 1021 ]
.word 301 ;[ 1021 ]
.word 32765 ;[ 3 ]
.word 301 ;[ 3 ]
.word -302 ;[ 515 ]
.word 32765 ;[ 515 ]
.word 22955 ;[ 259 ]
.word 23382 ;[ 259 ]
.word -23383 ;[ 771 ]
.word 22955 ;[ 771 ]
.word 30156 ;[ 131 ]
.word 12817 ;[ 131 ]
.word -12818 ;[ 643 ]
.word 30156 ;[ 643 ]
.word 12260 ;[ 387 ]
.word 30386 ;[ 387 ]
.word -30387 ;[ 899 ]
.word 12260 ;[ 899 ]
.word 32077 ;[ 67 ]
.word 6688 ;[ 67 ]
.word -6689 ;[ 579 ]
.word 32077 ;[ 579 ]
.word 17952 ;[ 323 ]
.word 27411 ;[ 323 ]
.word -27412 ;[ 835 ]
.word 17952 ;[ 835 ]
.word 27076 ;[ 195 ]
.word 18454 ;[ 195 ]
.word -18455 ;[ 707 ]
.word 27076 ;[ 707 ]
.word 6096 ;[ 451 ]
.word 32194 ;[ 451 ]
.word -32195 ;[ 963 ]
.word 6096 ;[ 963 ]
.word 32578 ;[ 35 ]
.word 3511 ;[ 35 ]
.word -3512 ;[ 547 ]
.word 32578 ;[ 547 ]
.word 20553 ;[ 291 ]
.word 25519 ;[ 291 ]
.word -25520 ;[ 803 ]
.word 20553 ;[ 803 ]
.word 28754 ;[ 163 ]
.word 15711 ;[ 163 ]
.word -15712 ;[ 675 ]
.word 28754 ;[ 675 ]
.word 9222 ;[ 419 ]
.word 31442 ;[ 419 ]
.word -31443 ;[ 931 ]
.word 9222 ;[ 931 ]
.word 31267 ;[ 99 ]
.word 9799 ;[ 99 ]
.word -9800 ;[ 611 ]
.word 31267 ;[ 611 ]
.word 15179 ;[ 355 ]
.word 29038 ;[ 355 ]
.word -29039 ;[ 867 ]
.word 15179 ;[ 867 ]
.word 25136 ;[ 227 ]
.word 21019 ;[ 227 ]
.word -21020 ;[ 739 ]
.word 25136 ;[ 739 ]
.word 2911 ;[ 483 ]
.word 32637 ;[ 483 ]
.word -32638 ;[ 995 ]
.word 2911 ;[ 995 ]
.word 32711 ;[ 19 ]
.word 1908 ;[ 19 ]
.word -1909 ;[ 531 ]
.word 32711 ;[ 531 ]
.word 21780 ;[ 275 ]
.word 24480 ;[ 275 ]
.word -24481 ;[ 787 ]
.word 21780 ;[ 787 ]
.word 29490 ;[ 147 ]
.word 14281 ;[ 147 ]
.word -14282 ;[ 659 ]
.word 29490 ;[ 659 ]
.word 10754 ;[ 403 ]
.word 30951 ;[ 403 ]
.word -30952 ;[ 915 ]
.word 10754 ;[ 915 ]
.word 31710 ;[ 83 ]
.word 8253 ;[ 83 ]
.word -8254 ;[ 595 ]
.word 31710 ;[ 595 ]
.word 16586 ;[ 339 ]
.word 28259 ;[ 339 ]
.word -28260 ;[ 851 ]
.word 16586 ;[ 851 ]
.word 26137 ;[ 211 ]
.word 19760 ;[ 211 ]
.word -19761 ;[ 723 ]
.word 26137 ;[ 723 ]
.word 4509 ;[ 467 ]
.word 32455 ;[ 467 ]
.word -32456 ;[ 979 ]
.word 4509 ;[ 979 ]
.word 32366 ;[ 51 ]
.word 5106 ;[ 51 ]
.word -5107 ;[ 563 ]
.word 32366 ;[ 563 ]
.word 19276 ;[ 307 ]
.word 26497 ;[ 307 ]
.word -26498 ;[ 819 ]
.word 19276 ;[ 819 ]
.word 27948 ;[ 179 ]
.word 17103 ;[ 179 ]
.word -17104 ;[ 691 ]
.word 27948 ;[ 691 ]
.word 7668 ;[ 435 ]
.word 31856 ;[ 435 ]
.word -31857 ;[ 947 ]
.word 7668 ;[ 947 ]
.word 30748 ;[ 115 ]
.word 11322 ;[ 115 ]
.word -11323 ;[ 627 ]
.word 30748 ;[ 627 ]
.word 13736 ;[ 371 ]
.word 29748 ;[ 371 ]
.word -29749 ;[ 883 ]
.word 13736 ;[ 883 ]
.word 24075 ;[ 243 ]
.word 22227 ;[ 243 ]
.word -22228 ;[ 755 ]
.word 24075 ;[ 755 ]
.word 1306 ;[ 499 ]
.word 32740 ;[ 499 ]
.word -32741 ;[ 1011 ]
.word 1306 ;[ 1011 ]
.word 32748 ;[ 11 ]
.word 1105 ;[ 11 ]
.word -1106 ;[ 523 ]
.word 32748 ;[ 523 ]
.word 22374 ;[ 267 ]
.word 23938 ;[ 267 ]
.word -23939 ;[ 779 ]
.word 22374 ;[ 779 ]
.word 29832 ;[ 139 ]
.word 13553 ;[ 139 ]
.word -13554 ;[ 651 ]
.word 29832 ;[ 651 ]
.word 11510 ;[ 395 ]
.word 30678 ;[ 395 ]
.word -30679 ;[ 907 ]
.word 11510 ;[ 907 ]
.word 31903 ;[ 75 ]
.word 7473 ;[ 75 ]
.word -7474 ;[ 587 ]
.word 31903 ;[ 587 ]
.word 17274 ;[ 331 ]
.word 27843 ;[ 331 ]
.word -27844 ;[ 843 ]
.word 17274 ;[ 843 ]
.word 26615 ;[ 203 ]
.word 19113 ;[ 203 ]
.word -19114 ;[ 715 ]
.word 26615 ;[ 715 ]
.word 5304 ;[ 459 ]
.word 32334 ;[ 459 ]
.word -32335 ;[ 971 ]
.word 5304 ;[ 971 ]
.word 32482 ;[ 43 ]
.word 4310 ;[ 43 ]
.word -4311 ;[ 555 ]
.word 32482 ;[ 555 ]
.word 19920 ;[ 299 ]
.word 26016 ;[ 299 ]
.word -26017 ;[ 811 ]
.word 19920 ;[ 811 ]
.word 28360 ;[ 171 ]
.word 16412 ;[ 171 ]
.word -16413 ;[ 683 ]
.word 28360 ;[ 683 ]
.word 8448 ;[ 427 ]
.word 31659 ;[ 427 ]
.word -31660 ;[ 939 ]
.word 8448 ;[ 939 ]
.word 31017 ;[ 107 ]
.word 10564 ;[ 107 ]
.word -10565 ;[ 619 ]
.word 31017 ;[ 619 ]
.word 14462 ;[ 363 ]
.word 29402 ;[ 363 ]
.word -29403 ;[ 875 ]
.word 14462 ;[ 875 ]
.word 24613 ;[ 235 ]
.word 21629 ;[ 235 ]
.word -21630 ;[ 747 ]
.word 24613 ;[ 747 ]
.word 2109 ;[ 491 ]
.word 32699 ;[ 491 ]
.word -32700 ;[ 1003 ]
.word 2109 ;[ 1003 ]
.word 32654 ;[ 27 ]
.word 2711 ;[ 27 ]
.word -2712 ;[ 539 ]
.word 32654 ;[ 539 ]
.word 21173 ;[ 283 ]
.word 25007 ;[ 283 ]
.word -25008 ;[ 795 ]
.word 21173 ;[ 795 ]
.word 29131 ;[ 155 ]
.word 15001 ;[ 155 ]
.word -15002 ;[ 667 ]
.word 29131 ;[ 667 ]
.word 9991 ;[ 411 ]
.word 31206 ;[ 411 ]
.word -31207 ;[ 923 ]
.word 9991 ;[ 923 ]
.word 31498 ;[ 91 ]
.word 9029 ;[ 91 ]
.word -9030 ;[ 603 ]
.word 31498 ;[ 603 ]
.word 15887 ;[ 347 ]
.word 28657 ;[ 347 ]
.word -28658 ;[ 859 ]
.word 15887 ;[ 859 ]
.word 25645 ;[ 219 ]
.word 20396 ;[ 219 ]
.word -20397 ;[ 731 ]
.word 25645 ;[ 731 ]
.word 3711 ;[ 475 ]
.word 32556 ;[ 475 ]
.word -32557 ;[ 987 ]
.word 3711 ;[ 987 ]
.word 32231 ;[ 59 ]
.word 5898 ;[ 59 ]
.word -5899 ;[ 571 ]
.word 32231 ;[ 571 ]
.word 18620 ;[ 315 ]
.word 26962 ;[ 315 ]
.word -26963 ;[ 827 ]
.word 18620 ;[ 827 ]
.word 27520 ;[ 187 ]
.word 17784 ;[ 187 ]
.word -17785 ;[ 699 ]
.word 27520 ;[ 699 ]
.word 6884 ;[ 443 ]
.word 32035 ;[ 443 ]
.word -32036 ;[ 955 ]
.word 6884 ;[ 955 ]
.word 30461 ;[ 123 ]
.word 12073 ;[ 123 ]
.word -12074 ;[ 635 ]
.word 30461 ;[ 635 ]
.word 13002 ;[ 379 ]
.word 30076 ;[ 379 ]
.word -30077 ;[ 891 ]
.word 13002 ;[ 891 ]
.word 23522 ;[ 251 ]
.word 22811 ;[ 251 ]
.word -22812 ;[ 763 ]
.word 23522 ;[ 763 ]
.word 502 ;[ 507 ]
.word 32763 ;[ 507 ]
.word -32764 ;[ 1019 ]
.word 502 ;[ 1019 ]
.word 32759 ;[ 7 ]
.word 703 ;[ 7 ]
.word -704 ;[ 519 ]
.word 32759 ;[ 519 ]
.word 22666 ;[ 263 ]
.word 23661 ;[ 263 ]
.word -23662 ;[ 775 ]
.word 22666 ;[ 775 ]
.word 29996 ;[ 135 ]
.word 13186 ;[ 135 ]
.word -13187 ;[ 647 ]
.word 29996 ;[ 647 ]
.word 11886 ;[ 391 ]
.word 30535 ;[ 391 ]
.word -30536 ;[ 903 ]
.word 11886 ;[ 903 ]
.word 31992 ;[ 71 ]
.word 7081 ;[ 71 ]
.word -7082 ;[ 583 ]
.word 31992 ;[ 583 ]
.word 17615 ;[ 327 ]
.word 27629 ;[ 327 ]
.word -27630 ;[ 839 ]
.word 17615 ;[ 839 ]
.word 26847 ;[ 199 ]
.word 18785 ;[ 199 ]
.word -18786 ;[ 711 ]
.word 26847 ;[ 711 ]
.word 5700 ;[ 455 ]
.word 32267 ;[ 455 ]
.word -32268 ;[ 967 ]
.word 5700 ;[ 967 ]
.word 32532 ;[ 39 ]
.word 3911 ;[ 39 ]
.word -3912 ;[ 551 ]
.word 32532 ;[ 551 ]
.word 20238 ;[ 295 ]
.word 25769 ;[ 295 ]
.word -25770 ;[ 807 ]
.word 20238 ;[ 807 ]
.word 28559 ;[ 167 ]
.word 16063 ;[ 167 ]
.word -16064 ;[ 679 ]
.word 28559 ;[ 679 ]
.word 8836 ;[ 423 ]
.word 31553 ;[ 423 ]
.word -31554 ;[ 935 ]
.word 8836 ;[ 935 ]
.word 31144 ;[ 103 ]
.word 10182 ;[ 103 ]
.word -10183 ;[ 615 ]
.word 31144 ;[ 615 ]
.word 14822 ;[ 359 ]
.word 29222 ;[ 359 ]
.word -29223 ;[ 871 ]
.word 14822 ;[ 871 ]
.word 24877 ;[ 231 ]
.word 21326 ;[ 231 ]
.word -21327 ;[ 743 ]
.word 24877 ;[ 743 ]
.word 2510 ;[ 487 ]
.word 32670 ;[ 487 ]
.word -32671 ;[ 999 ]
.word 2510 ;[ 999 ]
.word 32685 ;[ 23 ]
.word 2310 ;[ 23 ]
.word -2311 ;[ 535 ]
.word 32685 ;[ 535 ]
.word 21478 ;[ 279 ]
.word 24745 ;[ 279 ]
.word -24746 ;[ 791 ]
.word 21478 ;[ 791 ]
.word 29313 ;[ 151 ]
.word 14642 ;[ 151 ]
.word -14643 ;[ 663 ]
.word 29313 ;[ 663 ]
.word 10373 ;[ 407 ]
.word 31081 ;[ 407 ]
.word -31082 ;[ 919 ]
.word 10373 ;[ 919 ]
.word 31606 ;[ 87 ]
.word 8642 ;[ 87 ]
.word -8643 ;[ 599 ]
.word 31606 ;[ 599 ]
.word 16238 ;[ 343 ]
.word 28460 ;[ 343 ]
.word -28461 ;[ 855 ]
.word 16238 ;[ 855 ]
.word 25893 ;[ 215 ]
.word 20079 ;[ 215 ]
.word -20080 ;[ 727 ]
.word 25893 ;[ 727 ]
.word 4110 ;[ 471 ]
.word 32508 ;[ 471 ]
.word -32509 ;[ 983 ]
.word 4110 ;[ 983 ]
.word 32301 ;[ 55 ]
.word 5502 ;[ 55 ]
.word -5503 ;[ 567 ]
.word 32301 ;[ 567 ]
.word 18949 ;[ 311 ]
.word 26731 ;[ 311 ]
.word -26732 ;[ 823 ]
.word 18949 ;[ 823 ]
.word 27736 ;[ 183 ]
.word 17445 ;[ 183 ]
.word -17446 ;[ 695 ]
.word 27736 ;[ 695 ]
.word 7277 ;[ 439 ]
.word 31948 ;[ 439 ]
.word -31949 ;[ 951 ]
.word 7277 ;[ 951 ]
.word 30607 ;[ 119 ]
.word 11698 ;[ 119 ]
.word -11699 ;[ 631 ]
.word 30607 ;[ 631 ]
.word 13370 ;[ 375 ]
.word 29915 ;[ 375 ]
.word -29916 ;[ 887 ]
.word 13370 ;[ 887 ]
.word 23800 ;[ 247 ]
.word 22521 ;[ 247 ]
.word -22522 ;[ 759 ]
.word 23800 ;[ 759 ]
.word 904 ;[ 503 ]
.word 32754 ;[ 503 ]
.word -32755 ;[ 1015 ]
.word 904 ;[ 1015 ]
.word 32732 ;[ 15 ]
.word 1507 ;[ 15 ]
.word -1508 ;[ 527 ]
.word 32732 ;[ 527 ]
.word 22079 ;[ 271 ]
.word 24211 ;[ 271 ]
.word -24212 ;[ 783 ]
.word 22079 ;[ 783 ]
.word 29663 ;[ 143 ]
.word 13918 ;[ 143 ]
.word -13919 ;[ 655 ]
.word 29663 ;[ 655 ]
.word 11133 ;[ 399 ]
.word 30817 ;[ 399 ]
.word -30818 ;[ 911 ]
.word 11133 ;[ 911 ]
.word 31809 ;[ 79 ]
.word 7864 ;[ 79 ]
.word -7865 ;[ 591 ]
.word 31809 ;[ 591 ]
.word 16931 ;[ 335 ]
.word 28053 ;[ 335 ]
.word -28054 ;[ 847 ]
.word 16931 ;[ 847 ]
.word 26378 ;[ 207 ]
.word 19438 ;[ 207 ]
.word -19439 ;[ 719 ]
.word 26378 ;[ 719 ]
.word 4907 ;[ 463 ]
.word 32397 ;[ 463 ]
.word -32398 ;[ 975 ]
.word 4907 ;[ 975 ]
.word 32426 ;[ 47 ]
.word 4708 ;[ 47 ]
.word -4709 ;[ 559 ]
.word 32426 ;[ 559 ]
.word 19599 ;[ 303 ]
.word 26258 ;[ 303 ]
.word -26259 ;[ 815 ]
.word 19599 ;[ 815 ]
.word 28156 ;[ 175 ]
.word 16759 ;[ 175 ]
.word -16760 ;[ 687 ]
.word 28156 ;[ 687 ]
.word 8059 ;[ 431 ]
.word 31760 ;[ 431 ]
.word -31761 ;[ 943 ]
.word 8059 ;[ 943 ]
.word 30885 ;[ 111 ]
.word 10944 ;[ 111 ]
.word -10945 ;[ 623 ]
.word 30885 ;[ 623 ]
.word 14100 ;[ 367 ]
.word 29577 ;[ 367 ]
.word -29578 ;[ 879 ]
.word 14100 ;[ 879 ]
.word 24346 ;[ 239 ]
.word 21930 ;[ 239 ]
.word -21931 ;[ 751 ]
.word 24346 ;[ 751 ]
.word 1708 ;[ 495 ]
.word 32722 ;[ 495 ]
.word -32723 ;[ 1007 ]
.word 1708 ;[ 1007 ]
.word 32618 ;[ 31 ]
.word 3111 ;[ 31 ]
.word -3112 ;[ 543 ]
.word 32618 ;[ 543 ]
.word 20864 ;[ 287 ]
.word 25265 ;[ 287 ]
.word -25266 ;[ 799 ]
.word 20864 ;[ 799 ]
.word 28945 ;[ 159 ]
.word 15357 ;[ 159 ]
.word -15358 ;[ 671 ]
.word 28945 ;[ 671 ]
.word 9607 ;[ 415 ]
.word 31326 ;[ 415 ]
.word -31327 ;[ 927 ]
.word 9607 ;[ 927 ]
.word 31385 ;[ 95 ]
.word 9415 ;[ 95 ]
.word -9416 ;[ 607 ]
.word 31385 ;[ 607 ]
.word 15534 ;[ 351 ]
.word 28850 ;[ 351 ]
.word -28851 ;[ 863 ]
.word 15534 ;[ 863 ]
.word 25392 ;[ 223 ]
.word 20709 ;[ 223 ]
.word -20710 ;[ 735 ]
.word 25392 ;[ 735 ]
.word 3311 ;[ 479 ]
.word 32599 ;[ 479 ]
.word -32600 ;[ 991 ]
.word 3311 ;[ 991 ]
.word 32156 ;[ 63 ]
.word 6293 ;[ 63 ]
.word -6294 ;[ 575 ]
.word 32156 ;[ 575 ]
.word 18287 ;[ 319 ]
.word 27188 ;[ 319 ]
.word -27189 ;[ 831 ]
.word 18287 ;[ 831 ]
.word 27300 ;[ 191 ]
.word 18120 ;[ 191 ]
.word -18121 ;[ 703 ]
.word 27300 ;[ 703 ]
.word 6491 ;[ 447 ]
.word 32117 ;[ 447 ]
.word -32118 ;[ 959 ]
.word 6491 ;[ 959 ]
.word 30311 ;[ 127 ]
.word 12446 ;[ 127 ]
.word -12447 ;[ 639 ]
.word 30311 ;[ 639 ]
.word 12632 ;[ 383 ]
.word 30234 ;[ 383 ]
.word -30235 ;[ 895 ]
.word 12632 ;[ 895 ]
.word 23240 ;[ 255 ]
.word 23098 ;[ 255 ]
.word -23099 ;[ 767 ]
.word 23240 ;[ 767 ]
.word 100 ;[ 511 ]
.word 32766 ;[ 511 ]
.word -32767 ;[ 1023 ]
.word 100 ;[ 1023 ]
|
programs/oeis/115/A115326.asm | neoneye/loda | 22 | 21239 | <reponame>neoneye/loda<gh_stars>10-100
; A115326: E.g.f.: exp(x/(1-2*x))/sqrt(1-4*x^2).
; 1,1,9,49,625,6561,109561,1697809,35247969,717436225,17862589801,448030761201,13029739166929,387070092765409,12888060720104025,441427773256896721,16566268858818121921,641658452161285040769,26803156413926425274569,1156984000765534447599025,53244258383255840025481521,2532318040500575611248037921,127299481530240883491030777529,6609860030377194187949726338449,360366785081289655305940413832225,20274809520366847785631822613745601
seq $0,47974 ; a(n) = a(n-1) + 2*(n-1)*a(n-2).
seq $0,241850 ; a(n) = n^2 + 20.
sub $0,20
|
data/pokemon/base_stats/shuckle.asm | Karkino/KarkCrystal16 | 0 | 95576 | <reponame>Karkino/KarkCrystal16
db 0 ; species ID placeholder
db 55, 10, 230, 05, 5, 230
; hp atk def spd sat sdf
db BUG, ROCK ; type
db 190 ; catch rate
db 80 ; base exp
db BERRY, BERRY ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/shuckle/front.dimensions"
db 0, 0, 0, 0 ; padding
db GROWTH_MEDIUM_SLOW ; growth rate
dn EGG_BUG, EGG_BUG ; egg groups
; tm/hm learnset
tmhm HEADBUTT, CURSE, TOXIC, ROCK_SMASH, SUNNY_DAY, STONE_EDGE, SNORE, PROTECT, EARTHQUAKE, RETURN, DIG, DOUBLE_TEAM, SWAGGER, SLEEP_TALK, SLUDGE_BOMB, SANDSTORM, REST, ATTRACT, STRENGTH, FLASH
; end
|
out/Monoid/Equality.agda | JoeyEremondi/agda-soas | 39 | 10122 | {-
This second-order equational theory was created from the following second-order syntax description:
syntax Monoid | M
type
* : 0-ary
term
unit : * | ε
add : * * -> * | _⊕_ l20
theory
(εU⊕ᴸ) a |> add (unit, a) = a
(εU⊕ᴿ) a |> add (a, unit) = a
(⊕A) a b c |> add (add(a, b), c) = add (a, add(b, c))
-}
module Monoid.Equality where
open import SOAS.Common
open import SOAS.Context
open import SOAS.Variable
open import SOAS.Families.Core
open import SOAS.Families.Build
open import SOAS.ContextMaps.Inductive
open import Monoid.Signature
open import Monoid.Syntax
open import SOAS.Metatheory.SecondOrder.Metasubstitution M:Syn
open import SOAS.Metatheory.SecondOrder.Equality M:Syn
private
variable
α β γ τ : *T
Γ Δ Π : Ctx
infix 1 _▹_⊢_≋ₐ_
-- Axioms of equality
data _▹_⊢_≋ₐ_ : ∀ 𝔐 Γ {α} → (𝔐 ▷ M) α Γ → (𝔐 ▷ M) α Γ → Set where
εU⊕ᴸ : ⁅ * ⁆̣ ▹ ∅ ⊢ ε ⊕ 𝔞 ≋ₐ 𝔞
εU⊕ᴿ : ⁅ * ⁆̣ ▹ ∅ ⊢ 𝔞 ⊕ ε ≋ₐ 𝔞
⊕A : ⁅ * ⁆ ⁅ * ⁆ ⁅ * ⁆̣ ▹ ∅ ⊢ (𝔞 ⊕ 𝔟) ⊕ 𝔠 ≋ₐ 𝔞 ⊕ (𝔟 ⊕ 𝔠)
open EqLogic _▹_⊢_≋ₐ_
open ≋-Reasoning
|
programs/oeis/176/A176581.asm | karttu/loda | 1 | 83982 | ; A176581: n^3+Smallest square, (Smallest square >= n^3).
; 0,2,17,63,128,269,441,704,1041,1458,2024,2700,3492,4406,5553,6856,8192,9954,11761,13748,16100,18670,21464,24488,27748,31250,35265,39564,44153,49038,54225,59720,65892,72037,78905,86139,93312,101729,110097,118855,128009,138090,148617,159031,170448,182329,194680,208152,221481,235298,250316,265876,281233,297873,315073,332839,352016,370954,390476,411495,432225,454510,477449,501048,524288,550250,575865,602164,629153,657985,686396,716712,746569,778393,810993,844375,878545,913509,949273,987248,1024656,1062882,1103417,1144836,1185604,1228781,1272860,1317847,1363748,1410569,1458316,1508732,1558377,1608966,1662328,1714851,1770217,1826609,1884033,1942495,2000000,2062557,2124169,2186843,2250585,2315401,2383480,2450492,2520841,2590073,2662716,2736531,2811524,2887701,2965068,3043631,3123396,3204369,3286556,3372560,3457225,3543122,3632952,3724092,3813785,3907529,4002601,4099007,4196753,4295845,4396289,4498091,4601257,4705793,4814808,4922136,5034025,5144169,5258956,5371940,5489649,5608846,5729537,5851728,5971968,6100634,6227361,6355612,6485393,6616710,6753244,6887687,7023684,7165026,7308008,7448775,7595017,7742917,7892481,8039704,8192576,8347130,8503372,8665471,8825145,8986525,9149617,9318744,9485316,9653618,9828089,10004380,10177984,10357893,10539640,10723231,10904001,11091258,11280377,11471364,11664225,11863837,12060504,12259063,12459520,12666914,12871225,13082567,13290756,13506070,13718161,13937471,14158809,14382181,14607593,14835051,15059072,15296129,15529761,15765463,16003241,16243101,16485049,16734876,16981060,17235221,17485665,17744184,17998912,18261813,18526936,18788156,19057697,19329478,19603505,19879784,20158321,20439122,20722193,21007540,21301696,21591657,21883912,22185128,22482033,22781250,23089580,23400324,23706601,24022145,24340121,24653512,24976324,25301586,25629304,25959484,26292132,26627254,26964856,27304944,27654961,28000085,28347713,28697851,29058128,29413350,29778817,30139147,30509828,30883149
mov $2,$0
cal $0,185549 ; a(n) = ceiling(n^(3/2)); complement of A185550.
mov $1,$0
pow $1,2
mov $3,$2
mul $3,$2
mul $3,$2
add $1,$3
|
oeis/349/A349834.asm | neoneye/loda-programs | 11 | 22148 | <reponame>neoneye/loda-programs<filename>oeis/349/A349834.asm
; A349834: Expansion of sqrt(1 + 4*x)/(1 - 4*x).
; Submitted by <NAME>
; 1,6,22,92,358,1460,5756,23288,92294,372036,1478420,5947272,23671516,95102088,378922552,1521039088,6064766662,24329781988,97059838372,389194630888,1553243997172,6226104229528,24855484384072,99604902663568,397733491426972
mul $0,2
mov $1,1
mov $2,1
mov $3,$0
mov $4,-1
lpb $3
mul $1,2
mul $1,$4
mul $1,2
mul $2,4
sub $3,2
sub $5,2
div $1,$5
add $2,$1
add $4,2
lpe
mov $0,$2
|
src/asis/a4g-asis_tables.adb | My-Colaborations/dynamo | 15 | 14002 | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- A 4 G . A S I S _ T A B L E S --
-- --
-- B o d y --
-- --
-- Copyright (C) 1995-2009, Free Software Foundation, Inc. --
-- --
-- ASIS-for-GNAT is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the Free --
-- Software Foundation; either version 2, or (at your option) any later --
-- version. ASIS-for-GNAT is distributed in the hope that it will be use- --
-- ful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- --
-- CHANTABILITY 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 distributed with ASIS-for-GNAT; see file --
-- COPYING. If not, write to the Free Software Foundation, 51 Franklin --
-- Street, Fifth Floor, Boston, MA 02110-1301, USA. --
-- --
-- --
-- --
-- --
-- --
-- --
-- --
-- --
-- ASIS-for-GNAT was originally developed by the ASIS-for-GNAT team at the --
-- Software Engineering Laboratory of the Swiss Federal Institute of --
-- Technology (LGL-EPFL) in Lausanne, Switzerland, in cooperation with the --
-- Scientific Research Computer Center of Moscow State University (SRCC --
-- MSU), Russia, with funding partially provided by grants from the Swiss --
-- National Science Foundation and the Swiss Academy of Engineering --
-- Sciences. ASIS-for-GNAT is now maintained by AdaCore --
-- (http://www.<EMAIL>). --
-- --
------------------------------------------------------------------------------
with Asis.Elements; use Asis.Elements;
with Atree; use Atree;
with Sinput; use Sinput;
with Einfo; use Einfo;
with Nlists; use Nlists;
package body A4G.Asis_Tables is
---------------------
-- Add_New_Element --
---------------------
procedure Add_New_Element (Element : Asis.Element) is
Found : Boolean := False;
begin
for J in 1 .. Asis_Element_Table.Last loop
if Is_Equal (Element, Asis_Element_Table.Table (J)) then
Found := True;
exit;
end if;
end loop;
if not Found then
Asis_Element_Table.Append (Element);
end if;
end Add_New_Element;
-----------------------
-- Create_Node_Trace --
-----------------------
procedure Create_Node_Trace (N : Node_Id) is
Next_Node : Node_Id;
Next_Sloc : Source_Ptr;
Next_Node_Rec : Node_Trace_Rec;
begin
Node_Trace.Init;
Next_Node := N;
while Present (Next_Node) loop
Next_Sloc := Sloc (Next_Node);
Next_Node_Rec.Kind := Nkind (Next_Node);
Next_Node_Rec.Node_Line := Get_Physical_Line_Number (Next_Sloc);
Next_Node_Rec.Node_Col := Get_Column_Number (Next_Sloc);
Node_Trace.Append (Next_Node_Rec);
Next_Node := Enclosing_Scope (Next_Node);
end loop;
end Create_Node_Trace;
---------------------
-- Enclosing_Scope --
---------------------
function Enclosing_Scope (N : Node_Id) return Node_Id is
Result : Node_Id := N;
Entity_Node : Entity_Id := Empty;
begin
if Nkind (Result) = N_Package_Declaration then
Entity_Node := Defining_Unit_Name (Sinfo.Specification (Result));
elsif Nkind (Result) = N_Package_Body then
Entity_Node := Defining_Unit_Name (Result);
end if;
if Nkind (Entity_Node) = N_Defining_Program_Unit_Name then
Entity_Node := Sinfo.Defining_Identifier (Entity_Node);
end if;
if Present (Entity_Node) and then
Is_Generic_Instance (Entity_Node)
then
-- going to the corresponding instantiation
if Nkind (Parent (Result)) = N_Compilation_Unit then
-- We are at the top/ and we do not need a library-level
-- instantiation - it is always unique in the compilation
-- unit
Result := Empty;
else
-- "local" instantiation, therefore - one or two steps down the
-- declaration list to get in the instantiation node:
Result := Next_Non_Pragma (Result);
if Nkind (Result) = N_Package_Body then
-- This is an expanded generic body
Result := Next_Non_Pragma (Result);
end if;
end if;
else
-- One step up to the enclosing scope
Result := Parent (Result);
while not (Nkind (Result) = N_Package_Specification or else
Nkind (Result) = N_Package_Body or else
Nkind (Result) = N_Compilation_Unit or else
Nkind (Result) = N_Subprogram_Body or else
Nkind (Result) = N_Block_Statement)
loop
Result := Parent (Result);
end loop;
if Nkind (Result) = N_Package_Specification then
Result := Parent (Result);
elsif Nkind (Result) = N_Compilation_Unit then
Result := Empty;
end if;
end if;
return Result;
end Enclosing_Scope;
--------------
-- Is_Equal --
--------------
function Is_Equal
(N : Node_Id;
Trace_Rec : Node_Trace_Rec)
return Boolean
is
begin
return Nkind (N) = Trace_Rec.Kind and then
Get_Physical_Line_Number (Sloc (N)) = Trace_Rec.Node_Line and then
Get_Column_Number (Sloc (N)) = Trace_Rec.Node_Col;
end Is_Equal;
end A4G.Asis_Tables;
|
oeis/038/A038388.asm | neoneye/loda-programs | 11 | 179108 | <reponame>neoneye/loda-programs<filename>oeis/038/A038388.asm
; A038388: Let f(n) be the smallest number such that the arithmetic mean (A) and geometric mean (G) of n and f(n) are both integers; sequence gives G values.
; Submitted by <NAME>
; 1,2,3,4,5,6,7,4,3,10,11,12,13,14,15,8,17,6,19,20,21,22,23,12,5,26,9,28,29,30,31,8,33,34,35,12,37,38,39,20,41,42,43,44,15,46,47,24,7,10,51,52,53,18,55,28,57,58,59,60,61,62,21,16,65,66,67,68,69,70,71,12,73,74,15,76,77,78,79,40,9,82,83,84,85,86,87,44,89,30,91,92,93,94,95,24,97,14,33,20
mov $1,$0
seq $1,145109 ; a(n) = 2*n * core(2*n).
seq $1,196 ; Integer part of square root of n. Or, number of positive squares <= n. Or, n appears 2n+1 times.
mod $0,$1
add $0,1
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_632.asm | ljhsiun2/medusa | 9 | 14047 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xbb06, %r13
clflush (%r13)
nop
nop
cmp $59573, %r11
movw $0x6162, (%r13)
add $61715, %rax
lea addresses_WT_ht+0x346, %r13
nop
nop
nop
nop
nop
sub %r11, %r11
mov $0x6162636465666768, %rbx
movq %rbx, %xmm5
movups %xmm5, (%r13)
nop
nop
nop
nop
inc %rax
lea addresses_D_ht+0x1c95e, %rsi
lea addresses_WT_ht+0x14306, %rdi
nop
mfence
mov $5, %rcx
rep movsq
nop
nop
nop
nop
sub $11205, %rbx
lea addresses_UC_ht+0x1aada, %rcx
nop
nop
nop
nop
nop
and %rax, %rax
mov (%rcx), %r11d
cmp %rcx, %rcx
lea addresses_UC_ht+0xa81a, %rdi
nop
nop
cmp %r13, %r13
mov (%rdi), %ecx
and %rdi, %rdi
lea addresses_A_ht+0xb06, %r13
nop
nop
and %r11, %r11
mov (%r13), %esi
nop
nop
xor $59076, %r13
lea addresses_D_ht+0xd92c, %rsi
lea addresses_A_ht+0x8f06, %rdi
clflush (%rsi)
clflush (%rdi)
nop
nop
nop
and $11218, %rax
mov $21, %rcx
rep movsw
nop
nop
nop
and %r13, %r13
lea addresses_WC_ht+0x2706, %r11
nop
and $36958, %rdi
movw $0x6162, (%r11)
nop
nop
nop
nop
nop
dec %rcx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r15
push %r9
push %rax
push %rdx
// Faulty Load
lea addresses_A+0x6b06, %r9
dec %r11
movups (%r9), %xmm5
vpextrq $0, %xmm5, %r15
lea oracles, %rax
and $0xff, %r15
shlq $12, %r15
mov (%rax,%r15,1), %r15
pop %rdx
pop %rax
pop %r9
pop %r15
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': True, 'type': 'addresses_A'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 10, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 2, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 10, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 0, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 10, 'same': True, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'}
{'35': 21829}
35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
|
alloy4fun_models/trashltl/models/4/36YAcMwaQwFWE5EKY.als | Kaixi26/org.alloytools.alloy | 0 | 882 | <filename>alloy4fun_models/trashltl/models/4/36YAcMwaQwFWE5EKY.als
open main
pred id36YAcMwaQwFWE5EKY_prop5 {
always some f : File | eventually f in Trash
}
pred __repair { id36YAcMwaQwFWE5EKY_prop5 }
check __repair { id36YAcMwaQwFWE5EKY_prop5 <=> prop5o } |
oeis/054/A054149.asm | neoneye/loda-programs | 11 | 1172 | ; A054149: T(2n-1,n), array T as in A054144.
; Submitted by <NAME>
; 1,14,84,410,1820,7648,31008,122584,475600,1818656,6874560,25742624,95645888,353032960,1295729664,4732541824,17211685120,62362187264,225201546240,810825419264,2911520685056,10429433085952
mov $2,$0
mul $0,3
seq $2,20727 ; Pisot sequence P(2,7): a(0)=2, a(1)=7, thereafter a(n+1) is the nearest integer to a(n)^2/a(n-1).
mul $0,$2
add $0,$2
sub $0,1
div $0,2
add $0,1
|
oeis/255/A255368.asm | neoneye/loda-programs | 11 | 93774 | <reponame>neoneye/loda-programs
; A255368: a(n) = -(-1)^n * 2 * n / 3 if n divisible by 3, a(n) = -(-1)^n * n otherwise.
; Submitted by <NAME>
; 0,1,-2,2,-4,5,-4,7,-8,6,-10,11,-8,13,-14,10,-16,17,-12,19,-20,14,-22,23,-16,25,-26,18,-28,29,-20,31,-32,22,-34,35,-24,37,-38,26,-40,41,-28,43,-44,30,-46,47,-32,49,-50,34,-52,53,-36,55,-56,38,-58,59,-40,61,-62,42,-64,65,-44,67,-68,46,-70,71,-48,73,-74,50,-76,77,-52,79,-80,54,-82,83,-56,85,-86,58,-88,89,-60,91,-92,62,-94,95,-64,97,-98,66
sub $0,1
mov $2,-2
bin $2,$0
mov $3,$2
dif $2,3
add $3,$2
mov $0,$3
div $0,2
|
Data/DependentWidthTree.agda | Lolirofle/stuff-in-agda | 6 | 5479 | module Data.DependentWidthTree where
import Lvl
open import Functional using (id)
open import Functional.Dependent
open import Numeral.Finite
open import Numeral.Natural
open import Type
private variable ℓ ℓᵢ ℓₗ ℓₙ ℓₒ : Lvl.Level
private variable N N₁ N₂ L T A B : Type{ℓ}
module _ {N : Type{ℓₙ}} (Index : N → Type{ℓᵢ}) where
-- A tree where the number of children depends on the data stored in a node.
-- Leaves should be represented by having nodes that indicate no children.
-- Note: A tree that have no leaves will not be constructible.
data Tree : Type{ℓₙ Lvl.⊔ ℓᵢ} where
Node : (node : N) → (Index(node) → Tree) → Tree
-- The data of the root node of a tree.
root : Tree → N
root (Node node _) = node
-- The children of a node of a tree.
-- They are indexed by `Index`.
child : (t : Tree) → (Index(root t) → Tree)
child (Node _ child) = child
Tree-elim : ∀{P : Tree → Type{ℓ}} → (∀(node)(child) → (∀(i) → P(child(i))) → P(Node node child)) → ((tree : Tree) → P(tree))
Tree-elim{P = P} f (Node node child) = f node child (Tree-elim{P = P} f ∘ child)
open import Logic.Propositional
-- It is impossible for every node to have at least one child while at the same time a tree exists.
-- Note that constructively, this is not enough to prove the existence of leaves.
Tree-no-leaves-impossibility : (∀{node} → Index(node)) → Tree → ⊥
Tree-no-leaves-impossibility p (Node n c) = Tree-no-leaves-impossibility p (c(p{n}))
module _ {N : Type{ℓₙ}} (width : N → ℕ) where
FiniteTree = Tree(𝕟 ∘ width)
module _ where
open import Data.Boolean
-- A tree of finite variating width holding no data other than the structure of the tree (the number of children for each node).
-- Example:
-- 3:
-- ├1:
-- │└0
-- ├2:
-- │├0
-- │└1:
-- │ └0
-- └0
FiniteTreeStructure = FiniteTree id
-- An empty tree contains no children.
-- This is also functioning as a leaf to a tree.
empty : FiniteTreeStructure
empty = Node 0 \()
-- A tree containing a single child that contains a leaf.
singleton : FiniteTreeStructure
singleton = Node 1 \{𝟎 → empty}
isLeaf : FiniteTreeStructure → Bool
isLeaf(Node 𝟎 _) = 𝑇
isLeaf(Node (𝐒 _) _) = 𝐹
isNode : FiniteTreeStructure → Bool
isNode(Node 𝟎 _) = 𝐹
isNode(Node (𝐒 _) _) = 𝑇
import Numeral.CoordinateVector as CoordinateVector
open import Numeral.Natural.Function
open import Numeral.Natural.Oper
-- The height is the length of the longest path from the root node.
-- Alternative implementation (will not pass the termination checker):
-- height(Node 𝟎 child) = 𝟎
-- height(Node (𝐒(node)) child) = 𝐒(CoordinateVector.foldᵣ(max ∘ height) 𝟎 child)
height : FiniteTreeStructure → ℕ
height = Tree-elim 𝕟 (\{𝟎 _ _ → 𝟎 ; (𝐒(c)) _ prev → 𝐒(CoordinateVector.foldᵣ max 𝟎 prev)})
-- The size of a tree is the number of nodes in the tree.
size : FiniteTreeStructure → ℕ
size = Tree-elim 𝕟 (\{𝟎 _ _ → 𝟎 ; (𝐒(c)) _ prev → 𝐒(CoordinateVector.foldᵣ (_+_) 𝟎 prev)})
|
llvm-gcc-4.2-2.9/gcc/ada/back_end.ads | vidkidz/crossbridge | 1 | 11607 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- B A C K _ E N D --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
-- --
-- GNAT 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 2, or (at your option) any later ver- --
-- sion. GNAT 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. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- Call the back end with all the information needed. Also contains other
-- back-end specific interfaces required by the front end.
package Back_End is
type Back_End_Mode_Type is (
Generate_Object,
-- Full back end operation with object file generation
Declarations_Only,
-- Partial back end operation with no object file generation. In this
-- mode the only useful action performed by gigi is to process all
-- declarations issuing any error messages (in partcicular those to
-- do with rep clauses), and to back annotate representation info.
Skip);
-- Back end call is skipped (syntax only, or errors found)
pragma Convention (C, Back_End_Mode_Type);
for Back_End_Mode_Type use (0, 1, 2);
procedure Call_Back_End (Mode : Back_End_Mode_Type);
-- Call back end, i.e. make call to driver traversing the tree and
-- outputting code. This call is made with all tables locked.
-- The back end is responsible for unlocking any tables it may need
-- to change, and locking them again before returning.
procedure Scan_Compiler_Arguments;
-- Acquires command-line parameters passed to the compiler and processes
-- them. Calls Scan_Front_End_Switches for any front-end switches
-- encountered.
--
-- The processing of arguments is private to the back end, since
-- the way of acquiring the arguments as well as the set of allowable
-- back end switches is different depending on the particular back end
-- being used.
--
-- Any processed switches that influence the result of a compilation
-- must be added to the Compilation_Arguments table.
end Back_End;
|
programs/oeis/341/A341994.asm | jmorken/loda | 1 | 22242 | ; A341994: a(n) = 1 if the arithmetic derivative (A003415) of n is a squarefree number (A005117) > 1, otherwise 0.
; 0,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,1,0,0,0,1,1,0,0,1,0,0,1,1,0,0,0,1,1,0,0,1,0,0,0,1,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,1,0,0,1,1,0,0,1,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,0,1,0,0,1,0,1,0,0,1,0,0,1,1,0,0,0,0,0,0,1,0,0,0,1,1,0,0,1,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,0,1,0,0,1,1,0,0,1
cal $0,3415 ; a(n) = n' = arithmetic derivative of n: a(0) = a(1) = 0, a(prime) = 1, a(mn) = m*a(n) + n*a(m).
cal $0,87049 ; Characteristic sequence for numbers n>=0 that are either squares or have a square > 1 as factor.
mov $1,21
mov $3,$0
add $3,1
mul $3,2
add $2,$3
sub $1,$2
sub $1,17
div $1,2
|
programs/oeis/131/A131649.asm | neoneye/loda | 22 | 162556 | ; A131649: Number of distinct improper 2-coloring of edges for odd-order cyclic graphs.
; 4,8,16,32,54,82,116,156,202,254,312,376,446,522,604,692,786,886,992,1104,1222,1346,1476,1612,1754,1902,2056,2216,2382,2554,2732,2916,3106,3302,3504,3712,3926,4146,4372,4604,4842,5086,5336,5592,5854
mov $1,$0
pow $1,2
mov $2,2
min $2,$1
add $1,$0
bin $0,$2
add $1,$0
mov $0,$1
add $0,1
mul $0,2
|
src/gdnative-console.adb | persan/gdnative_ada | 10 | 14022 | with Interfaces.C;
with GDNative.Thin;
with GDNative.Context;
package body GDNative.Console is
package IC renames Interfaces.C;
---------
-- Put --
---------
procedure Put (Item : in Wide_String) is
C_Item : IC.wchar_array := IC.To_C (Item);
Godot_Item : aliased Thin.godot_string;
begin
pragma Assert (Context.Core_Initialized, "Please run GDNative_Initialize");
Context.Core_Api.godot_string_new_with_wide_string (Godot_Item'access, C_Item (0)'access, C_Item'Length);
Context.Core_Api.godot_print (Godot_Item'access);
Context.Core_Api.godot_string_destroy (Godot_Item'access);
end;
end; |
src/Bisimilarity/CCS/General.agda | nad/up-to | 0 | 82 | <reponame>nad/up-to<gh_stars>0
------------------------------------------------------------------------
-- Some results related to CCS, implemented without using a fixed form
-- of bisimilarity
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Prelude
module Bisimilarity.CCS.General {ℓ} {Name : Type ℓ} where
open import Equality.Propositional
open import List equality-with-J
open import Prelude.Size
open import Labelled-transition-system
open import Labelled-transition-system.CCS Name
------------------------------------------------------------------------
-- Exercise 6.1.3 (1) from "Enhancements of the bisimulation proof
-- method" by Pous and Sangiorgi
6-1-3-1-proc : Proc ∞ → Proc ∞ → ℕ → Proc ∞
6-1-3-1-proc P P′ zero = ! P ∣ P′
6-1-3-1-proc P P′ (suc n) = 6-1-3-1-proc P P′ n ∣ P
-- Note that the form of the expression is a bit more restrictive
-- than in the exercise formulation: (((! P | P′) | P)…) ∣ P.
6-1-3-1-without-τ :
∀ {a P P₀} → let μ = name a in
! P [ μ ]⟶ P₀ →
∃ λ P′ → ∃ λ n →
P [ μ ]⟶ P′ × P₀ ≡ 6-1-3-1-proc P P′ n
6-1-3-1-without-τ {a} {P} (replication (par-right {Q′ = P′} tr)) =
P′ , 0
, (P [ name a ]⟶⟨ tr ⟩
P′)
, (! P ∣ P′ ≡⟨ refl ⟩∎
6-1-3-1-proc P P′ 0 ∎)
6-1-3-1-without-τ {a} {P} (replication (par-left {P′ = P′} tr)) =
let P″ , n , tr′ , eq = 6-1-3-1-without-τ tr in
P″ , suc n
, (P [ name a ]⟶⟨ tr′ ⟩
P″)
, (P′ ∣ P ≡⟨ cong (_∣ _) eq ⟩
6-1-3-1-proc P P″ n ∣ P ≡⟨ refl ⟩∎
6-1-3-1-proc P P″ (suc n) ∎)
One-step-away : {A : Type ℓ} → (A → Action) → Proc ∞ → Type ℓ
One-step-away f P = ∃ λ a → ∃ λ P′ → P [ f a ]⟶ P′
cons : {A B : Type ℓ} → A → List A × B → List A × B
cons x (xs , y) = x ∷ xs , y
6-1-3-1-proc′ :
(P : Proc ∞) →
List (Maybe (One-step-away name P)) × One-step-away id P →
Proc ∞
6-1-3-1-proc′ P ([] , (_ , P′ , _)) = ! P ∣ P′
6-1-3-1-proc′ P (just (_ , P′ , _) ∷ Ps , o) = 6-1-3-1-proc′ P (Ps , o) ∣ P′
6-1-3-1-proc′ P (nothing ∷ Ps , o) = 6-1-3-1-proc′ P (Ps , o) ∣ P
6-1-3-1-with-τ :
∀ {μ P P₀} →
! P [ μ ]⟶ P₀ →
∃ λ Ps → P₀ ≡ 6-1-3-1-proc′ P Ps
6-1-3-1-with-τ {μ} {P} (replication (par-right {Q′ = P′} tr)) =
Ps
, (! P ∣ P′ ≡⟨ refl ⟩∎
6-1-3-1-proc′ P Ps ∎)
where
Ps = [] , (μ , P′ , tr)
6-1-3-1-with-τ {μ} {P} (replication (par-left {P′ = P′} tr)) =
let Ps , eq = 6-1-3-1-with-τ tr
Ps′ = cons nothing Ps
in
Ps′
, (P′ ∣ P ≡⟨ cong (_∣ _) eq ⟩
6-1-3-1-proc′ P Ps ∣ P ≡⟨ refl ⟩∎
6-1-3-1-proc′ P Ps′ ∎)
6-1-3-1-with-τ .{τ} {P}
(replication (par-τ {P′ = P′} {Q′ = Q′} {a = a}
tr₁ tr₂)) =
let Ps , eq = 6-1-3-1-with-τ tr₁
Ps′ = cons (just (co a , Q′ , tr₂)) Ps
in
Ps′
, (P′ ∣ Q′ ≡⟨ cong (_∣ _) eq ⟩
6-1-3-1-proc′ P Ps ∣ Q′ ≡⟨ refl ⟩∎
6-1-3-1-proc′ P Ps′ ∎)
------------------------------------------------------------------------
-- Exercise 6.1.3 (2) from "Enhancements of the bisimulation proof
-- method" by Pous and Sangiorgi
-- Assumptions used to state and solve the exercise.
record 6-1-3-2-assumptions ℓ′ : Type (ℓ ⊔ lsuc ℓ′) where
infix 4 _∼_
infix -1 finally-∼
infixr -2 step-∼
syntax finally-∼ p q p∼q = p ∼⟨ p∼q ⟩∎ q ∎
syntax step-∼ p q∼r p∼q = p ∼⟨ p∼q ⟩ q∼r
field
_∼_ : Proc ∞ → Proc ∞ → Type ℓ′
step-∼ : ∀ P {Q R} → Q ∼ R → P ∼ Q → P ∼ R
finally-∼ : ∀ P Q → P ∼ Q → P ∼ Q
reflexive : ∀ {P} → P ∼ P
symmetric : ∀ {P Q} → P ∼ Q → Q ∼ P
∣-comm : ∀ {P Q} → P ∣ Q ∼ Q ∣ P
∣-assoc : ∀ {P Q R} → P ∣ (Q ∣ R) ∼ (P ∣ Q) ∣ R
_∣-cong_ : ∀ {P P′ Q Q′} → P ∼ P′ → Q ∼ Q′ → P ∣ Q ∼ P′ ∣ Q′
6-1-2 : ∀ {P} → ! P ∣ P ∼ ! P
module 6-1-3-2 {ℓ′} (assumptions : 6-1-3-2-assumptions ℓ′) where
open 6-1-3-2-assumptions assumptions
swap-rightmost : ∀ {P Q R} → (P ∣ Q) ∣ R ∼ (P ∣ R) ∣ Q
swap-rightmost {P} {Q} {R} =
(P ∣ Q) ∣ R ∼⟨ symmetric ∣-assoc ⟩
P ∣ (Q ∣ R) ∼⟨ reflexive ∣-cong ∣-comm ⟩
P ∣ (R ∣ Q) ∼⟨ ∣-assoc ⟩∎
(P ∣ R) ∣ Q ∎
6-1-3-2 :
∀ {μ P P₀} →
! P [ μ ]⟶ P₀ →
(∃ λ P′ → P [ μ ]⟶ P′ × P₀ ∼ ! P ∣ P′)
⊎
(μ ≡ τ × ∃ λ P′ → ∃ λ P″ → ∃ λ a →
P [ name a ]⟶ P′ × P [ name (co a) ]⟶ P″ × P₀ ∼ (! P ∣ P′) ∣ P″)
6-1-3-2 {μ} {P} (replication (par-right {Q′ = P′} P⟶P′)) =
inj₁ ( _
, (P [ μ ]⟶⟨ P⟶P′ ⟩
P′)
, (! P ∣ P′ ∼⟨ reflexive ⟩∎
! P ∣ P′ ∎))
6-1-3-2 {μ} {P} (replication (par-left {P′ = P′} tr)) with 6-1-3-2 tr
... | inj₁ (P″ , P⟶P″ , P′∼!P∣P″) =
inj₁ ( _
, (P [ μ ]⟶⟨ P⟶P″ ⟩
P″)
, (P′ ∣ P ∼⟨ P′∼!P∣P″ ∣-cong reflexive ⟩
(! P ∣ P″) ∣ P ∼⟨ swap-rightmost ⟩
(! P ∣ P) ∣ P″ ∼⟨ 6-1-2 ∣-cong reflexive ⟩∎
! P ∣ P″ ∎))
... | inj₂ (μ≡τ , P″ , P‴ , a , P⟶P″ , P⟶P‴ , P′∼!P∣P″∣P‴) =
inj₂ ( μ≡τ , _ , _ , _
, (P [ name a ]⟶⟨ P⟶P″ ⟩
P″)
, (P [ name (co a) ]⟶⟨ P⟶P‴ ⟩
P‴)
, (P′ ∣ P ∼⟨ P′∼!P∣P″∣P‴ ∣-cong reflexive ⟩
((! P ∣ P″) ∣ P‴) ∣ P ∼⟨ swap-rightmost ⟩
((! P ∣ P″) ∣ P) ∣ P‴ ∼⟨ swap-rightmost ∣-cong reflexive ⟩
((! P ∣ P) ∣ P″) ∣ P‴ ∼⟨ (6-1-2 ∣-cong reflexive) ∣-cong reflexive ⟩∎
(! P ∣ P″) ∣ P‴ ∎))
6-1-3-2 {P = P} (replication (par-τ {P′ = P′} {Q′ = Q′} {a = a}
tr P⟶Q′)) with 6-1-3-2 tr
... | inj₁ (P″ , P⟶P″ , P′∼!P∣P″) =
inj₂ ( refl , _ , _ , _
, (P [ name a ]⟶⟨ P⟶P″ ⟩
P″)
, (P [ name (co a) ]⟶⟨ P⟶Q′ ⟩
Q′)
, (P′ ∣ Q′ ∼⟨ P′∼!P∣P″ ∣-cong reflexive ⟩∎
(! P ∣ P″) ∣ Q′ ∎))
... | inj₂ (() , _)
|
CpuA32/TestData/fib.asm | robertmuth/Cwerg | 171 | 19727 | <gh_stars>100-1000
# sig: IN: [U32] -> OUT: [] stk_size:1
.fun putchar 16
sub_imm al sp sp 16
.bbl start 4
add_imm al r1 sp 0
mov_regimm al r0 r0 lsl 0
strb_imm_add al sp 0 r0
mov_imm al r2 1
mov_imm al r0 1
str_imm_sub_pre al sp 4 r7
movw al r7 4
svc al 0
ldr_imm_add_post al r7 sp 4
add_imm al sp sp 16
bx al lr
.endfun
# sig: IN: [U32] -> OUT: [] stk_size:0
.fun print_num 16
stmdb_update al sp reglist:0x4040
sub_imm al sp sp 8
.bbl start 4
mov_imm al r1 10
udiv al r1 r0 r1
mov_imm al r2 10
mul al r1 r1 r2
sub_regimm al r6 r0 r1 lsl 0
mov_imm al r1 10
udiv al r4 r0 r1
cmp_imm al r4 0
b eq expr:jump24:skip
.bbl ddd 4
mov_regimm al r0 r4 lsl 0
bl al expr:call:print_num
.bbl skip 4
add_imm al r6 r6 48
mov_regimm al r0 r6 lsl 0
bl al expr:call:putchar
add_imm al sp sp 8
ldmia_update al reglist:0x8040 sp
.endfun
# sig: IN: [U32] -> OUT: [] stk_size:0
.fun print_num_ln 16
stmdb_update al sp reglist:0x4000
sub_imm al sp sp 12
.bbl start 4
bl al expr:call:print_num
mov_imm al r0 10
bl al expr:call:putchar
add_imm al sp sp 12
ldmia_update al reglist:0x8000 sp
.endfun
# sig: IN: [U32] -> OUT: [U32] stk_size:0
.fun fibonacci 16
stmdb_update al sp reglist:0x40c0
sub_imm al sp sp 4
.bbl start 4
mov_regimm al r6 r0 lsl 0
cmp_imm al r6 1
b hi expr:jump24:difficult
.bbl start_1 4
mov_regimm al r0 r6 lsl 0
add_imm al sp sp 4
ldmia_update al reglist:0x80c0 sp
.bbl difficult 4
sub_imm al r0 r6 1
bl al expr:call:fibonacci
mov_regimm al r7 r0 lsl 0
sub_imm al r0 r6 2
bl al expr:call:fibonacci
add_regimm al r0 r7 r0 lsl 0
add_imm al sp sp 4
ldmia_update al reglist:0x80c0 sp
.endfun
# sig: IN: [] -> OUT: [S32] stk_size:0
.fun main 16
stmdb_update al sp reglist:0x4000
sub_imm al sp sp 12
.bbl start 4
mov_imm al r0 7
bl al expr:call:fibonacci
bl al expr:call:print_num_ln
mov_imm al r0 0
add_imm al sp sp 12
ldmia_update al reglist:0x8000 sp
.endfun
.fun _start 16
mov_imm al r10 0
.bbl loop 16
add_imm al r0 r10 0
bl al expr:call:fibonacci
bl al expr:call:print_num_ln
add_imm al r10 r10 1
cmp_imm al r10 10
b ne expr:jump24:loop
# exit 0
mov_imm al r0 0
mov_imm al r7 1
svc al 0
|
LibraBFT/Base/PKCS.agda | cwjnkins/bft-consensus-agda | 0 | 6409 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Lemmas
open import LibraBFT.Prelude
open import LibraBFT.Base.Encode
open import LibraBFT.Base.ByteString
-- This module contains a model of cryptographic signatures on
-- certain data structures, and creation and verification
-- thereof. These data structures, defined by the WithVerSig
-- type, can be optionally signed, and if they are signed, the
-- signature covers a ByteString derived from the data structure,
-- enabling support for signature that cover only (functions of)
-- specific parts of the data structure. The module also
-- contains some properties we have found useful in other
-- contexts, though they are not yet used in this repo.
module LibraBFT.Base.PKCS where
postulate -- valid assumption
signature-size : ℕ
Signature : Set
Signature = Σ ByteString (λ s → length s ≡ signature-size)
postulate -- valid assumptions
PK : Set
SK : Set
IsKeyPair : PK → SK → Set
_≟PK_ : (pk1 pk2 : PK) → Dec (pk1 ≡ pk2)
instance
enc-PK : Encoder PK
enc-SigMB : Encoder (Maybe Signature)
sign-raw : ByteString → SK → Signature
verify : ByteString → Signature → PK → Bool
-- We assume no "signature collisions", as represented by verify-pk-inj
verify-pk-inj : ∀{bs sig pk pk'}
→ verify bs sig pk ≡ true
→ verify bs sig pk' ≡ true
→ pk ≡ pk'
verify-bs-inj : ∀{bs bs' sig pk}
→ verify bs sig pk ≡ true
→ verify bs' sig pk ≡ true
→ bs ≡ bs'
verify-sign : ∀{bs pk sk}
→ IsKeyPair pk sk
→ verify bs (sign-raw bs sk) pk ≡ true
verify-fail : ∀{bs pk sk}
→ ¬ IsKeyPair pk sk
→ verify bs (sign-raw bs sk) pk ≡ false
-- We consider a PK to be (permanently) either honest or not,
-- respresented by the following postulate. This is relevant
-- in reasoning about possible behaviours of a modeled system.
-- Specifically, the secret key corresponding to an honest PK
-- is assumed not to be leaked, ensuring that cheaters cannot
-- forge new signatures for honest PKs. Furthermore, if a peer
-- is assigned we use possession
-- of an honest PK in a given epoch to modelWe will postulate that, among
-- the PKs chosen for a particular epoch, the number of them
-- that are dishonest is at most the number of faults to be
-- tolerated for that epoch. This definition is /meta/: the
-- information about which PKs are (dis)honest should never be
-- used by the implementation -- it is only for modeling and
-- proofs.
Meta-Dishonest-PK : PK → Set
Meta-DishonestPK? : (pk : PK) → Dec (Meta-Dishonest-PK pk)
verify-pi : ∀{bs sig pk}
→ (v1 : verify bs sig pk ≡ true)
→ (v2 : verify bs sig pk ≡ true)
→ v1 ≡ v2
verify-pi {bs} {sig} {pk} _ _
with verify bs sig pk
verify-pi {bs} {sig} {pk} refl refl | .true = refl
Meta-Honest-PK : PK → Set
Meta-Honest-PK = ¬_ ∘ Meta-Dishonest-PK
-- A datatype C might that might carry values with
-- signatures should be an instance of 'WithSig' below.
record WithSig (C : Set) : Set₁ where
field
-- A decidable predicate indicates whether values have
-- been signed
Signed : C → Set
Signed-pi : ∀ (c : C)
→ (is1 : Signed c)
→ (is2 : Signed c)
→ is1 ≡ is2
isSigned? : (c : C) → Dec (Signed c)
-- Signed values must have a signature
signature : (c : C)(hasSig : Signed c) → Signature
-- All values must be /encoded/ into a ByteString that
-- is supposed to be verified against a signature.
signableFields : C → ByteString
open WithSig {{...}} public
sign : {C : Set} ⦃ ws : WithSig C ⦄ → C → SK → Signature
sign c = sign-raw (signableFields c)
Signature≡ : {C : Set} ⦃ ws : WithSig C ⦄ → C → Signature → Set
Signature≡ c sig = Σ (Signed c) (λ s → signature c s ≡ sig)
-- A value of a datatype C can have its signature
-- verified; A value of type WithVerSig c is a proof of that.
-- Hence; the set (Σ C WithVerSig) is the set of values of
-- type C with verified signatures.
record WithVerSig {C : Set} ⦃ ws : WithSig C ⦄ (pk : PK) (c : C) : Set where
constructor mkWithVerSig
field
isSigned : Signed c
verified : verify (signableFields c) (signature c isSigned) pk
≡ true
open WithVerSig public
ver-signature : ∀{C pk}⦃ ws : WithSig C ⦄{c : C} → WithVerSig pk c → Signature
ver-signature {c = c} wvs = signature c (isSigned wvs)
verCast : {C : Set} ⦃ ws : WithSig C ⦄ {c : C} {is1 is2 : Signed c} {pk1 pk2 : PK}
→ verify (signableFields c) (signature c is1) pk1 ≡ true
→ pk1 ≡ pk2
→ is1 ≡ is2
→ verify (signableFields c) (signature c is2) pk2 ≡ true
verCast prf refl refl = prf
wvsCast : {C : Set} ⦃ ws : WithSig C ⦄ {c : C} {pk1 pk2 : PK}
→ WithVerSig pk1 c
→ pk2 ≡ pk1
→ WithVerSig pk2 c
wvsCast {c = c} wvs refl = wvs
withVerSig-≡ : {C : Set} ⦃ ws : WithSig C ⦄ {pk : PK} {c : C}
→ {wvs1 : WithVerSig pk c}
→ {wvs2 : WithVerSig pk c}
→ isSigned wvs1 ≡ isSigned wvs2
→ wvs1 ≡ wvs2
withVerSig-≡ {wvs1 = wvs1} {wvs2 = wvs2} refl
with verified wvs2 | inspect verified wvs2 | verCast (verified wvs1) refl refl
...| vwvs2 | [ R ] | vwvs1 rewrite verify-pi vwvs1 vwvs2 | sym R = refl
withVerSig-pi : {C : Set} {pk : PK} {c : C} ⦃ ws : WithSig C ⦄
→ (wvs1 : WithVerSig pk c)
→ (wvs2 : WithVerSig pk c)
→ wvs2 ≡ wvs1
withVerSig-pi {C} {pk} {c} ⦃ ws ⦄ wvs2 wvs1
with isSigned? c
...| no ¬Signed = ⊥-elim (¬Signed (isSigned wvs1))
...| yes sc = withVerSig-≡ {wvs1 = wvs1} {wvs2 = wvs2} (Signed-pi c (isSigned wvs1) (isSigned wvs2))
data SigCheckResult {C : Set} ⦃ ws : WithSig C ⦄ (pk : PK) (c : C) : Set where
notSigned : ¬ Signed c → SigCheckResult pk c
checkFailed : (sc : Signed c) → verify (signableFields c) (signature c sc) pk ≡ false → SigCheckResult pk c
sigVerified : WithVerSig pk c → SigCheckResult pk c
checkFailed≢sigVerified : {C : Set} ⦃ ws : WithSig C ⦄ {pk : PK} {c : C}
{wvs : WithVerSig ⦃ ws ⦄ pk c}
{sc : Signed c} {v : verify (signableFields c) (signature c sc) pk ≡ false}
→ checkFailed sc v ≡ sigVerified wvs → ⊥
checkFailed≢sigVerified ()
data SigCheckOutcome : Set where
notSigned : SigCheckOutcome
checkFailed : SigCheckOutcome
sigVerified : SigCheckOutcome
data SigCheckFailed : Set where
notSigned : SigCheckFailed
checkFailed : SigCheckFailed
check-signature : {C : Set} ⦃ ws : WithSig C ⦄ → (pk : PK) → (c : C) → SigCheckResult pk c
check-signature pk c with isSigned? c
...| no ns = notSigned ns
...| yes sc with verify (signableFields c) (signature c sc) pk
| inspect (verify (signableFields c) (signature c sc)) pk
...| false | [ nv ] = checkFailed sc nv
...| true | [ v ] = sigVerified (record { isSigned = sc
; verified = v })
sigCheckOutcomeFor : {C : Set} ⦃ ws : WithSig C ⦄ (pk : PK) (c : C) → SigCheckOutcome
sigCheckOutcomeFor pk c with check-signature pk c
...| notSigned _ = notSigned
...| checkFailed _ _ = checkFailed
...| sigVerified _ = sigVerified
sigVerifiedVerSigCS : {C : Set} ⦃ ws : WithSig C ⦄ {pk : PK} {c : C}
→ sigCheckOutcomeFor pk c ≡ sigVerified
→ ∃[ wvs ] (check-signature ⦃ ws ⦄ pk c ≡ sigVerified wvs)
sigVerifiedVerSigCS {pk = pk} {c = c} prf
with check-signature pk c | inspect
(check-signature pk) c
...| sigVerified verSig | [ R ] rewrite R = verSig , refl
sigVerifiedVerSig : {C : Set} ⦃ ws : WithSig C ⦄ {pk : PK} {c : C}
→ sigCheckOutcomeFor pk c ≡ sigVerified
→ WithVerSig pk c
sigVerifiedVerSig = proj₁ ∘ sigVerifiedVerSigCS
sigVerifiedSCO : {C : Set} ⦃ ws : WithSig C ⦄ {pk : PK} {c : C}
→ (wvs : WithVerSig pk c)
→ sigCheckOutcomeFor pk c ≡ sigVerified
sigVerifiedSCO {pk = pk} {c = c} wvs
with check-signature pk c
...| notSigned ns = ⊥-elim (ns (isSigned wvs))
...| checkFailed xx xxs rewrite Signed-pi c xx (isSigned wvs) = ⊥-elim (false≢true (trans (sym xxs) (verified wvs)))
...| sigVerified wvs' = refl
failedSigCheckOutcome : {C : Set} ⦃ ws : WithSig C ⦄ (pk : PK) (c : C)
→ sigCheckOutcomeFor pk c ≢ sigVerified
→ SigCheckFailed
failedSigCheckOutcome pk c prf with sigCheckOutcomeFor pk c
...| notSigned = notSigned
...| checkFailed = checkFailed
...| sigVerified = ⊥-elim (prf refl)
|
ZX-Spectrum/library/print_string.asm | peroff/8-Bit-Tea-Party | 13 | 11052 | <gh_stars>10-100
;Unversal function to print string on screen with windows.
;Authours: ...
;
;Function description and globals.
;
;Parameters:
;
;Returns:
;
;Function comment.
;Platforms: ...
;Assemble: ...
;Code size: ...
;Static data size: ...
;Performance:
;
;Полное название функции на русском.
;Автор: ...
;
;Описание, подробное функиции, что именно
;она длеает.
;
;Параметры:
;
;Возврат(регистры или память):
;
;Дополнительный комментарий, как функция
;работает и если есть неявные моменты.
;
;Платформы: машины совместимости;
;Ассемблер: чем можно точно собрать;
;Размер кода: если есть возможность;
;Размер статичных данных: для статичности;
;Производительность: быстро! :)
|
ada/original_2008/ada-gui/agar-gui-widget-icon.ads | auzkok/libagar | 286 | 4148 | <reponame>auzkok/libagar
with agar.core.types;
with agar.gui.surface;
with agar.gui.types;
package agar.gui.widget.icon is
use type c.unsigned;
subtype flags_t is agar.gui.types.widget_icon_flags_t;
ICON_REGEN_LABEL : constant flags_t := 16#01#;
ICON_DND : constant flags_t := 16#02#;
ICON_DBLCLICKED : constant flags_t := 16#04#;
ICON_BGFILL : constant flags_t := 16#08#;
subtype icon_t is agar.gui.types.widget_icon_t;
subtype icon_access_t is agar.gui.types.widget_icon_access_t;
-- API
function allocate
(parent : widget_access_t;
flags : flags_t) return icon_access_t;
pragma import (c, allocate, "AG_IconNew");
function allocate_from_surface
(surface : agar.gui.surface.surface_access_t) return icon_access_t;
pragma import (c, allocate_from_surface, "AG_IconFromSurface");
function allocate_from_bitmap
(filename : string) return icon_access_t;
pragma inline (allocate_from_bitmap);
-- procedure set_padding
-- (icon : icon_access_t;
-- left : natural;
-- right : natural;
-- top : natural;
-- bottom : natural);
-- pragma inline (set_padding);
procedure set_surface
(icon : icon_access_t;
surface : agar.gui.surface.surface_access_t);
pragma import (c, set_surface, "AG_IconSetSurface");
procedure set_surface_no_copy
(icon : icon_access_t;
surface : agar.gui.surface.surface_access_t);
pragma import (c, set_surface_no_copy, "AG_IconSetSurfaceNODUP");
procedure set_text
(icon : icon_access_t;
text : string);
pragma inline (set_text);
procedure set_background_fill
(icon : icon_access_t;
fill : boolean;
color : agar.core.types.uint32_t);
pragma inline (set_background_fill);
function widget (icon : icon_access_t) return widget_access_t renames
agar.gui.types.widget_icon_widget;
end agar.gui.widget.icon;
|
gfx/pokemon/nidoqueen/anim_idle.asm | Dev727/ancientplatinum | 28 | 705 | <reponame>Dev727/ancientplatinum
frame 6, 50
setrepeat 2
frame 0, 07
frame 6, 07
dorepeat 2
endanim
|
14/1/src/main.adb | Heziode/aoc-ada-2021 | 3 | 17799 | <reponame>Heziode/aoc-ada-2021<filename>14/1/src/main.adb
with Ada.Containers.Hashed_Maps,
Ada.Execution_Time,
Ada.Long_Long_Integer_Text_IO,
Ada.Real_Time,
Ada.Strings.Fixed,
Ada.Strings.Hash,
Ada.Strings.Unbounded,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Execution_Time,
Ada.Real_Time,
Ada.Strings.Unbounded,
Ada.Text_IO;
use Utils;
Max_Steps : constant := 10;
subtype Rule_Str is String (1 .. 2);
subtype Long_Long_Natural is Long_Long_Integer range 0 .. Long_Long_Integer'Last;
package Rule_Maps is new Ada.Containers.Hashed_Maps (Key_Type => Rule_Str,
Element_Type => Character,
Hash => Ada.Strings.Hash,
Equivalent_Keys => "=",
"=" => "=");
package Rule_Counter_Maps is new Ada.Containers.Hashed_Maps (Key_Type => Rule_Str,
Element_Type => Long_Long_Natural,
Hash => Ada.Strings.Hash,
Equivalent_Keys => "=",
"=" => "=");
use Rule_Maps;
use Rule_Counter_Maps;
File : File_Type;
Start_Time, End_Time : CPU_Time;
Execution_Duration : Time_Span;
File_Is_Empty : Boolean := True;
Result : Long_Long_Natural := Long_Long_Natural'First;
Rules : Rule_Maps.Map := Rule_Maps.Empty_Map;
Counter : Rule_Counter_Maps.Map := Rule_Counter_Maps.Empty_Map;
Polymer_Template : Unbounded_String;
begin
Get_File (File);
Polymer_Template := To_Unbounded_String (Get_Line (File));
-- Get all rules
begin
while not End_Of_File (File) loop
declare
Str : constant String := Get_Line (File);
begin
if Str'Length = 0 then
goto Continue_Next_Line;
end if;
declare
Pattern : constant String := " -> ";
Separator_Index : constant Integer :=
Ada.Strings.Fixed.Index (Source => Str (1 .. Str'Last), Pattern => Pattern);
Left_Str : constant String := Str (1 .. Separator_Index - 1);
Right_Str : constant String := Str (Separator_Index + Pattern'Length .. Str'Last);
begin
Rules.Include (Rule_Str (Left_Str), Right_Str (Right_Str'First));
end;
end;
File_Is_Empty := False;
<<Continue_Next_Line>>
end loop;
end;
-- Exit the program if there is no values
if File_Is_Empty then
Close_If_Open (File);
Put_Line ("The input file is empty.");
return;
end if;
-- Initialize Counter
for Index in 1 .. Length (Polymer_Template) - 1 loop
if not Counter.Contains (Element (Polymer_Template, Index) & Element (Polymer_Template, Index + 1)) then
Counter.Include (Element (Polymer_Template, Index) & Element (Polymer_Template, Index + 1), 0);
end if;
Counter.Include (Element (Polymer_Template, Index) & Element (Polymer_Template, Index + 1),
Counter.Element (Element (Polymer_Template, Index) & Element (Polymer_Template, Index + 1)) + 1
);
end loop;
-- Do the puzzle
Start_Time := Ada.Execution_Time.Clock;
Solve_Puzzle : declare
begin
for Step in 1 .. Max_Steps loop
declare
Temp_Counter : Rule_Counter_Maps.Map := Rule_Counter_Maps.Empty_Map;
Current_Key : Rule_Str;
Current_Rule_Key : Rule_Str;
begin
for Curs in Counter.Iterate loop
Current_Key := Key (Curs);
Current_Rule_Key := Current_Key (Rule_Str'First) & Rules (Current_Key);
if not Temp_Counter.Contains (Current_Rule_Key) then
Temp_Counter.Insert (Current_Rule_Key, 0);
end if;
Temp_Counter.Include (Current_Rule_Key,
Temp_Counter.Element (Current_Rule_Key) + Counter.Element (Current_Key));
Current_Rule_Key := Rules (Current_Key) & Current_Key (Rule_Str'Last);
if not Temp_Counter.Contains (Current_Rule_Key) then
Temp_Counter.Insert (Current_Rule_Key, 0);
end if;
Temp_Counter.Include (Current_Rule_Key,
Temp_Counter.Element (Current_Rule_Key) + Counter.Element (Current_Key));
end loop;
Counter := Temp_Counter;
end;
end loop;
Get_Result : declare
function Character_Hash (Elt : Character) return Ada.Containers.Hash_Type is
(Ada.Containers.Hash_Type (Character'Pos (Elt)));
package Character_Counter_Maps is new Ada.Containers.Hashed_Maps (Key_Type => Character,
Element_Type => Long_Long_Natural,
Hash => Character_Hash,
Equivalent_Keys => "=",
"=" => "=");
use Character_Counter_Maps;
Final_Counter : Character_Counter_Maps.Map := Character_Counter_Maps.Empty_Map;
Min : Long_Long_Natural := Long_Long_Natural'Last;
Max : Long_Long_Natural := Long_Long_Natural'First;
Current_Key : Character;
Current_Value : Long_Long_Natural;
begin
for Curs in Counter.Iterate loop
Current_Key := Key (Curs) (Rule_Str'First);
if not Final_Counter.Contains (Current_Key) then
Final_Counter.Insert (Current_Key, 0);
end if;
Final_Counter.Include (Current_Key, Final_Counter.Element (Current_Key) + Counter.Element (Key (Curs)));
end loop;
Current_Key := Element (Polymer_Template, Length (Polymer_Template));
Final_Counter.Include (Current_Key, Final_Counter.Element (Current_Key) + 1);
for Curs in Final_Counter.Iterate loop
Current_Value := Element (Curs);
if Current_Value < Min then
Min := Current_Value;
end if;
if Current_Value > Max then
Max := Current_Value;
end if;
end loop;
Result := Max - Min;
end Get_Result;
end Solve_Puzzle;
End_Time := Ada.Execution_Time.Clock;
Execution_Duration := End_Time - Start_Time;
Put ("Result: ");
Ada.Long_Long_Integer_Text_IO.Put (Item => Result,
Width => 0);
New_Line;
Put_Line ("(Took " & Duration'Image (To_Duration (Execution_Duration) * 1_000_000) & "µs)");
exception
when others =>
Close_If_Open (File);
raise;
end Main;
|
script/mac.applescript | meganii/paste-image-for-hugo | 0 | 2121 | property fileTypes : {{«class PNGf», ".png"}}
on getType()
repeat with aType in fileTypes
repeat with theInfo in (clipboard info)
if (first item of theInfo) is equal to (first item of aType) then return aType
end repeat
end repeat
return missing value
end getType
on run argv
if argv is {} then
return ""
end if
set theType to getType()
if theType is missing value then
return "no image"
end if
set imagePath to (item 1 of argv)
try
set myFile to (open for access imagePath with write permission)
set eof myFile to 0
write (the clipboard as (first item of theType)) to myFile
close access myFile
return (POSIX path of imagePath)
on error
try
close access myFile
end try
return ""
end try
end run |
core/src/main/c/share/asmlib/strcpy64.asm | jerrinot/questdb | 8,451 | 167475 | <gh_stars>1000+
;************************* strcpy64.asm ************************************
; Author: <NAME>
; Date created: 2008-07-19
; Last modified: 2011-07-01
; Description:
; Faster version of the standard strcpy function:
; char * A_strcpy(char * dest, const char * src);
; Copies zero-terminated string from src to dest, including terminating zero.
;
; Overriding standard function memcpy:
; The alias ?OVR_strcpy is changed to _strcpy in the object file if
; it is desired to override the standard library function strcpy.
;
; Optimization:
; Uses optimized functions A_strlen and A_memcpy. These functions allow
; calling without proper stack alignment.
;
; Copyright (c) 2011 GNU General Public License www.gnu.org/licenses
;******************************************************************************
default rel
global A_strcpy ; Function A_strcpy
global ?OVR_strcpy ; ?OVR removed if standard function memcpy overridden
; Imported from strlen64.asm
extern A_strlen
; Imported from memcpy64.asm
extern A_memcpy
SECTION .text align=16
; extern "C" char * A_strcpy(char * dest, const char * src) {
; return memcpy(dest, src, strlen(src)+1);
; }
; Function entry:
A_strcpy:
?OVR_strcpy:
%IFDEF WINDOWS
%define Rpar1 rcx ; function parameter 1
%define Rpar2 rdx ; function parameter 2
%define Rpar3 r8 ; function parameter 3
%ENDIF
%IFDEF UNIX
%define Rpar1 rdi ; function parameter 1
%define Rpar2 rsi ; function parameter 2
%define Rpar3 rdx ; function parameter 3
%ENDIF
push Rpar1 ; dest
push Rpar2 ; src
mov Rpar1, Rpar2
; (A_strlen does not require stack alignment)
call A_strlen ; length of src
lea Rpar3,[rax+1] ; include terminating zero in length
pop Rpar2 ; src
pop Rpar1 ; dest
jmp A_memcpy ; copy and return
;A_strcpy ENDP
|
projects/07/MemoryAccess/PointerTest/PointerTest.asm | WuShaoa/Nand2Tetris | 0 | 6282 | @3030
D=A
@SP
A=M
M=D
@SP
M=M+1
@3
D=A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@3040
D=A
@SP
A=M
M=D
@SP
M=M+1
@4
D=A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@32
D=A
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@2
D=D+A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@46
D=A
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@6
D=D+A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@3
D=M
@SP
A=M
M=D
@SP
M=M+1
@4
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@SP
M=M-1
A=M
D=D+M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@2
A=D+A
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@SP
M=M-1
A=M
D=M-D
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@6
A=D+A
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@SP
M=M-1
A=M
D=D+M
@SP
A=M
M=D
@SP
M=M+1
|
oeis/059/A059769.asm | neoneye/loda-programs | 11 | 101494 | ; A059769: Frobenius number of the subsemigroup of the natural numbers generated by successive pairs of Fibonacci numbers.
; Submitted by <NAME>(s3)
; 1,7,27,83,239,659,1781,4751,12583,33175,87231,228983,600473,1573655,4122467,10796939,28273519,74031979,193835949,507497759,1328692751,3478637807,9107313407,23843452463,62423286769,163426800679,427857750891,1120147480451
add $0,1
mov $3,1
lpb $0
sub $0,1
add $2,$3
mov $3,$1
mov $1,$2
add $3,1
lpe
add $3,$2
mul $1,$3
mov $0,$1
sub $0,1
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_18460_1793.asm | ljhsiun2/medusa | 9 | 19322 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_18460_1793.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
lea addresses_A_ht+0x12d24, %r10
nop
nop
nop
cmp $41083, %rbx
movw $0x6162, (%r10)
nop
nop
sub %rbp, %rbp
lea addresses_D_ht+0x1d6a4, %rdi
nop
nop
nop
add $19705, %r11
movb $0x61, (%rdi)
nop
nop
nop
inc %rcx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r8
push %r9
push %rbx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_D+0x1bdc0, %rsi
sub $61649, %rbx
movl $0x51525354, (%rsi)
nop
nop
sub %r12, %r12
// Load
lea addresses_D+0x7324, %r9
nop
nop
nop
nop
nop
sub $3330, %rsi
mov (%r9), %rdx
and $41745, %rbx
// Store
lea addresses_D+0xaad0, %rdi
sub $14802, %r12
movl $0x51525354, (%rdi)
add %rdi, %rdi
// Faulty Load
lea addresses_D+0x7324, %rsi
clflush (%rsi)
nop
add $30998, %r8
mov (%rsi), %r9d
lea oracles, %rdx
and $0xff, %r9
shlq $12, %r9
mov (%rdx,%r9,1), %r9
pop %rsi
pop %rdx
pop %rdi
pop %rbx
pop %r9
pop %r8
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'36': 18460}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
|
Task/Closures-Value-capture/Ada/closures-value-capture.ada | LaudateCorpus1/RosettaCodeData | 1 | 16686 | with Ada.Text_IO;
procedure Value_Capture is
protected type Fun is -- declaration of the type of a protected object
entry Init(Index: Natural);
function Result return Natural;
private
N: Natural := 0;
end Fun;
protected body Fun is -- the implementation of a protected object
entry Init(Index: Natural) when N=0 is
begin -- after N has been set to a nonzero value, it cannot be changed any more
N := Index;
end Init;
function Result return Natural is (N*N);
end Fun;
A: array (1 .. 10) of Fun; -- an array holding 10 protected objects
begin
for I in A'Range loop -- initialize the protected objects
A(I).Init(I);
end loop;
for I in A'First .. A'Last-1 loop -- evaluate the functions, except for the last
Ada.Text_IO.Put(Integer'Image(A(I).Result));
end loop;
end Value_Capture;
|
oeis/003/A003485.asm | neoneye/loda-programs | 11 | 16113 | <reponame>neoneye/loda-programs<filename>oeis/003/A003485.asm<gh_stars>10-100
; A003485: Hurwitz-Radon function at powers of 2.
; Submitted by <NAME>
; 1,2,4,8,9,10,12,16,17,18,20,24,25,26,28,32,33,34,36,40,41,42,44,48,49,50,52,56,57,58,60,64,65,66,68,72,73,74,76,80,81,82,84,88,89,90,92,96,97,98,100,104,105,106,108,112,113,114,116,120,121,122,124,128,129,130,132,136,137,138,140,144,145,146,148,152,153,154,156,160,161,162,164,168,169,170,172,176,177,178,180,184,185,186,188,192,193,194,196,200
mov $1,$0
add $0,2
mul $0,6
mod $0,8
div $0,3
mul $1,2
add $0,$1
|
GSeTT/Rules.agda | thibautbenjamin/catt-formalization | 0 | 16489 | <gh_stars>0
{-# OPTIONS --rewriting --without-K #-}
open import Agda.Primitive
open import Prelude
open import GSeTT.Syntax
{- Typing Rules and basic syntactic properties for the type theory for globular sets -}
module GSeTT.Rules where
{- Well-formedness statements ≡ inference rules -}
data _⊢C : Pre-Ctx → Set₁
data _⊢T_ : Pre-Ctx → Pre-Ty → Set₁
data _⊢t_#_ : Pre-Ctx → Pre-Tm → Pre-Ty → Set₁
data _⊢S_>_ : Pre-Ctx → Pre-Sub → Pre-Ctx → Set₁
data _⊢C where
ec : nil ⊢C
cc : ∀ {Γ x A} → Γ ⊢C → Γ ⊢T A → x == length Γ → (Γ :: (x , A)) ⊢C
data _⊢T_ where
ob : ∀ {Γ} → Γ ⊢C → Γ ⊢T ∗
ar : ∀ {Γ A t u} → Γ ⊢t t # A → Γ ⊢t u # A → Γ ⊢T ⇒ A t u
data _⊢t_#_ where
var : ∀ {Γ x A} → Γ ⊢C → x # A ∈ Γ → Γ ⊢t (Var x) # A
data _⊢S_>_ where
es : ∀ {Δ} → Δ ⊢C → Δ ⊢S nil > nil
sc : ∀ {Δ Γ γ x y A t} → Δ ⊢S γ > Γ → (Γ :: (x , A)) ⊢C → (Δ ⊢t t # (A [ γ ]Pre-Ty)) → x == y → Δ ⊢S (γ :: (y , t)) > (Γ :: (x , A))
{- Weakening admissibility -}
wkT : ∀ {Γ A y B} → Γ ⊢T A → (Γ :: (y , B)) ⊢C → (Γ :: (y , B)) ⊢T A
wkt : ∀ {Γ A t y B} → Γ ⊢t t # A → (Γ :: (y , B)) ⊢C → (Γ :: (y , B)) ⊢t t # A
wkT (ob _) Γ,y:B⊢ = ob Γ,y:B⊢
wkT (ar Γ⊢t:A Γ⊢u:A) Γ,y:B⊢ = ar (wkt Γ⊢t:A Γ,y:B⊢) (wkt Γ⊢u:A Γ,y:B⊢)
wkt (var Γ⊢C x∈Γ) Γ,y:B⊢ = var Γ,y:B⊢ (inl x∈Γ)
wkS : ∀ {Δ Γ γ y B} → Δ ⊢S γ > Γ → (Δ :: (y , B)) ⊢C → (Δ :: (y , B)) ⊢S γ > Γ
wkS (es _) Δ,y:B⊢ = es Δ,y:B⊢
wkS (sc Δ⊢γ:Γ Γ,x:A⊢ Δ⊢t:A[γ] idp) Δ,y:B⊢ = sc (wkS Δ⊢γ:Γ Δ,y:B⊢) Γ,x:A⊢ (wkt Δ⊢t:A[γ] Δ,y:B⊢) idp
{- Consistency : all objects appearing in derivable judgments are derivable -}
Γ⊢A→Γ⊢ : ∀ {Γ A} → Γ ⊢T A → Γ ⊢C
Γ⊢t:A→Γ⊢ : ∀ {Γ A t} → Γ ⊢t t # A → Γ ⊢C
Γ⊢A→Γ⊢ (ob Γ⊢) = Γ⊢
Γ⊢A→Γ⊢ (ar Γ⊢t:A Γ⊢u:A) = Γ⊢t:A→Γ⊢ Γ⊢t:A
Γ⊢t:A→Γ⊢ (var Γ⊢ _) = Γ⊢
Δ⊢γ:Γ→Γ⊢ : ∀ {Δ Γ γ} → Δ ⊢S γ > Γ → Γ ⊢C
Δ⊢γ:Γ→Γ⊢ (es Δ⊢) = ec
Δ⊢γ:Γ→Γ⊢ (sc Δ⊢γ:Γ Γ,x:A⊢ Δ⊢t:A[γ] idp) = Γ,x:A⊢
Δ⊢γ:Γ→Δ⊢ : ∀ {Δ Γ γ} → Δ ⊢S γ > Γ → Δ ⊢C
Δ⊢γ:Γ→Δ⊢ (es Δ⊢) = Δ⊢
Δ⊢γ:Γ→Δ⊢ (sc Δ⊢γ:Γ Γ,x:A⊢ Δ⊢t:A[γ] idp) = Δ⊢γ:Γ→Δ⊢ Δ⊢γ:Γ
Γ,x:A⊢→Γ,x:A⊢A : ∀ {Γ x A} → (Γ :: (x , A)) ⊢C → (Γ :: (x , A)) ⊢T A
Γ,x:A⊢→Γ,x:A⊢A Γ,x:A⊢@(cc Γ⊢ Γ⊢A idp) = wkT Γ⊢A Γ,x:A⊢
Γ,x:A⊢→Γ,x:A⊢x:A : ∀ {Γ x A} → (Γ :: (x , A)) ⊢C → (Γ :: (x , A)) ⊢t (Var x) # A
Γ,x:A⊢→Γ,x:A⊢x:A Γ,x:A⊢ = var Γ,x:A⊢ (inr (idp , idp))
Γ,x:A⊢→Γ⊢ : ∀ {Γ x A} → (Γ :: (x , A)) ⊢C → Γ ⊢C
Γ,x:A⊢→Γ⊢ (cc Γ⊢ _ _) = Γ⊢
Γ⊢t:A→Γ⊢A : ∀ {Γ A t} → Γ ⊢t t # A → Γ ⊢T A
Γ⊢t:A→Γ⊢A (var Γ,x:A⊢@(cc Γ⊢ Γ⊢A idp) (inl y∈Γ)) = wkT (Γ⊢t:A→Γ⊢A (var Γ⊢ y∈Γ)) Γ,x:A⊢
Γ⊢t:A→Γ⊢A (var Γ,x:A⊢@(cc _ _ idp) (inr (idp , idp))) = Γ,x:A⊢→Γ,x:A⊢A Γ,x:A⊢
Γ⊢src : ∀ {Γ A t u} → Γ ⊢T ⇒ A t u → Γ ⊢t t # A
Γ⊢src (ar Γ⊢t Γ⊢u) = Γ⊢t
Γ⊢tgt : ∀ {Γ A t u} → Γ ⊢T ⇒ A t u → Γ ⊢t u # A
Γ⊢tgt (ar Γ⊢t Γ⊢u) = Γ⊢u
{- Cut-admissibility -}
-- notational shortcut : if A = B a term of type A is also of type B
trT : ∀ {Γ A B t} → A == B → Γ ⊢t t # A → Γ ⊢t t # B
trT idp Γ⊢t:A = Γ⊢t:A
n∉Γ : ∀ {Γ A n} → Γ ⊢C → (length Γ ≤ n) → ¬ (n # A ∈ Γ)
n∉Γ (cc Γ⊢ _ _) l+1≤n (inl n∈Γ) = n∉Γ Γ⊢ (Sn≤m→n≤m l+1≤n) n∈Γ
n∉Γ (cc Γ⊢ _ idp) Sn≤n (inr (idp , idp)) = Sn≰n _ Sn≤n
lΓ∉Γ : ∀ {Γ A} → Γ ⊢C → ¬ ((length Γ) # A ∈ Γ)
lΓ∉Γ Γ⊢ = n∉Γ Γ⊢ (n≤n _)
Γ+⊢l : ∀ {Γ x A} → (Γ :: (x , A)) ⊢C → x == length Γ
Γ+⊢l (cc _ _ idp) = idp
{- action on weakened types and terms -}
wk[]T : ∀ {Γ Δ γ x u A B} → Γ ⊢T A → Δ ⊢S (γ :: (x , u)) > (Γ :: (x , B)) → (A [ (γ :: (x , u)) ]Pre-Ty) == (A [ γ ]Pre-Ty)
wk[]t : ∀ {Γ Δ γ x u A t B} → Γ ⊢t t # A → Δ ⊢S (γ :: (x , u)) > (Γ :: (x , B)) → (t [ (γ :: (x , u)) ]Pre-Tm) == (t [ γ ]Pre-Tm)
wk[]T (ob Γ⊢) _ = idp
wk[]T (ar Γ⊢t:A Γ⊢u:A) Δ⊢γ+:Γ+ = ⇒= (wk[]T (Γ⊢t:A→Γ⊢A Γ⊢t:A) Δ⊢γ+:Γ+) (wk[]t Γ⊢t:A Δ⊢γ+:Γ+) (wk[]t Γ⊢u:A Δ⊢γ+:Γ+)
wk[]t {x = x} (var {x = y} Γ⊢ y∈Γ) Δ⊢γ+:Γ+ with (eqdecℕ y x)
wk[]t {x = x} (var {x = y} Γ⊢ y∈Γ) Δ⊢γ+:Γ+ | inr _ = idp
wk[]t (var {Γ = Γ} Γ⊢ x∈Γ) Δ⊢γ+:Γ+ | inl idp = ⊥-elim (lΓ∉Γ Γ⊢ (transport {B = λ n → n # _ ∈ Γ} (Γ+⊢l (Δ⊢γ:Γ→Γ⊢ Δ⊢γ+:Γ+)) x∈Γ))
dim[] : ∀ (A : Pre-Ty) (γ : Pre-Sub) → dim (A [ γ ]Pre-Ty) == dim A
dim[] ∗ γ = idp
dim[] (⇒ A x x₁) γ = S= (dim[] A γ)
|
__tmpl__.asm | dbarella/xchg-rax-rax | 0 | 179029 | bits 64
global main
section .text
main:
|
Lab2/MIPS Lab 2 - 1C.asm | DFTF-PConsole/AC-Labs-MIPS-LEI | 0 | 99433 | <reponame>DFTF-PConsole/AC-Labs-MIPS-LEI
# Magenta: 0x00FF00FF
# Azul: 0x000000FF
.text
li $s0, 0x10010000
li $s1, 0x00FF00FF
li $s2, 0x000000FF
li $s3, 64
li $s4, 32
li $s5, 256
li $t0, 0
li $t1, 0
move $t2, $s0
#Cor Azul
LinhasAzul:
add $t1, $t1, 1
li $t0, 0
ColunasAzul:
add $t0, $t0, 1
sw $s2, ($t2)
add $t2, $t2, 4
blt $t0, $s3, ColunasAzul
move $t2, $s0
add $t3, $t3, $s5
add $t2, $t2, $t3
blt $t1, $s4, LinhasAzul
#Quadrado Magenta
# Na Linha, as colunas variam: entre 28 - 36 (de 64 -> 256/4)
# N_Linhas: entre 12 - 20 (de 32 -> 128/4)
li $s6, 8
li $s7, 112 # 4 * 28
li $t0, 0
li $t1, 0
li $t4, 28
li $t5, 12
li $t7, 2816 # 11 * 256
move $t2, $s0
LinhasRosa:
add $t1, $t1, 1
li $t0, 0
add $t7, $t7, 256 # Acumulador ( + 256 )
move $t2, $s0
add $t2, $t2, $t7
add $t2, $t2, $s7
ColunasRosa:
add $t0, $t0, 1
sw $s1, ($t2)
add $t2, $t2, 4
blt $t0, $s6, ColunasRosa
blt $t1, $s6, LinhasRosa
|
libsrc/_DEVELOPMENT/compress/zx7/c/sdcc/dzx7_turbo_back.asm | jpoikela/z88dk | 640 | 28777 |
; void dzx7_turbo_back(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx7
PUBLIC _dzx7_turbo_back
EXTERN asm_dzx7_turbo_back
_dzx7_turbo_back:
pop af
pop hl
pop de
push de
push hl
push af
jp asm_dzx7_turbo_back
|
Resources/All Scripts/Sandbox Exceptions/Scripts/spotify.scpt | bathtub/IRC.app | 2 | 1906 | (*
Copyright © 2011, <NAME>. All rights reserved.
http://scottdollins.com/
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.
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.
*)
on irccmd(inputData, destinationChannel)
if destinationChannel is equal to "" then
return "/debug Invalid destination channel."
end if
set spotify_message to "/sme " & destinationChannel & " is not running Spotify."
tell application "System Events"
tell application "System Events" to set spotify_open to exists (processes where name is "Spotify")
end tell
if spotify_open then
tell application "Spotify"
if player state is playing then
set spotify_status to "playing"
else if player state is paused then
set spotify_status to "paused"
else if player state is stopped then
set spotify_status to "stopped"
end if
end tell
if spotify_status is "playing" then
tell application "Spotify"
set spotify_title to name of current track
set spotify_artist to artist of current track
set spotify_album to album of current track
end tell
set spotify_message to "/sme " & destinationChannel & " is listening to " & spotify_artist & " - " & spotify_title & " from the album " & spotify_album & " on Spotify."
end if
if spotify_status is "paused" then
set spotify_message to "/sme " & destinationChannel & " has Spotify paused."
end if
if spotify_status is "stopped" then
set spotify_message to "/sme " & destinationChannel & " has Spotify stopped."
end if
end if
return spotify_message
end irccmd
|
src/svd/sam_svd-mclk.ads | Fabien-Chouteau/samd51-hal | 1 | 1271 | <gh_stars>1-10
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.MCLK is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Interrupt Enable Clear
type MCLK_INTENCLR_Register is record
-- Clock Ready Interrupt Enable
CKRDY : Boolean := False;
-- unspecified
Reserved_1_7 : HAL.UInt7 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 8,
Bit_Order => System.Low_Order_First;
for MCLK_INTENCLR_Register use record
CKRDY at 0 range 0 .. 0;
Reserved_1_7 at 0 range 1 .. 7;
end record;
-- Interrupt Enable Set
type MCLK_INTENSET_Register is record
-- Clock Ready Interrupt Enable
CKRDY : Boolean := False;
-- unspecified
Reserved_1_7 : HAL.UInt7 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 8,
Bit_Order => System.Low_Order_First;
for MCLK_INTENSET_Register use record
CKRDY at 0 range 0 .. 0;
Reserved_1_7 at 0 range 1 .. 7;
end record;
-- Interrupt Flag Status and Clear
type MCLK_INTFLAG_Register is record
-- Clock Ready
CKRDY : Boolean := True;
-- unspecified
Reserved_1_7 : HAL.UInt7 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 8,
Bit_Order => System.Low_Order_First;
for MCLK_INTFLAG_Register use record
CKRDY at 0 range 0 .. 0;
Reserved_1_7 at 0 range 1 .. 7;
end record;
-- AHB Mask
type MCLK_AHBMASK_Register is record
-- HPB0 AHB Clock Mask
HPB0 : Boolean := True;
-- HPB1 AHB Clock Mask
HPB1 : Boolean := True;
-- HPB2 AHB Clock Mask
HPB2 : Boolean := True;
-- HPB3 AHB Clock Mask
HPB3 : Boolean := True;
-- DSU AHB Clock Mask
DSU : Boolean := True;
-- HMATRIX AHB Clock Mask
HMATRIX : Boolean := True;
-- NVMCTRL AHB Clock Mask
NVMCTRL : Boolean := True;
-- HSRAM AHB Clock Mask
HSRAM : Boolean := True;
-- CMCC AHB Clock Mask
CMCC : Boolean := True;
-- DMAC AHB Clock Mask
DMAC : Boolean := True;
-- USB AHB Clock Mask
USB : Boolean := True;
-- BKUPRAM AHB Clock Mask
BKUPRAM : Boolean := True;
-- PAC AHB Clock Mask
PAC : Boolean := True;
-- QSPI AHB Clock Mask
QSPI : Boolean := True;
-- unspecified
Reserved_14_14 : HAL.Bit := 16#1#;
-- SDHC0 AHB Clock Mask
SDHC0 : Boolean := True;
-- unspecified
Reserved_16_18 : HAL.UInt3 := 16#7#;
-- ICM AHB Clock Mask
ICM : Boolean := True;
-- PUKCC AHB Clock Mask
PUKCC : Boolean := True;
-- QSPI_2X AHB Clock Mask
QSPI_2X : Boolean := True;
-- NVMCTRL_SMEEPROM AHB Clock Mask
NVMCTRL_SMEEPROM : Boolean := True;
-- NVMCTRL_CACHE AHB Clock Mask
NVMCTRL_CACHE : Boolean := True;
-- unspecified
Reserved_24_31 : HAL.UInt8 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for MCLK_AHBMASK_Register use record
HPB0 at 0 range 0 .. 0;
HPB1 at 0 range 1 .. 1;
HPB2 at 0 range 2 .. 2;
HPB3 at 0 range 3 .. 3;
DSU at 0 range 4 .. 4;
HMATRIX at 0 range 5 .. 5;
NVMCTRL at 0 range 6 .. 6;
HSRAM at 0 range 7 .. 7;
CMCC at 0 range 8 .. 8;
DMAC at 0 range 9 .. 9;
USB at 0 range 10 .. 10;
BKUPRAM at 0 range 11 .. 11;
PAC at 0 range 12 .. 12;
QSPI at 0 range 13 .. 13;
Reserved_14_14 at 0 range 14 .. 14;
SDHC0 at 0 range 15 .. 15;
Reserved_16_18 at 0 range 16 .. 18;
ICM at 0 range 19 .. 19;
PUKCC at 0 range 20 .. 20;
QSPI_2X at 0 range 21 .. 21;
NVMCTRL_SMEEPROM at 0 range 22 .. 22;
NVMCTRL_CACHE at 0 range 23 .. 23;
Reserved_24_31 at 0 range 24 .. 31;
end record;
-- APBA Mask
type MCLK_APBAMASK_Register is record
-- PAC APB Clock Enable
PAC : Boolean := True;
-- PM APB Clock Enable
PM : Boolean := True;
-- MCLK APB Clock Enable
MCLK : Boolean := True;
-- RSTC APB Clock Enable
RSTC : Boolean := True;
-- OSCCTRL APB Clock Enable
OSCCTRL : Boolean := True;
-- OSC32KCTRL APB Clock Enable
OSC32KCTRL : Boolean := True;
-- SUPC APB Clock Enable
SUPC : Boolean := True;
-- GCLK APB Clock Enable
GCLK : Boolean := True;
-- WDT APB Clock Enable
WDT : Boolean := True;
-- RTC APB Clock Enable
RTC : Boolean := True;
-- EIC APB Clock Enable
EIC : Boolean := True;
-- FREQM APB Clock Enable
FREQM : Boolean := False;
-- SERCOM0 APB Clock Enable
SERCOM0 : Boolean := False;
-- SERCOM1 APB Clock Enable
SERCOM1 : Boolean := False;
-- TC0 APB Clock Enable
TC0 : Boolean := False;
-- TC1 APB Clock Enable
TC1 : Boolean := False;
-- unspecified
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for MCLK_APBAMASK_Register use record
PAC at 0 range 0 .. 0;
PM at 0 range 1 .. 1;
MCLK at 0 range 2 .. 2;
RSTC at 0 range 3 .. 3;
OSCCTRL at 0 range 4 .. 4;
OSC32KCTRL at 0 range 5 .. 5;
SUPC at 0 range 6 .. 6;
GCLK at 0 range 7 .. 7;
WDT at 0 range 8 .. 8;
RTC at 0 range 9 .. 9;
EIC at 0 range 10 .. 10;
FREQM at 0 range 11 .. 11;
SERCOM0 at 0 range 12 .. 12;
SERCOM1 at 0 range 13 .. 13;
TC0 at 0 range 14 .. 14;
TC1 at 0 range 15 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-- APBB Mask
type MCLK_APBBMASK_Register is record
-- USB APB Clock Enable
USB : Boolean := False;
-- DSU APB Clock Enable
DSU : Boolean := True;
-- NVMCTRL APB Clock Enable
NVMCTRL : Boolean := True;
-- unspecified
Reserved_3_3 : HAL.Bit := 16#0#;
-- PORT APB Clock Enable
PORT : Boolean := True;
-- unspecified
Reserved_5_5 : HAL.Bit := 16#0#;
-- HMATRIX APB Clock Enable
HMATRIX : Boolean := True;
-- EVSYS APB Clock Enable
EVSYS : Boolean := False;
-- unspecified
Reserved_8_8 : HAL.Bit := 16#0#;
-- SERCOM2 APB Clock Enable
SERCOM2 : Boolean := False;
-- SERCOM3 APB Clock Enable
SERCOM3 : Boolean := False;
-- TCC0 APB Clock Enable
TCC0 : Boolean := False;
-- TCC1 APB Clock Enable
TCC1 : Boolean := False;
-- TC2 APB Clock Enable
TC2 : Boolean := False;
-- TC3 APB Clock Enable
TC3 : Boolean := False;
-- unspecified
Reserved_15_15 : HAL.Bit := 16#1#;
-- RAMECC APB Clock Enable
RAMECC : Boolean := True;
-- unspecified
Reserved_17_31 : HAL.UInt15 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for MCLK_APBBMASK_Register use record
USB at 0 range 0 .. 0;
DSU at 0 range 1 .. 1;
NVMCTRL at 0 range 2 .. 2;
Reserved_3_3 at 0 range 3 .. 3;
PORT at 0 range 4 .. 4;
Reserved_5_5 at 0 range 5 .. 5;
HMATRIX at 0 range 6 .. 6;
EVSYS at 0 range 7 .. 7;
Reserved_8_8 at 0 range 8 .. 8;
SERCOM2 at 0 range 9 .. 9;
SERCOM3 at 0 range 10 .. 10;
TCC0 at 0 range 11 .. 11;
TCC1 at 0 range 12 .. 12;
TC2 at 0 range 13 .. 13;
TC3 at 0 range 14 .. 14;
Reserved_15_15 at 0 range 15 .. 15;
RAMECC at 0 range 16 .. 16;
Reserved_17_31 at 0 range 17 .. 31;
end record;
-- APBC Mask
type MCLK_APBCMASK_Register is record
-- unspecified
Reserved_0_2 : HAL.UInt3 := 16#0#;
-- TCC2 APB Clock Enable
TCC2 : Boolean := False;
-- unspecified
Reserved_4_6 : HAL.UInt3 := 16#0#;
-- PDEC APB Clock Enable
PDEC : Boolean := False;
-- AC APB Clock Enable
AC : Boolean := False;
-- AES APB Clock Enable
AES : Boolean := False;
-- TRNG APB Clock Enable
TRNG : Boolean := False;
-- ICM APB Clock Enable
ICM : Boolean := False;
-- unspecified
Reserved_12_12 : HAL.Bit := 16#0#;
-- QSPI APB Clock Enable
QSPI : Boolean := True;
-- CCL APB Clock Enable
CCL : Boolean := False;
-- unspecified
Reserved_15_31 : HAL.UInt17 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for MCLK_APBCMASK_Register use record
Reserved_0_2 at 0 range 0 .. 2;
TCC2 at 0 range 3 .. 3;
Reserved_4_6 at 0 range 4 .. 6;
PDEC at 0 range 7 .. 7;
AC at 0 range 8 .. 8;
AES at 0 range 9 .. 9;
TRNG at 0 range 10 .. 10;
ICM at 0 range 11 .. 11;
Reserved_12_12 at 0 range 12 .. 12;
QSPI at 0 range 13 .. 13;
CCL at 0 range 14 .. 14;
Reserved_15_31 at 0 range 15 .. 31;
end record;
-- APBD Mask
type MCLK_APBDMASK_Register is record
-- SERCOM4 APB Clock Enable
SERCOM4 : Boolean := False;
-- SERCOM5 APB Clock Enable
SERCOM5 : Boolean := False;
-- unspecified
Reserved_2_6 : HAL.UInt5 := 16#0#;
-- ADC0 APB Clock Enable
ADC0 : Boolean := False;
-- ADC1 APB Clock Enable
ADC1 : Boolean := False;
-- DAC APB Clock Enable
DAC : Boolean := False;
-- unspecified
Reserved_10_10 : HAL.Bit := 16#0#;
-- PCC APB Clock Enable
PCC : Boolean := False;
-- unspecified
Reserved_12_31 : HAL.UInt20 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for MCLK_APBDMASK_Register use record
SERCOM4 at 0 range 0 .. 0;
SERCOM5 at 0 range 1 .. 1;
Reserved_2_6 at 0 range 2 .. 6;
ADC0 at 0 range 7 .. 7;
ADC1 at 0 range 8 .. 8;
DAC at 0 range 9 .. 9;
Reserved_10_10 at 0 range 10 .. 10;
PCC at 0 range 11 .. 11;
Reserved_12_31 at 0 range 12 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Main Clock
type MCLK_Peripheral is record
-- Interrupt Enable Clear
INTENCLR : aliased MCLK_INTENCLR_Register;
-- Interrupt Enable Set
INTENSET : aliased MCLK_INTENSET_Register;
-- Interrupt Flag Status and Clear
INTFLAG : aliased MCLK_INTFLAG_Register;
-- HS Clock Division
HSDIV : aliased HAL.UInt8;
-- CPU Clock Division
CPUDIV : aliased HAL.UInt8;
-- AHB Mask
AHBMASK : aliased MCLK_AHBMASK_Register;
-- APBA Mask
APBAMASK : aliased MCLK_APBAMASK_Register;
-- APBB Mask
APBBMASK : aliased MCLK_APBBMASK_Register;
-- APBC Mask
APBCMASK : aliased MCLK_APBCMASK_Register;
-- APBD Mask
APBDMASK : aliased MCLK_APBDMASK_Register;
end record
with Volatile;
for MCLK_Peripheral use record
INTENCLR at 16#1# range 0 .. 7;
INTENSET at 16#2# range 0 .. 7;
INTFLAG at 16#3# range 0 .. 7;
HSDIV at 16#4# range 0 .. 7;
CPUDIV at 16#5# range 0 .. 7;
AHBMASK at 16#10# range 0 .. 31;
APBAMASK at 16#14# range 0 .. 31;
APBBMASK at 16#18# range 0 .. 31;
APBCMASK at 16#1C# range 0 .. 31;
APBDMASK at 16#20# range 0 .. 31;
end record;
-- Main Clock
MCLK_Periph : aliased MCLK_Peripheral
with Import, Address => MCLK_Base;
end SAM_SVD.MCLK;
|
RefactorAgdaEngine/PushArgument.agda | omega12345/RefactorAgda | 5 | 9188 | <filename>RefactorAgdaEngine/PushArgument.agda
module PushArgument where
open import ScopeState
open import Data.List.NonEmpty
open import Data.List
open import ParseTree
open import Data.Nat
open import AgdaHelperFunctions
open import Data.Unit
open import Data.String hiding (toVec)
open import Data.Bool
open import Data.Product
open import Data.Maybe
open import ExpressionChanging hiding (makeInstruction)
open import ParseTreeOperations
open import Data.Vec hiding (_>>=_)
open import Data.Fin
open import Relation.Nullary
open import Data.Nat.Properties
open import Data.String using (_++_)
data ArgType : Set where
explicit : ArgType
present : ArgType
absent : ArgType
-- if matches is false then an expected implicit argument has been omitted
matches : Expr -> Expr -> ArgType
matches expectedType argument
with isImplicit expectedType | isImplicit argument
matches expectedType argument | false | false = explicit
--expected explicit but found implicit, actually an error
matches expectedType argument | false | true = explicit
matches expectedType argument | true | false = absent
matches expectedType argument | true | true = present
-- n is the argument to be pushed, so there must be another argument to switch
-- it with
makeIns : {n : ℕ} -> Vec Expr (suc n) -> Fin n -> (List Expr -> List Expr)
makeIns (x ∷ x₁) _ [] = []
makeIns (x ∷ y ∷ list) zero (z ∷ []) with matches x z
makeIns (x ∷ y ∷ list) zero (z ∷ []) | explicit = newHole ∷ []
makeIns (x ∷ y ∷ list) zero (z ∷ []) | present = implicit newHole ∷ []
makeIns (x ∷ y ∷ list) zero (z ∷ []) | absent with matches y z
makeIns (x ∷ y ∷ list) zero (z ∷ []) | absent | explicit = newHole ∷ []
makeIns (x ∷ y ∷ list) zero (z ∷ []) | absent | present = z ∷ []
makeIns (x ∷ y ∷ list) zero (z ∷ []) | absent | absent = z ∷ []
makeIns (a ∷ b ∷ list) zero (y ∷ z ∷ list2) with
matches a y
makeIns (a ∷ b ∷ list) zero (y ∷ z ∷ list2) | absent = y ∷ z ∷ list2
makeIns (a ∷ b ∷ list) zero (y ∷ z ∷ list2) | _ with matches b z
makeIns (a ∷ b ∷ list) zero (y ∷ z ∷ list2) | _ | explicit = z ∷ y ∷ list2
makeIns (a ∷ b ∷ list) zero (y ∷ z ∷ list2) | _ | present = z ∷ y ∷ list2
makeIns (a ∷ b ∷ list) zero (y ∷ z ∷ list2) | _ | absent = y ∷ z ∷ list2
makeIns (x ∷ x₁) (suc n) (y ∷ list) with matches x y
makeIns (x ∷ x₁) (suc n) (y ∷ list) | explicit = y ∷ makeIns x₁ n list
makeIns (x ∷ x₁) (suc n) (y ∷ list) | present = y ∷ makeIns x₁ n list
makeIns (x ∷ x₁) (suc n) (y ∷ list) | absent = makeIns x₁ n (y ∷ list)
makeInstruction : TypeSignature -> ℕ -> (makeIns : {n : ℕ} -> Vec Expr (suc n) -> Fin n -> (List Expr -> List Expr)) -> ScopeState (List⁺ Expr -> List⁺ Expr)
makeInstruction (typeSignature funcName funcType) argNo f
with toVec (typeToList funcType)
... | c = do
newFin <- makeFin2 c argNo
return $ function $ f c newFin
where function : (List Expr -> List Expr) -> (List⁺ Expr -> List⁺ Expr)
function f (ident identifier₁ ∷ tail₁)
with sameId identifier₁ funcName
function f (ident identifier₁ ∷ tail₁) | false =
(ident identifier₁ ∷ tail₁)
function f (ident identifier₁ ∷ tail₁) | true =
ident identifier₁ ∷ f tail₁
function f list = list
pushInstruction : TypeSignature -> ℕ -> ScopeState (List⁺ Expr -> List⁺ Expr)
pushInstruction t n = makeInstruction t n makeIns
--Data.List.NonEmpty.fromVec
pushTypeIfApplicable : {n : ℕ} -> Vec Expr (suc n) -> Fin n -> ScopeState (Vec Expr (suc n))
pushTypeIfApplicable (namedArgument (typeSignature funcName funcType) {b} {bef1} {aft1} ∷ namedArgument (typeSignature funcName₁ funcType₁) {b2} {bef2} {aft2} ∷ v) zero =
if sameName funcName funcName₁
then fail "Can't switch two arguments of the same name, to avoid anything changing meaning"
else if funcName doesNotAppearInExp funcType₁
then (return $ namedArgument (typeSignature funcName₁ funcType₁) {b2} {bef2} {aft2} ∷ namedArgument (typeSignature funcName funcType) {b} {bef1} {aft1} ∷ v)
else fail "The next argument depends on the one being pushed"
pushTypeIfApplicable (namedArgument (typeSignature funcName funcType) {b} {bef} {aft} ∷ x ∷ v) zero = if funcName doesNotAppearInExp x
then return $ x ∷ namedArgument (typeSignature funcName funcType) {b} {bef} {aft} ∷ v
else fail "The next argument depends on the one being pushed"
pushTypeIfApplicable (x ∷ x₁ ∷ v) zero = return $ x₁ ∷ x ∷ v
pushTypeIfApplicable (x ∷ v) (suc f) = do
newRest <- pushTypeIfApplicable v f
return $ x ∷ newRest
pushArgument : List ParseTree -> (funcID : ℕ) -> (whichArgument : ℕ) -> ScopeState (List ParseTree)
pushArgument code funcId whichArgument = doForArgument code funcId whichArgument pushTypeIfApplicable pushInstruction
|
oeis/346/A346682.asm | neoneye/loda-programs | 11 | 22499 | ; A346682: a(n) = Sum_{k=0..n} (-1)^(n-k) * binomial(6*k,k) / (5*k + 1).
; Submitted by <NAME>
; 1,0,6,45,461,5020,57812,691586,8512048,107095262,1371219004,17808830924,234048288772,3106795261083,41593689788637,560980967638479,7614970691479315,103957059568762775,1426355910771621805,19658792867492660060,272046427837226505466,3778480863995193676559,52654262991915873310641,735978750822131064168159,10315772148798672392763441,144959153210726854906690815,2041789741747461371998911471,28821828686739480088220505285,407670328893211543408427794851,5777138069842937198950750689435
mov $3,$0
mov $5,$0
add $5,1
lpb $5
mov $0,$3
sub $5,1
sub $0,$5
mov $2,5
mul $2,$0
add $0,$2
bin $0,$2
add $2,1
div $0,$2
mul $4,-1
add $4,$0
lpe
mov $0,$4
|
CSE341-BRACU-Microprocessors/Assignment-4(Lab-5)/task3.asm | AIM3r4j/BRACU | 0 | 25435 | .MODEL SMALL
.STACK 100H
.DATA
;variables
s db "Please enter a five-character password: $"
x db 0dh,"XXXXX$"
.CODE
MAIN PROC
;initialize DS
MOV AX,@DATA
MOV DS,AX
; enter your code here
;prompts input and goes to next line
lea dx,s
mov ah,9
int 21h
mov dl, 0dh
mov ah,2
int 21h
mov dl, 0ah
mov ah,2
int 21h
;setting counter as 0
mov cl,0
start:
cmp cl,5
je print
mov ah,1
int 21h
inc cl
jmp start
;gets here after getting five char input and prints XXXXX
print:
lea dx,x
mov ah,9
int 21h
;exit to DOS
MOV AX,4C00H
INT 21H
MAIN ENDP
END MAIN |
oeis/158/A158752.asm | neoneye/loda-programs | 11 | 89919 | <reponame>neoneye/loda-programs<filename>oeis/158/A158752.asm
; A158752: a(n) = Hermite(n, 23).
; Submitted by <NAME>
; 1,46,2114,97060,4452076,204019016,9340353976,427208054704,19520805560720,891121726917856,40640224938128416,1851627912615550016,84280799031676475584,3832477685554344676480,174102672760676266752896,7901413571795586619691776,358241944119776696503234816,16226284195212269267318664704,734228846879691978615548592640,33190380725438189322691763332096,1498856817188728413656430266756096,67619798361663979455288121737496576,3047558738314616461569683528721086464,137212430834559142136172764964720128000
add $0,1
mov $3,1
lpb $0
sub $0,1
add $2,$3
mov $3,$1
mov $1,$2
mul $2,46
mul $3,-1
mul $3,$0
mul $3,2
lpe
mov $0,$1
|
data/github.com/emanueljoivo/using-alloy/373a7dd5f223b7c6a213f2ff8051b340a6dc7cd6/EmpresaTelecomunicacoes.als | ajnavarro/language-dataset | 9 | 912 | module EmpresaTelecomunicacoes
----------------------------------------------------------
-- ASSINATURAS --
----------------------------------------------------------
abstract sig Plano {
servicosDeTV : set TV,
servicosDeTelefone : set Telefone,
servicosDeInternet : set Internet
}
sig Simples extends Plano {}
sig Double extends Plano {}
sig Combo extends Plano {}
abstract sig Servico {}
sig Internet extends Servico {
planosDeInternet : set PlanoDeInternet
}
sig Telefone extends Servico {
planosDeTelefone : set PlanoDeTelefone
}
sig TV extends Servico {
planosDeTV : set PlanoDeTV
}
abstract sig PlanoDeInternet {}
abstract sig PlanoDeTelefone {}
abstract sig PlanoDeTV {}
sig CincoMB extends PlanoDeInternet {}
sig TrintaECincoMB extends PlanoDeInternet {}
sig SessentaMB extends PlanoDeInternet {}
sig CentoEVinteMB extends PlanoDeInternet {}
sig IlimitadoLocal extends PlanoDeTelefone {}
sig IlimitadoBrasil extends PlanoDeTelefone {}
sig IlimitadoMundo extends PlanoDeTelefone {}
sig Noticias extends PlanoDeTV {}
sig Infantis extends PlanoDeTV {}
sig Filmes extends PlanoDeTV {}
sig Documentarios extends PlanoDeTV {}
sig Series extends PlanoDeTV {}
sig ProgramaDeTV extends PlanoDeTV {}
------------------------------------------------------------------
-- FATOS --
------------------------------------------------------------------
fact ServicoFazParteDePlano {
all i : PlanoDeInternet | one i.~planosDeInternet
all t : PlanoDeTelefone | one t.~planosDeTelefone
all v : PlanoDeTV | some v.~planosDeTV
all tv: TV | some tv.~servicosDeTV
all tf: Telefone | some tf.~servicosDeTelefone
all nt: Internet | some nt.~servicosDeInternet
}
fact PlanoSimpleTemUmServico {
all s : Simples | PlanoSimples[s]
}
fact PlanoDoubleTemDoisServicos {
all d : Double | PlanoDouble[d]
}
fact PlanoComboTemTodosServicos {
all c : Combo | PlanoCombo[c]
}
fact TodoPlanoTemNoMaximoUmTipoDeServico{
all p: Plano | MaximoUmServico[p]
}
fact TemApenasUmPlanoDeInternetPorVez {
all i : Internet | UmPlanoDeInternet[i]
#CincoMB < 2
#TrintaECincoMB < 2
#SessentaMB < 2
#CentoEVinteMB < 2
}
fact TemApenasUmPlanoDeTelefonePorVez {
all t : Telefone | UmPlanoDeTelefone[t]
#IlimitadoLocal < 2
#IlimitadoBrasil < 2
#IlimitadoMundo < 2
}
fact TemAlgunsPlanosDeTVPorVez {
all tv : TV | AlgunsPlanoDeTV[tv]
#Noticias < 2
#Infantis < 2
#Filmes < 2
#Documentarios < 2
#Series < 2
#ProgramaDeTV < 2
}
----------------------------------------------------------
-- PREDICADOS --
----------------------------------------------------------
pred MaximoUmServico [p: Plano] {
#(p.servicosDeTV) < 2
#(p.servicosDeTelefone) < 2
#(p.servicosDeInternet) < 2
}
pred PlanoSimples [s: Simples] {
#getServicosSimples[s] = 1
}
pred PlanoDouble [d: Double] {
#getServicosDouble[d] = 2
}
pred PlanoCombo [c: Combo] {
#getServicosCombo[c] = 3
}
pred UmPlanoDeInternet [i:Internet] {
#(i.planosDeInternet) = 1
}
pred UmPlanoDeTelefone [t:Telefone] {
#(t.planosDeTelefone) = 1
}
pred AlgunsPlanoDeTV [tv: TV] {
#(tv.planosDeTV) > 0
}
------------------------------------------------------------------
-- FUNCOES --
------------------------------------------------------------------
fun getServicosSimples[s:Simples]: set Servico{
s.servicosDeTV + s.servicosDeTelefone + s.servicosDeInternet
}
fun getServicosDouble[d:Double]: set Servico{
d.servicosDeTV + d.servicosDeTelefone + d.servicosDeInternet
}
fun getServicosCombo[c:Combo]: set Servico{
c.servicosDeTV + c.servicosDeTelefone + c.servicosDeInternet
}
------------------------------------------------------------------
-- ASSERTS --
------------------------------------------------------------------
assert testPlanoSemServico {
all p:Plano | (MaximoUmServico[p])
}
assert testPlanoSimplesSemServico {
all s : Simples | MaximoUmServico[s]
}
assert testPlanoDoubleSemServico {
all d : Double | MaximoUmServico[d]
}
assert testPlanoComboSemServico {
all c : Combo | MaximoUmServico[c]
}
assert testServicoFazParteDePlano {
all i : PlanoDeInternet | one i.~planosDeInternet
all t : PlanoDeTelefone | one t.~planosDeTelefone
all v : PlanoDeTV | one v.~planosDeTV
all tv: TV | some tv.~servicosDeTV
all tf: Telefone | some tf.~servicosDeTelefone
all nt: Internet | some nt.~servicosDeInternet
}
assert testPlanoSimpleTemUmServico {
all s : Simples | PlanoSimples[s]
}
assert testPlanoDoubleTemDoisServicos {
all d : Double | PlanoDouble[d]
}
assert testPlanoComboTemTodosServicos {
all c : Combo | PlanoCombo[c]
}
assert testTemApenasUmPlanoDeInternetPorVez {
all i : Internet | UmPlanoDeInternet[i]
#CincoMB < 2
#TrintaECincoMB < 2
#SessentaMB < 2
#CentoEVinteMB < 2
}
assert testTemApenasUmPlanoDeTelefonePorVez {
all t : Telefone | UmPlanoDeTelefone[t]
#IlimitadoLocal < 2
#IlimitadoBrasil < 2
#IlimitadoMundo < 2
}
assert testTemAlgunsPlanosDeTVPorVez {
all tv : TV | AlgunsPlanoDeTV[tv]
#Noticias < 2
#Infantis < 2
#Filmes < 2
#Documentarios < 2
#Series < 2
#ProgramaDeTV < 2
}
------------------------------------------------------------------
-- RUN --
------------------------------------------------------------------
pred show[] {}
run show for 15
------------------------------------------------------------------
-- CHECKS --
------------------------------------------------------------------
check testPlanoSemServico for 15
check testPlanoSimplesSemServico for 15
check testPlanoDoubleSemServico for 15
check testPlanoComboSemServico for 15
check testServicoFazParteDePlano for 15
check testPlanoSimpleTemUmServico for 15
check testPlanoDoubleTemDoisServicos for 15
check testPlanoComboTemTodosServicos for 15
check testTemApenasUmPlanoDeInternetPorVez for 15
check testTemApenasUmPlanoDeTelefonePorVez for 15
check testTemAlgunsPlanosDeTVPorVez for 15
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_272.asm | ljhsiun2/medusa | 9 | 94197 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1cdbb, %rdx
clflush (%rdx)
nop
and %rax, %rax
movups (%rdx), %xmm5
vpextrq $1, %xmm5, %rbx
nop
nop
nop
xor $58128, %rbp
lea addresses_WT_ht+0x462f, %rsi
lea addresses_D_ht+0x733b, %rdi
nop
nop
nop
nop
nop
dec %r10
mov $116, %rcx
rep movsl
nop
nop
sub %r10, %r10
lea addresses_UC_ht+0x1efbb, %rbx
clflush (%rbx)
nop
nop
nop
nop
xor %rbp, %rbp
mov $0x6162636465666768, %rsi
movq %rsi, %xmm5
movups %xmm5, (%rbx)
nop
dec %rcx
lea addresses_UC_ht+0xf241, %rbp
nop
nop
and $7145, %r10
mov (%rbp), %edi
nop
nop
nop
nop
nop
add $6881, %rsi
lea addresses_WC_ht+0x19bb, %rsi
lea addresses_A_ht+0x799b, %rdi
nop
inc %rbx
mov $110, %rcx
rep movsw
cmp %rdx, %rdx
lea addresses_UC_ht+0x14dbb, %rsi
lea addresses_WT_ht+0x11d9b, %rdi
nop
nop
nop
nop
xor $51024, %rbp
mov $18, %rcx
rep movsw
nop
nop
nop
nop
nop
add $14319, %rbp
lea addresses_D_ht+0x131bb, %rcx
sub %rdx, %rdx
movl $0x61626364, (%rcx)
nop
nop
add $35212, %rsi
lea addresses_A_ht+0x1885b, %rsi
nop
nop
nop
cmp %rcx, %rcx
mov (%rsi), %edx
nop
dec %rbx
lea addresses_UC_ht+0xe83b, %r10
and $5235, %rsi
movl $0x61626364, (%r10)
nop
nop
nop
add $62871, %rsi
lea addresses_UC_ht+0x17aab, %rsi
lea addresses_A_ht+0xecbb, %rdi
nop
nop
nop
dec %rbp
mov $6, %rcx
rep movsb
nop
nop
and $39053, %rbx
lea addresses_D_ht+0x3197, %r10
nop
nop
nop
nop
nop
cmp %rcx, %rcx
mov $0x6162636465666768, %rax
movq %rax, %xmm6
movups %xmm6, (%r10)
nop
xor %r10, %r10
lea addresses_WC_ht+0x175bb, %rcx
nop
nop
xor $17813, %rax
vmovups (%rcx), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rdx
nop
nop
nop
cmp $17904, %rdi
lea addresses_WT_ht+0x16c3, %rsi
lea addresses_WC_ht+0x1f53, %rdi
clflush (%rdi)
nop
inc %rbx
mov $94, %rcx
rep movsw
nop
nop
nop
sub $20455, %rdx
lea addresses_A_ht+0x18b9b, %rax
nop
nop
and %rbx, %rbx
mov $0x6162636465666768, %rdi
movq %rdi, (%rax)
nop
nop
inc %rdi
lea addresses_WC_ht+0x527d, %rsi
lea addresses_WC_ht+0x187bb, %rdi
nop
nop
lfence
mov $28, %rcx
rep movsw
nop
nop
dec %rdi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %rax
push %rbx
push %rdi
push %rsi
// Load
lea addresses_A+0x1eae3, %rbx
nop
nop
sub %r12, %r12
mov (%rbx), %r10
// Exception!!!
nop
nop
nop
nop
nop
mov (0), %rbx
nop
nop
nop
xor %r12, %r12
// Load
lea addresses_PSE+0xdd43, %rsi
sub %r10, %r10
mov (%rsi), %rdi
nop
nop
nop
nop
add %rsi, %rsi
// Store
lea addresses_normal+0x13ffb, %r12
nop
xor %r13, %r13
mov $0x5152535455565758, %rsi
movq %rsi, %xmm0
movntdq %xmm0, (%r12)
nop
inc %r10
// Load
lea addresses_PSE+0xe8bb, %rsi
nop
nop
nop
nop
nop
xor %rbx, %rbx
mov (%rsi), %r12w
nop
sub $27524, %rsi
// Store
mov $0xd9b, %rdi
nop
sub $22503, %rax
mov $0x5152535455565758, %rbx
movq %rbx, %xmm2
vmovups %ymm2, (%rdi)
add %rdi, %rdi
// Load
lea addresses_PSE+0x20bb, %r13
nop
add $22468, %rbx
mov (%r13), %ax
xor %rsi, %rsi
// Faulty Load
lea addresses_A+0x109bb, %rdi
sub %r10, %r10
mov (%rdi), %ebx
lea oracles, %rsi
and $0xff, %rbx
shlq $12, %rbx
mov (%rsi,%rbx,1), %rbx
pop %rsi
pop %rdi
pop %rbx
pop %rax
pop %r13
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 2, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 2, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 2, 'size': 16, 'same': False, 'NT': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 8, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'AVXalign': False, 'congruent': 3, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 8, 'size': 2, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 9, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 9, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 1, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 6, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 3, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 6, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 1, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 10, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': True, 'congruent': 4, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1719.asm | ljhsiun2/medusa | 9 | 14499 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rcx
push %rdi
lea addresses_WT_ht+0x1afa8, %rcx
nop
nop
nop
nop
nop
dec %rdi
mov $0x6162636465666768, %r13
movq %r13, %xmm4
vmovups %ymm4, (%rcx)
nop
nop
and %r15, %r15
pop %rdi
pop %rcx
pop %r15
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %r9
push %rbp
push %rbx
push %rdi
// Store
lea addresses_WT+0xe9c8, %r12
xor %rbx, %rbx
movl $0x51525354, (%r12)
nop
nop
nop
cmp %r15, %r15
// Store
lea addresses_RW+0x10388, %r9
nop
nop
dec %rdi
mov $0x5152535455565758, %rbx
movq %rbx, (%r9)
nop
xor %rbp, %rbp
// Store
lea addresses_WC+0xc4fa, %r9
nop
nop
nop
nop
add $6826, %r12
movl $0x51525354, (%r9)
nop
nop
nop
xor %r9, %r9
// Faulty Load
lea addresses_US+0x12a8, %r12
nop
nop
add $24573, %rbp
mov (%r12), %r9d
lea oracles, %rbp
and $0xff, %r9
shlq $12, %r9
mov (%rbp,%r9,1), %r9
pop %rdi
pop %rbx
pop %rbp
pop %r9
pop %r15
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_WT', 'AVXalign': False, 'size': 4}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_RW', 'AVXalign': False, 'size': 8}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 1, 'type': 'addresses_WC', 'AVXalign': False, 'size': 4}}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
oeis/250/A250230.asm | neoneye/loda-programs | 11 | 3311 | ; A250230: Number of length 3+1 0..n arrays with the sum of the cubes of adjacent differences multiplied by some arrangement of +-1 equal to zero.
; Submitted by <NAME>
; 8,27,52,89,132,187,248,321,400,491,588,697,812,939,1072,1217,1368,1531,1700,1881,2068,2267,2472,2689,2912,3147,3388,3641,3900,4171,4448,4737,5032,5339,5652,5977,6308,6651,7000,7361,7728,8107,8492,8889,9292,9707,10128,10561,11000,11451,11908,12377,12852,13339,13832,14337,14848,15371,15900,16441,16988,17547,18112,18689,19272,19867,20468,21081,21700,22331,22968,23617,24272,24939,25612,26297,26988,27691,28400,29121,29848,30587,31332,32089,32852,33627,34408,35201,36000,36811,37628,38457,39292,40139
add $0,1
mov $2,$0
mul $0,6
sub $2,1
lpb $0
add $2,$0
sub $0,4
lpe
mov $0,$2
add $0,2
|
tools/akt-commands-create.adb | stcarrez/ada-keystore | 25 | 23301 | -----------------------------------------------------------------------
-- akt-commands-create -- Create a keystore
-- Copyright (C) 2019, 2021 <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 Keystore.Passwords.Files;
with Keystore.Passwords.Input;
package body AKT.Commands.Create is
use GNAT.Strings;
use type Keystore.Passwords.Provider_Access;
use type Keystore.Passwords.Keys.Key_Provider_Access;
-- ------------------------------
-- Create the keystore file.
-- ------------------------------
overriding
procedure Execute (Command : in out Command_Type;
Name : in String;
Args : in Argument_List'Class;
Context : in out Context_Type) is
pragma Unreferenced (Name);
Path : constant String := Context.Get_Keystore_Path (Args);
begin
Setup_Password_Provider (Context);
if Command.Counter_Range /= null and then Command.Counter_Range'Length > 0 then
Parse_Range (Command.Counter_Range.all, Context.Config);
end if;
Context.Config.Overwrite := Command.Force;
if Command.Storage_Count /= null and then Command.Storage_Count'Length > 0 then
begin
Context.Config.Storage_Count := Positive'Value (Command.Storage_Count.all);
exception
when others =>
AKT.Commands.Log.Error (-("split counter is invalid or out of range: {0}"),
Command.Storage_Count.all);
raise Error;
end;
end if;
if Context.Data_Path'Length > 0 and Context.Config.Storage_Count = 1 then
Context.Config.Storage_Count := 10;
end if;
if Command.Gpg_Mode then
if Args.Get_Count < Context.First_Arg then
AKT.Commands.Log.Error (-("missing GPG user name"));
raise Error;
end if;
Context.GPG.Create_Secret;
Context.Wallet.Set_Master_Key (Context.GPG);
Context.Wallet.Create (Password => Context.<PASSWORD>,
Path => Path,
Data_Path => Context.Data_Path.all,
Config => Context.Config);
Context.GPG.Save_Secret (Args.Get_Argument (Context.First_Arg), 1, Context.Wallet);
for I in Context.First_Arg + 1 .. Args.Get_Count loop
declare
GPG2 : Keystore.Passwords.GPG.Context_Type;
begin
GPG2.Create_Secret (Image => Context.GPG);
Context.Wallet.Set_Key (Context.GPG, GPG2, Context.Config, Keystore.KEY_ADD);
GPG2.Save_Secret (Args.Get_Argument (I), Keystore.Header_Slot_Index_Type (I),
Context.Wallet);
end;
end loop;
else
if Context.Wallet_Key_File'Length > 0 then
Context.Key_Provider
:= Keystore.Passwords.Files.Generate (Context.Wallet_Key_File.all);
end if;
if Context.Key_Provider /= null then
Context.Wallet.Set_Master_Key (Context.Key_Provider.all);
end if;
if Context.Provider = null then
Context.Provider := Keystore.Passwords.Input.Create (-("Enter password: "), False);
end if;
Keystore.Files.Create (Container => Context.Wallet,
Password => Context.Provider.all,
Path => Path,
Data_Path => Context.Data_Path.all,
Config => Context.Config);
end if;
end Execute;
-- ------------------------------
-- Setup the command before parsing the arguments and executing it.
-- ------------------------------
procedure Setup (Command : in out Command_Type;
Config : in out GNAT.Command_Line.Command_Line_Configuration;
Context : in out Context_Type) is
package GC renames GNAT.Command_Line;
begin
Setup (Config, Context);
GC.Define_Switch (Config => Config,
Output => Command.Counter_Range'Access,
Switch => "-c:",
Long_Switch => "--counter-range:",
Argument => "RANGE",
Help => -("Set the range for the PBKDF2 counter"));
GC.Define_Switch (Config => Config,
Output => Command.Storage_Count'Access,
Switch => "-S:",
Long_Switch => "--split:",
Argument => "COUNT",
Help => -("Split the data blocks in COUNT separate files"));
GC.Define_Switch (Config => Config,
Output => Command.Force'Access,
Switch => "-f",
Long_Switch => "--force",
Help => -("Force the creation of the keystore"));
GC.Define_Switch (Config => Config,
Output => Command.Gpg_Mode'Access,
Switch => "-g",
Long_Switch => "--gpg",
Help => -("Use gpg to protect the keystore access"));
end Setup;
end AKT.Commands.Create;
|
programs/oeis/234/A234017.asm | jmorken/loda | 1 | 25660 | ; A234017: Inverse function for injection A055938.
; 0,0,1,0,0,2,3,0,0,4,0,0,5,6,7,0,0,8,0,0,9,10,0,0,11,0,0,12,13,14,15,0,0,16,0,0,17,18,0,0,19,0,0,20,21,22,0,0,23,0,0,24,25,0,0,26,0,0,27,28,29,30,31,0,0,32,0,0,33,34,0,0,35,0,0,36,37,38,0,0,39,0,0,40,41,0,0,42,0,0,43,44,45,46,0,0,47,0,0,48,49,0,0,50,0,0,51,52,53,0,0,54,0,0,55,56,0,0,57,0,0,58,59,60,61,62,63,0,0,64,0,0,65,66,0,0,67,0,0,68,69,70,0,0,71,0,0,72,73,0,0,74,0,0,75,76,77,78,0,0,79,0,0,80,81,0,0,82,0,0,83,84,85,0,0,86,0,0,87,88,0,0,89,0,0,90,91,92,93,94,0,0,95,0,0,96,97,0,0,98,0,0,99,100,101,0,0,102,0,0,103,104,0,0,105,0,0,106,107,108,109,0,0,110,0,0,111,112,0,0,113,0,0,114,115,116,0,0,117,0,0,118,119,0,0,120,0,0,121,122
mov $5,$0
mov $7,2
lpb $7
clr $0,5
mov $0,$5
sub $7,1
add $0,$7
sub $0,1
cal $0,234016 ; Partial sums of the characteristic function of A055938.
mov $1,$0
add $2,$0
pow $2,2
add $3,$2
add $1,$3
mov $8,$7
lpb $8
mov $6,$1
sub $8,1
lpe
lpe
lpb $5
mov $5,0
sub $6,$1
lpe
mov $1,$6
div $1,2
|
test/Fail/Issue690b.agda | hborum/agda | 3 | 4220 | {-# OPTIONS --type-in-type
--guardedness-preserving-type-constructors #-}
module Issue690b where
open import Common.Coinduction
data Rec (A : ∞ Set) : Set where
fold : (x : ♭ A) → Rec A
infixr 4 _,_
record Σ (A : Set) (B : A → Set) : Set where
constructor _,_
field
proj₁ : A
proj₂ : B proj₁
infix 4 _≡_
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
data ⊥ : Set where
{-# NON_TERMINATING #-}
D : Set
D = Rec (♯ Σ Set λ E → Σ (D ≡ E) λ _ → E → ⊥)
lam : (D → ⊥) → D
lam f = fold (D , refl , f)
app : D → D → ⊥
app (fold (.D , refl , f)) d = f d
omega : D
omega = lam (λ x → app x x)
Omega : ⊥
Omega = app omega omega
|
src/glfw/v2/glfw-display-modes.adb | Roldak/OpenGLAda | 0 | 21066 | <filename>src/glfw/v2/glfw-display-modes.adb<gh_stars>0
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.API;
package body Glfw.Display.Modes is
function Available_Modes return Mode_List is
Max_Modes : Integer := 32;
Mode_Count : Integer;
begin
loop
declare
Raw_Modes : API.Video_Mode_List (1 .. Max_Modes);
begin
Mode_Count := Integer (API.Get_Video_Modes (Raw_Modes (1) (1)'Address,
C.int (Max_Modes)));
if (Mode_Count < Max_Modes) then
declare
Return_List : Mode_List (1 .. Mode_Count);
begin
for Index in Return_List'Range loop
Return_List (Index)
:= Mode'(Width => Natural (Raw_Modes (Index) (1)),
Height => Natural (Raw_Modes (Index) (2)),
Red_Bits => Natural (Raw_Modes (Index) (3)),
Green_Bits => Natural (Raw_Modes (Index) (4)),
Blue_Bits => Natural (Raw_Modes (Index) (5)));
end loop;
return Return_List;
end;
end if;
end;
Max_Modes := Max_Modes * 2;
end loop;
end Available_Modes;
function Desktop_Mode return Mode is
Raw_Mode : aliased API.Raw_Video_Mode;
begin
API.Get_Desktop_Mode (Raw_Mode (1)'Access);
return Mode'(Width => Natural (Raw_Mode (1)),
Height => Natural (Raw_Mode (2)),
Red_Bits => Natural (Raw_Mode (3)),
Green_Bits => Natural (Raw_Mode (4)),
Blue_Bits => Natural (Raw_Mode (5)));
end Desktop_Mode;
end Glfw.Display.Modes;
|
BushidoBomb.asm | sleepingburrito/BushidoBomb | 3 | 86142 | ;<NAME>
;2019 sleepingburrito
;
;a: jump
;b: attack
;start: pause
;select: returns to main menu when in
;left/right: move
;down + attack: block
;down + jump: fall though platform
;pressing attack or block before hitting a wall ill make you bounce off the wall if you already have momentum.
;up + select: start AI for that player
;Hold up: stops AI
;
; iNES header
;
.segment "HEADER"
INES_MAPPER = 0 ; 0 = NROM
INES_MIRROR = 1 ; 0 = horizontal mirroring, 1 = vertical mirroring
INES_SRAM = 0 ; 1 = battery backed SRAM at $6000-7FFF
.byte 'N', 'E', 'S', $1A ; ID
.byte $02 ; 16k PRG chunk count
.byte $01 ; 8k CHR chunk count
.byte INES_MIRROR | (INES_SRAM << 1) | ((INES_MAPPER & $f) << 4)
.byte (INES_MAPPER & %11110000)
.byte $0, $0, $0, $0, $0, $0, $0, $0 ; padding
;==oma==
; sprite OAM data to be uploaded by DMA
nesMaxSpriteCount = 256
.segment "OAM"
oam: .res nesMaxSpriteCount
;
; vectors placed at top 6 bytes of memory area
;
.segment "VECTORS"
.word nmi
.word reset
.word irq
;=== zero page and macros ===
.segment "ZEROPAGE"
nmi_lock: .res 1 ; prevents NMI re-entry
nmi_ready: .res 1 ; set to 1 to push a PPU frame update, 2 to turn rendering off next NMI
colorPalletSize = 32
colorPallet: .res colorPalletSize
nmiScreenShakeState: .res 1
;rng
rngIndex: .res 1
rngTmp: .res 1 ;used to store x value
;pointers
tmpPointer: .res 2
;temp variables
tmpVarZp: .res 1
tmpVar2Zp: .res 1
tmpVar3Zp: .res 1
;drawing
hideSprite = $FF
showSprite = $0
;main menu cursor
cursorSpriteIndex = $D0
cursorPauseAmount = 10 ;in frames
cursorX = 50
cursorY: .res 1
cursorIndex: .res 1
cursorPauseNewScreen = 30
.enum cursorEnum
TotallyTall
PitPlat
BombBasement
sizeMax
.endenum
;blink state drawing
blinkTest = %00000010
blinkTestSlow = %01000000
blinkState: .res 1
blinkSwapColor = $38 ;blink this color
blinkSwapColorNew = $25
;sin table drawing
sinTableIndex: .res 1
screenShakeTimer: .res 1
screenShakeMask = %00000111
screenShakeTimerAmount = 10
;PlayerDraw vars
spritePointer: .res 2
;these below are temps and are only used in the drawplayer func
yAxisOAM: .res 1 ;keeps what row we are drawing
xAxisOAM: .res 1
xOffsetOAM: .res 1 ;keeps how much to offset x/y from orgin
yOffsetOAM: .res 1
tileOffset: .res 1
tempPlayerPallet: .res 1
tileOffsetAddTmpX: .res 1
;true/false
.enum bool
false
true
.endenum
;pause state
.enum pauseStateEnum
notPaused
paused
.endenum
inPause: .res 1
.enum pauseKeyStateEnum
pauseKeyUp
pauseKeyDown
.endenum
pauseKeyState: .res 1
;level data
ppuEscapeLevelData = $FF
levelKillGround = 230 ;if player's y > than this they die
levelCeiling = 10 ;celeling for all level
.enum gameStateEnum
TitleScreen
ThePits ;called bomb basement in the title screen
PitPlat
TooTallTower ;named totally tall on title screen
GameStateMax
.endenum
gameState: .res 1 ;what map/level/scree/scece your on
.enum platfromDataEnm
levelWallLeftX
levelWallRightX
noWalls ;turn off walls
platsSharedY
platLeftStartX
platLeftEndX
platRightStartX
platRightEndX
platsGroundY
platsGroundStartX
platsGroundEndX
platSizeBytes
.endenum
platfromData: .res platfromDataEnm::platSizeBytes
;player data
;player directions
.enum dirs
right
left
.endenum
;player size
nesSpriteWidth = 8
nesSpriteHeight = nesSpriteWidth
playerWidthPixels = nesSpriteWidth * 3
playerHeightPixels = playerWidthPixels
playerWidthHalfPixels = nesSpriteHeight / 2
playerHeightHalfPixels = playerHeightPixels / 2
playerWidthTiles = playerWidthPixels / nesSpriteWidth
playerHeightTiles = playerWidthTiles
;player count
.enum playerId
player1
player2
playerCountMax
.endenum
;players data
playerPad: .res playerId::playerCountMax
playerFacing: .res playerId::playerCountMax
playerHit: .res playerId::playerCountMax ;hit tells other player got hit, other player decides what happens next
playerDieCount: .res playerId::playerCountMax
playerInKnockback: .res playerId::playerCountMax ;so you only get knockback once
playerAttackCount: .res playerId::playerCountMax ;used to limit attacking to one frame
leftSpeed: .res playerId::playerCountMax
rightSpeed: .res playerId::playerCountMax
upSpeed: .res playerId::playerCountMax
downSpeed: .res playerId::playerCountMax
playerOnGround: .res playerId::playerCountMax
playerJumpTimer: .res playerId::playerCountMax ;not a normal timer, used to pick jump height
playerX: .res playerId::playerCountMax
playerY: .res playerId::playerCountMax
PlayerRight: .res playerId::playerCountMax
PlayerBottom: .res playerId::playerCountMax
playerMoveCooldown: .res playerId::playerCountMax ;also used for stunning
playerAttackCooldown: .res playerId::playerCountMax
playerAttackingTimer: .res playerId::playerCountMax
playerInvincibilityTimer: .res playerId::playerCountMax
playerBlockTimer: .res playerId::playerCountMax
playerBlockCooldown: .res playerId::playerCountMax
playerDeadTimer: .res playerId::playerCountMax
playerSpriteId: .res playerId::playerCountMax ;starting sprite (id is first 8x8 sprite of the 24x24 ones)
playerSpriteIdEnd: .res playerId::playerCountMax ;ending sprite in animation
playerSpriteState: .res playerId::playerCountMax ;what frame your on
playerSpriteTimerStart: .res playerId::playerCountMax ;starting value of the timer
playerSpriteTimer: .res playerId::playerCountMax
playerPalletId: .res playerId::playerCountMax
playerSpriteHide: .res playerId::playerCountMax
playerAI: .res playerId::playerCountMax ;not reset between rounds!
playerAIbuttonCount: .res playerId::playerCountMax
;default player values
StartingPlayerY = 50
player1Facing = dirs::right
player1StartingX = 45
player1Pallet = %00000000
player2Facing = dirs::left
player2StartingX = 185
player2Pallet = %00000001
playerPalletDead = %00000011
;player values
playerMaxSpeed = 7 ;in pixels per frame, after the bitshift
playerMaxHspeed = 80 ;in game unit
blockTimer = 30
blockTimerCooldown = blockTimer + 30
attackFrameCount = 3
attackTimePerFrame = 8
attackTimer = attackFrameCount * attackTimePerFrame
attackTimerCoolDown = attackTimer + 30
attackTestOnFrame = spriteAttackStart + playerWidthTiles ;only check for hit on this frame, (here is frame 2)
attackKnockBackAmount = 45
gettingHitStunTimer = 30 ;when you get hit in block
playerMaxDeaths = 9
;in fixed point off by 3 bits
playerHspeed = 6
playerJump = 100
playerShortJump = 70
playerJumpTimerTest = 10
playerGravity = 4
;dieing
deadTimerAmount = 30
deadJumpSpeed = playerJump
invincibleAfterDeathTimer = 60
;sprite data
spriteRowSize = $10
;Idle
;picks a random sprite
spriteIdleStart = $06
spriteIdleEnd = spriteIdleStart + playerWidthTiles * 3
spriteIdleTimer = 28 ;in frames
;jump
spriteJumpStart = $39
spriteJumpEnd = spriteJumpStart + playerWidthTiles * 2
spriteJumpTimer = 10
;fall
spriteFallStart = $60
spriteFallEnd = spriteFallStart + playerWidthTiles * 2
spriteFallTimer = spriteJumpTimer
;walk
spriteWalkStart = $0
spriteWalkEnd = spriteWalkStart + playerWidthTiles * 2
spriteWalkTimer = 8
;block
spriteBlockStart = $66
spriteBlockEnd = spriteBlockStart + playerWidthTiles * 2
spriteBlockTimer = 5
;attacking
spriteAttackStart = $30
spriteAttackEnd = spriteAttackStart + playerWidthTiles * attackFrameCount
spriteAttackTimer = attackTimePerFrame
;dieing
spriteDieStart = $90
spriteDieEnd = spriteDieStart + playerWidthTiles * 3
spriteDieTimer = 5
;start pose
spriteStartStart = $6C
spriteStartSEnd = spriteStartStart
spriteStartSTimer = gameStartEndTimerAmount
;win sprite
spriteWinStart = $99
spriteWinEnd = spriteWinStart
spriteWinTimer = gameStartEndTimerAmount
;loose sprite
spriteLooseStart = $9C
spriteLooseEnd = spriteLooseStart
spriteLooseTimer = gameStartEndTimerAmount
;scoring
spriteScoreStart = $E0
spriteScoreChangeFame0 = $EA
spriteScoreChangeFame1 = $EB
spriteScoreY = 18
;misc game state
;
gameStartTimer: .res 1
gameEndTImer: .res 1
gameStartEndTimerAmount = 60 * 3
gameStartCountdownX = 124
gameStartCountdownY = 112
;audio
;
toneLow = 70
toneMid = 100
toneHigh = 140
audioTimer: .res 1
noiseAudioTimer: .res 1
deadSoundTimer: .res 1
jumpSoundLength = 5
attackSoundLength = 8
deadSoundLength = 10
maskDieSound = %00001000
;particles
;
particleCount = 4
particleDrawCountMax = 2
particleColorPallet = 2
particleCountMask = particleCount - 1
particleSpriteStart = $C0
particleIndex: .res 1
particleTimer: .res particleCount
particleSpriteIndex: .res particleCount
particleHspeed: .res particleCount ;hspeed/vspeed values are signed, same for the args
particleVspeed: .res particleCount
particleX: .res particleCount
particleY: .res particleCount
particleArgX: .res 1
particleArgY: .res 1
particleArgHspeed: .res 1
particleArgVspeed: .res 1
particleArgTimer: .res 1
playerFeetSmokeMask = %00000111
playerFeetSmokeTimer = 10
playerFeetSmokeVspeed = 129
playerDieSpeedMask = %10000011
playerSpeedMask = %00001111
;AI
;
attactModeCounter: .res 2
attactModeStartTime = 2
selectAIOffCount = 30 ;how long to hold up to turn off ai
attactModeCounterStart = 2 ;based on the high byte
maxSpeedAi = playerMaxSpeed - 3
aiMissRate = 25
aiJmpTimer: .res 1
aiGoalX: .res 1
aiGoalXTimer: .res 1
;
;==ram vars==
;
.segment "BSS"
;
; gamepad
;
;reading controller
;https://wiki.nesdev.com/w/index.php/Controller_reading_code
PAD_A = 1 << 7
PAD_B = 1 << 6
PAD_SELECT = 1 << 5
PAD_START = 1 << 4
PAD_U = 1 << 3
PAD_D = 1 << 2
PAD_L = 1 << 1
PAD_R = 1 << 0
.segment "CODE"
gamepad_poll:
lda #$01
sta $4016
sta playerPad + playerId::player2 ; player 2's buttons double as a ring counter
lsr a ; now A is 0
sta $4016
loop:
lda $4016
and #%00000011 ; ignore bits other than controller
cmp #$01 ; Set carry if and only if nonzero
rol playerPad + playerId::player1 ; Carry -> bit 0; bit 7 -> Carry
lda $4017 ; Repeat
and #%00000011
cmp #$01
rol playerPad + playerId::player2 ; Carry -> bit 0; bit 7 -> Carry
bcc loop
rts
;
; reset routine
;
reset:
sei ; mask interrupts
lda #0
sta $2000 ; disable NMI
sta $2001 ; disable rendering
sta $4015 ; disable APU sound
sta $4010 ; disable DMC IRQ
lda #$40
sta $4017 ; disable APU IRQ
cld ; disable decimal mode
ldx #$FF
txs ; initialize stack
; wait for first vblank
bit $2002
:
bit $2002
bpl :-
;randomize prng start index
ldy #$FF
:
lda 0, y
clc
adc rngIndex
sta rngIndex
dey
bne :-
lda rngIndex
tay
; clear all RAM to 0
lda #0
ldx #0
:
sta $0000, X
sta $0100, X
sta $0200, X
sta $0300, X
sta $0400, X
sta $0500, X
sta $0600, X
sta $0700, X
inx
bne :-
;save the random you made before
tya
sta rngIndex
; place all sprites offscreen at Y=255
jsr ResetSprites
; wait for second vblank
:
bit $2002
bpl :-
; NES is initialized, ready to begin!
; enable the NMI for graphical updates, and jump to our main program
lda #%10001000
sta $2000
;init audio
ldy #$13
ResetloopAudio:
lda AudioResetRegs,y
sta $4000,y
dey
bpl ResetloopAudio
; We have to skip over $4014 (OAMDMA)
lda #$0f
sta $4015
lda #$40
sta $4017
;
;end of reset
;start main game
jmp main
;starting values for reg
AudioResetRegs:
.byte $30,$08,$00,$00
.byte $30,$08,$00,$00
.byte $80,$00,$00,$00
.byte $30,$00,$00,$00
.byte $00,$00,$00,$00
;
; nmi routine
;
nmi:
; save registers
pha
txa
pha
tya
pha
; prevent NMI re-entry
lda nmi_lock
beq :+
jmp @nmi_end
:
lda #1
sta nmi_lock
;
lda nmi_ready
bne :+ ; nmi_ready == 0 not ready to update PPU
jmp @ppu_update_end
:
cmp #2 ; nmi_ready == 2 turns rendering off
bne :+
lda #%00000000
sta $2001
ldx #0
stx nmi_ready
jmp @ppu_update_end
:
;read nmi
lda $2002
; sprite OAM DMA
ldx #0
stx $2003
lda #>oam
sta $4014
; palettes
lda #$3F
sta $2006
stx $2006 ; set PPU address to $3F00
ldx #0
:
lda colorPallet, x
sta $2007
inx
cpx #colorPalletSize
bcc :-
@end_ppu_draw:
; set horizontal nametable increment
lda #%10001000
sta $2000
;freeze scroll
;scroll x
lda #0
sta $2005
;scroll y
lda nmiScreenShakeState
sta $2005
; enable rendering
lda #%00011110
ora inPause ;make screen black and white in pause
sta $2001
; flag PPU update complete
ldx #0
stx nmi_ready
@ppu_update_end:
;
;help randomize prng
dec rngIndex
; unlock re-entry flag
lda #0
sta nmi_lock
@nmi_end:
; restore registers and return
pla
tay
pla
tax
pla
rti
;
; irq
;
.segment "CODE"
irq:
rti
;
; drawing utilities
;
; ppu_update: waits until next NMI, turns rendering on (if not already), uploads OAM, palette, and nametable update to PPU
ppu_update:
lda #1
sta nmi_ready
:
;help randomize prng
inc rngIndex
;check nmi_ready
lda nmi_ready
bne :-
rts
; ppu_off: waits until next NMI, turns rendering off (now safe to write PPU directly via $2007)
ppu_off:
lda #2
sta nmi_ready
:
lda nmi_ready
bne :-
rts
PpuHelper:
;blink pallet
;blink color via find and replace
lda blinkState
and #blinkTestSlow >> 1 ;used to slow down how often im running this
bne PpuHelperSkipBlink
ldx #0
:
;blink color via find and replace
lda rom_palette, X
cmp #blinkSwapColor
bne :+
lda blinkState
and #blinkTestSlow
bne :+
;new color
lda #blinkSwapColorNew
jmp :++
:
;else load old color
lda rom_palette, X
:
sta colorPallet, x
inx
cpx #colorPalletSize
bcc :---
PpuHelperSkipBlink:
;screen shake
lda screenShakeTimer
beq :+
;save new offset
jsr Prng
and #screenShakeMask
dec screenShakeTimer
jmp :++
:
lda #0
:
sta nmiScreenShakeState
rts
;
;=== main ===
;
main:
;init pause
lda #pauseKeyStateEnum::pauseKeyUp
sta inPause
sta pauseKeyState
;init players
jsr SetPlayerDefaultValues
;reset draw pointer to start of OMA
lda #<oam
sta spritePointer
lda #>oam
sta spritePointer + 1
;start main menu cursor
lda cursorYPos
sta cursorY
;init color pallet
ldx #0
:
lda rom_palette, x
sta colorPallet, x
inx
cpx #colorPalletSize
bne :-
;load starting menu
lda #gameStateEnum::TitleScreen
sta gameState
jsr LoadLevelData
jmp ReturnToMainMenu
; main loop
;===========
mainLoop:
;poll gamepad
jsr gamepad_poll
;reset draw pointer to start of OAM
ldy #0
sty spritePointer
;ppu helper
jsr PpuHelper
;audio timer
jsr SoundEvent
;
;main menu code
;
lda gameState
cmp #gameStateEnum::TitleScreen
bne :+
jsr AttactModeMainMenu
jsr CursorControls
jsr DrawCursor
;skip game code if main menu
jmp mainDraw
:
;
;pause game key, works only on key down
;
lda playerPad + playerId::player1
ora playerPad + playerId::player2
and #PAD_START
beq :++
;run pause code if keys is not down, set key is down
ldx pauseKeyState
bne :+
lda inPause
;invert pause state
eor #1
sta inPause
;set pause key state
ldx #pauseKeyStateEnum::pauseKeyDown
stx pauseKeyState
:
jmp endPauseKey
:
;else
ldx #pauseKeyStateEnum::pauseKeyUp
stx pauseKeyState
endPauseKey:
;if game is paused skip to drawing
ldx inPause
cpx #pauseStateEnum::paused
bne :++
;hold down select to exit to menu
lda playerPad
ora playerPad + 1
and #PAD_SELECT
beq :+
jmp ReturnToMainMenu
:
jmp mainDraw
:
;end of pausing
;
;==main game code===
;clean up sprites
jsr ResetSprites
;draw start game timer if any
jsr DrawStartGameTimer
;player state procesing
ldx #0
:
jsr PlayerAIEvent
jsr PlayerControls
jsr playerStepEvent
jsr PlayerPhysics
jsr PlayerEndStep
jsr PlayerDraw
jsr DrawPlayerScore
jsr DrawPlayerShadow
jsr playerDieSmoke
inx
cpx #playerId::playerCountMax
bne :-
;end game timer
lda gameEndTImer
beq :++
dec gameEndTImer
;on last frame jump back to main menu
bne :+
jmp ReturnToMainMenu
:
:
;particals
jsr DrawAndTickParticles
;==main loop drawing==
mainDraw:
;up blink
inc blinkState
;wait for next frame
jsr ppu_update
jmp mainLoop ;end of drawing, will loop
;
; end of main loop
;
;============
SetPlayerDefaultValues:
;player default values
ldy #0
DefaultValuesLoopStart:
;zero out value
lda #0
sta playerPad, y
sta playerHit, y
sta playerOnGround, y
sta playerDieCount, y
sta playerInKnockback, y
sta playerAttackCount, y
sta leftSpeed, y
sta rightSpeed, y
sta upSpeed, y
sta downSpeed, y
sta playerJumpTimer, y
sta playerMoveCooldown, y
sta playerAttackCooldown, y
sta playerAttackingTimer, y
sta playerInvincibilityTimer, y
sta playerBlockTimer, y
sta playerBlockCooldown, y
sta playerSpriteId, y
sta playerSpriteIdEnd, y
sta playerSpriteState, y
sta playerSpriteTimerStart, y
sta playerSpriteTimer, y
sta playerSpriteHide, y
sta playerDeadTimer, y
sta playerAIbuttonCount, y
;specific values
lda #StartingPlayerY
sta playerY, y
lda #playerHeightPixels + StartingPlayerY - 1
sta PlayerBottom, y
;player specific
cpy #playerId::player1
bne :+
;player 1
lda #player1Facing
sta playerFacing, y
lda #player1StartingX
sta playerX, y
lda #player1StartingX + playerWidthPixels - 1
sta PlayerRight, y
lda #player1Pallet
sta playerPalletId, y
jmp defaultPerPlayerValuesEnd
:
;player 2
lda #player2Facing
sta playerFacing, y
lda #player2StartingX
sta playerX, y
lda #player2StartingX + playerWidthPixels - 1
sta PlayerRight, y
lda #player2Pallet
sta playerPalletId, y
defaultPerPlayerValuesEnd:
;end loop code
iny
cpy #playerId::playerCountMax
beq :+
jmp DefaultValuesLoopStart
:
rts
;======player AI======
PlayerAIEvent:
;stop attract mode if any key is pressed
lda playerPad, x
and #$FF
beq :++
;check if attract mode is on
lda attactModeCounter + 1
beq :+
;return to menu
jmp ReturnToMainMenu
:
:
;exit if not in AI
lda playerAI, x
bne :+
rts
:
;get other player id
txa
eor #1
tay
;give move location goal
lda playerX, y
sta tmpVarZp
;check if attract mode is on
;
lda attactModeCounter + 1
beq PlayerAIEventAttractExit
;if so then do random stuff to make it look more intresting
txa
bne PlayerAIEventAttractExit ;only if your player 1
;make player 1 jump random
lda aiJmpTimer
bne :+
lda playerPad
ora #PAD_A
sta playerPad
;reset timer
jsr Prng
sta aiJmpTimer
:
dec aiJmpTimer
;make player 1
lda aiGoalXTimer
bne :++
;set random location
:
jsr Prng
cmp platfromData + platfromDataEnm::platsGroundStartX
beq :-
cmp platfromData + platfromDataEnm::platsGroundEndX
bcs :-
sta aiGoalX
;reset timer
jsr Prng
sta aiGoalXTimer
:
dec aiGoalXTimer
;set where player 1 should move
lda aiGoalX
sta tmpVarZp
PlayerAIEventAttractExit:
;when toching other player
;
jsr PlayerTestOverlap
beq PlayerAIEventTouchExit
;in ai attact Mode somtimes fail to block or attack
jsr Prng
cmp #aiMissRate
bcc :+
jmp PlayerAIEventTouchExit
:
;see if other player is attacking block
lda playerAttackingTimer, y
beq :+
lda playerPad, x
ora #PAD_D
ora #PAD_B
sta playerPad, x
jmp PlayerAIEventTouchExit
:
;attack
lda playerPad, x
ora #PAD_B
sta playerPad, x
PlayerAIEventTouchExit:
;vspeed
;
;jump if they are ontop
lda playerY, x
cmp PlayerBottom, y
bcc :+ ;<
lda playerPad, x
ora #PAD_A
sta playerPad, x
:
;fall though other player under if under
lda PlayerBottom, x
cmp playerY, y
bcs :+ ;>
lda playerPad, x
ora #PAD_D
ora #PAD_A
sta playerPad, x
:
;hspeed
;
;check speed limit
lda leftSpeed, x
clc
adc rightSpeed, x
lsr
lsr
lsr
lsr
cmp #maxSpeedAi
bcs PlayerAIHspeedExit
lda playerX, x
cmp tmpVarZp
bcs :+ ;>
;move left
lda playerPad, x
ora #PAD_R
jmp :++
:
;move right
lda playerPad, x
ora #PAD_L
:
sta playerPad, x
PlayerAIHspeedExit:
rts
;==============
PlayerControls:
;check movecooldown
lda playerMoveCooldown, x
beq :+
rts
:
;up
lda playerPad, x
and #PAD_U
beq :++
lda playerPad, x
and #PAD_SELECT
beq :+
lda #bool::true
sta playerAI, x
:
:
;blocking (down)
lda playerPad, x
and #PAD_D
beq :++
;block is down+b
lda playerPad, x
and #PAD_B
beq :+
;make sure cooldown is passed
lda playerBlockCooldown, x
bne :+
;set timers
lda #blockTimer
sta playerMoveCooldown, x
sta playerBlockTimer, x
sta playerInvincibilityTimer, x
lda #blockTimerCooldown
sta playerBlockCooldown, x
rts
;test if down + jump to fall though platfroms
:
;test jump
lda playerPad, x
and #PAD_A
beq :+
;only when on ground
lda playerOnGround, x
beq :+
;and bottom is same as platfroms y
lda PlayerBottom, x
cmp platfromData + platfromDataEnm::platsSharedY
bne :+
;set not on ground
lda #bool::false
sta playerOnGround, x
;clip though ground
inc playerY, x
inc PlayerBottom, x
:
;ignore left + right
lda playerPad, x
and #PAD_L + PAD_R
cmp #PAD_L + PAD_R
bne :+
jmp playerContolsSkipLeftRight
:
;left dpad
lda playerPad, x
and #PAD_L
beq :+
;check if under speed limti
lda leftSpeed, x
cmp #playerMaxHspeed
bcs :+
;add speed
clc
adc #playerHspeed
sta leftSpeed, x
;face new direction
lda #dirs::left
sta playerFacing, x
:
;right dpad
lda playerPad, x
and #PAD_R
beq :+
lda rightSpeed, x
cmp #playerMaxHspeed
bcs :+
;add speed
clc
adc #playerHspeed
sta rightSpeed, x
;face new direction
lda #dirs::right
sta playerFacing, x
:
playerContolsSkipLeftRight:
;
;attacking
;
;test attack button
lda playerPad, x
and #PAD_B
beq playerContolsAttackEnd
;dont attack if pressing down, thats for blocking
lda playerPad, x
and #PAD_D
bne playerContolsAttackEnd
;make sure cooldown is passed
lda playerAttackCooldown, x
bne playerContolsAttackEnd
;signal a new attack for step event
inc playerAttackCount, x
;set attack timers timers
lda #attackTimer
sta playerMoveCooldown, x
sta playerAttackingTimer, x
lda #attackTimerCoolDown
sta playerAttackCooldown, x
rts ;if playerMoveCooldown gets set you must return
playerContolsAttackEnd:
;
;jump key
;
;reset jump timer if not on ground
lda playerOnGround, x
cmp #bool::true
beq :+
lda #0
sta playerJumpTimer, x
jmp playerContolsSkipJump
:
;test jump button
lda playerPad, x
and #PAD_A
beq :++
;start timer
inc playerJumpTimer, x
;test if short or long jump
lda playerJumpTimer, x
cmp #playerJumpTimerTest
bcs:+
jmp playerContolsSkipJump
:
;store jump amount
lda #playerJump
sta tmpVarZp
;jmp
jmp playerContolsJump
:
;test if short jump
lda playerJumpTimer, x
beq :+
;short jump
lda #playerShortJump
sta tmpVarZp
jmp playerContolsJump
:
jmp playerContolsSkipJump
playerContolsJump:
;add jump to up speed
lda upSpeed, x
clc
adc tmpVarZp
sta upSpeed, x
;reset timer
lda #0
sta playerJumpTimer, x
;set not on ground
lda #bool::false
sta playerOnGround, x
;play sound
lda #jumpSoundLength
sta audioTimer
jsr StartToneHeigh
;smoke particals
jsr playerFeetSmoke
playerContolsSkipJump:
;select, turns off ai
lda playerPad, x
and #PAD_SELECT
beq :+
inc playerAIbuttonCount, x
lda playerAIbuttonCount, x
cmp #selectAIOffCount
bne playerContolsHoldSelectReset
lda #bool::false
sta playerAI, x
:
;reset counter
lda #0
sta playerAIbuttonCount, x
playerContolsHoldSelectReset:
rts
;==========
playerStepEvent:
;attacking
;check if your on the attacking frame
lda playerSpriteState, x
cmp #attackTestOnFrame
bne playerStepSkipHitTest
;check if this is a new attack
lda playerAttackCount, x
beq playerStepSkipHitTest
;play swing sound
lda #attackSoundLength
sta noiseAudioTimer
sta audioTimer
;list it as not a new attack
dec playerAttackCount, x
;check if player is overlapping
jsr PlayerTestOverlap
cmp #bool::true
bne playerStepSkipHitTest
;set other player as hit
txa
eor #1 ;to select other player
tay
lda #bool::true
sta playerHit, y
playerStepSkipHitTest:
rts
;===================
PlayerPhysics:
;
;hspeed
;
;friction
;left
lda leftSpeed, x
tay
cmp frictionTable, y
bcs :+
lda #0
jmp :++
:
;else
sec
sbc frictionTable, y
:
sta leftSpeed, x
;right
lda rightSpeed, x
tay
cmp frictionTable, y
bcs :+
lda #0
jmp :++
:
;else
sec
sbc frictionTable, y
:
sta rightSpeed, x
;find diffrance between in speed of left and right
ldy #0
lda leftSpeed, x
cmp rightSpeed, x
bcc :+
;left is bigger
;remove speed from left from right
sec
sbc rightSpeed, x
sta leftSpeed, x
;remove all speed from right
sty rightSpeed, x
jmp :++
:
;else right is bigger
lda rightSpeed, x
sec
sbc leftSpeed, x
sta rightSpeed, x
;remove all speed from right
sty leftSpeed, x
:
;get whole part of speed from fixed point
lsr
lsr
lsr
lsr
;make sure its not over speed limit
cmp #playerMaxSpeed
bcc :+
lda #playerMaxSpeed
:
;end hspeed code if no speed left
cmp #0
bne :+
jmp PlayerPhysicsHspeedExit
:
;moving left/right code
sta tmpVarZp ;save speed in temp
;find out which way your moving
ldy leftSpeed, x
bne :+
jmp PlayerPhysicsRight
:
;move left
;move x
lda playerX, x
sec
sbc tmpVarZp
sta playerX, x
jmp PlayerPhysicsSkipRight
PlayerPhysicsRight:
;move right
;move x
lda playerX, x
clc
adc tmpVarZp
sta playerX, x
PlayerPhysicsSkipRight:
;update right side offset
clc
adc #playerWidthPixels - 1
sta PlayerRight, x
PlayerPhysicsHspeedExit:
;
;left/right wall collision detection
lda platfromData + platfromDataEnm::noWalls
beq :+
jmp PlayerPhysicsDownSkipWallCheck
:
;left wall
lda playerX, x
cmp platfromData + platfromDataEnm::levelWallLeftX
bcs :++
;clip player into level
lda platfromData + platfromDataEnm::levelWallLeftX
sec
sbc #1 ;fix off by 1
sta playerX, x
clc
adc #playerWidthPixels - 1
sta PlayerRight, x
;bounce when lost moves
lda playerMoveCooldown, x
beq :+
lda leftSpeed, x
sta rightSpeed, x
lda #0
sta leftSpeed, x
jmp :++
:
;else just stop
lda #0
sta leftSpeed, x
:
;right wall
lda PlayerRight, x
cmp platfromData + platfromDataEnm::levelWallRightX
bcc :++
lda platfromData + platfromDataEnm::levelWallRightX
sta PlayerRight, x
sec
sbc #playerWidthPixels - 1
sta playerX, x
;hit a wall set
lda #bool::true
sta tmpVarZp
;bounce when lost moves
lda playerMoveCooldown, x
beq :+
lda rightSpeed, x
sta leftSpeed, x
lda #0
sta rightSpeed, x
jmp :++
:
lda #0
sta rightSpeed, x
:
PlayerPhysicsDownSkipWallCheck:
;
;vspeed
;
;start platfrom collision detecting
;gravity
lda downSpeed, x
clc
adc #playerGravity
sta downSpeed, x
;find diffrance up/down
ldy #0
lda upSpeed, x
cmp downSpeed, x
bcc :+
;up is bigger
;remove speed from other speed
sec
sbc downSpeed, x
sta upSpeed, x
;remove all speed
sty downSpeed, x
jmp :++
:
;else down is bigger
lda downSpeed, x
sec
sbc upSpeed, x
sta downSpeed, x
;remove all speed from right
sty upSpeed, x
:
;get whole part of speed from fixed point
lsr
lsr
lsr
lsr
;make sure its not over speed limit
cmp #playerMaxSpeed
bcc :+
lda #playerMaxSpeed
:
;end hspeed code if no speed left
cmp #0
bne :+
jmp PlayerPhysicsPlatfromCollision
:
;moving up/down
sta tmpVarZp ;save speed in temp
;find out which way your moving
ldy upSpeed, x
bne :+
ldy tmpVarZp
jmp PlayerPhysicsDown
:
;move up
lda playerY, x
sec
sbc tmpVarZp
sta playerY, x
;update bottom offset
clc
adc #playerHeightPixels - 1
sta PlayerBottom, x
;ceiling
lda playerY, x
cmp #levelCeiling
bcs :+
;set top
lda #levelCeiling
sta playerY, x
;set bottom
lda #levelCeiling + playerHeightPixels - 1
sta PlayerBottom, x
;remove speed
lda #0
sta upSpeed, x
:
jmp PlayerPhysicsPlatfromCollision ;skip moving down
PlayerPhysicsDown:
;ground plat
lda PlayerBottom, x
cmp platfromData + platfromDataEnm::platsGroundY
bne :+
;check left
lda PlayerRight, x
cmp platfromData + platfromDataEnm::platsGroundStartX
bcc :+
;check right
lda playerX, x
cmp platfromData + platfromDataEnm::platsGroundEndX
bcs :+
jmp PlayerPhysicsLanded
:
;plat2
lda PlayerBottom, x
cmp platfromData + platfromDataEnm::platsSharedY
bne :+
;check left
lda PlayerRight, x
cmp platfromData + platfromDataEnm::platLeftStartX
bcc :+
;check right
lda playerX, x
cmp platfromData + platfromDataEnm::platLeftEndX
bcs :+
jmp PlayerPhysicsLanded
:
;plat3
lda PlayerBottom, x
cmp platfromData + platfromDataEnm::platsSharedY
bne :+
;check left
lda PlayerRight, x
cmp platfromData + platfromDataEnm::platRightStartX
bcc :+
;check right
lda playerX, x
cmp platfromData + platfromDataEnm::platRightEndX
bcs :+
jmp PlayerPhysicsLanded
:
;move player down after checks
inc playerY, x
inc PlayerBottom, x
;loop
dey
bne PlayerPhysicsDown
;set not on ground
lda #bool::false
sta playerOnGround, x
jmp PlayerPhysicsPlatfromCollision
PlayerPhysicsLanded:
;set on ground
lda #bool::true
sta playerOnGround, x
;zero down speed
lda #0
sta downSpeed, x
PlayerPhysicsPlatfromCollision:
;test if fell out of level aka kill ground
lda PlayerBottom, x
cmp #levelKillGround
bcc :+
;move player ontop of ground
lda #levelKillGround
sta PlayerBottom, x
sec
sbc #playerHeightPixels - 1
sta playerY, x
ldy #0
sty downSpeed, x
;kill them
lda #bool::true
sta playerHit, x
;let game know you landed
lda #bool::true
sta playerOnGround, x
:
;==end player physics==
rts
;==================
PlayerTestOverlap:
;saves true/false to A
;left
lda playerX
cmp PlayerRight + 1
bcc :+
lda #bool::false
rts
:
;right
lda PlayerRight
cmp playerX + 1
bcs :+
lda #bool::false
rts
:
;up
lda playerY
cmp PlayerBottom + 1
bcc :+
lda #bool::false
rts
:
;down
lda PlayerBottom
cmp playerY + 1
bcs :+
lda #bool::false
rts
:
;overlap
lda #bool::true
rts
;============
PlayerDraw:
;note: make sure to rest the draw pointer index at new frame
;gamestart
lda gameStartTimer
beq :++ ;skip if zero
lda playerSpriteId, x
cmp #spriteStartStart
bne :+
;break if already doing it
jmp PlayerDrawAnimationLogicStart
:
;load new sprite data
lda #spriteStartStart
sta spriteWinStart, x
sta playerSpriteState, x
lda #spriteStartSEnd
sta playerSpriteIdEnd, x
lda #spriteStartSTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
jmp PlayerDrawAnimationLogicStart
:
;dead
lda playerDeadTimer, x
beq :++ ;skip if zero
lda playerSpriteId, x
cmp #spriteDieStart
bne :+
;break if already doing it
jmp PlayerDrawAnimationLogicStart
:
;load new sprite data
lda #spriteDieStart
sta playerSpriteId, x
sta playerSpriteState, x
lda #spriteDieEnd
sta playerSpriteIdEnd, x
lda #spriteDieTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
jmp PlayerDrawAnimationLogicStart
:
;game end
lda gameEndTImer
beq :+++ ;skip if zero
lda playerDieCount, x
cmp #playerMaxDeaths
bne :+
lda #spriteLooseStart
sta spriteWinStart, x
sta playerSpriteState, x
lda #spriteLooseEnd
sta playerSpriteIdEnd, x
lda #spriteLooseTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
jmp :++
:
lda #spriteWinStart
sta spriteWinStart, x
sta playerSpriteState, x
lda #spriteWinEnd
sta playerSpriteIdEnd, x
lda #spriteWinTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
:
jmp PlayerDrawAnimationLogicStart
:
;attacking
lda playerAttackingTimer, x
beq :++ ;skip if zero
lda playerSpriteId, x
cmp #spriteAttackStart
bne :+
;break if already doing it
jmp PlayerDrawAnimationLogicStart
:
;load new sprite data
lda #spriteAttackStart
sta playerSpriteId, x
sta playerSpriteState, x
lda #spriteAttackEnd
sta playerSpriteIdEnd, x
lda #spriteAttackTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
jmp PlayerDrawAnimationLogicStart
:
;blocking
lda playerBlockTimer, x
beq :++ ;skip if zero
lda playerSpriteId, x
cmp #spriteBlockStart
bne :+
;break if already doing it
jmp PlayerDrawAnimationLogicStart
:
;load new sprite data
lda #spriteBlockStart
sta playerSpriteId, x
sta playerSpriteState, x
lda #spriteBlockEnd
sta playerSpriteIdEnd, x
lda #spriteBlockTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
jmp PlayerDrawAnimationLogicStart
:
;skip up and down if on ground
lda playerOnGround, x
bne PlayerDrawSkipUpDown
;up
lda upSpeed, x
beq :+ ;skip if zero
lda playerSpriteId, x
cmp #spriteJumpStart
beq PlayerDrawAnimationLogicStart
;load new sprite data
lda #spriteJumpStart
sta playerSpriteId, x
sta playerSpriteState, x
lda #spriteJumpEnd
sta playerSpriteIdEnd, x
lda #spriteJumpTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
jmp PlayerDrawAnimationLogicStart
:
;going down
lda downSpeed, x
beq :+ ;skip if zero
lda playerSpriteId, x
cmp #spriteFallStart
beq PlayerDrawAnimationLogicStart
;load new sprite data
lda #spriteFallStart
sta playerSpriteId, x
sta playerSpriteState, x
lda #spriteFallEnd
sta playerSpriteIdEnd, x
lda #spriteFallTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
jmp PlayerDrawAnimationLogicStart
:
PlayerDrawSkipUpDown:
;walking left/right
lda leftSpeed, x
ora rightSpeed, x
beq :+
lda playerSpriteId, x
cmp #spriteWalkStart
beq PlayerDrawAnimationLogicStart
;load new sprite data
lda #spriteWalkStart
sta playerSpriteId, x
sta playerSpriteState, x
lda #spriteWalkEnd
sta playerSpriteIdEnd, x
lda #spriteWalkTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
jmp PlayerDrawAnimationLogicStart
:
;Idle animation
;
;break if already doing it
lda playerSpriteId, x
cmp #spriteIdleStart
beq PlayerDrawAnimationLogicStart
;break if not on ground
lda playerOnGround, x
beq PlayerDrawAnimationLogicStart
;load new sprite data
lda #spriteIdleStart
sta playerSpriteId, x
sta playerSpriteState, x
lda #spriteIdleEnd
sta playerSpriteIdEnd, x
lda #spriteIdleTimer
sta playerSpriteTimerStart, x
sta playerSpriteTimer, x
PlayerDrawAnimationLogicStart:
;animation logic
lda playerSpriteTimer, x
bne :++ ;skip if timer is not done yet
;reset timer
lda playerSpriteTimerStart, x
sta playerSpriteTimer, x
;inc player sprite
lda playerSpriteState, x
clc
adc #playerWidthTiles
sta playerSpriteState, x
;check if we need to loop sprite
cmp playerSpriteIdEnd, x
bcc :+ ;skip if we have not past the end
lda playerSpriteId, x
sta playerSpriteState, x ;reset sprite id to start
:
:
;
;draw sprite
;
;dont draw if hidden
lda playerSpriteHide, x
beq :+
rts
:
;load sprite index
ldy spritePointer
;start y axis loop
lda #playerHeightTiles
sta yAxisOAM
;reset sprite offset
lda playerY, x
sta yOffsetOAM
;starting tile of sprite
lda playerFacing, x
bne :+
lda playerSpriteState, x
clc
adc #playerWidthTiles - 1
jmp :++
:
;else
lda playerSpriteState, x
:
sta tileOffset
;
;cache values for loop
;
;pallet data cache
lda playerFacing, x
bne :+
;flipped
lda #%01000000 ;for attributes below
jmp :++
:
;else
lda #%00000000 ;for attributes below
:
;get pallet data for player
ora playerPalletId, x
;pallet dead for dead
pha
lda playerDeadTimer, x
beq :+
pla
ora #playerPalletDead
pha
:
pla
sta tempPlayerPallet
;cahce tile offset add x
lda playerFacing, x
bne :+
;flipped
lda #255
jmp :++
:
;else
lda #1
:
sta tileOffsetAddTmpX
PlayerDrawLoopY:
;======x axis=======
;reset x
lda playerX, x
sta xOffsetOAM
;x axis loop
lda #playerWidthTiles
sta xAxisOAM
PlayerDrawLoopX:
;======x axis=======
;==set sprite OAM==
;y
lda yOffsetOAM
sec
sbc nmiScreenShakeState
sta (spritePointer), y
;tile
lda tileOffset
iny
sta (spritePointer), y
;move to next tile
clc
adc tileOffsetAddTmpX
sta tileOffset
;attribute
lda tempPlayerPallet
;save your sprite
iny
sta (spritePointer), y
;x
iny
lda xOffsetOAM
sta (spritePointer), y
clc ;inc to next sprite pos
adc #nesSpriteWidth
sta xOffsetOAM
;move sprite pointer to next sprite
iny
;==end sprite OAM==
;loop upkeep x
dec xAxisOAM
bne PlayerDrawLoopX
;======x axis end=======
;move sprite offset on y
lda yOffsetOAM
clc
adc #nesSpriteHeight
sta yOffsetOAM
;move tileOffset a y amount
lda playerFacing, x
bne :+
;if flipped
lda tileOffset
clc
adc #spriteRowSize + playerWidthTiles
jmp :++
:
;else, if normal
lda tileOffset
clc
adc #spriteRowSize - playerWidthTiles
:
sta tileOffset
;loop upkeep y
dec yAxisOAM
bne PlayerDrawLoopY
;======y axis end=======
;save sprite index
sty spritePointer
;end
rts
;=====
PlayerEndStep:
;last code to run befor drawing the player
;
;get knock back when blocking
;
;test hit flag
lda playerHit, x
cmp #bool::true
bne PlayerEndKnockbackExit
;if blocking
lda playerBlockTimer, x
beq PlayerEndKnockbackExit
;and not in knockback
lda playerInKnockback, x
cmp #bool::false
bne PlayerEndKnockbackExit
;get knocked back
;select other player id
txa
eor #1
tay
;knockback me depending on other players facing direction
lda playerFacing, y
cmp #dirs::left
beq :+
lda #attackKnockBackAmount
sta rightSpeed, x
jmp :++
:
;else knockback right
lda #attackKnockBackAmount
sta leftSpeed, x
:
;stun player
lda #gettingHitStunTimer
sta playerMoveCooldown, x
;set knockback
lda #bool::true
sta playerInKnockback, x
;smoke
jsr playerFeetSmoke
PlayerEndKnockbackExit:
;
;getting hit
;
;test hit flag
lda playerHit, x
beq PlayerEndStepGettingHitExit
;reset playerHit
lda bool::false
sta playerHit, x
;cant get hit if invincible
lda playerInvincibilityTimer, x
bne PlayerEndStepGettingHitExit
;cant die if dead
lda playerDeadTimer, x
bne PlayerEndStepGettingHitExit
;set dead
lda #deadTimerAmount
sta playerDeadTimer, x
sta playerMoveCooldown, x
sta deadSoundTimer
sta audioTimer
;flinging player in air
lda #deadJumpSpeed
sta upSpeed, x
;shake screen
lda #screenShakeTimerAmount
sta screenShakeTimer
;inc death count
inc playerDieCount, x
lda playerDieCount, x
cmp #playerMaxDeaths
bcc :+ ;if you die too much
;cap win count
lda #playerMaxDeaths
sta playerDieCount, x
;start end game timer
lda #gameStartEndTimerAmount
sta gameEndTImer
;make everyone invincible
sta playerInvincibilityTimer
sta playerInvincibilityTimer + 1
;stun everyone also
sta playerMoveCooldown
sta playerMoveCooldown + 1
:
PlayerEndStepGettingHitExit:
;
;blink when invincible
;
lda playerInvincibilityTimer, x
beq :+++
lda blinkState
and #blinkTest
bne :+
lda #hideSprite
jmp :++
:
lda #showSprite
:
sta playerSpriteHide, x
jmp :++
:
;else keep sprite shown
lda #showSprite
sta playerSpriteHide, x
:
;
;dec player timers
;
lda playerMoveCooldown, x
beq :+
dec playerMoveCooldown, x
jmp :++
:
;else reset knockback
lda #bool::false
sta playerInKnockback, x
:
lda playerAttackCooldown, x
beq :+
dec playerAttackCooldown, x
:
lda playerAttackingTimer, x
beq :+
dec playerAttackingTimer, x
:
lda playerInvincibilityTimer, x
beq :+
dec playerInvincibilityTimer, x
:
lda playerBlockTimer, x
beq :+
dec playerBlockTimer, x
:
lda playerBlockCooldown, x
beq :+
dec playerBlockCooldown, x
:
lda playerSpriteTimer, x
beq :+
dec playerSpriteTimer, x
:
;
;dieing
;
;dec timer
lda playerDeadTimer, x
beq :+
dec playerDeadTimer, x
:
;reset players near end of dieing
lda playerDeadTimer, x
cmp #1
bne PlayerEndStepEndDeath
;give player a change to recover
lda #invincibleAfterDeathTimer
sta playerInvincibilityTimer, x
;reset speed
lda #0
sta leftSpeed, x
sta rightSpeed, x
sta upSpeed, x
sta downSpeed, x
sta playerOnGround, x
;right/bottom
lda #playerHeightPixels + StartingPlayerY - 1
sta PlayerBottom, x
;reset y
lda #StartingPlayerY
sta playerY, x
;reset player x
cpx #playerId::player1
bne :+ ;player 1
lda #player1StartingX + playerWidthPixels - 1
sta PlayerRight, x
lda #player1StartingX
sta playerX, x
jmp :++
: ;else player 2
lda #player2StartingX + playerWidthPixels - 1
sta PlayerRight, x
lda #player2StartingX
sta playerX, x
:
PlayerEndStepEndDeath:
;===end of playerend===
rts
;===========
DrawPlayerScore:
;set up tile index into a tmp var
lda playerDieCount, x
clc
adc #spriteScoreStart
sta tmpVarZp
;y index
lda #2
sta yAxisOAM
;load next free sprite
ldy spritePointer
;cach blink state
lda blinkState
and #blinkTest
bne :+
lda #spriteScoreChangeFame0
jmp :++
:
lda #spriteScoreChangeFame1
:
sta tileOffset ;using tileOffset as a temp
;cache color
lda #%00000000
ora playerPalletId, x
sta tempPlayerPallet
DrawPlayerScoreLoop:
;set score y
lda yAxisOAM
cmp #1
bne :+
lda #spriteScoreY + nesSpriteHeight
jmp :++
:
lda #spriteScoreY
:
;store y
sta (spritePointer), y
;set tile
;play blink if dead
iny
lda playerDeadTimer, x
beq :+
lda tileOffset ;what tile to use when blinking
jmp :++
:
lda tmpVarZp
:
sta (spritePointer), y
clc ;set up index for next sprite on y axis
adc #spriteRowSize
sta tmpVarZp
;attributes
lda tempPlayerPallet
iny
sta (spritePointer), y
;x
cpx #playerId::player1
bne :+
lda #player1StartingX
jmp :++
:
lda #player2StartingX + playerWidthPixels
:
iny
sta (spritePointer), y
;end of loop
iny
dec yAxisOAM
bne DrawPlayerScoreLoop
;end
sty spritePointer
rts
;==============
DrawPlayerShadow:
;only on map PitPlat
lda gameState
cmp #gameStateEnum::PitPlat
beq :+
rts
:
;load sprite index
ldy spritePointer
;y mirroring players y
lda platfromData + platfromDataEnm::platsGroundY
sec
sbc playerY, x
lsr
lsr
lsr
clc
adc platfromData + platfromDataEnm::platsGroundY
clc
adc #nesSpriteHeight * 2
sta (spritePointer), y
;tile
;cach blink state
lda #spriteScoreChangeFame0
iny
sta (spritePointer), y
;attributes
lda blinkState
and #%11000000
ora playerPalletId, x
iny
sta (spritePointer), y
;x
lda playerX, x
clc
adc #nesSpriteWidth
iny
sta (spritePointer), y
;exit
iny
sty spritePointer
rts
;=======
DrawStartGameTimer:
;skip if timer is passed
lda gameStartTimer
bne :+
rts
:
dec gameStartTimer
;decode timer to seconds
;3
cmp #60 * 2
bcc :+
lda #3
jmp DrawStartGameTimerDecodeExit
:
;2
cmp #60
bcc :+
lda #2
jmp DrawStartGameTimerDecodeExit
:
;1
lda #1
;blastoff!
DrawStartGameTimerDecodeExit:
;set up tile index into a tmp var
clc
adc #spriteScoreStart
sta tmpVarZp
;play coutdown beeps
cmp tmpVar3Zp
beq :+
sta tmpVar3Zp
;play sound
lda #jumpSoundLength
sta audioTimer
jsr StartToneLow
:
;y index
lda #2
sta yAxisOAM
;load next free sprite
ldy spritePointer
DrawStartGameTimerLoop:
;set y
lda yAxisOAM
cmp #1
bne :+
lda #gameStartCountdownY + nesSpriteHeight
jmp :++
:
lda #gameStartCountdownY
:
;store y
sta (spritePointer), y
;set tile
lda tmpVarZp
iny
sta (spritePointer), y
clc
adc #spriteRowSize
sta tmpVarZp
;attributes
and #%00000011
iny
sta (spritePointer), y
;x
lda #gameStartCountdownX
iny
sta (spritePointer), y
;end of loop
iny
dec yAxisOAM
beq :+
jmp DrawStartGameTimerLoop
:
;end
sty spritePointer
rts
;====
LoadLevelData:
;make sure the lable "gameState" is set
;ThePits
lda gameState
cmp #gameStateEnum::ThePits
bne :++ ;skip loading this map if it does not match
;setup zppointerto look at ppu data to copy
lda #<thePitsMapPPU
sta tmpPointer
lda #>thePitsMapPPU
sta tmpPointer + 1
;copy platfrom data
ldy #0
:
lda thePitsMapPlatformData, y
sta platfromData, y
iny
cpy #platfromDataEnm::platSizeBytes
bne :-
jmp LoadLevelBreakDecodeMapId
:
;TooTallTower
lda gameState
cmp #gameStateEnum::TooTallTower
bne :++ ;skip loading this map if it does not match
;setup zppointerto look at ppu data to copy
lda #<TooTallTowerPPU
sta tmpPointer
lda #>TooTallTowerPPU
sta tmpPointer + 1
;copy platfrom data
ldy #0
:
lda TooTallTowerMapPlatformData, y
sta platfromData, y
iny
cpy #platfromDataEnm::platSizeBytes
bne :-
jmp LoadLevelBreakDecodeMapId
:
;PitPlat
lda gameState
cmp #gameStateEnum::PitPlat
bne :++ ;skip loading this map if it does not match
;setup zppointerto look at ppu data to copy
lda #<PitPlatPPU
sta tmpPointer
lda #>PitPlatPPU
sta tmpPointer + 1
;copy platfrom data
ldy #0
:
lda PitPlatMapPlatformData, y
sta platfromData, y
iny
cpy #platfromDataEnm::platSizeBytes
bne :-
jmp LoadLevelBreakDecodeMapId
:
;Title screen
lda gameState
cmp #gameStateEnum::TitleScreen
bne :++ ;skip loading this map if it does not match
;setup zppointerto look at ppu data to copy
lda #<TitleScreenPPU
sta tmpPointer
lda #>TitleScreenPPU
sta tmpPointer + 1
;copy platfrom data
ldy #0
:
lda TitleScreenMapPlatformData, y
sta platfromData, y
iny
cpy #platfromDataEnm::platSizeBytes
bne :-
jmp LoadLevelBreakDecodeMapId
:
LoadLevelBreakDecodeMapId:
;wait till its safe to draw
jsr ppu_off
;set horizontal nametable increment
lda #%10001000
sta $2000
;start at start of nametable 0
lda #$20
sta $2006
lda #$00
sta $2006
;copying level data from rom to vram
;setup the pointer
;http://forums.nesdev.com/viewtopic.php?t=7430
;clear the index
ldy #$00
LoadLevelCopyByte:
;load
lda (tmpPointer), y
cmp #ppuEscapeLevelData
beq LoadLevelDone ;break if found escape
;tile level data has a offset of 1, so move it back 1
sec
sbc #1
sta $2007 ;send to ppu
;move on to the next byte
iny
bne LoadLevelCopyByte
;move the pointer 256 bytes ahead
inc tmpPointer+1
jmp LoadLevelCopyByte
LoadLevelDone:
rts
;==============
NextSinTableBob:
;returns next sin on a
sty rngTmp
inc sinTableIndex
ldy sinTableIndex
lda sinTableBob, y
ldy rngTmp
rts
;============
Prng:
;returns in A
stx rngTmp
inc rngIndex
ldx rngIndex
lda rngTable, x
ldx rngTmp
rts
;==========
DrawCursor:
;load next sprite index
ldy spritePointer
;set y
jsr NextSinTableBob
clc
adc cursorY
sta (spritePointer), y
;set tile index
lda #cursorSpriteIndex
iny
sta (spritePointer), y
;set attributes
lda #%00000000
iny
sta (spritePointer), y
;set x
lda #cursorX
iny
sta (spritePointer), y
;exit
iny
rts
;==move main menu cursor==
CursorControls:
;move cursor to option
ldy cursorIndex
lda cursorYPos, y
cmp cursorY
beq CursorControlsMoveExit
bcc :+
inc cursorY
inc cursorY
jmp :++
:
dec cursorY
dec cursorY
:
rts
CursorControlsMoveExit:
;reuse a player timer for key delay
lda playerDeadTimer
beq :+
dec playerDeadTimer
rts
:
;up
lda playerPad
ora playerPad + 1 ;or player 2
and #PAD_U
beq :+
dec cursorIndex
lda #cursorPauseAmount
sta playerDeadTimer
lda #0
sta attactModeCounter
sta attactModeCounter + 1
:
;down
lda playerPad
ora playerPad + 1
and #PAD_D
beq :+
inc cursorIndex
lda #cursorPauseAmount
sta playerDeadTimer
lda #0
sta attactModeCounter
sta attactModeCounter + 1
:
;keep cursor in range
lda cursorIndex
cmp #$FF
bne :+
lda #cursorEnum::sizeMax - 1
:
cmp #cursorEnum::sizeMax
bne :+
lda #0
:
sta cursorIndex
;if they select a map start it
lda playerPad
ora playerPad + 1
and #PAD_SELECT + PAD_B + PAD_START + PAD_A
beq CursorControlsLoadMapExit
;reset counter attactModeCounter
lda #0
sta attactModeCounter
sta attactModeCounter + 1
;play sound
lda #jumpSoundLength
sta audioTimer
jsr StartToneLow
;decode cursor index
lda cursorIndex
cmp #cursorEnum::TotallyTall
bne :+
lda #gameStateEnum::TooTallTower
jmp CursorControlsLoadMap
:
cmp #cursorEnum::PitPlat
bne :+
lda #gameStateEnum::PitPlat
jmp CursorControlsLoadMap
:
cmp #cursorEnum::BombBasement
bne :+
lda #gameStateEnum::ThePits
:
CursorControlsLoadMap:
jsr StartMapFromMenu
CursorControlsLoadMapExit:
rts
;startMap
StartMapFromMenu:
;put map id in a
;load level data
sta gameState
jsr LoadLevelData
;hide menu graphics
jsr ResetSprites
;set player data
jsr SetPlayerDefaultValues
;pause player at start
lda #gameStartEndTimerAmount
sta playerMoveCooldown
sta playerMoveCooldown + 1
;set start game timer
sta gameStartTimer
;set pause key state, so you dont pause once you enter the game
ldx #pauseKeyStateEnum::pauseKeyDown
stx pauseKeyState
rts
;==========
AttactModeMainMenu:
;counter to start attact mode
inc attactModeCounter
bne AttactModeMainMenuNoInc
inc attactModeCounter + 1
lda attactModeCounter + 1
cmp #attactModeStartTime
bne AttactModeMainMenuNoStart
;start a random map
;fix stack
;turn on AI
lda #bool::true
sta playerAI
sta playerAI + 1
;load random level
jsr Prng
and #%000000001
beq :+
lda #gameStateEnum::PitPlat
jmp :++
:
lda #gameStateEnum::TooTallTower
:
jsr StartMapFromMenu
AttactModeMainMenuLoadGame:
AttactModeMainMenuNoStart:
AttactModeMainMenuNoInc:
rts
;============
ResetSprites:
;kills a and y
;place all sprites offscreen at Y=255
lda #$FF
ldy #0
:
sta oam, y
iny
iny
iny
iny
bne :-
rts
;=========
ReturnToMainMenu:
;unpause
lda #0
sta inPause
;set timer to ignore input
lda #cursorPauseNewScreen
sta playerDeadTimer
;hide sprites
jsr ResetSprites
;rese go back to menu
lda #gameStateEnum::TitleScreen
sta gameState
jsr LoadLevelData
;turn off AI from attact mode
lda attactModeCounter + 1
beq :+
lda #bool::false
sta playerAI
sta playerAI + 1
:
;reset counter attactModeCounter
lda #0
sta attactModeCounter
sta attactModeCounter + 1
;end
jmp mainLoop
;=============
;basic audio
;https://wiki.nesdev.com/w/index.php/APU_basics
StartToneLow:
;start tone
lda #<toneLow
sta $400A
lda #>toneLow
sta $400B
lda #%11000000
sta $4008
sta $4017
rts
StartToneMid:
;start tone
lda #<toneMid
sta $400A
lda #>toneMid
sta $400B
lda #%11000000
sta $4008
sta $4017
rts
StartToneHeigh:
;start tone
lda #<toneHigh
sta $400A
lda #>toneHigh
sta $400B
lda #%11000000
sta $4008
sta $4017
rts
SoundEvent:
;die sound
lda deadSoundTimer
beq :+
jsr StartToneMid
dec deadSoundTimer
:
;nouse sound gen
lda noiseAudioTimer
beq :+
jsr Prng
lsr
lsr
lsr
lsr
lsr
sta $400A
sta $400B
lda #%11000000
sta $4008
sta $4017
dec noiseAudioTimer
:
;dec main timer
lda audioTimer
beq :+
dec audioTimer
rts
:
;else
;turn audio off
lda #%00000000
sta $4008
sta $4017
rts
;particle system
;===============
AddParticle:
;find a free spot if any (if full new item is droped)
;clobbers a
tya
pha
;find free space
ldy #0
:
;test if free
lda particleTimer, y
beq AddParticleFoundFree
;loop upkeep
iny
cpy #particleCount
bne :-
;failed to find free spot, exit
jmp AddParticleExit
AddParticleFoundFree:
;copy args to free spots
lda particleArgX
sta particleX, y
lda particleArgY
sta particleY, y
lda particleArgHspeed
sta particleHspeed, y
lda particleArgVspeed
sta particleVspeed, y
lda particleArgTimer
sta particleTimer, y
;assign a random sprite
jsr Prng
lsr
and #particleCountMask
clc
adc #particleSpriteStart
sta particleSpriteIndex, y
AddParticleExit:
pla
tay
rts
;========
DrawAndTickParticles:
;clobbers a, x, y
;dec timers
ldy #0
:
;test if free
lda particleTimer, y
beq :+
sec
sbc #1
sta particleTimer, y
:
;loop upkeep
iny
cpy #particleCount
bne :--
;move particles
ldy #0
loopMoveParticles:
;test if alive
lda particleTimer, y
beq skipPartical
;hspeed
lda particleHspeed, y
bit BitCheckSigned
beq DrawAndTickParticlesNegHspeed
and #%01111111
sta tmpVarZp
lda particleX, y
sec
sbc tmpVarZp
jmp DrawAndTickParticlesVspeed
DrawAndTickParticlesNegHspeed:
clc
adc particleX, y
DrawAndTickParticlesVspeed:
sta particleX, y
;vspeed
lda particleVspeed, y
bit BitCheckSigned
beq DrawAndTickParticlesNegVspeed
and #%01111111
sta tmpVarZp
lda particleY, y
sec
sbc tmpVarZp
jmp doneMovingParticals
DrawAndTickParticlesNegVspeed:
clc
adc particleY, y
doneMovingParticals:
sta particleY, y
skipPartical:
;loop upkeep
iny
cpy #particleCount
bne loopMoveParticles
;draw particles
lda #0
sta tmpVarZp ;used to count how much is drawn, max is two sprites
lda #particleCount
sta tmpVar2Zp ;make sure to only loop a max of 4 times
ldy spritePointer
ldx particleIndex
loopDrawParicals:
;keep x in rang
inx
cpx #particleCountMask
bne :+
ldx #0
:
;test if can be drawn
lda particleTimer, x
beq cantDrawPartical
;===draw par==
;y
lda particleY, x
sta (spritePointer), y
;tile
lda particleSpriteIndex, x
iny
sta (spritePointer), y
;attrib
lda #particleColorPallet
iny
sta (spritePointer), y
;x
lda particleX, x
iny
sta (spritePointer), y
iny
;==end draw par==
cantDrawPartical:
;test if looped 4 times
dec tmpVar2Zp
beq exitParticals
;test if drawn max number of sprites
lda tmpVarZp
cmp #particleDrawCountMax
beq exitParticals
;loop
jmp loopDrawParicals
exitParticals:
stx particleIndex ;leave off where you started for next time
sty spritePointer
rts
playerFeetSmoke:
;make smoke around the players feet,
;call when x is pointing at a player
;kills a
;y
lda PlayerBottom, x
sta particleArgY
;x
jsr Prng
lsr
lsr
and #playerFeetSmokeMask
clc
adc playerX, x
sta particleArgX
;hspeed
lda #0
sta particleArgHspeed
;vspeed
lda #playerFeetSmokeVspeed
sta particleArgVspeed
;timer
lda #playerFeetSmokeTimer
sta particleArgTimer
jsr AddParticle
rts
playerDieSmoke:
;make sure x is pointer at a player
lda playerDeadTimer, x
bne :+
rts
:
;x
lda playerX, x
clc
adc #playerWidthHalfPixels
sta particleArgX
;y
lda playerY, x
clc
adc #playerHeightHalfPixels
sta particleArgY
;hspeed
jsr Prng
and #playerDieSpeedMask
sta particleArgHspeed
;vspeed
jsr Prng
and #playerDieSpeedMask
sta particleArgVspeed
;timer
jsr Prng
and #playerSpeedMask
sta particleArgTimer
jsr AddParticle
rts
;
;=== RO DATA ===
;
;== CHR ROM ==
.segment "TILES"
.incbin "background.chr"
.incbin "sprite.chr"
;==pallets==
.segment "RODATA"
rom_palette:
;bg
.byte $0F,$30,$15,$11 ; main colors, white blue and red
.byte $0F,$2D,$2D,$0F ; gray scale bg
.byte $0F,$01,$11,$38 ; water
.byte $0F,$17,$28,$39 ; towerColor
;sprites
.byte $0F,$38,$25,$15 ; player1
.byte $0F,$38,$21,$15 ; player2
.byte $10,$10,$10,$10 ; not in use
.byte $0F,$38,$16,$27 ; player dead
;===sin lookup table===
sinTableBob: ;mutipled by a offset of 3
.byte 3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,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,1,1,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,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,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
;===friction lookup==
frictionTable:
.byte 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12
;===rng===
rngTable:
.byte 37, 49, 63, 108, 206, 229, 68, 32, 185, 75, 15, 34, 196, 121, 93, 251, 127, 46, 115, 78, 193, 77, 198, 73, 119, 217, 173, 190, 67, 107, 34, 62, 111, 58, 84, 72, 118, 42, 20, 174, 213, 108, 137, 111, 39, 7, 221, 214, 144, 172, 210, 27, 119, 137, 196, 184, 206, 77, 38, 17, 48, 152, 60, 102, 194, 27, 54, 178, 156, 141, 220, 57, 32, 218, 139, 216, 158, 192, 42, 58, 97, 196, 135, 132, 87, 118, 173, 174, 72, 109, 205, 1, 58, 58, 165, 226, 214, 140, 26, 141, 60, 193, 220, 178, 42, 208, 202, 100, 239, 140, 111, 16, 232, 215, 200, 31, 57, 137, 197, 252, 93, 67, 1, 197, 166, 55, 13, 167, 17, 18, 200, 68, 175, 121, 108, 128, 158, 201, 207, 192, 63, 202, 80, 214, 145, 115, 30, 17, 23, 137, 70, 149, 100, 22, 129, 156, 4, 99, 18, 162, 121, 234, 173, 155, 143, 30, 9, 41, 52, 233, 61, 146, 99, 234, 129, 182, 200, 221, 96, 209, 248, 131, 209, 19, 95, 230, 151, 62, 241, 196, 126, 16, 148, 175, 26, 160, 126, 23, 199, 107, 180, 185, 49, 0, 153, 60, 112, 77, 14, 122, 50, 124, 31, 93, 150, 70, 121, 158, 204, 111, 203, 224, 215, 40, 72, 63, 18, 161, 145, 253, 140, 147, 92, 60, 134, 65, 84, 209, 43, 15, 93, 251, 110, 227, 24, 211, 46, 41, 171, 33, 165, 188, 80, 213, 148
;===menu cursor locations===
cursorYPos:
.byte 82 ;TotallyTall
.byte 114 ;PitPlat
.byte 146 ;BombBasement
;===sign checking====
BitCheckSigned:
.byte %10000000
;==level data==
;all values are offset by 1
;
;The Pits Map
;
thePitsMapPPU:
;nametable tile map
.byte 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,97,97,97,97,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,97,97,97,97,1,1,1,1,142,143,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,97,97,97,97,1,1,174,175,158,159,1,1,1,1,1,1,1,1,81,80,77,74,68,70,1,84,85,66,85,70,1,1,97,97,97,97,1,1,176,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,97,97,97,97,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,17,1,1,1,1,1,1,15,158,158,14,1,1,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,1,1,1,1,1,1,1,15,158,158,14,129,130,131,132,166,167,131,132,166,167,131,132,166,167,131,132,166,167,131,132,166,135,1,1,1,1,1,22,185,19,158,14,145,167,131,167,131,132,166,162,162,132,166,167,131,132,166,167,131,132,166,167,131,147,1,150,150,1,1,1,201,1,158,14,161,167,131,167,131,132,1,1,1,132,166,167,131,132,166,167,131,132,166,167,131,167,135,150,150,150,150,1,1,174,158,14,166,167,131,167,131,132,1,1,1,1,162,167,131,1,1,162,131,1,1,1,147,132,163,152,150,150,1,1,1,1,158,14,166,167,131,167,131,132,162,1,1,1,1,146,162,1,1,1,1,1,1,1,161,132,167,146,135,149,148,149,170,175,158,14,166,167,1,167,131,132,166,1,1,1,1,1,1,1,1,1,1,1,1,1,1,132,162,167,131,146,131,167,15,158,158,14,166,167,1,1,131,162,166,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,167,131,132,166,167,15,158,158,14,166,162,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,147,132,166,167,15,158,158,14,166,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,132,166,167,15,158,158,14,166,1,1,1,1,1,1,1,1,1,1,1,189,190,191,192,1,1,1,1,1,1,1,1,1,1,166,167,15,158,158,14,166,163,1,1,1,1,1,1,1,1,1,1,205,206,207,208,1,1,1,1,1,1,1,1,1,1,163,167,15,158,158,14,166,1,1,1,1,1,1,1,1,1,1,1,221,222,223,224,1,1,1,1,1,1,1,1,1,1,1,167,15,158,158,14,163,1,1,1,1,1,1,1,1,1,1,1,237,238,239,240,1,1,1,1,1,1,1,1,1,1,1,167,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,253,254,199,200,1,1,1,1,1,1,1,1,1,1,146,167,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,147,166,167,15,158,158,14,162,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,131,132,15,158,158,14,166,162,149,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,164,161,131,132,15,158,158,30,10,10,10,10,10,10,10,10,10,4,4,4,4,144,160,8,8,8,8,11,11,11,11,11,11,11,11,11,31,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,158,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
;nametable attribute
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $45,$56,$56,$56,$56,$56,$56,$01
.byte $45,$56,$56,$56,$56,$56,$56,$12
.byte $45,$56,$56,$00,$00,$56,$56,$12
.byte $45,$56,$56,$00,$00,$56,$56,$12
.byte $05,$06,$06,$06,$06,$06,$06,$02
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte ppuEscapeLevelData ;end for ppu copy
;write platfrom data
thePitsMapPlatformData:
.byte 16 ;Wall left
.byte 240 ;Wall right
.byte bool::false ;t/f for no walls
.byte 0 ;plats y
.byte 0, 0 ;plat left x start / end
.byte 0, 0 ;plat right x start / end
.byte 206 ;main ground plat y
.byte 16, 240 ;ground ends in x
;
;TooTallTower Map
;
TooTallTowerPPU:
;nametable
.byte 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,3,4,4,4,4,5,1,1,1,1,1,1,6,7,8,8,8,8,9,1,1,1,1,1,1,1,1,1,1,1,1,18,19,24,20,20,20,21,1,1,1,1,1,1,22,23,24,20,24,24,25,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,149,133,133,148,149,133,133,133,133,133,133,133,164,165,133,164,1,1,1,1,1,1,1,1,1,1,1,17,1,1,1,134,161,132,166,167,163,166,167,166,167,166,167,147,167,132,166,167,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,134,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,1,1,1,174,175,142,143,1,1,1,1,1,1,1,1,1,129,162,166,167,132,166,167,166,167,166,167,166,167,132,166,167,1,1,1,176,158,158,159,1,155,154,155,155,154,155,155,155,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,154,155,154,155,155,154,155,155,155,154,154,155,154,155,154,155,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,154,154,155,154,155,154,155,154,155,138,139,155,139,139,155,140,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,141,139,141,155,155,155,140,155,139,155,138,141,155,140,139,140,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,141,138,140,139,155,138,139,155,140,139,140,141,140,138,140,155,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,155,138,140,141,155,155,140,155,138,157,138,138,157,139,157,139,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,157,138,139,139,157,157,138,139,157,157,139,139,139,157,139,157,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,157,157,139,138,139,139,157,157,138,139,157,157,157,157,157,139,161,132,166,167,132,166,167,166,167,166,167,166,167,132,166,167,157,139,138,157,157,139,139,139,157,157,157,157,157,157,157,157,161,132,166,167,132,166,167,131,167,131,167,131,167,132,166,167,157,157,157,157,157,157,157,157,27,27,27,27,27,27,27,27,161,132,166,167,132,166,167,131,167,131,167,131,167,132,166,167,27,27,27,27,27,27,27,27
;nametable attribute
;rmb to add 1 offset
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$56,$00,$00,$00,$00,$01,$01
.byte $AB,$AB,$00,$00,$00,$00,$AB,$AB
.byte $AB,$AB,$00,$00,$00,$00,$AB,$AB
.byte $AB,$AB,$00,$00,$00,$00,$AB,$AB
.byte ppuEscapeLevelData ;end for ppu copy
;write platfrom data
TooTallTowerMapPlatformData:
.byte 0 ;Wall left
.byte 255 ;Wall right
.byte bool::true ;t/f for no walls
.byte 94 ;plats y
.byte 51, 100 ;plat left x start / end
.byte 155, 204 ;plat right x start / end
.byte 133 ;main ground plat y
.byte 64, 191 ;ground ends in x
;
;PitPlat Map
;
PitPlatPPU:
;nametable
.byte 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,169,170,171,172,1,1,1,1,150,150,1,150,150,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,185,186,187,188,1,1,150,150,150,150,150,150,150,150,150,1,1,1,142,143,1,1,1,1,1,1,1,1,1,1,1,1,201,202,203,204,150,150,150,150,150,150,150,150,150,150,1,1,174,175,158,159,1,1,1,1,1,1,1,1,1,1,1,1,217,218,219,220,150,150,1,150,150,150,1,1,1,1,1,1,176,158,158,32,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,16,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,15,158,158,14,1,1,1,2,3,4,4,4,4,4,5,1,1,1,1,1,1,6,7,8,8,8,8,8,9,1,1,1,15,158,158,14,1,1,1,18,19,20,20,24,24,20,21,1,1,1,1,1,1,22,23,24,20,20,24,24,25,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,150,150,150,150,150,150,150,150,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,150,150,150,150,150,150,1,1,1,1,1,15,158,158,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,15,158,158,14,133,133,133,133,164,149,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,133,148,15,158,158,30,10,10,10,10,10,10,10,10,10,10,144,158,158,158,158,158,158,160,11,11,11,11,11,11,11,11,11,11,31,158,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,156,139,138,138,138,157,139,157,157,139,138,138,138,157,157,157,138,138,139,138,157,157,157,157,157,157,141,157,157,139,157,157,157,141,157,157,157,157,157,139,138,138,138,157,157,157,139,138,157,157,157,157,157,139,138,138,157,157,157,157,157,157,140,138,138,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27
;nametable attribute
;rmb to add 1 offset
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $A1,$A1,$A1,$A1,$A1,$A1,$A1,$A1
.byte $AB,$AB,$AB,$AB,$AB,$AB,$AB,$AB
.byte ppuEscapeLevelData ;end for ppu copy
;write platfrom data
PitPlatMapPlatformData:
.byte 16 ;Wall left
.byte 240 ;Wall right
.byte bool::false ;t/f for no walls
.byte 142 ;plats y
.byte 43, 100 ;plat left x start / end
.byte 155, 204 ;plat right x start / end
.byte 190 ;main ground plat y
.byte 0, 240 ;ground ends in x
;
;titleScreen Map
;
TitleScreenPPU:
;nametable
.byte 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,133,133,133,133,133,133,133,133,133,133,133,133,133,133,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,137,137,137,137,137,137,137,137,137,137,137,137,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,225,226,227,228,229,230,231,232,233,234,235,236,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,241,242,243,244,245,246,247,248,249,250,251,252,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,133,133,133,133,133,133,133,133,133,133,133,133,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,137,137,137,137,137,137,137,137,137,137,137,137,137,137,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,177,178,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,193,194,1,85,112,117,98,109,109,122,1,85,98,109,109,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,179,180,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,195,196,1,81,106,117,1,81,109,98,117,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,181,182,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,197,198,1,67,112,110,99,1,67,98,116,102,110,102,111,117,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,67,122,1,84,109,102,102,113,106,111,104,67,118,115,115,106,117,112,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
;nametable attribute
;rmb to add 1 offset
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte $01,$01,$01,$01,$01,$01,$01,$01
.byte ppuEscapeLevelData ;end for ppu copy
;write platfrom data
TitleScreenMapPlatformData:
.byte 0 ;Wall left
.byte 0 ;Wall right
.byte bool::true ;t/f for no walls
.byte 0 ;plats y
.byte 0, 0 ;plat left x start / end
.byte 0, 0 ;plat right x start / end
.byte 0 ;main ground plat y
.byte 0, 0 ;ground ends in x
; credit for example.s
; <NAME> (rainwarrior), 4/06/2014
; http://rainwarrior.ca
;
; end of file
;
|
uberUFCG-BeatrizMiranda.als | beatrizadm/logica | 0 | 1591 | -- Aluna: <NAME>
module uberUFCG
-- Corridas
abstract sig Corrida {
passageiros: some Pessoa,
motorista: one Pessoa
}
sig Ida extends Corrida {
horario: one HorarioIda,
regiao: one Regiao
}
sig Volta extends Corrida {
horario: one HorarioVolta,
regiao: one Regiao
}
---
-- Pessoas
sig Debito {}
sig Credito {}
abstract sig Pessoa {
debitos: set Debito,
creditos: set Credito
}
sig Aluno extends Pessoa {}
sig Professor extends Pessoa {}
sig Servidor extends Pessoa {}
---
-- Horários
abstract sig HorarioIda, HorarioVolta {}
one sig SeteMeia, NoveMeia, TrezeMeia, QuinzeMeia extends HorarioIda {}
one sig Dez, Doze, Dezesseis, Dezoito extends HorarioVolta {}
---
-- Regiões
abstract sig Regiao {}
one sig CENTRO, LESTE, OESTE, NORTE, SUL extends Regiao {}
-- Fatos
fact RegrasUberUFCG {
-- uma pessoa não pode ser motorista e passageiro ao mesmo tempo
all c:Corrida | c.motorista !in c.passageiros
-- qualquer corrida tem no máximo 3 passageiros
all c:Corrida | #(c.passageiros) <= 3
-- uma pessoa não pode estar em duas corridas de ida ou de volta no mesmo horário
all c1:Ida | (all c2:Ida | ((c1.horario = c2.horario) and c1 != c2) implies ((#(c1.passageiros & c2.passageiros) = 0) and (#(c1.motorista & c2.motorista) = 0)) and (#(c1.motorista & c2.passageiros) = 0) and (#(c2.motorista & c1.passageiros) = 0))
all c1:Volta | (all c2:Volta | ((c1.horario = c2.horario) and c1!=c2) implies ((#(c1.passageiros & c2.passageiros) = 0) and (#(c1.motorista & c2.motorista) = 0) and (#(c1.motorista & c2.passageiros) = 0) and (#(c2.motorista & c1.passageiros) = 0)))
-- toda pessoa tem uma quantidade de créditos igual as corridas em que ele foi motorista, e uma quantidade de débitos igual as corridas em que ele foi passageiro
all p:Pessoa | #(p.creditos) = #(p.~motorista)
all p:Pessoa | #(p.debitos) = #(p.~passageiros)
-- toda pessoa tem que estar em pelo menos uma corrida, como passageiro ou como motorista
all p:Pessoa | some c:Corrida | (p in c.passageiros) or (p in c.motorista)
-- todo crédito e débito está relacionado a uma pessoa
all d:Debito | one p:Pessoa | (d in p.debitos)
all c:Credito | one p:Pessoa | (c in p.creditos)
}
---
pred show () {}
run show for 5
|
src/fot/README.agda | asr/fotc | 11 | 11797 | <filename>src/fot/README.agda
------------------------------------------------------------------------------
-- FOT (First-Order Theories)
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
-- Code accompanying the PhD thesis "Reasoning about Functional
-- Programs by Combining Interactive and Automatic Proofs" by Andrés
-- Sicard-Ramírez.
-- The code presented here does not match the thesis exactly.
module README where
------------------------------------------------------------------------------
-- Description
-- Examples of the formalization of first-order theories showing the
-- combination of interactive proofs with automatics proofs carried
-- out by first-order automatic theorem provers (ATPs).
------------------------------------------------------------------------------
-- For the thesis, prerequisites, tested versions of the ATPs and use,
-- see https://github.com/asr/fotc/.
------------------------------------------------------------------------------
-- Conventions
-- If the module's name ends in 'I' the module contains interactive
-- proofs, if it ends in 'ATP' the module contains combined proofs,
-- otherwise the module contains definitions and/or interactive proofs
-- that are used by the interactive and combined proofs.
------------------------------------------------------------------------------
-- First-order theories
------------------------------------------------------------------------------
-- • First-order logic with equality
-- First-order logic (FOL)
open import FOL.README
-- Propositional equality
open import Common.FOL.Relation.Binary.PropositionalEquality
-- Equality reasoning
open import Common.FOL.Relation.Binary.EqReasoning
-- • Group theory
open import GroupTheory.README
-- • Distributive laws on a binary operation (Stanovský example)
open import DistributiveLaws.README
-- • First-order Peano arithmetic (PA)
open import PA.README
-- • First-Order Theory of Combinators (FOTC)
open import FOTC.README
-- • Logical Theory of Constructions for PCF (LTC-PCF)
open import LTC-PCF.README
------------------------------------------------------------------------------
-- Agsy examples
------------------------------------------------------------------------------
-- We cannot import the Agsy examples because some modules contain
-- unsolved metas, therefore see examples/Agsy/README.txt
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_811.asm | ljhsiun2/medusa | 9 | 100169 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1f23, %r10
nop
nop
nop
nop
nop
and $63358, %rdx
mov (%r10), %di
nop
nop
nop
xor $50486, %r13
lea addresses_A_ht+0x1de63, %rsi
lea addresses_UC_ht+0xa073, %rdi
clflush (%rdi)
nop
nop
nop
nop
cmp %r13, %r13
mov $97, %rcx
rep movsq
nop
inc %rsi
lea addresses_normal_ht+0x4363, %rsi
lea addresses_UC_ht+0x13423, %rdi
nop
nop
nop
nop
nop
mfence
mov $84, %rcx
rep movsq
add %rsi, %rsi
lea addresses_WC_ht+0x9e23, %rsi
lea addresses_A_ht+0x1de3, %rdi
nop
nop
nop
xor %r11, %r11
mov $3, %rcx
rep movsw
nop
nop
nop
xor %rdx, %rdx
lea addresses_WC_ht+0xd6a3, %rdx
nop
and %r10, %r10
mov (%rdx), %rcx
nop
nop
nop
nop
nop
and %r13, %r13
lea addresses_WT_ht+0x42a3, %rsi
lea addresses_WC_ht+0xf823, %rdi
nop
nop
nop
nop
sub $9517, %rbp
mov $64, %rcx
rep movsl
nop
nop
nop
nop
cmp $30630, %rdx
lea addresses_UC_ht+0x1c4bc, %r10
nop
nop
xor %rcx, %rcx
mov $0x6162636465666768, %rdx
movq %rdx, (%r10)
nop
inc %rdx
lea addresses_D_ht+0x109a3, %rcx
nop
nop
sub $26831, %r11
mov (%rcx), %esi
nop
nop
nop
xor %r11, %r11
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r13
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r15
push %r9
push %rax
push %rdi
// Store
mov $0x723, %rdi
nop
add $33474, %r9
movl $0x51525354, (%rdi)
inc %r11
// Load
lea addresses_WC+0x12e47, %rax
inc %r13
movb (%rax), %r15b
nop
inc %r11
// Store
lea addresses_PSE+0xe8e3, %rdi
nop
sub %r12, %r12
mov $0x5152535455565758, %r15
movq %r15, %xmm2
vmovups %ymm2, (%rdi)
nop
nop
nop
nop
xor %r13, %r13
// Load
lea addresses_D+0xac23, %r13
nop
nop
nop
cmp %rax, %rax
mov (%r13), %r15d
// Exception!!!
mov (0), %rdi
sub %r15, %r15
// Faulty Load
lea addresses_RW+0x1f023, %r11
nop
cmp %r9, %r9
movb (%r11), %r13b
lea oracles, %r9
and $0xff, %r13
shlq $12, %r13
mov (%r9,%r13,1), %r13
pop %rdi
pop %rax
pop %r9
pop %r15
pop %r13
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 8, 'same': False, 'type': 'addresses_P'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 2, 'same': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 6, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 10, 'same': False, 'type': 'addresses_D'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 4, 'same': True, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 4, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 4, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 6, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 7, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 6, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'32': 21829}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_452.asm | ljhsiun2/medusa | 9 | 15782 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xefba, %r15
nop
and $22501, %r14
mov (%r15), %esi
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_normal_ht+0x186fa, %rax
dec %rbp
mov (%rax), %dx
nop
nop
nop
nop
add $7719, %rax
lea addresses_UC_ht+0x9ba, %r15
nop
nop
nop
sub %rdx, %rdx
mov (%r15), %ax
nop
cmp $53347, %rcx
lea addresses_WC_ht+0xb7ba, %rcx
nop
nop
nop
nop
add %rsi, %rsi
mov $0x6162636465666768, %rax
movq %rax, (%rcx)
nop
and $54260, %rbp
lea addresses_normal_ht+0xcfba, %rdx
nop
nop
nop
nop
nop
add $28543, %rcx
movups (%rdx), %xmm1
vpextrq $0, %xmm1, %r15
nop
and %rdx, %rdx
lea addresses_A_ht+0x113ba, %rax
cmp $61238, %rbp
mov (%rax), %rdx
nop
nop
nop
cmp $21055, %rbp
lea addresses_normal_ht+0xc1ba, %rsi
lea addresses_A_ht+0x27ba, %rdi
nop
nop
nop
nop
sub %r14, %r14
mov $5, %rcx
rep movsq
nop
nop
nop
inc %rdi
lea addresses_D_ht+0xa93a, %rsi
lea addresses_WC_ht+0x140aa, %rdi
xor $3499, %r15
mov $111, %rcx
rep movsw
nop
nop
nop
sub %rbp, %rbp
lea addresses_A_ht+0x5bba, %rsi
nop
nop
nop
nop
and %r15, %r15
movl $0x61626364, (%rsi)
nop
nop
nop
cmp $1055, %rsi
lea addresses_normal_ht+0x117fa, %rdx
nop
nop
nop
and %rbp, %rbp
movw $0x6162, (%rdx)
nop
nop
nop
xor %rbp, %rbp
lea addresses_UC_ht+0x4dea, %rdx
nop
nop
dec %r15
movb $0x61, (%rdx)
nop
nop
nop
nop
lfence
lea addresses_D_ht+0xf442, %rdx
nop
nop
nop
and $15839, %rsi
movups (%rdx), %xmm1
vpextrq $1, %xmm1, %rcx
nop
nop
nop
nop
cmp $28435, %rax
lea addresses_normal_ht+0x14bee, %rsi
lea addresses_A_ht+0x1ebba, %rdi
nop
nop
nop
cmp %rax, %rax
mov $13, %rcx
rep movsb
nop
nop
xor %rsi, %rsi
lea addresses_normal_ht+0x249, %rsi
lea addresses_UC_ht+0x1751a, %rdi
clflush (%rdi)
nop
nop
add $60117, %rbp
mov $118, %rcx
rep movsq
nop
inc %rbp
lea addresses_D_ht+0x137ba, %rsi
lea addresses_normal_ht+0x1680a, %rdi
nop
nop
xor %rdx, %rdx
mov $67, %rcx
rep movsl
xor $58985, %r14
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r15
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r9
push %rcx
push %rdi
push %rsi
// Store
lea addresses_RW+0x1efba, %rcx
clflush (%rcx)
sub %rdi, %rdi
movb $0x51, (%rcx)
nop
nop
and $56287, %rsi
// Faulty Load
lea addresses_PSE+0x1d7ba, %r13
cmp $61717, %rsi
movb (%r13), %r10b
lea oracles, %rcx
and $0xff, %r10
shlq $12, %r10
mov (%rcx,%r10,1), %r10
pop %rsi
pop %rdi
pop %rcx
pop %r9
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 11}}
[Faulty Load]
{'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 10}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 4}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 9}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 11}}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 9}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 8}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}}
{'src': {'type': 'addresses_D_ht', 'congruent': 7, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 9}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 6}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 4}}
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 3}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}}
{'src': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': False}}
{'33': 21829}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1390.asm | ljhsiun2/medusa | 9 | 23545 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x9077, %r10
dec %r8
mov (%r10), %rbp
nop
dec %rdi
lea addresses_UC_ht+0x72d5, %rbx
nop
nop
nop
sub $16276, %rdi
mov (%rbx), %edx
nop
dec %rbp
lea addresses_normal_ht+0x56d5, %r8
clflush (%r8)
nop
nop
nop
mfence
mov $0x6162636465666768, %r10
movq %r10, (%r8)
nop
nop
nop
nop
nop
add %rdx, %rdx
lea addresses_normal_ht+0x133f5, %rdi
nop
nop
nop
nop
xor $16801, %r10
mov $0x6162636465666768, %rdx
movq %rdx, (%rdi)
xor %rbp, %rbp
lea addresses_A_ht+0x9ad5, %rdx
nop
nop
nop
nop
nop
add $48871, %r15
movw $0x6162, (%rdx)
nop
nop
nop
xor $29961, %r15
lea addresses_D_ht+0xbed5, %rsi
lea addresses_D_ht+0xbd01, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
dec %r15
mov $20, %rcx
rep movsw
add %rdi, %rdi
lea addresses_D_ht+0xb74d, %rbp
nop
nop
xor $14091, %rdi
mov $0x6162636465666768, %r15
movq %r15, (%rbp)
nop
nop
nop
nop
nop
inc %r8
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r8
pop %r15
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r8
push %rcx
push %rsi
// Faulty Load
lea addresses_D+0xc6d5, %r14
clflush (%r14)
nop
nop
nop
nop
nop
xor $21415, %rsi
mov (%r14), %r8d
lea oracles, %rcx
and $0xff, %r8
shlq $12, %r8
mov (%rcx,%r8,1), %r8
pop %rsi
pop %rcx
pop %r8
pop %r14
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_D', 'same': True, 'AVXalign': False, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 1}}
{'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': True, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 9}}
{'OP': 'STOR', 'dst': {'size': 8, 'NT': True, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': True, 'congruent': 9}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_D_ht', 'congruent': 11}, 'dst': {'same': True, 'type': 'addresses_D_ht', 'congruent': 1}}
{'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 3}}
{'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
*/
|
programs/oeis/250/A250108.asm | neoneye/loda | 22 | 241722 | <gh_stars>10-100
; A250108: n*(n-1)/2 mod 2 + n*(n-1)/2 - n*( (n-1) mod 2 ).
; 0,0,4,2,10,10,22,20,36,36,56,54,78,78,106,104,136,136,172,170,210,210,254,252,300,300,352,350,406,406,466,464,528,528,596,594,666,666,742,740,820,820,904,902,990,990,1082,1080,1176,1176,1276,1274,1378
mov $1,1
mov $2,$0
div $0,2
mul $0,2
sub $1,$2
add $1,1
mov $2,1
lpb $0
sub $0,1
add $2,1
add $1,$2
lpe
add $1,1
div $1,2
sub $1,1
mul $1,2
mov $0,$1
|
oap-server/oal-grammar/src/main/antlr4/org/apache/skywalking/oal/rt/grammar/OALLexer.g4 | McrhDG/skywalking | 0 | 6818 | <reponame>McrhDG/skywalking<filename>oap-server/oal-grammar/src/main/antlr4/org/apache/skywalking/oal/rt/grammar/OALLexer.g4<gh_stars>0
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*
*/
// Observability Analysis Language lexer
lexer grammar OALLexer;
@Header {package org.apache.skywalking.oal.rt.grammar;}
// Keywords
FROM: 'from';
FILTER: 'filter';
DISABLE: 'disable';
SRC_ALL: 'All';
SRC_SERVICE: 'Service';
SRC_SERVICE_INSTANCE: 'ServiceInstance';
SRC_ENDPOINT: 'Endpoint';
SRC_SERVICE_RELATION: 'ServiceRelation';
SRC_SERVICE_INSTANCE_RELATION: 'ServiceInstanceRelation';
SRC_ENDPOINT_RELATION: 'EndpointRelation';
SRC_SERVICE_INSTANCE_JVM_CPU: 'ServiceInstanceJVMCPU';
SRC_SERVICE_INSTANCE_JVM_MEMORY: 'ServiceInstanceJVMMemory';
SRC_SERVICE_INSTANCE_JVM_MEMORY_POOL: 'ServiceInstanceJVMMemoryPool';
SRC_SERVICE_INSTANCE_JVM_GC: 'ServiceInstanceJVMGC';
SRC_SERVICE_INSTANCE_JVM_THREAD: 'ServiceInstanceJVMThread';
SRC_SERVICE_INSTANCE_JVM_CLASS: 'ServiceInstanceJVMClass';
SRC_DATABASE_ACCESS: 'DatabaseAccess';
SRC_SERVICE_INSTANCE_CLR_CPU: 'ServiceInstanceCLRCPU';
SRC_SERVICE_INSTANCE_CLR_GC: 'ServiceInstanceCLRGC';
SRC_SERVICE_INSTANCE_CLR_THREAD: 'ServiceInstanceCLRThread';
SRC_ENVOY_INSTANCE_METRIC: 'EnvoyInstanceMetric';
SRC_EVENT: 'Event';
// Browser keywords
SRC_BROWSER_APP_PERF: 'BrowserAppPerf';
SRC_BROWSER_APP_PAGE_PERF: 'BrowserAppPagePerf';
SRC_BROWSER_APP_SINGLE_VERSION_PERF: 'BrowserAppSingleVersionPerf';
SRC_BROWSER_APP_TRAFFIC: 'BrowserAppTraffic';
SRC_BROWSER_APP_PAGE_TRAFFIC: 'BrowserAppPageTraffic';
SRC_BROWSER_APP_SINGLE_VERSION_TRAFFIC: 'BrowserAppSingleVersionTraffic';
// Constructors symbols
DOT: '.';
LR_BRACKET: '(';
RR_BRACKET: ')';
LS_BRACKET: '[';
RS_BRACKET: ']';
COMMA: ',';
SEMI: ';';
EQUAL: '=';
DUALEQUALS: '==';
ALL: '*';
GREATER: '>';
LESS: '<';
GREATER_EQUAL: '>=';
LESS_EQUAL: '<=';
NOT_EQUAL: '!=';
LIKE: 'like';
IN: 'in';
CONTAIN: 'contain';
NOT_CONTAIN: 'not contain';
// Literals
BOOL_LITERAL: 'true'
| 'false'
;
NUMBER_LITERAL : Digits+;
CHAR_LITERAL: '\'' (~['\\\r\n] | EscapeSequence) '\'';
STRING_LITERAL: '"' (~["\\\r\n] | EscapeSequence)* '"';
DelimitedComment
: '/*' ( DelimitedComment | . )*? '*/'
-> channel(HIDDEN)
;
LineComment
: '//' ~[\u000A\u000D]*
-> channel(HIDDEN)
;
SPACE: [ \t\r\n]+ -> channel(HIDDEN);
// Identifiers
IDENTIFIER: Letter LetterOrDigit*;
// Fragment rules
fragment EscapeSequence
: '\\' [btnfr"'\\]
| '\\' ([0-3]? [0-7])? [0-7]
| '\\' 'u'+ HexDigit HexDigit HexDigit HexDigit
;
fragment HexDigits
: HexDigit ((HexDigit | '_')* HexDigit)?
;
fragment HexDigit
: [0-9a-fA-F]
;
fragment Digits
: [0-9] ([0-9_]* [0-9])? ('l'|'L')?
;
fragment LetterOrDigit
: Letter
| [0-9]
;
fragment Letter
: [a-zA-Z$_] // these are the "java letters" below 0x7F
| ~[\u0000-\u007F\uD800-\uDBFF] // covers all characters above 0x7F which are not a surrogate
| [\uD800-\uDBFF] [\uDC00-\uDFFF] // covers UTF-16 surrogate pairs encodings for U+10000 to U+10FFFF
;
// Type cast rule
STRING_TO_LONG: '(str->long)';
STRING_TO_LONG_SHORT: '(long)';
STRING_TO_INT: '(str->int)';
STRING_TO_INT_SHORT: '(int)'; |
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc___fs2sint.asm | jpoikela/z88dk | 640 | 1061 |
SECTION code_fp_math32
PUBLIC cm32_sdcc___fs2sint
PUBLIC cm32_sdcc___fs2schar
EXTERN m32_f2sint
EXTERN cm32_sdcc_fsread1
cm32_sdcc___fs2sint:
cm32_sdcc___fs2schar:
call cm32_sdcc_fsread1
jp m32_f2sint
|
Examples/b16.asm | satadriver/LiunuxOS_t | 0 | 100386 | <gh_stars>0
TITLE (.asm)
; This program
; Last update:
Include Irvine16.inc
.data
.code
main PROC
mov ax,@data
mov ds,ax
exit
main ENDP
END main |
test/Succeed/Issue2328.agda | alhassy/agda | 3 | 13470 | <reponame>alhassy/agda
{- Examples by <NAME> -}
{-# OPTIONS --rewriting #-}
module _ where
open import Agda.Builtin.Equality
{-# BUILTIN REWRITE _≡_ #-}
const : ∀ {a b} {A : Set a} {B : Set b} → A → B → A
const x _ = x
_∘_ : ∀ {a b c} {A : Set a} {B : A → Set b} {C : {x : A} → B x → Set c}
→ (f : ∀ {x} (y : B x) → C y) (g : (x : A) → B x)
→ (x : A) → C (g x)
(f ∘ g) x = f (g x)
postulate M : Set → Set
postulate pure : ∀ {A} → A → M A
postulate _>>=_ : ∀ {A B} → M A → (A → M B) → M B
postulate bind-assoc : ∀ {A B C mx} {my : A → M B} {mz : B → M C} → (mx >>= my) >>= mz ≡ mx >>= \x → my x >>= mz
{-# REWRITE bind-assoc #-}
_<*>_ : ∀ {A B} → M (A → B) → M A → M B
mf <*> mx = mf >>= \f → mx >>= (pure ∘ f)
-- Agda was comparing inferred relevances here, causing the rewrite rule
-- to fail.
shouldWork : ∀ {A B} (mx : M A) (my : M B)
→ (mx >>= (pure ∘ const)) <*> my
≡ (mx >>= (pure ∘ const)) >>= (\f → my >>= (pure ∘ f))
shouldWork mx my = refl
shouldAlsoWork : ∀ {A B} (mx : M A) (my : M B)
→ (mx >>= (pure ∘ const)) <*> my
≡ (mx >>= (pure ∘ \x _ → x)) >>= (\f → my >>= (pure ∘ f))
shouldAlsoWork mx my = refl
shouldAlsoWork2 : ∀ {A B} (mx : M A) (my : M B)
→ (mx >>= (pure ∘ const)) >>= (\f → my >>= (pure ∘ f))
≡ (mx >>= (pure ∘ \x _ → x)) >>= (\f → my >>= (pure ∘ f))
shouldAlsoWork2 mx my = refl
|
docs/www.playvectrex.com/designit/chrissalo/joystick1.asm | mikepea/vectrex-playground | 5 | 8751 | <reponame>mikepea/vectrex-playground
;***************************************************************************
; DEFINE SECTION
;***************************************************************************
INCLUDE "VECTREX.I"
; start of vectrex memory with cartridge name...
ORG 0
;***************************************************************************
; HEADER SECTION
;***************************************************************************
DB "g GCE 1998", $80 ; 'g' is copyright sign
DW music1 ; music from the rom
DB $F8, $50, $20, -$55 ; height, width, rel y, rel x
; (from 0,0)
DB "JOYSTICK 1 TEST",$80 ; some game information,
; ending with $80
DB 0 ; end of game header
;***************************************************************************
; CODE SECTION
;***************************************************************************
; here the cartridge program starts off
LDD #$FC20 ; HEIGTH, WIDTH (-4, 32)
STD Vec_Text_HW ; store to BIOS RAM location
LDA #1 ; these set up the joystick
STA Vec_Joy_Mux_1_X ; enquiries
LDA #3 ; allowing only all directions
STA Vec_Joy_Mux_1_Y ; for joystick one
LDA #0 ; this setting up saves a few
STA Vec_Joy_Mux_2_X ; hundred cycles
STA Vec_Joy_Mux_2_Y ; don't miss it, if you don't
; need the second joystick!
main:
main_loop:
JSR Wait_Recal ; Vectrex BIOS recalibration
JSR Intensity_5F ; Sets the intensity of the
; vector beam to $5f
JSR Joy_Digital ; read joystick positions
LDA Vec_Joy_1_X ; load joystick 1 position
; X to A
BEQ no_x_movement ; if zero, than no x position
BMI left_move ; if negative, than left
; otherwise right
right_move:
LDU #joypad_right_string ; display right string
BRA x_done ; goto x done
left_move:
LDU #joypad_left_string ; display left string
BRA x_done ; goto x done
no_x_movement:
LDU #no_joypad_x_string ; display no x string
x_done:
JSR Print_Str_yx ; using string function
LDA Vec_Joy_1_Y ; load joystick 1 position
; Y to A
BEQ no_y_movement ; if zero, than no y position
BMI down_move ; if negative, than down
; otherwise up
up_move:
LDU #joypad_up_string ; display up string
BRA y_done ; goto y done
down_move:
LDU #joypad_down_string ; display down string
BRA y_done ; goto y done
no_y_movement:
LDU #no_joypad_y_string ; display no y string
y_done:
JSR Print_Str_yx ; using string function
BRA main_loop ; and repeat forever
;***************************************************************************
no_joypad_x_string:
DB 40,-50,"NO JOYPAD X INPUT", $80
joypad_right_string:
DB 40,-50,"JOYPAD 1 RIGHT", $80
joypad_left_string:
DB 40,-50,"JOYPAD 1 LEFT", $80
no_joypad_y_string:
DB 20,-50,"NO JOYPAD Y INPUT", $80
joypad_up_string:
DB 20,-50,"JOYPAD 1 UP", $80
joypad_down_string:
DB 20,-50,"JOYPAD 1 DOWN", $80
;***************************************************************************
END main
;***************************************************************************
|
test/interaction/GiveSize.agda | larrytheliquid/agda | 1 | 989 | -- {-# OPTIONS -v tc.meta:30 #-}
{-# OPTIONS --sized-types #-}
module GiveSize where
postulate Size : Set
postulate ∞ : Size
{-# BUILTIN SIZE Size #-}
-- {-# BUILTIN SIZEINF ∞ #-}
id : Size → Size
id i = {!i!}
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_14811_1033.asm | ljhsiun2/medusa | 9 | 89139 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1b1a8, %rsi
lea addresses_A_ht+0x1e3f8, %rdi
nop
nop
nop
nop
nop
sub %rdx, %rdx
mov $29, %rcx
rep movsw
nop
dec %r9
lea addresses_D_ht+0xa7a8, %rdi
nop
nop
nop
nop
sub %r11, %r11
movb (%rdi), %cl
nop
nop
nop
nop
nop
xor %rsi, %rsi
lea addresses_WT_ht+0x18ea7, %r9
nop
nop
nop
nop
sub $36982, %r10
mov (%r9), %r11
nop
nop
nop
nop
xor $22128, %rcx
lea addresses_D_ht+0x4ea8, %r9
nop
nop
nop
nop
nop
and $50890, %r11
movb $0x61, (%r9)
nop
nop
nop
add $15072, %r10
lea addresses_A_ht+0x7528, %r11
add %r9, %r9
movl $0x61626364, (%r11)
nop
nop
add %r11, %r11
lea addresses_D_ht+0xd0a8, %r9
clflush (%r9)
nop
and $35816, %r10
mov (%r9), %r11
nop
nop
xor %rsi, %rsi
lea addresses_D_ht+0x1b6f0, %r10
nop
nop
nop
add %rdx, %rdx
mov $0x6162636465666768, %rcx
movq %rcx, %xmm4
movups %xmm4, (%r10)
cmp %rdi, %rdi
lea addresses_normal_ht+0xf5a8, %rsi
clflush (%rsi)
nop
nop
sub %rcx, %rcx
mov $0x6162636465666768, %r9
movq %r9, %xmm7
vmovups %ymm7, (%rsi)
inc %rdx
lea addresses_A_ht+0x1b208, %rdi
nop
nop
nop
nop
inc %rdx
movb $0x61, (%rdi)
nop
nop
nop
nop
xor %r11, %r11
lea addresses_normal_ht+0x97c0, %rcx
clflush (%rcx)
and %r9, %r9
movb $0x61, (%rcx)
nop
inc %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r9
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r15
push %rbp
push %rcx
push %rdx
push %rsi
// Store
lea addresses_WT+0x119a8, %rcx
nop
nop
nop
nop
nop
and $28327, %r15
mov $0x5152535455565758, %rbp
movq %rbp, %xmm7
movups %xmm7, (%rcx)
nop
inc %rcx
// Store
mov $0x2aac150000000628, %r10
clflush (%r10)
nop
nop
nop
xor $65396, %rdx
mov $0x5152535455565758, %r15
movq %r15, %xmm7
movntdq %xmm7, (%r10)
cmp %rbp, %rbp
// Store
lea addresses_WT+0x1e5a8, %r10
nop
nop
nop
nop
and %rdx, %rdx
movw $0x5152, (%r10)
cmp $31896, %r15
// Store
lea addresses_PSE+0xd26, %rsi
cmp %r15, %r15
mov $0x5152535455565758, %rcx
movq %rcx, %xmm4
movups %xmm4, (%rsi)
nop
sub $62143, %rcx
// Store
lea addresses_A+0x59e8, %rsi
nop
nop
nop
sub $57629, %r10
mov $0x5152535455565758, %rbp
movq %rbp, %xmm4
movups %xmm4, (%rsi)
nop
nop
nop
nop
inc %r15
// Load
mov $0xe18, %r10
nop
nop
nop
add $7416, %rdx
movb (%r10), %cl
nop
xor $12164, %r10
// Store
lea addresses_normal+0x91a8, %r14
clflush (%r14)
nop
nop
cmp %rcx, %rcx
mov $0x5152535455565758, %rbp
movq %rbp, (%r14)
xor %rdx, %rdx
// Store
lea addresses_normal+0xd2a8, %rbp
inc %r10
mov $0x5152535455565758, %r14
movq %r14, %xmm1
movups %xmm1, (%rbp)
nop
nop
nop
nop
nop
add %rdx, %rdx
// Faulty Load
lea addresses_WT+0xa1a8, %r14
nop
nop
nop
sub $10806, %r15
mov (%r14), %dx
lea oracles, %r15
and $0xff, %rdx
shlq $12, %rdx
mov (%r15,%rdx,1), %rdx
pop %rsi
pop %rdx
pop %rcx
pop %rbp
pop %r15
pop %r14
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 9, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 7, 'size': 16, 'same': False, 'NT': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 10, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 4, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_P', 'AVXalign': False, 'congruent': 3, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 10, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 8, 'size': 16, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': True, 'NT': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 9, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': True, 'congruent': 7, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 2, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': True, 'congruent': 8, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 3, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 10, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 5, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 2, 'size': 1, 'same': False, 'NT': False}}
{'58': 14811}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
|
source/amf/uml/amf-uml-parameters.ads | svn2github/matreshka | 24 | 4187 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, <NAME> <<EMAIL>> --
-- 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 Vadim Godunko, 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 --
-- 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. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
-- A parameter is a specification of an argument used to pass information
-- into or out of an invocation of a behavioral feature.
--
-- Parameters have support for streaming, exceptions, and parameter sets.
--
-- Parameters are allowed to be treated as connectable elements.
------------------------------------------------------------------------------
with AMF.UML.Connectable_Elements;
with AMF.UML.Multiplicity_Elements;
limited with AMF.UML.Operations;
limited with AMF.UML.Parameter_Sets.Collections;
limited with AMF.UML.Value_Specifications;
package AMF.UML.Parameters is
pragma Preelaborate;
type UML_Parameter is limited interface
and AMF.UML.Multiplicity_Elements.UML_Multiplicity_Element
and AMF.UML.Connectable_Elements.UML_Connectable_Element;
type UML_Parameter_Access is
access all UML_Parameter'Class;
for UML_Parameter_Access'Storage_Size use 0;
not overriding function Get_Default
(Self : not null access constant UML_Parameter)
return AMF.Optional_String is abstract;
-- Getter of Parameter::default.
--
-- Specifies a String that represents a value to be used when no argument
-- is supplied for the Parameter.
not overriding procedure Set_Default
(Self : not null access UML_Parameter;
To : AMF.Optional_String) is abstract;
-- Setter of Parameter::default.
--
-- Specifies a String that represents a value to be used when no argument
-- is supplied for the Parameter.
not overriding function Get_Default_Value
(Self : not null access constant UML_Parameter)
return AMF.UML.Value_Specifications.UML_Value_Specification_Access is abstract;
-- Getter of Parameter::defaultValue.
--
-- Specifies a ValueSpecification that represents a value to be used when
-- no argument is supplied for the Parameter.
not overriding procedure Set_Default_Value
(Self : not null access UML_Parameter;
To : AMF.UML.Value_Specifications.UML_Value_Specification_Access) is abstract;
-- Setter of Parameter::defaultValue.
--
-- Specifies a ValueSpecification that represents a value to be used when
-- no argument is supplied for the Parameter.
not overriding function Get_Direction
(Self : not null access constant UML_Parameter)
return AMF.UML.UML_Parameter_Direction_Kind is abstract;
-- Getter of Parameter::direction.
--
-- Indicates whether a parameter is being sent into or out of a behavioral
-- element.
not overriding procedure Set_Direction
(Self : not null access UML_Parameter;
To : AMF.UML.UML_Parameter_Direction_Kind) is abstract;
-- Setter of Parameter::direction.
--
-- Indicates whether a parameter is being sent into or out of a behavioral
-- element.
not overriding function Get_Effect
(Self : not null access constant UML_Parameter)
return AMF.UML.Optional_UML_Parameter_Effect_Kind is abstract;
-- Getter of Parameter::effect.
--
-- Specifies the effect that the owner of the parameter has on values
-- passed in or out of the parameter.
not overriding procedure Set_Effect
(Self : not null access UML_Parameter;
To : AMF.UML.Optional_UML_Parameter_Effect_Kind) is abstract;
-- Setter of Parameter::effect.
--
-- Specifies the effect that the owner of the parameter has on values
-- passed in or out of the parameter.
not overriding function Get_Is_Exception
(Self : not null access constant UML_Parameter)
return Boolean is abstract;
-- Getter of Parameter::isException.
--
-- Tells whether an output parameter may emit a value to the exclusion of
-- the other outputs.
not overriding procedure Set_Is_Exception
(Self : not null access UML_Parameter;
To : Boolean) is abstract;
-- Setter of Parameter::isException.
--
-- Tells whether an output parameter may emit a value to the exclusion of
-- the other outputs.
not overriding function Get_Is_Stream
(Self : not null access constant UML_Parameter)
return Boolean is abstract;
-- Getter of Parameter::isStream.
--
-- Tells whether an input parameter may accept values while its behavior
-- is executing, or whether an output parameter post values while the
-- behavior is executing.
not overriding procedure Set_Is_Stream
(Self : not null access UML_Parameter;
To : Boolean) is abstract;
-- Setter of Parameter::isStream.
--
-- Tells whether an input parameter may accept values while its behavior
-- is executing, or whether an output parameter post values while the
-- behavior is executing.
not overriding function Get_Operation
(Self : not null access constant UML_Parameter)
return AMF.UML.Operations.UML_Operation_Access is abstract;
-- Getter of Parameter::operation.
--
-- References the Operation owning this parameter.
not overriding procedure Set_Operation
(Self : not null access UML_Parameter;
To : AMF.UML.Operations.UML_Operation_Access) is abstract;
-- Setter of Parameter::operation.
--
-- References the Operation owning this parameter.
not overriding function Get_Parameter_Set
(Self : not null access constant UML_Parameter)
return AMF.UML.Parameter_Sets.Collections.Set_Of_UML_Parameter_Set is abstract;
-- Getter of Parameter::parameterSet.
--
-- The parameter sets containing the parameter. See ParameterSet.
not overriding function Default
(Self : not null access constant UML_Parameter)
return AMF.Optional_String is abstract;
-- Operation Parameter::default.
--
-- Missing derivation for Parameter::/default : String
end AMF.UML.Parameters;
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_910.asm | ljhsiun2/medusa | 9 | 101951 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xf8d2, %rdi
nop
nop
nop
nop
nop
and %r15, %r15
mov (%rdi), %bp
sub $59053, %r12
lea addresses_WT_ht+0x16652, %rsi
lea addresses_WC_ht+0x50d2, %rdi
nop
and %rdx, %rdx
mov $26, %rcx
rep movsl
nop
nop
nop
nop
sub %rdi, %rdi
lea addresses_WC_ht+0x2a52, %rdx
nop
nop
nop
nop
nop
dec %rbp
mov (%rdx), %di
nop
nop
nop
nop
add $4076, %rsi
lea addresses_D_ht+0xdee2, %rbp
nop
nop
sub $15231, %rsi
mov $0x6162636465666768, %rdx
movq %rdx, (%rbp)
nop
nop
nop
inc %rbp
lea addresses_WC_ht+0xfd3c, %rcx
nop
add %rdx, %rdx
movw $0x6162, (%rcx)
nop
nop
nop
nop
nop
cmp $580, %rcx
lea addresses_A_ht+0xdc7e, %r12
nop
nop
nop
nop
nop
add $40875, %rcx
movw $0x6162, (%r12)
add $57765, %rsi
lea addresses_normal_ht+0xbd2, %rsi
lea addresses_UC_ht+0x198d2, %rdi
nop
nop
nop
nop
nop
cmp $56772, %r13
mov $77, %rcx
rep movsw
inc %r13
lea addresses_WC_ht+0x2ce2, %r15
nop
nop
nop
nop
nop
sub $56136, %r13
mov $0x6162636465666768, %rdi
movq %rdi, (%r15)
nop
nop
nop
nop
nop
sub %r15, %r15
lea addresses_UC_ht+0x6cd2, %r13
nop
nop
nop
and %rdi, %rdi
movups (%r13), %xmm3
vpextrq $1, %xmm3, %rbp
nop
nop
nop
nop
dec %rsi
lea addresses_normal_ht+0x14488, %rdx
clflush (%rdx)
nop
nop
nop
add %r15, %r15
mov (%rdx), %di
and $35924, %rsi
lea addresses_D_ht+0x58d2, %r15
nop
nop
cmp $61065, %rdi
mov (%r15), %r13w
nop
nop
nop
nop
nop
xor $46000, %rdi
lea addresses_WT_ht+0x108d2, %r15
nop
add %rcx, %rcx
movb $0x61, (%r15)
nop
nop
nop
nop
nop
add $21424, %rdi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r15
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r15
push %r8
push %rax
push %rbp
push %rsi
// Store
lea addresses_WC+0xabd2, %rbp
nop
nop
nop
nop
cmp %rax, %rax
mov $0x5152535455565758, %r12
movq %r12, (%rbp)
nop
nop
nop
nop
and $22929, %rbp
// Store
lea addresses_D+0x82d2, %rbp
nop
nop
nop
nop
sub %r13, %r13
mov $0x5152535455565758, %rax
movq %rax, %xmm1
vmovntdq %ymm1, (%rbp)
nop
nop
nop
inc %r15
// Load
lea addresses_PSE+0xb8d2, %rax
nop
nop
nop
xor %r8, %r8
mov (%rax), %r15w
nop
nop
cmp %r15, %r15
// Faulty Load
lea addresses_UC+0x110d2, %r8
nop
nop
nop
nop
nop
and $40564, %r12
movb (%r8), %r13b
lea oracles, %rax
and $0xff, %r13
shlq $12, %r13
mov (%rax,%r13,1), %r13
pop %rsi
pop %rbp
pop %rax
pop %r8
pop %r15
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WC'}}
{'OP': 'STOR', 'dst': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 32, 'NT': True, 'type': 'addresses_D'}}
{'src': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_PSE'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 1, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 7, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}}
{'src': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_D_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_WC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WC_ht'}}
{'src': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WT_ht'}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
tests/hello-gas.asm | AaronTraas/loccount | 0 | 11543 | # ------------------------------------------------------------------------------
# Gnu Assembler "Hello World!"
# Writes "Hello, World" to the console using only system calls. Runs on 64-bit
# Linux only. To assemble and run:
#
# gcc -c hello.s && ld hello.o && ./a.out
#
# or
#
# gcc -nostdlib hello.s && ./a.out
# ------------------------------------------------------------------------------
.global _start
.text
_start:
# write(1, message, 13)
mov $1, %rax # system call 1 is write
mov $1, %rdi # file handle 1 is stdout
mov $message, %rsi # address of string to output
mov $13, %rdx # number of bytes
syscall # invoke operating system to do the write
# exit(0)
mov $60, %rax # system call 60 is exit
xor %rdi, %rdi # we want return code 0
syscall # invoke operating system to exit
message:
.ascii "Hello, world\n"
|
.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors.ads | caqg/linux-home | 0 | 4356 | -- Abstract :
--
-- A simple bounded vector of definite items, in Spark.
--
-- Copyright (C) 2017 - 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) any later
-- version. This library is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-
-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- As a special exception under Section 7 of GPL version 3, you are granted
-- additional permissions described in the GCC Runtime Library Exception,
-- version 3.1, as published by the Free Software Foundation.
pragma License (Modified_GPL);
generic
type Index_Type is range <>;
type Element_Type is private;
Capacity : in Ada.Containers.Count_Type;
package SAL.Gen_Bounded_Definite_Vectors
with Spark_Mode
is
use all type Ada.Containers.Count_Type;
subtype Extended_Index is Index_Type'Base
range Index_Type'First - 1 ..
Index_Type'Min (Index_Type'Base'Last - 1, Index_Type'Last) + 1;
pragma Assert (Capacity <= Ada.Containers.Count_Type (Index_Type'Last - Index_Type'First + 1));
No_Index : constant Extended_Index := Extended_Index'First;
type Vector is private with
Default_Initial_Condition => Length (Vector) = 0;
function Length (Container : in Vector) return Ada.Containers.Count_Type with
Post => Length'Result in 0 .. Capacity;
function Is_Full (Container : in Vector) return Boolean with
Post => Is_Full'Result = (Length (Container) = Capacity);
function Has_Space (Container : in Vector; Item_Count : in Ada.Containers.Count_Type) return Boolean
is (Length (Container) + Item_Count <= Capacity)
with Pre => Item_Count <= Ada.Containers.Count_Type'Last - Length (Container);
procedure Clear (Container : in out Vector) with
Post => Length (Container) = 0;
function First_Index (Container : in Vector) return Index_Type is (Index_Type'First) with
Depends => (First_Index'Result => null, null => Container);
function Last_Index (Container : in Vector) return Extended_Index;
-- No_Index when Container is empty.
function Element (Container : in Vector; Index : in Index_Type) return Element_Type
with Pre => Index <= Last_Index (Container);
-- Index of first element in Vector is Index_Type'First.
procedure Replace_Element
(Container : in out Vector;
Index : in Index_Type;
New_Item : in Element_Type)
with
Pre => Index <= Last_Index (Container),
Post => Element (Container, Index) = New_Item;
-- Index of first element in Vector is Index_Type'First.
procedure Append (Container : in out Vector; New_Item : in Element_Type) with
Pre => Length (Container) < Capacity,
Post => Length (Container) = Length (Container'Old) + 1 and
Element (Container, Last_Index (Container)) = New_Item and
(for all I in Index_Type'First .. Last_Index (Container) - 1 =>
Element (Container'Old, I) = Element (Container, I));
procedure Prepend (Container : in out Vector; New_Item : in Element_Type) with
Pre => Length (Container) < Capacity,
Post => Length (Container) = Length (Container'Old) + 1 and then
(Element (Container, Index_Type'First) = New_Item and
(for all I in Index_Type'First .. Last_Index (Container'Old) =>
Element (Container'Old, I) = Element (Container, I + 1)));
-- Insert New_Item at beginning of Container; current elements slide right.
procedure Insert
(Container : in out Vector;
New_Item : in Element_Type;
Before : in Extended_Index) with
Pre => Length (Container) < Capacity and Before <= Last_Index (Container),
Contract_Cases =>
(Before = No_Index =>
Length (Container) = Length (Container'Old) + 1 and
Element (Container, Last_Index (Container)) = New_Item and
(for all I in Index_Type'First .. Last_Index (Container) - 1 =>
Element (Container'Old, I) = Element (Container, I)),
Before /= No_Index =>
Length (Container) = Length (Container'Old) + 1 and
Element (Container, Before) = New_Item and
(for all I in Index_Type'First .. Before - 1 =>
Element (Container'Old, I) = Element (Container, I)) and
(for all I in Before + 1 .. Last_Index (Container) =>
Element (Container'Old, I - 1) = Element (Container, I)));
-- Insert New_Item before Before, or after Last_Index if Before is
-- No_Index. Current elements at Before and after slide right.
-- New_Item then has index Before.
function "+" (Item : in Element_Type) return Vector with
Post => Length ("+"'Result) = 1 and
Element ("+"'Result, Index_Type'First) = Item;
function "&" (Left : in Vector; Right : in Element_Type) return Vector with
Pre => Length (Left) < Capacity,
Post => Length ("&"'Result) = Length (Left) + 1 and
(for all I in Index_Type'First .. Last_Index (Left) => Element (Left, I) = Element ("&"'Result, I)) and
Element ("&"'Result, Last_Index ("&"'Result)) = Right;
procedure Delete_First (Container : in out Vector; Count : in Ada.Containers.Count_Type := 1) with
Pre => Length (Container) >= Count,
Post => Length (Container) = Length (Container)'Old - Count and then
(for all I in Index_Type'First .. Last_Index (Container) =>
Element (Container'Old, Index_Type (Integer (I) + Integer (Count))) = Element (Container, I));
-- Remaining elements slide down.
private
type Array_Type is array (Peek_Type range 1 .. Peek_Type (Capacity)) of aliased Element_Type;
type Vector is
record
Elements : Array_Type;
Last : Extended_Index := No_Index;
end record with
Type_Invariant => To_Peek_Index (Last) <= Elements'Last;
pragma Annotate (GNATprove, Intentional, "type ""Vector"" is not fully initialized",
"Only items in Elements with index < Last are accessed");
----------
-- For child units
function To_Peek_Index (Index : in Extended_Index) return Base_Peek_Type is
(Base_Peek_Type (Index - Index_Type'First + 1));
end SAL.Gen_Bounded_Definite_Vectors;
|
libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_resize.asm | jpoikela/z88dk | 640 | 81730 |
; ===============================================================
; Mar 2014
; ===============================================================
;
; int ba_priority_queue_resize(ba_priority_queue_t *q, size_t n)
;
; Attempt to resize the queue to n bytes.
;
; If n <= queue.capacity, the array owned by the queue will
; have its size set to n.
;
; This resize operation does not change the contents of the queue
; array; instead it is assumed the queue array of the new size
; contains all valid data, possibly not in heap order. The
; resize operation therefore triggers a heapify to make sure
; the queue is kept in heap order. This means the caller can
; place data directly into the queue's array and then call this
; function to have it ordered into a heap.
;
; ===============================================================
SECTION code_clib
SECTION code_adt_ba_priority_queue
PUBLIC asm_ba_priority_queue_resize
EXTERN __ba_pq_setsize, __b_heap_sift_down, error_mc, error_znc
asm_ba_priority_queue_resize:
; enter : hl = queue *
; de = n = desired size in bytes
;
; exit : success
;
; hl = 0
; carry reset
;
; fail if queue is too small
;
; hl = -1
; carry set
;
; uses : af, bc, de, hl, ix
call __ba_pq_setsize
jp c, error_mc ; if n > queue.capacity
; de = n
; bc = queue.data
; ix = queue.compar
ld a,e
and $fe
or d
jp z, error_znc ; if n <= 1 just return
ld l,e
ld h,d ; hl = n = child_index
srl d
rr e ; de = n/2 = parent_index
; de = n/2 = parent_index of last item
; hl = n = child_index = index of last item
; bc = array
; ix = compar
; the heap array is 1-based
dec bc
heapify:
ld a,d
or e
jp z, error_znc ; if reached the top of the heap
push bc
push de
push hl
call __b_heap_sift_down
pop hl
pop de
pop bc
dec de
jr heapify
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35003b.ada | best08618/asylo | 7 | 19408 | -- C35003B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- OBJECTIVE:
-- CHECK THAT CONSTRAINT_ERROR IS RAISED FOR A SUBTYPE INDICATION
-- OF A DISCRETE GENERIC FORMAL TYPE WHEN THE LOWER OR UPPER BOUND
-- OF A NON-NULL RANGE LIES OUTSIDE THE RANGE OF THE TYPE MARK.
-- HISTORY:
-- JET 07/08/88 CREATED ORIGINAL TEST.
WITH REPORT; USE REPORT;
PROCEDURE C35003B IS
TYPE ENUM IS (WE, LOVE, WRITING, TESTS);
TYPE INT IS RANGE -10..10;
GENERIC
TYPE GEN_ENUM IS (<>);
TYPE GEN_INT IS RANGE <>;
PACKAGE GEN_PACK IS
SUBTYPE SUBENUM IS GEN_ENUM RANGE
GEN_ENUM'SUCC(GEN_ENUM'FIRST) ..
GEN_ENUM'PRED(GEN_ENUM'LAST);
SUBTYPE SUBINT IS GEN_INT RANGE
GEN_INT'SUCC(GEN_INT'FIRST) ..
GEN_INT'PRED(GEN_INT'LAST);
TYPE A1 IS ARRAY (0..GEN_INT'LAST) OF INTEGER;
TYPE A2 IS ARRAY (GEN_INT RANGE GEN_INT'FIRST..0) OF INTEGER;
END GEN_PACK;
PACKAGE BODY GEN_PACK IS
BEGIN
TEST ("C35003B", "CHECK THAT CONSTRAINT_ERROR IS RAISED " &
"FOR A SUBTYPE INDICATION OF A DISCRETE " &
"GENERIC FORMAL TYPE WHEN THE LOWER OR " &
"UPPER BOUND OF A NON-NULL RANGE LIES " &
"OUTSIDE THE RANGE OF THE TYPE MARK");
BEGIN
DECLARE
SUBTYPE SUBSUBENUM IS SUBENUM RANGE
GEN_ENUM'FIRST..SUBENUM'LAST;
BEGIN
FAILED ("NO EXCEPTION RAISED (E1)");
DECLARE
Z : SUBSUBENUM := SUBENUM'FIRST;
BEGIN
IF NOT EQUAL(SUBSUBENUM'POS(Z),
SUBSUBENUM'POS(Z)) THEN
COMMENT ("DON'T OPTIMIZE Z");
END IF;
END;
EXCEPTION
WHEN OTHERS =>
FAILED ("EXCEPTION RAISED IN WRONG " &
"PLACE (E1)");
END;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED (E1)");
END;
BEGIN
DECLARE
TYPE A IS ARRAY (SUBENUM RANGE SUBENUM'FIRST ..
GEN_ENUM'LAST) OF INTEGER;
BEGIN
FAILED ("NO EXCEPTION RAISED (E2)");
DECLARE
Z : A := (OTHERS => 0);
BEGIN
IF NOT EQUAL(Z(SUBENUM'FIRST),
Z(SUBENUM'FIRST)) THEN
COMMENT ("DON'T OPTIMIZE Z");
END IF;
END;
EXCEPTION
WHEN OTHERS =>
FAILED ("EXCEPTION RAISED IN WRONG PLACE " &
"(E2)");
END;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED (E2)");
END;
BEGIN
DECLARE
TYPE I IS ACCESS SUBINT RANGE
GEN_INT'FIRST..SUBINT'LAST;
BEGIN
FAILED ("NO EXCEPTION RAISED (I1)");
DECLARE
Z : I := NEW SUBINT'(SUBINT'FIRST);
BEGIN
IF NOT EQUAL(INTEGER(Z.ALL),INTEGER(Z.ALL))
THEN
COMMENT ("DON'T OPTIMIZE Z");
END IF;
END;
EXCEPTION
WHEN OTHERS =>
FAILED ("EXCEPTION RAISED IN WRONG PLACE " &
"(I1)");
END;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED (I1)");
END;
BEGIN
DECLARE
TYPE I IS NEW
SUBINT RANGE SUBINT'FIRST..GEN_INT'LAST;
BEGIN
FAILED ("NO EXCEPTION RAISED (I2)");
DECLARE
Z : I := I'FIRST;
BEGIN
IF NOT EQUAL(INTEGER(Z),INTEGER(Z)) THEN
COMMENT ("DON'T OPTIMIZE Z");
END IF;
END;
EXCEPTION
WHEN OTHERS =>
FAILED ("EXCEPTION RAISED IN WRONG PLACE " &
"(I2)");
END;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED (I2)");
END;
BEGIN
DECLARE
SUBTYPE I IS SUBINT RANGE A1'RANGE;
BEGIN
FAILED ("NO EXCEPTION RAISED (R1)");
DECLARE
Z : I := SUBINT'FIRST;
BEGIN
IF NOT EQUAL(INTEGER(Z),INTEGER(Z)) THEN
COMMENT ("DON'T OPTIMIZE Z");
END IF;
END;
EXCEPTION
WHEN OTHERS =>
FAILED ("EXCEPTION RAISED IN WRONG PLACE " &
"(R1)");
END;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED (R1)");
END;
BEGIN
DECLARE
SUBTYPE I IS SUBINT RANGE A2'RANGE;
BEGIN
FAILED ("NO EXCEPTION RAISED (R2)");
DECLARE
Z : I := 1;
BEGIN
IF NOT EQUAL(INTEGER(Z),INTEGER(Z)) THEN
COMMENT ("DON'T OPTIMIZE Z");
END IF;
END;
EXCEPTION
WHEN OTHERS =>
FAILED ("EXCEPTION RAISED IN WRONG PLACE " &
"(R2)");
END;
EXCEPTION
WHEN CONSTRAINT_ERROR =>
NULL;
WHEN OTHERS =>
FAILED ("WRONG EXCEPTION RAISED (R2)");
END;
END GEN_PACK;
PACKAGE ENUM_PACK IS NEW GEN_PACK(ENUM, INT);
BEGIN
RESULT;
END C35003B;
|
agda/Text/Greek/SBLGNT/1Tim.agda | scott-fleischman/GreekGrammar | 44 | 4460 | module Text.Greek.SBLGNT.1Tim where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΠΡΟΣ-ΤΙΜΟΘΕΟΝ-Α : List (Word)
ΠΡΟΣ-ΤΙΜΟΘΕΟΝ-Α =
word (Π ∷ α ∷ ῦ ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Tim.1.1"
∷ word (ἀ ∷ π ∷ ό ∷ σ ∷ τ ∷ ο ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Tim.1.1"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.1.1"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.1.1"
∷ word (κ ∷ α ∷ τ ∷ []) "1Tim.1.1"
∷ word (ἐ ∷ π ∷ ι ∷ τ ∷ α ∷ γ ∷ ὴ ∷ ν ∷ []) "1Tim.1.1"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.1.1"
∷ word (σ ∷ ω ∷ τ ∷ ῆ ∷ ρ ∷ ο ∷ ς ∷ []) "1Tim.1.1"
∷ word (ἡ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.1.1"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.1"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.1.1"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.1.1"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.1.1"
∷ word (ἐ ∷ ∙λ ∷ π ∷ ί ∷ δ ∷ ο ∷ ς ∷ []) "1Tim.1.1"
∷ word (ἡ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.1.1"
∷ word (Τ ∷ ι ∷ μ ∷ ο ∷ θ ∷ έ ∷ ῳ ∷ []) "1Tim.1.2"
∷ word (γ ∷ ν ∷ η ∷ σ ∷ ί ∷ ῳ ∷ []) "1Tim.1.2"
∷ word (τ ∷ έ ∷ κ ∷ ν ∷ ῳ ∷ []) "1Tim.1.2"
∷ word (ἐ ∷ ν ∷ []) "1Tim.1.2"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ι ∷ []) "1Tim.1.2"
∷ word (χ ∷ ά ∷ ρ ∷ ι ∷ ς ∷ []) "1Tim.1.2"
∷ word (ἔ ∷ ∙λ ∷ ε ∷ ο ∷ ς ∷ []) "1Tim.1.2"
∷ word (ε ∷ ἰ ∷ ρ ∷ ή ∷ ν ∷ η ∷ []) "1Tim.1.2"
∷ word (ἀ ∷ π ∷ ὸ ∷ []) "1Tim.1.2"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.1.2"
∷ word (π ∷ α ∷ τ ∷ ρ ∷ ὸ ∷ ς ∷ []) "1Tim.1.2"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.2"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.1.2"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.1.2"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.1.2"
∷ word (κ ∷ υ ∷ ρ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.1.2"
∷ word (ἡ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.1.2"
∷ word (Κ ∷ α ∷ θ ∷ ὼ ∷ ς ∷ []) "1Tim.1.3"
∷ word (π ∷ α ∷ ρ ∷ ε ∷ κ ∷ ά ∷ ∙λ ∷ ε ∷ σ ∷ ά ∷ []) "1Tim.1.3"
∷ word (σ ∷ ε ∷ []) "1Tim.1.3"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ μ ∷ ε ∷ ῖ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.1.3"
∷ word (ἐ ∷ ν ∷ []) "1Tim.1.3"
∷ word (Ἐ ∷ φ ∷ έ ∷ σ ∷ ῳ ∷ []) "1Tim.1.3"
∷ word (π ∷ ο ∷ ρ ∷ ε ∷ υ ∷ ό ∷ μ ∷ ε ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.1.3"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.1.3"
∷ word (Μ ∷ α ∷ κ ∷ ε ∷ δ ∷ ο ∷ ν ∷ ί ∷ α ∷ ν ∷ []) "1Tim.1.3"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.1.3"
∷ word (π ∷ α ∷ ρ ∷ α ∷ γ ∷ γ ∷ ε ∷ ί ∷ ∙λ ∷ ῃ ∷ ς ∷ []) "1Tim.1.3"
∷ word (τ ∷ ι ∷ σ ∷ ὶ ∷ ν ∷ []) "1Tim.1.3"
∷ word (μ ∷ ὴ ∷ []) "1Tim.1.3"
∷ word (ἑ ∷ τ ∷ ε ∷ ρ ∷ ο ∷ δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.1.3"
∷ word (μ ∷ η ∷ δ ∷ ὲ ∷ []) "1Tim.1.4"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ έ ∷ χ ∷ ε ∷ ι ∷ ν ∷ []) "1Tim.1.4"
∷ word (μ ∷ ύ ∷ θ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.4"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.4"
∷ word (γ ∷ ε ∷ ν ∷ ε ∷ α ∷ ∙λ ∷ ο ∷ γ ∷ ί ∷ α ∷ ι ∷ ς ∷ []) "1Tim.1.4"
∷ word (ἀ ∷ π ∷ ε ∷ ρ ∷ ά ∷ ν ∷ τ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.4"
∷ word (α ∷ ἵ ∷ τ ∷ ι ∷ ν ∷ ε ∷ ς ∷ []) "1Tim.1.4"
∷ word (ἐ ∷ κ ∷ ζ ∷ η ∷ τ ∷ ή ∷ σ ∷ ε ∷ ι ∷ ς ∷ []) "1Tim.1.4"
∷ word (π ∷ α ∷ ρ ∷ έ ∷ χ ∷ ο ∷ υ ∷ σ ∷ ι ∷ []) "1Tim.1.4"
∷ word (μ ∷ ᾶ ∷ ∙λ ∷ ∙λ ∷ ο ∷ ν ∷ []) "1Tim.1.4"
∷ word (ἢ ∷ []) "1Tim.1.4"
∷ word (ο ∷ ἰ ∷ κ ∷ ο ∷ ν ∷ ο ∷ μ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.1.4"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.1.4"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.1.4"
∷ word (ἐ ∷ ν ∷ []) "1Tim.1.4"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ι ∷ []) "1Tim.1.4"
∷ word (τ ∷ ὸ ∷ []) "1Tim.1.5"
∷ word (δ ∷ ὲ ∷ []) "1Tim.1.5"
∷ word (τ ∷ έ ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Tim.1.5"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.1.5"
∷ word (π ∷ α ∷ ρ ∷ α ∷ γ ∷ γ ∷ ε ∷ ∙λ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.1.5"
∷ word (ἐ ∷ σ ∷ τ ∷ ὶ ∷ ν ∷ []) "1Tim.1.5"
∷ word (ἀ ∷ γ ∷ ά ∷ π ∷ η ∷ []) "1Tim.1.5"
∷ word (ἐ ∷ κ ∷ []) "1Tim.1.5"
∷ word (κ ∷ α ∷ θ ∷ α ∷ ρ ∷ ᾶ ∷ ς ∷ []) "1Tim.1.5"
∷ word (κ ∷ α ∷ ρ ∷ δ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.1.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.5"
∷ word (σ ∷ υ ∷ ν ∷ ε ∷ ι ∷ δ ∷ ή ∷ σ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.1.5"
∷ word (ἀ ∷ γ ∷ α ∷ θ ∷ ῆ ∷ ς ∷ []) "1Tim.1.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.5"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.1.5"
∷ word (ἀ ∷ ν ∷ υ ∷ π ∷ ο ∷ κ ∷ ρ ∷ ί ∷ τ ∷ ο ∷ υ ∷ []) "1Tim.1.5"
∷ word (ὧ ∷ ν ∷ []) "1Tim.1.6"
∷ word (τ ∷ ι ∷ ν ∷ ε ∷ ς ∷ []) "1Tim.1.6"
∷ word (ἀ ∷ σ ∷ τ ∷ ο ∷ χ ∷ ή ∷ σ ∷ α ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.1.6"
∷ word (ἐ ∷ ξ ∷ ε ∷ τ ∷ ρ ∷ ά ∷ π ∷ η ∷ σ ∷ α ∷ ν ∷ []) "1Tim.1.6"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.1.6"
∷ word (μ ∷ α ∷ τ ∷ α ∷ ι ∷ ο ∷ ∙λ ∷ ο ∷ γ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.1.6"
∷ word (θ ∷ έ ∷ ∙λ ∷ ο ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.1.7"
∷ word (ε ∷ ἶ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.1.7"
∷ word (ν ∷ ο ∷ μ ∷ ο ∷ δ ∷ ι ∷ δ ∷ ά ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ο ∷ ι ∷ []) "1Tim.1.7"
∷ word (μ ∷ ὴ ∷ []) "1Tim.1.7"
∷ word (ν ∷ ο ∷ ο ∷ ῦ ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.1.7"
∷ word (μ ∷ ή ∷ τ ∷ ε ∷ []) "1Tim.1.7"
∷ word (ἃ ∷ []) "1Tim.1.7"
∷ word (∙λ ∷ έ ∷ γ ∷ ο ∷ υ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.1.7"
∷ word (μ ∷ ή ∷ τ ∷ ε ∷ []) "1Tim.1.7"
∷ word (π ∷ ε ∷ ρ ∷ ὶ ∷ []) "1Tim.1.7"
∷ word (τ ∷ ί ∷ ν ∷ ω ∷ ν ∷ []) "1Tim.1.7"
∷ word (δ ∷ ι ∷ α ∷ β ∷ ε ∷ β ∷ α ∷ ι ∷ ο ∷ ῦ ∷ ν ∷ τ ∷ α ∷ ι ∷ []) "1Tim.1.7"
∷ word (Ο ∷ ἴ ∷ δ ∷ α ∷ μ ∷ ε ∷ ν ∷ []) "1Tim.1.8"
∷ word (δ ∷ ὲ ∷ []) "1Tim.1.8"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.1.8"
∷ word (κ ∷ α ∷ ∙λ ∷ ὸ ∷ ς ∷ []) "1Tim.1.8"
∷ word (ὁ ∷ []) "1Tim.1.8"
∷ word (ν ∷ ό ∷ μ ∷ ο ∷ ς ∷ []) "1Tim.1.8"
∷ word (ἐ ∷ ά ∷ ν ∷ []) "1Tim.1.8"
∷ word (τ ∷ ι ∷ ς ∷ []) "1Tim.1.8"
∷ word (α ∷ ὐ ∷ τ ∷ ῷ ∷ []) "1Tim.1.8"
∷ word (ν ∷ ο ∷ μ ∷ ί ∷ μ ∷ ω ∷ ς ∷ []) "1Tim.1.8"
∷ word (χ ∷ ρ ∷ ῆ ∷ τ ∷ α ∷ ι ∷ []) "1Tim.1.8"
∷ word (ε ∷ ἰ ∷ δ ∷ ὼ ∷ ς ∷ []) "1Tim.1.9"
∷ word (τ ∷ ο ∷ ῦ ∷ τ ∷ ο ∷ []) "1Tim.1.9"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.1.9"
∷ word (δ ∷ ι ∷ κ ∷ α ∷ ί ∷ ῳ ∷ []) "1Tim.1.9"
∷ word (ν ∷ ό ∷ μ ∷ ο ∷ ς ∷ []) "1Tim.1.9"
∷ word (ο ∷ ὐ ∷ []) "1Tim.1.9"
∷ word (κ ∷ ε ∷ ῖ ∷ τ ∷ α ∷ ι ∷ []) "1Tim.1.9"
∷ word (ἀ ∷ ν ∷ ό ∷ μ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.9"
∷ word (δ ∷ ὲ ∷ []) "1Tim.1.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.9"
∷ word (ἀ ∷ ν ∷ υ ∷ π ∷ ο ∷ τ ∷ ά ∷ κ ∷ τ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.9"
∷ word (ἀ ∷ σ ∷ ε ∷ β ∷ έ ∷ σ ∷ ι ∷ []) "1Tim.1.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.9"
∷ word (ἁ ∷ μ ∷ α ∷ ρ ∷ τ ∷ ω ∷ ∙λ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.1.9"
∷ word (ἀ ∷ ν ∷ ο ∷ σ ∷ ί ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.9"
∷ word (β ∷ ε ∷ β ∷ ή ∷ ∙λ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.9"
∷ word (π ∷ α ∷ τ ∷ ρ ∷ ο ∷ ∙λ ∷ ῴ ∷ α ∷ ι ∷ ς ∷ []) "1Tim.1.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.9"
∷ word (μ ∷ η ∷ τ ∷ ρ ∷ ο ∷ ∙λ ∷ ῴ ∷ α ∷ ι ∷ ς ∷ []) "1Tim.1.9"
∷ word (ἀ ∷ ν ∷ δ ∷ ρ ∷ ο ∷ φ ∷ ό ∷ ν ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.9"
∷ word (π ∷ ό ∷ ρ ∷ ν ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.10"
∷ word (ἀ ∷ ρ ∷ σ ∷ ε ∷ ν ∷ ο ∷ κ ∷ ο ∷ ί ∷ τ ∷ α ∷ ι ∷ ς ∷ []) "1Tim.1.10"
∷ word (ἀ ∷ ν ∷ δ ∷ ρ ∷ α ∷ π ∷ ο ∷ δ ∷ ι ∷ σ ∷ τ ∷ α ∷ ῖ ∷ ς ∷ []) "1Tim.1.10"
∷ word (ψ ∷ ε ∷ ύ ∷ σ ∷ τ ∷ α ∷ ι ∷ ς ∷ []) "1Tim.1.10"
∷ word (ἐ ∷ π ∷ ι ∷ ό ∷ ρ ∷ κ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.1.10"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.10"
∷ word (ε ∷ ἴ ∷ []) "1Tim.1.10"
∷ word (τ ∷ ι ∷ []) "1Tim.1.10"
∷ word (ἕ ∷ τ ∷ ε ∷ ρ ∷ ο ∷ ν ∷ []) "1Tim.1.10"
∷ word (τ ∷ ῇ ∷ []) "1Tim.1.10"
∷ word (ὑ ∷ γ ∷ ι ∷ α ∷ ι ∷ ν ∷ ο ∷ ύ ∷ σ ∷ ῃ ∷ []) "1Tim.1.10"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ί ∷ ᾳ ∷ []) "1Tim.1.10"
∷ word (ἀ ∷ ν ∷ τ ∷ ί ∷ κ ∷ ε ∷ ι ∷ τ ∷ α ∷ ι ∷ []) "1Tim.1.10"
∷ word (κ ∷ α ∷ τ ∷ ὰ ∷ []) "1Tim.1.11"
∷ word (τ ∷ ὸ ∷ []) "1Tim.1.11"
∷ word (ε ∷ ὐ ∷ α ∷ γ ∷ γ ∷ έ ∷ ∙λ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.1.11"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.1.11"
∷ word (δ ∷ ό ∷ ξ ∷ η ∷ ς ∷ []) "1Tim.1.11"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.1.11"
∷ word (μ ∷ α ∷ κ ∷ α ∷ ρ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.1.11"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.1.11"
∷ word (ὃ ∷ []) "1Tim.1.11"
∷ word (ἐ ∷ π ∷ ι ∷ σ ∷ τ ∷ ε ∷ ύ ∷ θ ∷ η ∷ ν ∷ []) "1Tim.1.11"
∷ word (ἐ ∷ γ ∷ ώ ∷ []) "1Tim.1.11"
∷ word (Χ ∷ ά ∷ ρ ∷ ι ∷ ν ∷ []) "1Tim.1.12"
∷ word (ἔ ∷ χ ∷ ω ∷ []) "1Tim.1.12"
∷ word (τ ∷ ῷ ∷ []) "1Tim.1.12"
∷ word (ἐ ∷ ν ∷ δ ∷ υ ∷ ν ∷ α ∷ μ ∷ ώ ∷ σ ∷ α ∷ ν ∷ τ ∷ ί ∷ []) "1Tim.1.12"
∷ word (μ ∷ ε ∷ []) "1Tim.1.12"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ῷ ∷ []) "1Tim.1.12"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.1.12"
∷ word (τ ∷ ῷ ∷ []) "1Tim.1.12"
∷ word (κ ∷ υ ∷ ρ ∷ ί ∷ ῳ ∷ []) "1Tim.1.12"
∷ word (ἡ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.1.12"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.1.12"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ό ∷ ν ∷ []) "1Tim.1.12"
∷ word (μ ∷ ε ∷ []) "1Tim.1.12"
∷ word (ἡ ∷ γ ∷ ή ∷ σ ∷ α ∷ τ ∷ ο ∷ []) "1Tim.1.12"
∷ word (θ ∷ έ ∷ μ ∷ ε ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.1.12"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.1.12"
∷ word (δ ∷ ι ∷ α ∷ κ ∷ ο ∷ ν ∷ ί ∷ α ∷ ν ∷ []) "1Tim.1.12"
∷ word (τ ∷ ὸ ∷ []) "1Tim.1.13"
∷ word (π ∷ ρ ∷ ό ∷ τ ∷ ε ∷ ρ ∷ ο ∷ ν ∷ []) "1Tim.1.13"
∷ word (ὄ ∷ ν ∷ τ ∷ α ∷ []) "1Tim.1.13"
∷ word (β ∷ ∙λ ∷ ά ∷ σ ∷ φ ∷ η ∷ μ ∷ ο ∷ ν ∷ []) "1Tim.1.13"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.13"
∷ word (δ ∷ ι ∷ ώ ∷ κ ∷ τ ∷ η ∷ ν ∷ []) "1Tim.1.13"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.13"
∷ word (ὑ ∷ β ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ή ∷ ν ∷ []) "1Tim.1.13"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.1.13"
∷ word (ἠ ∷ ∙λ ∷ ε ∷ ή ∷ θ ∷ η ∷ ν ∷ []) "1Tim.1.13"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.1.13"
∷ word (ἀ ∷ γ ∷ ν ∷ ο ∷ ῶ ∷ ν ∷ []) "1Tim.1.13"
∷ word (ἐ ∷ π ∷ ο ∷ ί ∷ η ∷ σ ∷ α ∷ []) "1Tim.1.13"
∷ word (ἐ ∷ ν ∷ []) "1Tim.1.13"
∷ word (ἀ ∷ π ∷ ι ∷ σ ∷ τ ∷ ί ∷ ᾳ ∷ []) "1Tim.1.13"
∷ word (ὑ ∷ π ∷ ε ∷ ρ ∷ ε ∷ π ∷ ∙λ ∷ ε ∷ ό ∷ ν ∷ α ∷ σ ∷ ε ∷ ν ∷ []) "1Tim.1.14"
∷ word (δ ∷ ὲ ∷ []) "1Tim.1.14"
∷ word (ἡ ∷ []) "1Tim.1.14"
∷ word (χ ∷ ά ∷ ρ ∷ ι ∷ ς ∷ []) "1Tim.1.14"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.1.14"
∷ word (κ ∷ υ ∷ ρ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.1.14"
∷ word (ἡ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.1.14"
∷ word (μ ∷ ε ∷ τ ∷ ὰ ∷ []) "1Tim.1.14"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.1.14"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.14"
∷ word (ἀ ∷ γ ∷ ά ∷ π ∷ η ∷ ς ∷ []) "1Tim.1.14"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.1.14"
∷ word (ἐ ∷ ν ∷ []) "1Tim.1.14"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ῷ ∷ []) "1Tim.1.14"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.1.14"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ὸ ∷ ς ∷ []) "1Tim.1.15"
∷ word (ὁ ∷ []) "1Tim.1.15"
∷ word (∙λ ∷ ό ∷ γ ∷ ο ∷ ς ∷ []) "1Tim.1.15"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.15"
∷ word (π ∷ ά ∷ σ ∷ η ∷ ς ∷ []) "1Tim.1.15"
∷ word (ἀ ∷ π ∷ ο ∷ δ ∷ ο ∷ χ ∷ ῆ ∷ ς ∷ []) "1Tim.1.15"
∷ word (ἄ ∷ ξ ∷ ι ∷ ο ∷ ς ∷ []) "1Tim.1.15"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.1.15"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ὸ ∷ ς ∷ []) "1Tim.1.15"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ ς ∷ []) "1Tim.1.15"
∷ word (ἦ ∷ ∙λ ∷ θ ∷ ε ∷ ν ∷ []) "1Tim.1.15"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.1.15"
∷ word (τ ∷ ὸ ∷ ν ∷ []) "1Tim.1.15"
∷ word (κ ∷ ό ∷ σ ∷ μ ∷ ο ∷ ν ∷ []) "1Tim.1.15"
∷ word (ἁ ∷ μ ∷ α ∷ ρ ∷ τ ∷ ω ∷ ∙λ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.1.15"
∷ word (σ ∷ ῶ ∷ σ ∷ α ∷ ι ∷ []) "1Tim.1.15"
∷ word (ὧ ∷ ν ∷ []) "1Tim.1.15"
∷ word (π ∷ ρ ∷ ῶ ∷ τ ∷ ό ∷ ς ∷ []) "1Tim.1.15"
∷ word (ε ∷ ἰ ∷ μ ∷ ι ∷ []) "1Tim.1.15"
∷ word (ἐ ∷ γ ∷ ώ ∷ []) "1Tim.1.15"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.1.16"
∷ word (δ ∷ ι ∷ ὰ ∷ []) "1Tim.1.16"
∷ word (τ ∷ ο ∷ ῦ ∷ τ ∷ ο ∷ []) "1Tim.1.16"
∷ word (ἠ ∷ ∙λ ∷ ε ∷ ή ∷ θ ∷ η ∷ ν ∷ []) "1Tim.1.16"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.1.16"
∷ word (ἐ ∷ ν ∷ []) "1Tim.1.16"
∷ word (ἐ ∷ μ ∷ ο ∷ ὶ ∷ []) "1Tim.1.16"
∷ word (π ∷ ρ ∷ ώ ∷ τ ∷ ῳ ∷ []) "1Tim.1.16"
∷ word (ἐ ∷ ν ∷ δ ∷ ε ∷ ί ∷ ξ ∷ η ∷ τ ∷ α ∷ ι ∷ []) "1Tim.1.16"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ὸ ∷ ς ∷ []) "1Tim.1.16"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ ς ∷ []) "1Tim.1.16"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.1.16"
∷ word (ἅ ∷ π ∷ α ∷ σ ∷ α ∷ ν ∷ []) "1Tim.1.16"
∷ word (μ ∷ α ∷ κ ∷ ρ ∷ ο ∷ θ ∷ υ ∷ μ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.1.16"
∷ word (π ∷ ρ ∷ ὸ ∷ ς ∷ []) "1Tim.1.16"
∷ word (ὑ ∷ π ∷ ο ∷ τ ∷ ύ ∷ π ∷ ω ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.1.16"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.1.16"
∷ word (μ ∷ ε ∷ ∙λ ∷ ∙λ ∷ ό ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.1.16"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ε ∷ ύ ∷ ε ∷ ι ∷ ν ∷ []) "1Tim.1.16"
∷ word (ἐ ∷ π ∷ []) "1Tim.1.16"
∷ word (α ∷ ὐ ∷ τ ∷ ῷ ∷ []) "1Tim.1.16"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.1.16"
∷ word (ζ ∷ ω ∷ ὴ ∷ ν ∷ []) "1Tim.1.16"
∷ word (α ∷ ἰ ∷ ώ ∷ ν ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.1.16"
∷ word (τ ∷ ῷ ∷ []) "1Tim.1.17"
∷ word (δ ∷ ὲ ∷ []) "1Tim.1.17"
∷ word (β ∷ α ∷ σ ∷ ι ∷ ∙λ ∷ ε ∷ ῖ ∷ []) "1Tim.1.17"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.1.17"
∷ word (α ∷ ἰ ∷ ώ ∷ ν ∷ ω ∷ ν ∷ []) "1Tim.1.17"
∷ word (ἀ ∷ φ ∷ θ ∷ ά ∷ ρ ∷ τ ∷ ῳ ∷ []) "1Tim.1.17"
∷ word (ἀ ∷ ο ∷ ρ ∷ ά ∷ τ ∷ ῳ ∷ []) "1Tim.1.17"
∷ word (μ ∷ ό ∷ ν ∷ ῳ ∷ []) "1Tim.1.17"
∷ word (θ ∷ ε ∷ ῷ ∷ []) "1Tim.1.17"
∷ word (τ ∷ ι ∷ μ ∷ ὴ ∷ []) "1Tim.1.17"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.17"
∷ word (δ ∷ ό ∷ ξ ∷ α ∷ []) "1Tim.1.17"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.1.17"
∷ word (τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.1.17"
∷ word (α ∷ ἰ ∷ ῶ ∷ ν ∷ α ∷ ς ∷ []) "1Tim.1.17"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.1.17"
∷ word (α ∷ ἰ ∷ ώ ∷ ν ∷ ω ∷ ν ∷ []) "1Tim.1.17"
∷ word (ἀ ∷ μ ∷ ή ∷ ν ∷ []) "1Tim.1.17"
∷ word (Τ ∷ α ∷ ύ ∷ τ ∷ η ∷ ν ∷ []) "1Tim.1.18"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.1.18"
∷ word (π ∷ α ∷ ρ ∷ α ∷ γ ∷ γ ∷ ε ∷ ∙λ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.1.18"
∷ word (π ∷ α ∷ ρ ∷ α ∷ τ ∷ ί ∷ θ ∷ ε ∷ μ ∷ α ∷ ί ∷ []) "1Tim.1.18"
∷ word (σ ∷ ο ∷ ι ∷ []) "1Tim.1.18"
∷ word (τ ∷ έ ∷ κ ∷ ν ∷ ο ∷ ν ∷ []) "1Tim.1.18"
∷ word (Τ ∷ ι ∷ μ ∷ ό ∷ θ ∷ ε ∷ ε ∷ []) "1Tim.1.18"
∷ word (κ ∷ α ∷ τ ∷ ὰ ∷ []) "1Tim.1.18"
∷ word (τ ∷ ὰ ∷ ς ∷ []) "1Tim.1.18"
∷ word (π ∷ ρ ∷ ο ∷ α ∷ γ ∷ ο ∷ ύ ∷ σ ∷ α ∷ ς ∷ []) "1Tim.1.18"
∷ word (ἐ ∷ π ∷ ὶ ∷ []) "1Tim.1.18"
∷ word (σ ∷ ὲ ∷ []) "1Tim.1.18"
∷ word (π ∷ ρ ∷ ο ∷ φ ∷ η ∷ τ ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.1.18"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.1.18"
∷ word (σ ∷ τ ∷ ρ ∷ α ∷ τ ∷ ε ∷ ύ ∷ ῃ ∷ []) "1Tim.1.18"
∷ word (ἐ ∷ ν ∷ []) "1Tim.1.18"
∷ word (α ∷ ὐ ∷ τ ∷ α ∷ ῖ ∷ ς ∷ []) "1Tim.1.18"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.1.18"
∷ word (κ ∷ α ∷ ∙λ ∷ ὴ ∷ ν ∷ []) "1Tim.1.18"
∷ word (σ ∷ τ ∷ ρ ∷ α ∷ τ ∷ ε ∷ ί ∷ α ∷ ν ∷ []) "1Tim.1.18"
∷ word (ἔ ∷ χ ∷ ω ∷ ν ∷ []) "1Tim.1.19"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.1.19"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.19"
∷ word (ἀ ∷ γ ∷ α ∷ θ ∷ ὴ ∷ ν ∷ []) "1Tim.1.19"
∷ word (σ ∷ υ ∷ ν ∷ ε ∷ ί ∷ δ ∷ η ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.1.19"
∷ word (ἥ ∷ ν ∷ []) "1Tim.1.19"
∷ word (τ ∷ ι ∷ ν ∷ ε ∷ ς ∷ []) "1Tim.1.19"
∷ word (ἀ ∷ π ∷ ω ∷ σ ∷ ά ∷ μ ∷ ε ∷ ν ∷ ο ∷ ι ∷ []) "1Tim.1.19"
∷ word (π ∷ ε ∷ ρ ∷ ὶ ∷ []) "1Tim.1.19"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.1.19"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.1.19"
∷ word (ἐ ∷ ν ∷ α ∷ υ ∷ ά ∷ γ ∷ η ∷ σ ∷ α ∷ ν ∷ []) "1Tim.1.19"
∷ word (ὧ ∷ ν ∷ []) "1Tim.1.20"
∷ word (ἐ ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.1.20"
∷ word (Ὑ ∷ μ ∷ έ ∷ ν ∷ α ∷ ι ∷ ο ∷ ς ∷ []) "1Tim.1.20"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.1.20"
∷ word (Ἀ ∷ ∙λ ∷ έ ∷ ξ ∷ α ∷ ν ∷ δ ∷ ρ ∷ ο ∷ ς ∷ []) "1Tim.1.20"
∷ word (ο ∷ ὓ ∷ ς ∷ []) "1Tim.1.20"
∷ word (π ∷ α ∷ ρ ∷ έ ∷ δ ∷ ω ∷ κ ∷ α ∷ []) "1Tim.1.20"
∷ word (τ ∷ ῷ ∷ []) "1Tim.1.20"
∷ word (Σ ∷ α ∷ τ ∷ α ∷ ν ∷ ᾷ ∷ []) "1Tim.1.20"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.1.20"
∷ word (π ∷ α ∷ ι ∷ δ ∷ ε ∷ υ ∷ θ ∷ ῶ ∷ σ ∷ ι ∷ []) "1Tim.1.20"
∷ word (μ ∷ ὴ ∷ []) "1Tim.1.20"
∷ word (β ∷ ∙λ ∷ α ∷ σ ∷ φ ∷ η ∷ μ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.1.20"
∷ word (Π ∷ α ∷ ρ ∷ α ∷ κ ∷ α ∷ ∙λ ∷ ῶ ∷ []) "1Tim.2.1"
∷ word (ο ∷ ὖ ∷ ν ∷ []) "1Tim.2.1"
∷ word (π ∷ ρ ∷ ῶ ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.2.1"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.2.1"
∷ word (π ∷ ο ∷ ι ∷ ε ∷ ῖ ∷ σ ∷ θ ∷ α ∷ ι ∷ []) "1Tim.2.1"
∷ word (δ ∷ ε ∷ ή ∷ σ ∷ ε ∷ ι ∷ ς ∷ []) "1Tim.2.1"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ ε ∷ υ ∷ χ ∷ ά ∷ ς ∷ []) "1Tim.2.1"
∷ word (ἐ ∷ ν ∷ τ ∷ ε ∷ ύ ∷ ξ ∷ ε ∷ ι ∷ ς ∷ []) "1Tim.2.1"
∷ word (ε ∷ ὐ ∷ χ ∷ α ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.2.1"
∷ word (ὑ ∷ π ∷ ὲ ∷ ρ ∷ []) "1Tim.2.1"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.2.1"
∷ word (ἀ ∷ ν ∷ θ ∷ ρ ∷ ώ ∷ π ∷ ω ∷ ν ∷ []) "1Tim.2.1"
∷ word (ὑ ∷ π ∷ ὲ ∷ ρ ∷ []) "1Tim.2.2"
∷ word (β ∷ α ∷ σ ∷ ι ∷ ∙λ ∷ έ ∷ ω ∷ ν ∷ []) "1Tim.2.2"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.2"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.2.2"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.2.2"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.2"
∷ word (ὑ ∷ π ∷ ε ∷ ρ ∷ ο ∷ χ ∷ ῇ ∷ []) "1Tim.2.2"
∷ word (ὄ ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.2.2"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.2.2"
∷ word (ἤ ∷ ρ ∷ ε ∷ μ ∷ ο ∷ ν ∷ []) "1Tim.2.2"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.2"
∷ word (ἡ ∷ σ ∷ ύ ∷ χ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.2.2"
∷ word (β ∷ ί ∷ ο ∷ ν ∷ []) "1Tim.2.2"
∷ word (δ ∷ ι ∷ ά ∷ γ ∷ ω ∷ μ ∷ ε ∷ ν ∷ []) "1Tim.2.2"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.2"
∷ word (π ∷ ά ∷ σ ∷ ῃ ∷ []) "1Tim.2.2"
∷ word (ε ∷ ὐ ∷ σ ∷ ε ∷ β ∷ ε ∷ ί ∷ ᾳ ∷ []) "1Tim.2.2"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.2"
∷ word (σ ∷ ε ∷ μ ∷ ν ∷ ό ∷ τ ∷ η ∷ τ ∷ ι ∷ []) "1Tim.2.2"
∷ word (τ ∷ ο ∷ ῦ ∷ τ ∷ ο ∷ []) "1Tim.2.3"
∷ word (κ ∷ α ∷ ∙λ ∷ ὸ ∷ ν ∷ []) "1Tim.2.3"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.3"
∷ word (ἀ ∷ π ∷ ό ∷ δ ∷ ε ∷ κ ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.2.3"
∷ word (ἐ ∷ ν ∷ ώ ∷ π ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.2.3"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.2.3"
∷ word (σ ∷ ω ∷ τ ∷ ῆ ∷ ρ ∷ ο ∷ ς ∷ []) "1Tim.2.3"
∷ word (ἡ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.2.3"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.2.3"
∷ word (ὃ ∷ ς ∷ []) "1Tim.2.4"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ α ∷ ς ∷ []) "1Tim.2.4"
∷ word (ἀ ∷ ν ∷ θ ∷ ρ ∷ ώ ∷ π ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.2.4"
∷ word (θ ∷ έ ∷ ∙λ ∷ ε ∷ ι ∷ []) "1Tim.2.4"
∷ word (σ ∷ ω ∷ θ ∷ ῆ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.2.4"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.4"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.2.4"
∷ word (ἐ ∷ π ∷ ί ∷ γ ∷ ν ∷ ω ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.2.4"
∷ word (ἀ ∷ ∙λ ∷ η ∷ θ ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.2.4"
∷ word (ἐ ∷ ∙λ ∷ θ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.2.4"
∷ word (ε ∷ ἷ ∷ ς ∷ []) "1Tim.2.5"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.2.5"
∷ word (θ ∷ ε ∷ ό ∷ ς ∷ []) "1Tim.2.5"
∷ word (ε ∷ ἷ ∷ ς ∷ []) "1Tim.2.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.5"
∷ word (μ ∷ ε ∷ σ ∷ ί ∷ τ ∷ η ∷ ς ∷ []) "1Tim.2.5"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.2.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.5"
∷ word (ἀ ∷ ν ∷ θ ∷ ρ ∷ ώ ∷ π ∷ ω ∷ ν ∷ []) "1Tim.2.5"
∷ word (ἄ ∷ ν ∷ θ ∷ ρ ∷ ω ∷ π ∷ ο ∷ ς ∷ []) "1Tim.2.5"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ὸ ∷ ς ∷ []) "1Tim.2.5"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ ς ∷ []) "1Tim.2.5"
∷ word (ὁ ∷ []) "1Tim.2.6"
∷ word (δ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.2.6"
∷ word (ἑ ∷ α ∷ υ ∷ τ ∷ ὸ ∷ ν ∷ []) "1Tim.2.6"
∷ word (ἀ ∷ ν ∷ τ ∷ ί ∷ ∙λ ∷ υ ∷ τ ∷ ρ ∷ ο ∷ ν ∷ []) "1Tim.2.6"
∷ word (ὑ ∷ π ∷ ὲ ∷ ρ ∷ []) "1Tim.2.6"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.2.6"
∷ word (τ ∷ ὸ ∷ []) "1Tim.2.6"
∷ word (μ ∷ α ∷ ρ ∷ τ ∷ ύ ∷ ρ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.2.6"
∷ word (κ ∷ α ∷ ι ∷ ρ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.2.6"
∷ word (ἰ ∷ δ ∷ ί ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.2.6"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.2.7"
∷ word (ὃ ∷ []) "1Tim.2.7"
∷ word (ἐ ∷ τ ∷ έ ∷ θ ∷ η ∷ ν ∷ []) "1Tim.2.7"
∷ word (ἐ ∷ γ ∷ ὼ ∷ []) "1Tim.2.7"
∷ word (κ ∷ ῆ ∷ ρ ∷ υ ∷ ξ ∷ []) "1Tim.2.7"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.7"
∷ word (ἀ ∷ π ∷ ό ∷ σ ∷ τ ∷ ο ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Tim.2.7"
∷ word (ἀ ∷ ∙λ ∷ ή ∷ θ ∷ ε ∷ ι ∷ α ∷ ν ∷ []) "1Tim.2.7"
∷ word (∙λ ∷ έ ∷ γ ∷ ω ∷ []) "1Tim.2.7"
∷ word (ο ∷ ὐ ∷ []) "1Tim.2.7"
∷ word (ψ ∷ ε ∷ ύ ∷ δ ∷ ο ∷ μ ∷ α ∷ ι ∷ []) "1Tim.2.7"
∷ word (δ ∷ ι ∷ δ ∷ ά ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Tim.2.7"
∷ word (ἐ ∷ θ ∷ ν ∷ ῶ ∷ ν ∷ []) "1Tim.2.7"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.7"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ι ∷ []) "1Tim.2.7"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.7"
∷ word (ἀ ∷ ∙λ ∷ η ∷ θ ∷ ε ∷ ί ∷ ᾳ ∷ []) "1Tim.2.7"
∷ word (Β ∷ ο ∷ ύ ∷ ∙λ ∷ ο ∷ μ ∷ α ∷ ι ∷ []) "1Tim.2.8"
∷ word (ο ∷ ὖ ∷ ν ∷ []) "1Tim.2.8"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ ε ∷ ύ ∷ χ ∷ ε ∷ σ ∷ θ ∷ α ∷ ι ∷ []) "1Tim.2.8"
∷ word (τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.2.8"
∷ word (ἄ ∷ ν ∷ δ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.2.8"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.8"
∷ word (π ∷ α ∷ ν ∷ τ ∷ ὶ ∷ []) "1Tim.2.8"
∷ word (τ ∷ ό ∷ π ∷ ῳ ∷ []) "1Tim.2.8"
∷ word (ἐ ∷ π ∷ α ∷ ί ∷ ρ ∷ ο ∷ ν ∷ τ ∷ α ∷ ς ∷ []) "1Tim.2.8"
∷ word (ὁ ∷ σ ∷ ί ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.2.8"
∷ word (χ ∷ ε ∷ ῖ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.2.8"
∷ word (χ ∷ ω ∷ ρ ∷ ὶ ∷ ς ∷ []) "1Tim.2.8"
∷ word (ὀ ∷ ρ ∷ γ ∷ ῆ ∷ ς ∷ []) "1Tim.2.8"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.8"
∷ word (δ ∷ ι ∷ α ∷ ∙λ ∷ ο ∷ γ ∷ ι ∷ σ ∷ μ ∷ ο ∷ ῦ ∷ []) "1Tim.2.8"
∷ word (ὡ ∷ σ ∷ α ∷ ύ ∷ τ ∷ ω ∷ ς ∷ []) "1Tim.2.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.9"
∷ word (γ ∷ υ ∷ ν ∷ α ∷ ῖ ∷ κ ∷ α ∷ ς ∷ []) "1Tim.2.9"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.9"
∷ word (κ ∷ α ∷ τ ∷ α ∷ σ ∷ τ ∷ ο ∷ ∙λ ∷ ῇ ∷ []) "1Tim.2.9"
∷ word (κ ∷ ο ∷ σ ∷ μ ∷ ί ∷ ῳ ∷ []) "1Tim.2.9"
∷ word (μ ∷ ε ∷ τ ∷ ὰ ∷ []) "1Tim.2.9"
∷ word (α ∷ ἰ ∷ δ ∷ ο ∷ ῦ ∷ ς ∷ []) "1Tim.2.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.9"
∷ word (σ ∷ ω ∷ φ ∷ ρ ∷ ο ∷ σ ∷ ύ ∷ ν ∷ η ∷ ς ∷ []) "1Tim.2.9"
∷ word (κ ∷ ο ∷ σ ∷ μ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.2.9"
∷ word (ἑ ∷ α ∷ υ ∷ τ ∷ ά ∷ ς ∷ []) "1Tim.2.9"
∷ word (μ ∷ ὴ ∷ []) "1Tim.2.9"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.9"
∷ word (π ∷ ∙λ ∷ έ ∷ γ ∷ μ ∷ α ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.2.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.9"
∷ word (χ ∷ ρ ∷ υ ∷ σ ∷ ί ∷ ῳ ∷ []) "1Tim.2.9"
∷ word (ἢ ∷ []) "1Tim.2.9"
∷ word (μ ∷ α ∷ ρ ∷ γ ∷ α ∷ ρ ∷ ί ∷ τ ∷ α ∷ ι ∷ ς ∷ []) "1Tim.2.9"
∷ word (ἢ ∷ []) "1Tim.2.9"
∷ word (ἱ ∷ μ ∷ α ∷ τ ∷ ι ∷ σ ∷ μ ∷ ῷ ∷ []) "1Tim.2.9"
∷ word (π ∷ ο ∷ ∙λ ∷ υ ∷ τ ∷ ε ∷ ∙λ ∷ ε ∷ ῖ ∷ []) "1Tim.2.9"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ []) "1Tim.2.10"
∷ word (ὃ ∷ []) "1Tim.2.10"
∷ word (π ∷ ρ ∷ έ ∷ π ∷ ε ∷ ι ∷ []) "1Tim.2.10"
∷ word (γ ∷ υ ∷ ν ∷ α ∷ ι ∷ ξ ∷ ὶ ∷ ν ∷ []) "1Tim.2.10"
∷ word (ἐ ∷ π ∷ α ∷ γ ∷ γ ∷ ε ∷ ∙λ ∷ ∙λ ∷ ο ∷ μ ∷ έ ∷ ν ∷ α ∷ ι ∷ ς ∷ []) "1Tim.2.10"
∷ word (θ ∷ ε ∷ ο ∷ σ ∷ έ ∷ β ∷ ε ∷ ι ∷ α ∷ ν ∷ []) "1Tim.2.10"
∷ word (δ ∷ ι ∷ []) "1Tim.2.10"
∷ word (ἔ ∷ ρ ∷ γ ∷ ω ∷ ν ∷ []) "1Tim.2.10"
∷ word (ἀ ∷ γ ∷ α ∷ θ ∷ ῶ ∷ ν ∷ []) "1Tim.2.10"
∷ word (γ ∷ υ ∷ ν ∷ ὴ ∷ []) "1Tim.2.11"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.11"
∷ word (ἡ ∷ σ ∷ υ ∷ χ ∷ ί ∷ ᾳ ∷ []) "1Tim.2.11"
∷ word (μ ∷ α ∷ ν ∷ θ ∷ α ∷ ν ∷ έ ∷ τ ∷ ω ∷ []) "1Tim.2.11"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.11"
∷ word (π ∷ ά ∷ σ ∷ ῃ ∷ []) "1Tim.2.11"
∷ word (ὑ ∷ π ∷ ο ∷ τ ∷ α ∷ γ ∷ ῇ ∷ []) "1Tim.2.11"
∷ word (δ ∷ ι ∷ δ ∷ ά ∷ σ ∷ κ ∷ ε ∷ ι ∷ ν ∷ []) "1Tim.2.12"
∷ word (δ ∷ ὲ ∷ []) "1Tim.2.12"
∷ word (γ ∷ υ ∷ ν ∷ α ∷ ι ∷ κ ∷ ὶ ∷ []) "1Tim.2.12"
∷ word (ο ∷ ὐ ∷ κ ∷ []) "1Tim.2.12"
∷ word (ἐ ∷ π ∷ ι ∷ τ ∷ ρ ∷ έ ∷ π ∷ ω ∷ []) "1Tim.2.12"
∷ word (ο ∷ ὐ ∷ δ ∷ ὲ ∷ []) "1Tim.2.12"
∷ word (α ∷ ὐ ∷ θ ∷ ε ∷ ν ∷ τ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.2.12"
∷ word (ἀ ∷ ν ∷ δ ∷ ρ ∷ ό ∷ ς ∷ []) "1Tim.2.12"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ []) "1Tim.2.12"
∷ word (ε ∷ ἶ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.2.12"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.12"
∷ word (ἡ ∷ σ ∷ υ ∷ χ ∷ ί ∷ ᾳ ∷ []) "1Tim.2.12"
∷ word (Ἀ ∷ δ ∷ ὰ ∷ μ ∷ []) "1Tim.2.13"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.2.13"
∷ word (π ∷ ρ ∷ ῶ ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.2.13"
∷ word (ἐ ∷ π ∷ ∙λ ∷ ά ∷ σ ∷ θ ∷ η ∷ []) "1Tim.2.13"
∷ word (ε ∷ ἶ ∷ τ ∷ α ∷ []) "1Tim.2.13"
∷ word (Ε ∷ ὕ ∷ α ∷ []) "1Tim.2.13"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.14"
∷ word (Ἀ ∷ δ ∷ ὰ ∷ μ ∷ []) "1Tim.2.14"
∷ word (ο ∷ ὐ ∷ κ ∷ []) "1Tim.2.14"
∷ word (ἠ ∷ π ∷ α ∷ τ ∷ ή ∷ θ ∷ η ∷ []) "1Tim.2.14"
∷ word (ἡ ∷ []) "1Tim.2.14"
∷ word (δ ∷ ὲ ∷ []) "1Tim.2.14"
∷ word (γ ∷ υ ∷ ν ∷ ὴ ∷ []) "1Tim.2.14"
∷ word (ἐ ∷ ξ ∷ α ∷ π ∷ α ∷ τ ∷ η ∷ θ ∷ ε ∷ ῖ ∷ σ ∷ α ∷ []) "1Tim.2.14"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.14"
∷ word (π ∷ α ∷ ρ ∷ α ∷ β ∷ ά ∷ σ ∷ ε ∷ ι ∷ []) "1Tim.2.14"
∷ word (γ ∷ έ ∷ γ ∷ ο ∷ ν ∷ ε ∷ ν ∷ []) "1Tim.2.14"
∷ word (σ ∷ ω ∷ θ ∷ ή ∷ σ ∷ ε ∷ τ ∷ α ∷ ι ∷ []) "1Tim.2.15"
∷ word (δ ∷ ὲ ∷ []) "1Tim.2.15"
∷ word (δ ∷ ι ∷ ὰ ∷ []) "1Tim.2.15"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.2.15"
∷ word (τ ∷ ε ∷ κ ∷ ν ∷ ο ∷ γ ∷ ο ∷ ν ∷ ί ∷ α ∷ ς ∷ []) "1Tim.2.15"
∷ word (ἐ ∷ ὰ ∷ ν ∷ []) "1Tim.2.15"
∷ word (μ ∷ ε ∷ ί ∷ ν ∷ ω ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.2.15"
∷ word (ἐ ∷ ν ∷ []) "1Tim.2.15"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ι ∷ []) "1Tim.2.15"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.15"
∷ word (ἀ ∷ γ ∷ ά ∷ π ∷ ῃ ∷ []) "1Tim.2.15"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.2.15"
∷ word (ἁ ∷ γ ∷ ι ∷ α ∷ σ ∷ μ ∷ ῷ ∷ []) "1Tim.2.15"
∷ word (μ ∷ ε ∷ τ ∷ ὰ ∷ []) "1Tim.2.15"
∷ word (σ ∷ ω ∷ φ ∷ ρ ∷ ο ∷ σ ∷ ύ ∷ ν ∷ η ∷ ς ∷ []) "1Tim.2.15"
∷ word (Π ∷ ι ∷ σ ∷ τ ∷ ὸ ∷ ς ∷ []) "1Tim.3.1"
∷ word (ὁ ∷ []) "1Tim.3.1"
∷ word (∙λ ∷ ό ∷ γ ∷ ο ∷ ς ∷ []) "1Tim.3.1"
∷ word (ε ∷ ἴ ∷ []) "1Tim.3.1"
∷ word (τ ∷ ι ∷ ς ∷ []) "1Tim.3.1"
∷ word (ἐ ∷ π ∷ ι ∷ σ ∷ κ ∷ ο ∷ π ∷ ῆ ∷ ς ∷ []) "1Tim.3.1"
∷ word (ὀ ∷ ρ ∷ έ ∷ γ ∷ ε ∷ τ ∷ α ∷ ι ∷ []) "1Tim.3.1"
∷ word (κ ∷ α ∷ ∙λ ∷ ο ∷ ῦ ∷ []) "1Tim.3.1"
∷ word (ἔ ∷ ρ ∷ γ ∷ ο ∷ υ ∷ []) "1Tim.3.1"
∷ word (ἐ ∷ π ∷ ι ∷ θ ∷ υ ∷ μ ∷ ε ∷ ῖ ∷ []) "1Tim.3.1"
∷ word (δ ∷ ε ∷ ῖ ∷ []) "1Tim.3.2"
∷ word (ο ∷ ὖ ∷ ν ∷ []) "1Tim.3.2"
∷ word (τ ∷ ὸ ∷ ν ∷ []) "1Tim.3.2"
∷ word (ἐ ∷ π ∷ ί ∷ σ ∷ κ ∷ ο ∷ π ∷ ο ∷ ν ∷ []) "1Tim.3.2"
∷ word (ἀ ∷ ν ∷ ε ∷ π ∷ ί ∷ ∙λ ∷ η ∷ μ ∷ π ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.3.2"
∷ word (ε ∷ ἶ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.3.2"
∷ word (μ ∷ ι ∷ ᾶ ∷ ς ∷ []) "1Tim.3.2"
∷ word (γ ∷ υ ∷ ν ∷ α ∷ ι ∷ κ ∷ ὸ ∷ ς ∷ []) "1Tim.3.2"
∷ word (ἄ ∷ ν ∷ δ ∷ ρ ∷ α ∷ []) "1Tim.3.2"
∷ word (ν ∷ η ∷ φ ∷ ά ∷ ∙λ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.3.2"
∷ word (σ ∷ ώ ∷ φ ∷ ρ ∷ ο ∷ ν ∷ α ∷ []) "1Tim.3.2"
∷ word (κ ∷ ό ∷ σ ∷ μ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.3.2"
∷ word (φ ∷ ι ∷ ∙λ ∷ ό ∷ ξ ∷ ε ∷ ν ∷ ο ∷ ν ∷ []) "1Tim.3.2"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ κ ∷ τ ∷ ι ∷ κ ∷ ό ∷ ν ∷ []) "1Tim.3.2"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.3"
∷ word (π ∷ ά ∷ ρ ∷ ο ∷ ι ∷ ν ∷ ο ∷ ν ∷ []) "1Tim.3.3"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.3"
∷ word (π ∷ ∙λ ∷ ή ∷ κ ∷ τ ∷ η ∷ ν ∷ []) "1Tim.3.3"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.3.3"
∷ word (ἐ ∷ π ∷ ι ∷ ε ∷ ι ∷ κ ∷ ῆ ∷ []) "1Tim.3.3"
∷ word (ἄ ∷ μ ∷ α ∷ χ ∷ ο ∷ ν ∷ []) "1Tim.3.3"
∷ word (ἀ ∷ φ ∷ ι ∷ ∙λ ∷ ά ∷ ρ ∷ γ ∷ υ ∷ ρ ∷ ο ∷ ν ∷ []) "1Tim.3.3"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.3.4"
∷ word (ἰ ∷ δ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.3.4"
∷ word (ο ∷ ἴ ∷ κ ∷ ο ∷ υ ∷ []) "1Tim.3.4"
∷ word (κ ∷ α ∷ ∙λ ∷ ῶ ∷ ς ∷ []) "1Tim.3.4"
∷ word (π ∷ ρ ∷ ο ∷ ϊ ∷ σ ∷ τ ∷ ά ∷ μ ∷ ε ∷ ν ∷ ο ∷ ν ∷ []) "1Tim.3.4"
∷ word (τ ∷ έ ∷ κ ∷ ν ∷ α ∷ []) "1Tim.3.4"
∷ word (ἔ ∷ χ ∷ ο ∷ ν ∷ τ ∷ α ∷ []) "1Tim.3.4"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.4"
∷ word (ὑ ∷ π ∷ ο ∷ τ ∷ α ∷ γ ∷ ῇ ∷ []) "1Tim.3.4"
∷ word (μ ∷ ε ∷ τ ∷ ὰ ∷ []) "1Tim.3.4"
∷ word (π ∷ ά ∷ σ ∷ η ∷ ς ∷ []) "1Tim.3.4"
∷ word (σ ∷ ε ∷ μ ∷ ν ∷ ό ∷ τ ∷ η ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.3.4"
∷ word (ε ∷ ἰ ∷ []) "1Tim.3.5"
∷ word (δ ∷ έ ∷ []) "1Tim.3.5"
∷ word (τ ∷ ι ∷ ς ∷ []) "1Tim.3.5"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.3.5"
∷ word (ἰ ∷ δ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.3.5"
∷ word (ο ∷ ἴ ∷ κ ∷ ο ∷ υ ∷ []) "1Tim.3.5"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ τ ∷ ῆ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.3.5"
∷ word (ο ∷ ὐ ∷ κ ∷ []) "1Tim.3.5"
∷ word (ο ∷ ἶ ∷ δ ∷ ε ∷ ν ∷ []) "1Tim.3.5"
∷ word (π ∷ ῶ ∷ ς ∷ []) "1Tim.3.5"
∷ word (ἐ ∷ κ ∷ κ ∷ ∙λ ∷ η ∷ σ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.3.5"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.3.5"
∷ word (ἐ ∷ π ∷ ι ∷ μ ∷ ε ∷ ∙λ ∷ ή ∷ σ ∷ ε ∷ τ ∷ α ∷ ι ∷ []) "1Tim.3.5"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.6"
∷ word (ν ∷ ε ∷ ό ∷ φ ∷ υ ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.3.6"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.3.6"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.6"
∷ word (τ ∷ υ ∷ φ ∷ ω ∷ θ ∷ ε ∷ ὶ ∷ ς ∷ []) "1Tim.3.6"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.3.6"
∷ word (κ ∷ ρ ∷ ί ∷ μ ∷ α ∷ []) "1Tim.3.6"
∷ word (ἐ ∷ μ ∷ π ∷ έ ∷ σ ∷ ῃ ∷ []) "1Tim.3.6"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.3.6"
∷ word (δ ∷ ι ∷ α ∷ β ∷ ό ∷ ∙λ ∷ ο ∷ υ ∷ []) "1Tim.3.6"
∷ word (δ ∷ ε ∷ ῖ ∷ []) "1Tim.3.7"
∷ word (δ ∷ ὲ ∷ []) "1Tim.3.7"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.3.7"
∷ word (μ ∷ α ∷ ρ ∷ τ ∷ υ ∷ ρ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.3.7"
∷ word (κ ∷ α ∷ ∙λ ∷ ὴ ∷ ν ∷ []) "1Tim.3.7"
∷ word (ἔ ∷ χ ∷ ε ∷ ι ∷ ν ∷ []) "1Tim.3.7"
∷ word (ἀ ∷ π ∷ ὸ ∷ []) "1Tim.3.7"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.3.7"
∷ word (ἔ ∷ ξ ∷ ω ∷ θ ∷ ε ∷ ν ∷ []) "1Tim.3.7"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.3.7"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.7"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.3.7"
∷ word (ὀ ∷ ν ∷ ε ∷ ι ∷ δ ∷ ι ∷ σ ∷ μ ∷ ὸ ∷ ν ∷ []) "1Tim.3.7"
∷ word (ἐ ∷ μ ∷ π ∷ έ ∷ σ ∷ ῃ ∷ []) "1Tim.3.7"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.3.7"
∷ word (π ∷ α ∷ γ ∷ ί ∷ δ ∷ α ∷ []) "1Tim.3.7"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.3.7"
∷ word (δ ∷ ι ∷ α ∷ β ∷ ό ∷ ∙λ ∷ ο ∷ υ ∷ []) "1Tim.3.7"
∷ word (Δ ∷ ι ∷ α ∷ κ ∷ ό ∷ ν ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.3.8"
∷ word (ὡ ∷ σ ∷ α ∷ ύ ∷ τ ∷ ω ∷ ς ∷ []) "1Tim.3.8"
∷ word (σ ∷ ε ∷ μ ∷ ν ∷ ο ∷ ύ ∷ ς ∷ []) "1Tim.3.8"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.8"
∷ word (δ ∷ ι ∷ ∙λ ∷ ό ∷ γ ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.3.8"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.8"
∷ word (ο ∷ ἴ ∷ ν ∷ ῳ ∷ []) "1Tim.3.8"
∷ word (π ∷ ο ∷ ∙λ ∷ ∙λ ∷ ῷ ∷ []) "1Tim.3.8"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ έ ∷ χ ∷ ο ∷ ν ∷ τ ∷ α ∷ ς ∷ []) "1Tim.3.8"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.8"
∷ word (α ∷ ἰ ∷ σ ∷ χ ∷ ρ ∷ ο ∷ κ ∷ ε ∷ ρ ∷ δ ∷ ε ∷ ῖ ∷ ς ∷ []) "1Tim.3.8"
∷ word (ἔ ∷ χ ∷ ο ∷ ν ∷ τ ∷ α ∷ ς ∷ []) "1Tim.3.9"
∷ word (τ ∷ ὸ ∷ []) "1Tim.3.9"
∷ word (μ ∷ υ ∷ σ ∷ τ ∷ ή ∷ ρ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.3.9"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.3.9"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.3.9"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.9"
∷ word (κ ∷ α ∷ θ ∷ α ∷ ρ ∷ ᾷ ∷ []) "1Tim.3.9"
∷ word (σ ∷ υ ∷ ν ∷ ε ∷ ι ∷ δ ∷ ή ∷ σ ∷ ε ∷ ι ∷ []) "1Tim.3.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.3.10"
∷ word (ο ∷ ὗ ∷ τ ∷ ο ∷ ι ∷ []) "1Tim.3.10"
∷ word (δ ∷ ὲ ∷ []) "1Tim.3.10"
∷ word (δ ∷ ο ∷ κ ∷ ι ∷ μ ∷ α ∷ ζ ∷ έ ∷ σ ∷ θ ∷ ω ∷ σ ∷ α ∷ ν ∷ []) "1Tim.3.10"
∷ word (π ∷ ρ ∷ ῶ ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.3.10"
∷ word (ε ∷ ἶ ∷ τ ∷ α ∷ []) "1Tim.3.10"
∷ word (δ ∷ ι ∷ α ∷ κ ∷ ο ∷ ν ∷ ε ∷ ί ∷ τ ∷ ω ∷ σ ∷ α ∷ ν ∷ []) "1Tim.3.10"
∷ word (ἀ ∷ ν ∷ έ ∷ γ ∷ κ ∷ ∙λ ∷ η ∷ τ ∷ ο ∷ ι ∷ []) "1Tim.3.10"
∷ word (ὄ ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.3.10"
∷ word (γ ∷ υ ∷ ν ∷ α ∷ ῖ ∷ κ ∷ α ∷ ς ∷ []) "1Tim.3.11"
∷ word (ὡ ∷ σ ∷ α ∷ ύ ∷ τ ∷ ω ∷ ς ∷ []) "1Tim.3.11"
∷ word (σ ∷ ε ∷ μ ∷ ν ∷ ά ∷ ς ∷ []) "1Tim.3.11"
∷ word (μ ∷ ὴ ∷ []) "1Tim.3.11"
∷ word (δ ∷ ι ∷ α ∷ β ∷ ό ∷ ∙λ ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.3.11"
∷ word (ν ∷ η ∷ φ ∷ α ∷ ∙λ ∷ ί ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.3.11"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ὰ ∷ ς ∷ []) "1Tim.3.11"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.11"
∷ word (π ∷ ᾶ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.3.11"
∷ word (δ ∷ ι ∷ ά ∷ κ ∷ ο ∷ ν ∷ ο ∷ ι ∷ []) "1Tim.3.12"
∷ word (ἔ ∷ σ ∷ τ ∷ ω ∷ σ ∷ α ∷ ν ∷ []) "1Tim.3.12"
∷ word (μ ∷ ι ∷ ᾶ ∷ ς ∷ []) "1Tim.3.12"
∷ word (γ ∷ υ ∷ ν ∷ α ∷ ι ∷ κ ∷ ὸ ∷ ς ∷ []) "1Tim.3.12"
∷ word (ἄ ∷ ν ∷ δ ∷ ρ ∷ ε ∷ ς ∷ []) "1Tim.3.12"
∷ word (τ ∷ έ ∷ κ ∷ ν ∷ ω ∷ ν ∷ []) "1Tim.3.12"
∷ word (κ ∷ α ∷ ∙λ ∷ ῶ ∷ ς ∷ []) "1Tim.3.12"
∷ word (π ∷ ρ ∷ ο ∷ ϊ ∷ σ ∷ τ ∷ ά ∷ μ ∷ ε ∷ ν ∷ ο ∷ ι ∷ []) "1Tim.3.12"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.3.12"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.3.12"
∷ word (ἰ ∷ δ ∷ ί ∷ ω ∷ ν ∷ []) "1Tim.3.12"
∷ word (ο ∷ ἴ ∷ κ ∷ ω ∷ ν ∷ []) "1Tim.3.12"
∷ word (ο ∷ ἱ ∷ []) "1Tim.3.13"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.3.13"
∷ word (κ ∷ α ∷ ∙λ ∷ ῶ ∷ ς ∷ []) "1Tim.3.13"
∷ word (δ ∷ ι ∷ α ∷ κ ∷ ο ∷ ν ∷ ή ∷ σ ∷ α ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.3.13"
∷ word (β ∷ α ∷ θ ∷ μ ∷ ὸ ∷ ν ∷ []) "1Tim.3.13"
∷ word (ἑ ∷ α ∷ υ ∷ τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.3.13"
∷ word (κ ∷ α ∷ ∙λ ∷ ὸ ∷ ν ∷ []) "1Tim.3.13"
∷ word (π ∷ ε ∷ ρ ∷ ι ∷ π ∷ ο ∷ ι ∷ ο ∷ ῦ ∷ ν ∷ τ ∷ α ∷ ι ∷ []) "1Tim.3.13"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.3.13"
∷ word (π ∷ ο ∷ ∙λ ∷ ∙λ ∷ ὴ ∷ ν ∷ []) "1Tim.3.13"
∷ word (π ∷ α ∷ ρ ∷ ρ ∷ η ∷ σ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.3.13"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.13"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ι ∷ []) "1Tim.3.13"
∷ word (τ ∷ ῇ ∷ []) "1Tim.3.13"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.13"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ῷ ∷ []) "1Tim.3.13"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.3.13"
∷ word (Τ ∷ α ∷ ῦ ∷ τ ∷ ά ∷ []) "1Tim.3.14"
∷ word (σ ∷ ο ∷ ι ∷ []) "1Tim.3.14"
∷ word (γ ∷ ρ ∷ ά ∷ φ ∷ ω ∷ []) "1Tim.3.14"
∷ word (ἐ ∷ ∙λ ∷ π ∷ ί ∷ ζ ∷ ω ∷ ν ∷ []) "1Tim.3.14"
∷ word (ἐ ∷ ∙λ ∷ θ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.3.14"
∷ word (π ∷ ρ ∷ ὸ ∷ ς ∷ []) "1Tim.3.14"
∷ word (σ ∷ ὲ ∷ []) "1Tim.3.14"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.14"
∷ word (τ ∷ ά ∷ χ ∷ ε ∷ ι ∷ []) "1Tim.3.14"
∷ word (ἐ ∷ ὰ ∷ ν ∷ []) "1Tim.3.15"
∷ word (δ ∷ ὲ ∷ []) "1Tim.3.15"
∷ word (β ∷ ρ ∷ α ∷ δ ∷ ύ ∷ ν ∷ ω ∷ []) "1Tim.3.15"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.3.15"
∷ word (ε ∷ ἰ ∷ δ ∷ ῇ ∷ ς ∷ []) "1Tim.3.15"
∷ word (π ∷ ῶ ∷ ς ∷ []) "1Tim.3.15"
∷ word (δ ∷ ε ∷ ῖ ∷ []) "1Tim.3.15"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.15"
∷ word (ο ∷ ἴ ∷ κ ∷ ῳ ∷ []) "1Tim.3.15"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.3.15"
∷ word (ἀ ∷ ν ∷ α ∷ σ ∷ τ ∷ ρ ∷ έ ∷ φ ∷ ε ∷ σ ∷ θ ∷ α ∷ ι ∷ []) "1Tim.3.15"
∷ word (ἥ ∷ τ ∷ ι ∷ ς ∷ []) "1Tim.3.15"
∷ word (ἐ ∷ σ ∷ τ ∷ ὶ ∷ ν ∷ []) "1Tim.3.15"
∷ word (ἐ ∷ κ ∷ κ ∷ ∙λ ∷ η ∷ σ ∷ ί ∷ α ∷ []) "1Tim.3.15"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.3.15"
∷ word (ζ ∷ ῶ ∷ ν ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.3.15"
∷ word (σ ∷ τ ∷ ῦ ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Tim.3.15"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.3.15"
∷ word (ἑ ∷ δ ∷ ρ ∷ α ∷ ί ∷ ω ∷ μ ∷ α ∷ []) "1Tim.3.15"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.3.15"
∷ word (ἀ ∷ ∙λ ∷ η ∷ θ ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.3.15"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.3.16"
∷ word (ὁ ∷ μ ∷ ο ∷ ∙λ ∷ ο ∷ γ ∷ ο ∷ υ ∷ μ ∷ έ ∷ ν ∷ ω ∷ ς ∷ []) "1Tim.3.16"
∷ word (μ ∷ έ ∷ γ ∷ α ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ σ ∷ τ ∷ ὶ ∷ ν ∷ []) "1Tim.3.16"
∷ word (τ ∷ ὸ ∷ []) "1Tim.3.16"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.3.16"
∷ word (ε ∷ ὐ ∷ σ ∷ ε ∷ β ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.3.16"
∷ word (μ ∷ υ ∷ σ ∷ τ ∷ ή ∷ ρ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.3.16"
∷ word (Ὃ ∷ ς ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ φ ∷ α ∷ ν ∷ ε ∷ ρ ∷ ώ ∷ θ ∷ η ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.16"
∷ word (σ ∷ α ∷ ρ ∷ κ ∷ ί ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ δ ∷ ι ∷ κ ∷ α ∷ ι ∷ ώ ∷ θ ∷ η ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.16"
∷ word (π ∷ ν ∷ ε ∷ ύ ∷ μ ∷ α ∷ τ ∷ ι ∷ []) "1Tim.3.16"
∷ word (ὤ ∷ φ ∷ θ ∷ η ∷ []) "1Tim.3.16"
∷ word (ἀ ∷ γ ∷ γ ∷ έ ∷ ∙λ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ κ ∷ η ∷ ρ ∷ ύ ∷ χ ∷ θ ∷ η ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.16"
∷ word (ἔ ∷ θ ∷ ν ∷ ε ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ π ∷ ι ∷ σ ∷ τ ∷ ε ∷ ύ ∷ θ ∷ η ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.16"
∷ word (κ ∷ ό ∷ σ ∷ μ ∷ ῳ ∷ []) "1Tim.3.16"
∷ word (ἀ ∷ ν ∷ ε ∷ ∙λ ∷ ή ∷ μ ∷ φ ∷ θ ∷ η ∷ []) "1Tim.3.16"
∷ word (ἐ ∷ ν ∷ []) "1Tim.3.16"
∷ word (δ ∷ ό ∷ ξ ∷ ῃ ∷ []) "1Tim.3.16"
∷ word (Τ ∷ ὸ ∷ []) "1Tim.4.1"
∷ word (δ ∷ ὲ ∷ []) "1Tim.4.1"
∷ word (π ∷ ν ∷ ε ∷ ῦ ∷ μ ∷ α ∷ []) "1Tim.4.1"
∷ word (ῥ ∷ η ∷ τ ∷ ῶ ∷ ς ∷ []) "1Tim.4.1"
∷ word (∙λ ∷ έ ∷ γ ∷ ε ∷ ι ∷ []) "1Tim.4.1"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.4.1"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.1"
∷ word (ὑ ∷ σ ∷ τ ∷ έ ∷ ρ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.4.1"
∷ word (κ ∷ α ∷ ι ∷ ρ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.4.1"
∷ word (ἀ ∷ π ∷ ο ∷ σ ∷ τ ∷ ή ∷ σ ∷ ο ∷ ν ∷ τ ∷ α ∷ ί ∷ []) "1Tim.4.1"
∷ word (τ ∷ ι ∷ ν ∷ ε ∷ ς ∷ []) "1Tim.4.1"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.4.1"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.4.1"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ έ ∷ χ ∷ ο ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.4.1"
∷ word (π ∷ ν ∷ ε ∷ ύ ∷ μ ∷ α ∷ σ ∷ ι ∷ []) "1Tim.4.1"
∷ word (π ∷ ∙λ ∷ ά ∷ ν ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.4.1"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.1"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ί ∷ α ∷ ι ∷ ς ∷ []) "1Tim.4.1"
∷ word (δ ∷ α ∷ ι ∷ μ ∷ ο ∷ ν ∷ ί ∷ ω ∷ ν ∷ []) "1Tim.4.1"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.2"
∷ word (ὑ ∷ π ∷ ο ∷ κ ∷ ρ ∷ ί ∷ σ ∷ ε ∷ ι ∷ []) "1Tim.4.2"
∷ word (ψ ∷ ε ∷ υ ∷ δ ∷ ο ∷ ∙λ ∷ ό ∷ γ ∷ ω ∷ ν ∷ []) "1Tim.4.2"
∷ word (κ ∷ ε ∷ κ ∷ α ∷ υ ∷ σ ∷ τ ∷ η ∷ ρ ∷ ι ∷ α ∷ σ ∷ μ ∷ έ ∷ ν ∷ ω ∷ ν ∷ []) "1Tim.4.2"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.4.2"
∷ word (ἰ ∷ δ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.4.2"
∷ word (σ ∷ υ ∷ ν ∷ ε ∷ ί ∷ δ ∷ η ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.4.2"
∷ word (κ ∷ ω ∷ ∙λ ∷ υ ∷ ό ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.4.3"
∷ word (γ ∷ α ∷ μ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.4.3"
∷ word (ἀ ∷ π ∷ έ ∷ χ ∷ ε ∷ σ ∷ θ ∷ α ∷ ι ∷ []) "1Tim.4.3"
∷ word (β ∷ ρ ∷ ω ∷ μ ∷ ά ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.4.3"
∷ word (ἃ ∷ []) "1Tim.4.3"
∷ word (ὁ ∷ []) "1Tim.4.3"
∷ word (θ ∷ ε ∷ ὸ ∷ ς ∷ []) "1Tim.4.3"
∷ word (ἔ ∷ κ ∷ τ ∷ ι ∷ σ ∷ ε ∷ ν ∷ []) "1Tim.4.3"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.4.3"
∷ word (μ ∷ ε ∷ τ ∷ ά ∷ ∙λ ∷ η ∷ μ ∷ ψ ∷ ι ∷ ν ∷ []) "1Tim.4.3"
∷ word (μ ∷ ε ∷ τ ∷ ὰ ∷ []) "1Tim.4.3"
∷ word (ε ∷ ὐ ∷ χ ∷ α ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.4.3"
∷ word (τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.4.3"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.4.3"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.3"
∷ word (ἐ ∷ π ∷ ε ∷ γ ∷ ν ∷ ω ∷ κ ∷ ό ∷ σ ∷ ι ∷ []) "1Tim.4.3"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.4.3"
∷ word (ἀ ∷ ∙λ ∷ ή ∷ θ ∷ ε ∷ ι ∷ α ∷ ν ∷ []) "1Tim.4.3"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.4.4"
∷ word (π ∷ ᾶ ∷ ν ∷ []) "1Tim.4.4"
∷ word (κ ∷ τ ∷ ί ∷ σ ∷ μ ∷ α ∷ []) "1Tim.4.4"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.4.4"
∷ word (κ ∷ α ∷ ∙λ ∷ ό ∷ ν ∷ []) "1Tim.4.4"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.4"
∷ word (ο ∷ ὐ ∷ δ ∷ ὲ ∷ ν ∷ []) "1Tim.4.4"
∷ word (ἀ ∷ π ∷ ό ∷ β ∷ ∙λ ∷ η ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.4.4"
∷ word (μ ∷ ε ∷ τ ∷ ὰ ∷ []) "1Tim.4.4"
∷ word (ε ∷ ὐ ∷ χ ∷ α ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.4.4"
∷ word (∙λ ∷ α ∷ μ ∷ β ∷ α ∷ ν ∷ ό ∷ μ ∷ ε ∷ ν ∷ ο ∷ ν ∷ []) "1Tim.4.4"
∷ word (ἁ ∷ γ ∷ ι ∷ ά ∷ ζ ∷ ε ∷ τ ∷ α ∷ ι ∷ []) "1Tim.4.5"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.4.5"
∷ word (δ ∷ ι ∷ ὰ ∷ []) "1Tim.4.5"
∷ word (∙λ ∷ ό ∷ γ ∷ ο ∷ υ ∷ []) "1Tim.4.5"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.4.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.5"
∷ word (ἐ ∷ ν ∷ τ ∷ ε ∷ ύ ∷ ξ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.4.5"
∷ word (Τ ∷ α ∷ ῦ ∷ τ ∷ α ∷ []) "1Tim.4.6"
∷ word (ὑ ∷ π ∷ ο ∷ τ ∷ ι ∷ θ ∷ έ ∷ μ ∷ ε ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.4.6"
∷ word (τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.4.6"
∷ word (ἀ ∷ δ ∷ ε ∷ ∙λ ∷ φ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.4.6"
∷ word (κ ∷ α ∷ ∙λ ∷ ὸ ∷ ς ∷ []) "1Tim.4.6"
∷ word (ἔ ∷ σ ∷ ῃ ∷ []) "1Tim.4.6"
∷ word (δ ∷ ι ∷ ά ∷ κ ∷ ο ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.4.6"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.4.6"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.4.6"
∷ word (ἐ ∷ ν ∷ τ ∷ ρ ∷ ε ∷ φ ∷ ό ∷ μ ∷ ε ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.4.6"
∷ word (τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.4.6"
∷ word (∙λ ∷ ό ∷ γ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.4.6"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.4.6"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.4.6"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.6"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.4.6"
∷ word (κ ∷ α ∷ ∙λ ∷ ῆ ∷ ς ∷ []) "1Tim.4.6"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.4.6"
∷ word (ᾗ ∷ []) "1Tim.4.6"
∷ word (π ∷ α ∷ ρ ∷ η ∷ κ ∷ ο ∷ ∙λ ∷ ο ∷ ύ ∷ θ ∷ η ∷ κ ∷ α ∷ ς ∷ []) "1Tim.4.6"
∷ word (τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.4.7"
∷ word (δ ∷ ὲ ∷ []) "1Tim.4.7"
∷ word (β ∷ ε ∷ β ∷ ή ∷ ∙λ ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.4.7"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.7"
∷ word (γ ∷ ρ ∷ α ∷ ώ ∷ δ ∷ ε ∷ ι ∷ ς ∷ []) "1Tim.4.7"
∷ word (μ ∷ ύ ∷ θ ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.4.7"
∷ word (π ∷ α ∷ ρ ∷ α ∷ ι ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.4.7"
∷ word (γ ∷ ύ ∷ μ ∷ ν ∷ α ∷ ζ ∷ ε ∷ []) "1Tim.4.7"
∷ word (δ ∷ ὲ ∷ []) "1Tim.4.7"
∷ word (σ ∷ ε ∷ α ∷ υ ∷ τ ∷ ὸ ∷ ν ∷ []) "1Tim.4.7"
∷ word (π ∷ ρ ∷ ὸ ∷ ς ∷ []) "1Tim.4.7"
∷ word (ε ∷ ὐ ∷ σ ∷ έ ∷ β ∷ ε ∷ ι ∷ α ∷ ν ∷ []) "1Tim.4.7"
∷ word (ἡ ∷ []) "1Tim.4.8"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.4.8"
∷ word (σ ∷ ω ∷ μ ∷ α ∷ τ ∷ ι ∷ κ ∷ ὴ ∷ []) "1Tim.4.8"
∷ word (γ ∷ υ ∷ μ ∷ ν ∷ α ∷ σ ∷ ί ∷ α ∷ []) "1Tim.4.8"
∷ word (π ∷ ρ ∷ ὸ ∷ ς ∷ []) "1Tim.4.8"
∷ word (ὀ ∷ ∙λ ∷ ί ∷ γ ∷ ο ∷ ν ∷ []) "1Tim.4.8"
∷ word (ἐ ∷ σ ∷ τ ∷ ὶ ∷ ν ∷ []) "1Tim.4.8"
∷ word (ὠ ∷ φ ∷ έ ∷ ∙λ ∷ ι ∷ μ ∷ ο ∷ ς ∷ []) "1Tim.4.8"
∷ word (ἡ ∷ []) "1Tim.4.8"
∷ word (δ ∷ ὲ ∷ []) "1Tim.4.8"
∷ word (ε ∷ ὐ ∷ σ ∷ έ ∷ β ∷ ε ∷ ι ∷ α ∷ []) "1Tim.4.8"
∷ word (π ∷ ρ ∷ ὸ ∷ ς ∷ []) "1Tim.4.8"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ α ∷ []) "1Tim.4.8"
∷ word (ὠ ∷ φ ∷ έ ∷ ∙λ ∷ ι ∷ μ ∷ ό ∷ ς ∷ []) "1Tim.4.8"
∷ word (ἐ ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.4.8"
∷ word (ἐ ∷ π ∷ α ∷ γ ∷ γ ∷ ε ∷ ∙λ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.4.8"
∷ word (ἔ ∷ χ ∷ ο ∷ υ ∷ σ ∷ α ∷ []) "1Tim.4.8"
∷ word (ζ ∷ ω ∷ ῆ ∷ ς ∷ []) "1Tim.4.8"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.4.8"
∷ word (ν ∷ ῦ ∷ ν ∷ []) "1Tim.4.8"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.8"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.4.8"
∷ word (μ ∷ ε ∷ ∙λ ∷ ∙λ ∷ ο ∷ ύ ∷ σ ∷ η ∷ ς ∷ []) "1Tim.4.8"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ὸ ∷ ς ∷ []) "1Tim.4.9"
∷ word (ὁ ∷ []) "1Tim.4.9"
∷ word (∙λ ∷ ό ∷ γ ∷ ο ∷ ς ∷ []) "1Tim.4.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.9"
∷ word (π ∷ ά ∷ σ ∷ η ∷ ς ∷ []) "1Tim.4.9"
∷ word (ἀ ∷ π ∷ ο ∷ δ ∷ ο ∷ χ ∷ ῆ ∷ ς ∷ []) "1Tim.4.9"
∷ word (ἄ ∷ ξ ∷ ι ∷ ο ∷ ς ∷ []) "1Tim.4.9"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.4.10"
∷ word (τ ∷ ο ∷ ῦ ∷ τ ∷ ο ∷ []) "1Tim.4.10"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.4.10"
∷ word (κ ∷ ο ∷ π ∷ ι ∷ ῶ ∷ μ ∷ ε ∷ ν ∷ []) "1Tim.4.10"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.10"
∷ word (ὀ ∷ ν ∷ ε ∷ ι ∷ δ ∷ ι ∷ ζ ∷ ό ∷ μ ∷ ε ∷ θ ∷ α ∷ []) "1Tim.4.10"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.4.10"
∷ word (ἠ ∷ ∙λ ∷ π ∷ ί ∷ κ ∷ α ∷ μ ∷ ε ∷ ν ∷ []) "1Tim.4.10"
∷ word (ἐ ∷ π ∷ ὶ ∷ []) "1Tim.4.10"
∷ word (θ ∷ ε ∷ ῷ ∷ []) "1Tim.4.10"
∷ word (ζ ∷ ῶ ∷ ν ∷ τ ∷ ι ∷ []) "1Tim.4.10"
∷ word (ὅ ∷ ς ∷ []) "1Tim.4.10"
∷ word (ἐ ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.4.10"
∷ word (σ ∷ ω ∷ τ ∷ ὴ ∷ ρ ∷ []) "1Tim.4.10"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.4.10"
∷ word (ἀ ∷ ν ∷ θ ∷ ρ ∷ ώ ∷ π ∷ ω ∷ ν ∷ []) "1Tim.4.10"
∷ word (μ ∷ ά ∷ ∙λ ∷ ι ∷ σ ∷ τ ∷ α ∷ []) "1Tim.4.10"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ῶ ∷ ν ∷ []) "1Tim.4.10"
∷ word (Π ∷ α ∷ ρ ∷ ά ∷ γ ∷ γ ∷ ε ∷ ∙λ ∷ ∙λ ∷ ε ∷ []) "1Tim.4.11"
∷ word (τ ∷ α ∷ ῦ ∷ τ ∷ α ∷ []) "1Tim.4.11"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.11"
∷ word (δ ∷ ί ∷ δ ∷ α ∷ σ ∷ κ ∷ ε ∷ []) "1Tim.4.11"
∷ word (μ ∷ η ∷ δ ∷ ε ∷ ί ∷ ς ∷ []) "1Tim.4.12"
∷ word (σ ∷ ο ∷ υ ∷ []) "1Tim.4.12"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.4.12"
∷ word (ν ∷ ε ∷ ό ∷ τ ∷ η ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.4.12"
∷ word (κ ∷ α ∷ τ ∷ α ∷ φ ∷ ρ ∷ ο ∷ ν ∷ ε ∷ ί ∷ τ ∷ ω ∷ []) "1Tim.4.12"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.4.12"
∷ word (τ ∷ ύ ∷ π ∷ ο ∷ ς ∷ []) "1Tim.4.12"
∷ word (γ ∷ ί ∷ ν ∷ ο ∷ υ ∷ []) "1Tim.4.12"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.4.12"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ῶ ∷ ν ∷ []) "1Tim.4.12"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.12"
∷ word (∙λ ∷ ό ∷ γ ∷ ῳ ∷ []) "1Tim.4.12"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.12"
∷ word (ἀ ∷ ν ∷ α ∷ σ ∷ τ ∷ ρ ∷ ο ∷ φ ∷ ῇ ∷ []) "1Tim.4.12"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.12"
∷ word (ἀ ∷ γ ∷ ά ∷ π ∷ ῃ ∷ []) "1Tim.4.12"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.12"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ι ∷ []) "1Tim.4.12"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.12"
∷ word (ἁ ∷ γ ∷ ν ∷ ε ∷ ί ∷ ᾳ ∷ []) "1Tim.4.12"
∷ word (ἕ ∷ ω ∷ ς ∷ []) "1Tim.4.13"
∷ word (ἔ ∷ ρ ∷ χ ∷ ο ∷ μ ∷ α ∷ ι ∷ []) "1Tim.4.13"
∷ word (π ∷ ρ ∷ ό ∷ σ ∷ ε ∷ χ ∷ ε ∷ []) "1Tim.4.13"
∷ word (τ ∷ ῇ ∷ []) "1Tim.4.13"
∷ word (ἀ ∷ ν ∷ α ∷ γ ∷ ν ∷ ώ ∷ σ ∷ ε ∷ ι ∷ []) "1Tim.4.13"
∷ word (τ ∷ ῇ ∷ []) "1Tim.4.13"
∷ word (π ∷ α ∷ ρ ∷ α ∷ κ ∷ ∙λ ∷ ή ∷ σ ∷ ε ∷ ι ∷ []) "1Tim.4.13"
∷ word (τ ∷ ῇ ∷ []) "1Tim.4.13"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ί ∷ ᾳ ∷ []) "1Tim.4.13"
∷ word (μ ∷ ὴ ∷ []) "1Tim.4.14"
∷ word (ἀ ∷ μ ∷ έ ∷ ∙λ ∷ ε ∷ ι ∷ []) "1Tim.4.14"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.4.14"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.14"
∷ word (σ ∷ ο ∷ ὶ ∷ []) "1Tim.4.14"
∷ word (χ ∷ α ∷ ρ ∷ ί ∷ σ ∷ μ ∷ α ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.4.14"
∷ word (ὃ ∷ []) "1Tim.4.14"
∷ word (ἐ ∷ δ ∷ ό ∷ θ ∷ η ∷ []) "1Tim.4.14"
∷ word (σ ∷ ο ∷ ι ∷ []) "1Tim.4.14"
∷ word (δ ∷ ι ∷ ὰ ∷ []) "1Tim.4.14"
∷ word (π ∷ ρ ∷ ο ∷ φ ∷ η ∷ τ ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.4.14"
∷ word (μ ∷ ε ∷ τ ∷ ὰ ∷ []) "1Tim.4.14"
∷ word (ἐ ∷ π ∷ ι ∷ θ ∷ έ ∷ σ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.4.14"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.4.14"
∷ word (χ ∷ ε ∷ ι ∷ ρ ∷ ῶ ∷ ν ∷ []) "1Tim.4.14"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.4.14"
∷ word (π ∷ ρ ∷ ε ∷ σ ∷ β ∷ υ ∷ τ ∷ ε ∷ ρ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.4.14"
∷ word (τ ∷ α ∷ ῦ ∷ τ ∷ α ∷ []) "1Tim.4.15"
∷ word (μ ∷ ε ∷ ∙λ ∷ έ ∷ τ ∷ α ∷ []) "1Tim.4.15"
∷ word (ἐ ∷ ν ∷ []) "1Tim.4.15"
∷ word (τ ∷ ο ∷ ύ ∷ τ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.4.15"
∷ word (ἴ ∷ σ ∷ θ ∷ ι ∷ []) "1Tim.4.15"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.4.15"
∷ word (σ ∷ ο ∷ υ ∷ []) "1Tim.4.15"
∷ word (ἡ ∷ []) "1Tim.4.15"
∷ word (π ∷ ρ ∷ ο ∷ κ ∷ ο ∷ π ∷ ὴ ∷ []) "1Tim.4.15"
∷ word (φ ∷ α ∷ ν ∷ ε ∷ ρ ∷ ὰ ∷ []) "1Tim.4.15"
∷ word (ᾖ ∷ []) "1Tim.4.15"
∷ word (π ∷ ᾶ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.4.15"
∷ word (ἔ ∷ π ∷ ε ∷ χ ∷ ε ∷ []) "1Tim.4.16"
∷ word (σ ∷ ε ∷ α ∷ υ ∷ τ ∷ ῷ ∷ []) "1Tim.4.16"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.16"
∷ word (τ ∷ ῇ ∷ []) "1Tim.4.16"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ί ∷ ᾳ ∷ []) "1Tim.4.16"
∷ word (ἐ ∷ π ∷ ί ∷ μ ∷ ε ∷ ν ∷ ε ∷ []) "1Tim.4.16"
∷ word (α ∷ ὐ ∷ τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.4.16"
∷ word (τ ∷ ο ∷ ῦ ∷ τ ∷ ο ∷ []) "1Tim.4.16"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.4.16"
∷ word (π ∷ ο ∷ ι ∷ ῶ ∷ ν ∷ []) "1Tim.4.16"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.16"
∷ word (σ ∷ ε ∷ α ∷ υ ∷ τ ∷ ὸ ∷ ν ∷ []) "1Tim.4.16"
∷ word (σ ∷ ώ ∷ σ ∷ ε ∷ ι ∷ ς ∷ []) "1Tim.4.16"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.4.16"
∷ word (τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.4.16"
∷ word (ἀ ∷ κ ∷ ο ∷ ύ ∷ ο ∷ ν ∷ τ ∷ ά ∷ ς ∷ []) "1Tim.4.16"
∷ word (σ ∷ ο ∷ υ ∷ []) "1Tim.4.16"
∷ word (Π ∷ ρ ∷ ε ∷ σ ∷ β ∷ υ ∷ τ ∷ έ ∷ ρ ∷ ῳ ∷ []) "1Tim.5.1"
∷ word (μ ∷ ὴ ∷ []) "1Tim.5.1"
∷ word (ἐ ∷ π ∷ ι ∷ π ∷ ∙λ ∷ ή ∷ ξ ∷ ῃ ∷ ς ∷ []) "1Tim.5.1"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.5.1"
∷ word (π ∷ α ∷ ρ ∷ α ∷ κ ∷ ά ∷ ∙λ ∷ ε ∷ ι ∷ []) "1Tim.5.1"
∷ word (ὡ ∷ ς ∷ []) "1Tim.5.1"
∷ word (π ∷ α ∷ τ ∷ έ ∷ ρ ∷ α ∷ []) "1Tim.5.1"
∷ word (ν ∷ ε ∷ ω ∷ τ ∷ έ ∷ ρ ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.5.1"
∷ word (ὡ ∷ ς ∷ []) "1Tim.5.1"
∷ word (ἀ ∷ δ ∷ ε ∷ ∙λ ∷ φ ∷ ο ∷ ύ ∷ ς ∷ []) "1Tim.5.1"
∷ word (π ∷ ρ ∷ ε ∷ σ ∷ β ∷ υ ∷ τ ∷ έ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.2"
∷ word (ὡ ∷ ς ∷ []) "1Tim.5.2"
∷ word (μ ∷ η ∷ τ ∷ έ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.2"
∷ word (ν ∷ ε ∷ ω ∷ τ ∷ έ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.2"
∷ word (ὡ ∷ ς ∷ []) "1Tim.5.2"
∷ word (ἀ ∷ δ ∷ ε ∷ ∙λ ∷ φ ∷ ὰ ∷ ς ∷ []) "1Tim.5.2"
∷ word (ἐ ∷ ν ∷ []) "1Tim.5.2"
∷ word (π ∷ ά ∷ σ ∷ ῃ ∷ []) "1Tim.5.2"
∷ word (ἁ ∷ γ ∷ ν ∷ ε ∷ ί ∷ ᾳ ∷ []) "1Tim.5.2"
∷ word (Χ ∷ ή ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.3"
∷ word (τ ∷ ί ∷ μ ∷ α ∷ []) "1Tim.5.3"
∷ word (τ ∷ ὰ ∷ ς ∷ []) "1Tim.5.3"
∷ word (ὄ ∷ ν ∷ τ ∷ ω ∷ ς ∷ []) "1Tim.5.3"
∷ word (χ ∷ ή ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.3"
∷ word (ε ∷ ἰ ∷ []) "1Tim.5.4"
∷ word (δ ∷ έ ∷ []) "1Tim.5.4"
∷ word (τ ∷ ι ∷ ς ∷ []) "1Tim.5.4"
∷ word (χ ∷ ή ∷ ρ ∷ α ∷ []) "1Tim.5.4"
∷ word (τ ∷ έ ∷ κ ∷ ν ∷ α ∷ []) "1Tim.5.4"
∷ word (ἢ ∷ []) "1Tim.5.4"
∷ word (ἔ ∷ κ ∷ γ ∷ ο ∷ ν ∷ α ∷ []) "1Tim.5.4"
∷ word (ἔ ∷ χ ∷ ε ∷ ι ∷ []) "1Tim.5.4"
∷ word (μ ∷ α ∷ ν ∷ θ ∷ α ∷ ν ∷ έ ∷ τ ∷ ω ∷ σ ∷ α ∷ ν ∷ []) "1Tim.5.4"
∷ word (π ∷ ρ ∷ ῶ ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.5.4"
∷ word (τ ∷ ὸ ∷ ν ∷ []) "1Tim.5.4"
∷ word (ἴ ∷ δ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.5.4"
∷ word (ο ∷ ἶ ∷ κ ∷ ο ∷ ν ∷ []) "1Tim.5.4"
∷ word (ε ∷ ὐ ∷ σ ∷ ε ∷ β ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.5.4"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.4"
∷ word (ἀ ∷ μ ∷ ο ∷ ι ∷ β ∷ ὰ ∷ ς ∷ []) "1Tim.5.4"
∷ word (ἀ ∷ π ∷ ο ∷ δ ∷ ι ∷ δ ∷ ό ∷ ν ∷ α ∷ ι ∷ []) "1Tim.5.4"
∷ word (τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.5.4"
∷ word (π ∷ ρ ∷ ο ∷ γ ∷ ό ∷ ν ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.5.4"
∷ word (τ ∷ ο ∷ ῦ ∷ τ ∷ ο ∷ []) "1Tim.5.4"
∷ word (γ ∷ ά ∷ ρ ∷ []) "1Tim.5.4"
∷ word (ἐ ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.5.4"
∷ word (ἀ ∷ π ∷ ό ∷ δ ∷ ε ∷ κ ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.5.4"
∷ word (ἐ ∷ ν ∷ ώ ∷ π ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.5.4"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.4"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.5.4"
∷ word (ἡ ∷ []) "1Tim.5.5"
∷ word (δ ∷ ὲ ∷ []) "1Tim.5.5"
∷ word (ὄ ∷ ν ∷ τ ∷ ω ∷ ς ∷ []) "1Tim.5.5"
∷ word (χ ∷ ή ∷ ρ ∷ α ∷ []) "1Tim.5.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.5"
∷ word (μ ∷ ε ∷ μ ∷ ο ∷ ν ∷ ω ∷ μ ∷ έ ∷ ν ∷ η ∷ []) "1Tim.5.5"
∷ word (ἤ ∷ ∙λ ∷ π ∷ ι ∷ κ ∷ ε ∷ ν ∷ []) "1Tim.5.5"
∷ word (ἐ ∷ π ∷ ὶ ∷ []) "1Tim.5.5"
∷ word (θ ∷ ε ∷ ὸ ∷ ν ∷ []) "1Tim.5.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.5"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ μ ∷ έ ∷ ν ∷ ε ∷ ι ∷ []) "1Tim.5.5"
∷ word (τ ∷ α ∷ ῖ ∷ ς ∷ []) "1Tim.5.5"
∷ word (δ ∷ ε ∷ ή ∷ σ ∷ ε ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.5"
∷ word (τ ∷ α ∷ ῖ ∷ ς ∷ []) "1Tim.5.5"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ ε ∷ υ ∷ χ ∷ α ∷ ῖ ∷ ς ∷ []) "1Tim.5.5"
∷ word (ν ∷ υ ∷ κ ∷ τ ∷ ὸ ∷ ς ∷ []) "1Tim.5.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.5"
∷ word (ἡ ∷ μ ∷ έ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.5"
∷ word (ἡ ∷ []) "1Tim.5.6"
∷ word (δ ∷ ὲ ∷ []) "1Tim.5.6"
∷ word (σ ∷ π ∷ α ∷ τ ∷ α ∷ ∙λ ∷ ῶ ∷ σ ∷ α ∷ []) "1Tim.5.6"
∷ word (ζ ∷ ῶ ∷ σ ∷ α ∷ []) "1Tim.5.6"
∷ word (τ ∷ έ ∷ θ ∷ ν ∷ η ∷ κ ∷ ε ∷ ν ∷ []) "1Tim.5.6"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.7"
∷ word (τ ∷ α ∷ ῦ ∷ τ ∷ α ∷ []) "1Tim.5.7"
∷ word (π ∷ α ∷ ρ ∷ ά ∷ γ ∷ γ ∷ ε ∷ ∙λ ∷ ∙λ ∷ ε ∷ []) "1Tim.5.7"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.5.7"
∷ word (ἀ ∷ ν ∷ ε ∷ π ∷ ί ∷ ∙λ ∷ η ∷ μ ∷ π ∷ τ ∷ ο ∷ ι ∷ []) "1Tim.5.7"
∷ word (ὦ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.7"
∷ word (ε ∷ ἰ ∷ []) "1Tim.5.8"
∷ word (δ ∷ έ ∷ []) "1Tim.5.8"
∷ word (τ ∷ ι ∷ ς ∷ []) "1Tim.5.8"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.5.8"
∷ word (ἰ ∷ δ ∷ ί ∷ ω ∷ ν ∷ []) "1Tim.5.8"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.8"
∷ word (μ ∷ ά ∷ ∙λ ∷ ι ∷ σ ∷ τ ∷ α ∷ []) "1Tim.5.8"
∷ word (ο ∷ ἰ ∷ κ ∷ ε ∷ ί ∷ ω ∷ ν ∷ []) "1Tim.5.8"
∷ word (ο ∷ ὐ ∷ []) "1Tim.5.8"
∷ word (π ∷ ρ ∷ ο ∷ ν ∷ ο ∷ ε ∷ ῖ ∷ []) "1Tim.5.8"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.5.8"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.5.8"
∷ word (ἤ ∷ ρ ∷ ν ∷ η ∷ τ ∷ α ∷ ι ∷ []) "1Tim.5.8"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.8"
∷ word (ἔ ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.5.8"
∷ word (ἀ ∷ π ∷ ί ∷ σ ∷ τ ∷ ο ∷ υ ∷ []) "1Tim.5.8"
∷ word (χ ∷ ε ∷ ί ∷ ρ ∷ ω ∷ ν ∷ []) "1Tim.5.8"
∷ word (Χ ∷ ή ∷ ρ ∷ α ∷ []) "1Tim.5.9"
∷ word (κ ∷ α ∷ τ ∷ α ∷ ∙λ ∷ ε ∷ γ ∷ έ ∷ σ ∷ θ ∷ ω ∷ []) "1Tim.5.9"
∷ word (μ ∷ ὴ ∷ []) "1Tim.5.9"
∷ word (ἔ ∷ ∙λ ∷ α ∷ τ ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.5.9"
∷ word (ἐ ∷ τ ∷ ῶ ∷ ν ∷ []) "1Tim.5.9"
∷ word (ἑ ∷ ξ ∷ ή ∷ κ ∷ ο ∷ ν ∷ τ ∷ α ∷ []) "1Tim.5.9"
∷ word (γ ∷ ε ∷ γ ∷ ο ∷ ν ∷ υ ∷ ῖ ∷ α ∷ []) "1Tim.5.9"
∷ word (ἑ ∷ ν ∷ ὸ ∷ ς ∷ []) "1Tim.5.9"
∷ word (ἀ ∷ ν ∷ δ ∷ ρ ∷ ὸ ∷ ς ∷ []) "1Tim.5.9"
∷ word (γ ∷ υ ∷ ν ∷ ή ∷ []) "1Tim.5.9"
∷ word (ἐ ∷ ν ∷ []) "1Tim.5.10"
∷ word (ἔ ∷ ρ ∷ γ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.5.10"
∷ word (κ ∷ α ∷ ∙λ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.5.10"
∷ word (μ ∷ α ∷ ρ ∷ τ ∷ υ ∷ ρ ∷ ο ∷ υ ∷ μ ∷ έ ∷ ν ∷ η ∷ []) "1Tim.5.10"
∷ word (ε ∷ ἰ ∷ []) "1Tim.5.10"
∷ word (ἐ ∷ τ ∷ ε ∷ κ ∷ ν ∷ ο ∷ τ ∷ ρ ∷ ό ∷ φ ∷ η ∷ σ ∷ ε ∷ ν ∷ []) "1Tim.5.10"
∷ word (ε ∷ ἰ ∷ []) "1Tim.5.10"
∷ word (ἐ ∷ ξ ∷ ε ∷ ν ∷ ο ∷ δ ∷ ό ∷ χ ∷ η ∷ σ ∷ ε ∷ ν ∷ []) "1Tim.5.10"
∷ word (ε ∷ ἰ ∷ []) "1Tim.5.10"
∷ word (ἁ ∷ γ ∷ ί ∷ ω ∷ ν ∷ []) "1Tim.5.10"
∷ word (π ∷ ό ∷ δ ∷ α ∷ ς ∷ []) "1Tim.5.10"
∷ word (ἔ ∷ ν ∷ ι ∷ ψ ∷ ε ∷ ν ∷ []) "1Tim.5.10"
∷ word (ε ∷ ἰ ∷ []) "1Tim.5.10"
∷ word (θ ∷ ∙λ ∷ ι ∷ β ∷ ο ∷ μ ∷ έ ∷ ν ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.5.10"
∷ word (ἐ ∷ π ∷ ή ∷ ρ ∷ κ ∷ ε ∷ σ ∷ ε ∷ ν ∷ []) "1Tim.5.10"
∷ word (ε ∷ ἰ ∷ []) "1Tim.5.10"
∷ word (π ∷ α ∷ ν ∷ τ ∷ ὶ ∷ []) "1Tim.5.10"
∷ word (ἔ ∷ ρ ∷ γ ∷ ῳ ∷ []) "1Tim.5.10"
∷ word (ἀ ∷ γ ∷ α ∷ θ ∷ ῷ ∷ []) "1Tim.5.10"
∷ word (ἐ ∷ π ∷ η ∷ κ ∷ ο ∷ ∙λ ∷ ο ∷ ύ ∷ θ ∷ η ∷ σ ∷ ε ∷ ν ∷ []) "1Tim.5.10"
∷ word (ν ∷ ε ∷ ω ∷ τ ∷ έ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.11"
∷ word (δ ∷ ὲ ∷ []) "1Tim.5.11"
∷ word (χ ∷ ή ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.11"
∷ word (π ∷ α ∷ ρ ∷ α ∷ ι ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.11"
∷ word (ὅ ∷ τ ∷ α ∷ ν ∷ []) "1Tim.5.11"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.5.11"
∷ word (κ ∷ α ∷ τ ∷ α ∷ σ ∷ τ ∷ ρ ∷ η ∷ ν ∷ ι ∷ ά ∷ σ ∷ ω ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.11"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.11"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.11"
∷ word (γ ∷ α ∷ μ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.5.11"
∷ word (θ ∷ έ ∷ ∙λ ∷ ο ∷ υ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.11"
∷ word (ἔ ∷ χ ∷ ο ∷ υ ∷ σ ∷ α ∷ ι ∷ []) "1Tim.5.12"
∷ word (κ ∷ ρ ∷ ί ∷ μ ∷ α ∷ []) "1Tim.5.12"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.5.12"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.5.12"
∷ word (π ∷ ρ ∷ ώ ∷ τ ∷ η ∷ ν ∷ []) "1Tim.5.12"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.5.12"
∷ word (ἠ ∷ θ ∷ έ ∷ τ ∷ η ∷ σ ∷ α ∷ ν ∷ []) "1Tim.5.12"
∷ word (ἅ ∷ μ ∷ α ∷ []) "1Tim.5.13"
∷ word (δ ∷ ὲ ∷ []) "1Tim.5.13"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.13"
∷ word (ἀ ∷ ρ ∷ γ ∷ α ∷ ὶ ∷ []) "1Tim.5.13"
∷ word (μ ∷ α ∷ ν ∷ θ ∷ ά ∷ ν ∷ ο ∷ υ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.13"
∷ word (π ∷ ε ∷ ρ ∷ ι ∷ ε ∷ ρ ∷ χ ∷ ό ∷ μ ∷ ε ∷ ν ∷ α ∷ ι ∷ []) "1Tim.5.13"
∷ word (τ ∷ ὰ ∷ ς ∷ []) "1Tim.5.13"
∷ word (ο ∷ ἰ ∷ κ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.5.13"
∷ word (ο ∷ ὐ ∷ []) "1Tim.5.13"
∷ word (μ ∷ ό ∷ ν ∷ ο ∷ ν ∷ []) "1Tim.5.13"
∷ word (δ ∷ ὲ ∷ []) "1Tim.5.13"
∷ word (ἀ ∷ ρ ∷ γ ∷ α ∷ ὶ ∷ []) "1Tim.5.13"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.5.13"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.13"
∷ word (φ ∷ ∙λ ∷ ύ ∷ α ∷ ρ ∷ ο ∷ ι ∷ []) "1Tim.5.13"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.13"
∷ word (π ∷ ε ∷ ρ ∷ ί ∷ ε ∷ ρ ∷ γ ∷ ο ∷ ι ∷ []) "1Tim.5.13"
∷ word (∙λ ∷ α ∷ ∙λ ∷ ο ∷ ῦ ∷ σ ∷ α ∷ ι ∷ []) "1Tim.5.13"
∷ word (τ ∷ ὰ ∷ []) "1Tim.5.13"
∷ word (μ ∷ ὴ ∷ []) "1Tim.5.13"
∷ word (δ ∷ έ ∷ ο ∷ ν ∷ τ ∷ α ∷ []) "1Tim.5.13"
∷ word (β ∷ ο ∷ ύ ∷ ∙λ ∷ ο ∷ μ ∷ α ∷ ι ∷ []) "1Tim.5.14"
∷ word (ο ∷ ὖ ∷ ν ∷ []) "1Tim.5.14"
∷ word (ν ∷ ε ∷ ω ∷ τ ∷ έ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.14"
∷ word (γ ∷ α ∷ μ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.5.14"
∷ word (τ ∷ ε ∷ κ ∷ ν ∷ ο ∷ γ ∷ ο ∷ ν ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.5.14"
∷ word (ο ∷ ἰ ∷ κ ∷ ο ∷ δ ∷ ε ∷ σ ∷ π ∷ ο ∷ τ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.5.14"
∷ word (μ ∷ η ∷ δ ∷ ε ∷ μ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.5.14"
∷ word (ἀ ∷ φ ∷ ο ∷ ρ ∷ μ ∷ ὴ ∷ ν ∷ []) "1Tim.5.14"
∷ word (δ ∷ ι ∷ δ ∷ ό ∷ ν ∷ α ∷ ι ∷ []) "1Tim.5.14"
∷ word (τ ∷ ῷ ∷ []) "1Tim.5.14"
∷ word (ἀ ∷ ν ∷ τ ∷ ι ∷ κ ∷ ε ∷ ι ∷ μ ∷ έ ∷ ν ∷ ῳ ∷ []) "1Tim.5.14"
∷ word (∙λ ∷ ο ∷ ι ∷ δ ∷ ο ∷ ρ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.5.14"
∷ word (χ ∷ ά ∷ ρ ∷ ι ∷ ν ∷ []) "1Tim.5.14"
∷ word (ἤ ∷ δ ∷ η ∷ []) "1Tim.5.15"
∷ word (γ ∷ ά ∷ ρ ∷ []) "1Tim.5.15"
∷ word (τ ∷ ι ∷ ν ∷ ε ∷ ς ∷ []) "1Tim.5.15"
∷ word (ἐ ∷ ξ ∷ ε ∷ τ ∷ ρ ∷ ά ∷ π ∷ η ∷ σ ∷ α ∷ ν ∷ []) "1Tim.5.15"
∷ word (ὀ ∷ π ∷ ί ∷ σ ∷ ω ∷ []) "1Tim.5.15"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.15"
∷ word (Σ ∷ α ∷ τ ∷ α ∷ ν ∷ ᾶ ∷ []) "1Tim.5.15"
∷ word (ε ∷ ἴ ∷ []) "1Tim.5.16"
∷ word (τ ∷ ι ∷ ς ∷ []) "1Tim.5.16"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ὴ ∷ []) "1Tim.5.16"
∷ word (ἔ ∷ χ ∷ ε ∷ ι ∷ []) "1Tim.5.16"
∷ word (χ ∷ ή ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.16"
∷ word (ἐ ∷ π ∷ α ∷ ρ ∷ κ ∷ ε ∷ ί ∷ τ ∷ ω ∷ []) "1Tim.5.16"
∷ word (α ∷ ὐ ∷ τ ∷ α ∷ ῖ ∷ ς ∷ []) "1Tim.5.16"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.16"
∷ word (μ ∷ ὴ ∷ []) "1Tim.5.16"
∷ word (β ∷ α ∷ ρ ∷ ε ∷ ί ∷ σ ∷ θ ∷ ω ∷ []) "1Tim.5.16"
∷ word (ἡ ∷ []) "1Tim.5.16"
∷ word (ἐ ∷ κ ∷ κ ∷ ∙λ ∷ η ∷ σ ∷ ί ∷ α ∷ []) "1Tim.5.16"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.5.16"
∷ word (τ ∷ α ∷ ῖ ∷ ς ∷ []) "1Tim.5.16"
∷ word (ὄ ∷ ν ∷ τ ∷ ω ∷ ς ∷ []) "1Tim.5.16"
∷ word (χ ∷ ή ∷ ρ ∷ α ∷ ι ∷ ς ∷ []) "1Tim.5.16"
∷ word (ἐ ∷ π ∷ α ∷ ρ ∷ κ ∷ έ ∷ σ ∷ ῃ ∷ []) "1Tim.5.16"
∷ word (Ο ∷ ἱ ∷ []) "1Tim.5.17"
∷ word (κ ∷ α ∷ ∙λ ∷ ῶ ∷ ς ∷ []) "1Tim.5.17"
∷ word (π ∷ ρ ∷ ο ∷ ε ∷ σ ∷ τ ∷ ῶ ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.5.17"
∷ word (π ∷ ρ ∷ ε ∷ σ ∷ β ∷ ύ ∷ τ ∷ ε ∷ ρ ∷ ο ∷ ι ∷ []) "1Tim.5.17"
∷ word (δ ∷ ι ∷ π ∷ ∙λ ∷ ῆ ∷ ς ∷ []) "1Tim.5.17"
∷ word (τ ∷ ι ∷ μ ∷ ῆ ∷ ς ∷ []) "1Tim.5.17"
∷ word (ἀ ∷ ξ ∷ ι ∷ ο ∷ ύ ∷ σ ∷ θ ∷ ω ∷ σ ∷ α ∷ ν ∷ []) "1Tim.5.17"
∷ word (μ ∷ ά ∷ ∙λ ∷ ι ∷ σ ∷ τ ∷ α ∷ []) "1Tim.5.17"
∷ word (ο ∷ ἱ ∷ []) "1Tim.5.17"
∷ word (κ ∷ ο ∷ π ∷ ι ∷ ῶ ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.5.17"
∷ word (ἐ ∷ ν ∷ []) "1Tim.5.17"
∷ word (∙λ ∷ ό ∷ γ ∷ ῳ ∷ []) "1Tim.5.17"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.17"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ί ∷ ᾳ ∷ []) "1Tim.5.17"
∷ word (∙λ ∷ έ ∷ γ ∷ ε ∷ ι ∷ []) "1Tim.5.18"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.5.18"
∷ word (ἡ ∷ []) "1Tim.5.18"
∷ word (γ ∷ ρ ∷ α ∷ φ ∷ ή ∷ []) "1Tim.5.18"
∷ word (Β ∷ ο ∷ ῦ ∷ ν ∷ []) "1Tim.5.18"
∷ word (ἀ ∷ ∙λ ∷ ο ∷ ῶ ∷ ν ∷ τ ∷ α ∷ []) "1Tim.5.18"
∷ word (ο ∷ ὐ ∷ []) "1Tim.5.18"
∷ word (φ ∷ ι ∷ μ ∷ ώ ∷ σ ∷ ε ∷ ι ∷ ς ∷ []) "1Tim.5.18"
∷ word (κ ∷ α ∷ ί ∷ []) "1Tim.5.18"
∷ word (Ἄ ∷ ξ ∷ ι ∷ ο ∷ ς ∷ []) "1Tim.5.18"
∷ word (ὁ ∷ []) "1Tim.5.18"
∷ word (ἐ ∷ ρ ∷ γ ∷ ά ∷ τ ∷ η ∷ ς ∷ []) "1Tim.5.18"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.18"
∷ word (μ ∷ ι ∷ σ ∷ θ ∷ ο ∷ ῦ ∷ []) "1Tim.5.18"
∷ word (α ∷ ὐ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.18"
∷ word (κ ∷ α ∷ τ ∷ ὰ ∷ []) "1Tim.5.19"
∷ word (π ∷ ρ ∷ ε ∷ σ ∷ β ∷ υ ∷ τ ∷ έ ∷ ρ ∷ ο ∷ υ ∷ []) "1Tim.5.19"
∷ word (κ ∷ α ∷ τ ∷ η ∷ γ ∷ ο ∷ ρ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.5.19"
∷ word (μ ∷ ὴ ∷ []) "1Tim.5.19"
∷ word (π ∷ α ∷ ρ ∷ α ∷ δ ∷ έ ∷ χ ∷ ο ∷ υ ∷ []) "1Tim.5.19"
∷ word (ἐ ∷ κ ∷ τ ∷ ὸ ∷ ς ∷ []) "1Tim.5.19"
∷ word (ε ∷ ἰ ∷ []) "1Tim.5.19"
∷ word (μ ∷ ὴ ∷ []) "1Tim.5.19"
∷ word (ἐ ∷ π ∷ ὶ ∷ []) "1Tim.5.19"
∷ word (δ ∷ ύ ∷ ο ∷ []) "1Tim.5.19"
∷ word (ἢ ∷ []) "1Tim.5.19"
∷ word (τ ∷ ρ ∷ ι ∷ ῶ ∷ ν ∷ []) "1Tim.5.19"
∷ word (μ ∷ α ∷ ρ ∷ τ ∷ ύ ∷ ρ ∷ ω ∷ ν ∷ []) "1Tim.5.19"
∷ word (τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.5.20"
∷ word (ἁ ∷ μ ∷ α ∷ ρ ∷ τ ∷ ά ∷ ν ∷ ο ∷ ν ∷ τ ∷ α ∷ ς ∷ []) "1Tim.5.20"
∷ word (ἐ ∷ ν ∷ ώ ∷ π ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.5.20"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.5.20"
∷ word (ἔ ∷ ∙λ ∷ ε ∷ γ ∷ χ ∷ ε ∷ []) "1Tim.5.20"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.5.20"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.20"
∷ word (ο ∷ ἱ ∷ []) "1Tim.5.20"
∷ word (∙λ ∷ ο ∷ ι ∷ π ∷ ο ∷ ὶ ∷ []) "1Tim.5.20"
∷ word (φ ∷ ό ∷ β ∷ ο ∷ ν ∷ []) "1Tim.5.20"
∷ word (ἔ ∷ χ ∷ ω ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.20"
∷ word (δ ∷ ι ∷ α ∷ μ ∷ α ∷ ρ ∷ τ ∷ ύ ∷ ρ ∷ ο ∷ μ ∷ α ∷ ι ∷ []) "1Tim.5.21"
∷ word (ἐ ∷ ν ∷ ώ ∷ π ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.5.21"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.21"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.5.21"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.21"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.5.21"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.5.21"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.21"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.5.21"
∷ word (ἐ ∷ κ ∷ ∙λ ∷ ε ∷ κ ∷ τ ∷ ῶ ∷ ν ∷ []) "1Tim.5.21"
∷ word (ἀ ∷ γ ∷ γ ∷ έ ∷ ∙λ ∷ ω ∷ ν ∷ []) "1Tim.5.21"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.5.21"
∷ word (τ ∷ α ∷ ῦ ∷ τ ∷ α ∷ []) "1Tim.5.21"
∷ word (φ ∷ υ ∷ ∙λ ∷ ά ∷ ξ ∷ ῃ ∷ ς ∷ []) "1Tim.5.21"
∷ word (χ ∷ ω ∷ ρ ∷ ὶ ∷ ς ∷ []) "1Tim.5.21"
∷ word (π ∷ ρ ∷ ο ∷ κ ∷ ρ ∷ ί ∷ μ ∷ α ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.5.21"
∷ word (μ ∷ η ∷ δ ∷ ὲ ∷ ν ∷ []) "1Tim.5.21"
∷ word (π ∷ ο ∷ ι ∷ ῶ ∷ ν ∷ []) "1Tim.5.21"
∷ word (κ ∷ α ∷ τ ∷ ὰ ∷ []) "1Tim.5.21"
∷ word (π ∷ ρ ∷ ό ∷ σ ∷ κ ∷ ∙λ ∷ ι ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.21"
∷ word (χ ∷ ε ∷ ῖ ∷ ρ ∷ α ∷ ς ∷ []) "1Tim.5.22"
∷ word (τ ∷ α ∷ χ ∷ έ ∷ ω ∷ ς ∷ []) "1Tim.5.22"
∷ word (μ ∷ η ∷ δ ∷ ε ∷ ν ∷ ὶ ∷ []) "1Tim.5.22"
∷ word (ἐ ∷ π ∷ ι ∷ τ ∷ ί ∷ θ ∷ ε ∷ ι ∷ []) "1Tim.5.22"
∷ word (μ ∷ η ∷ δ ∷ ὲ ∷ []) "1Tim.5.22"
∷ word (κ ∷ ο ∷ ι ∷ ν ∷ ώ ∷ ν ∷ ε ∷ ι ∷ []) "1Tim.5.22"
∷ word (ἁ ∷ μ ∷ α ∷ ρ ∷ τ ∷ ί ∷ α ∷ ι ∷ ς ∷ []) "1Tim.5.22"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ο ∷ τ ∷ ρ ∷ ί ∷ α ∷ ι ∷ ς ∷ []) "1Tim.5.22"
∷ word (σ ∷ ε ∷ α ∷ υ ∷ τ ∷ ὸ ∷ ν ∷ []) "1Tim.5.22"
∷ word (ἁ ∷ γ ∷ ν ∷ ὸ ∷ ν ∷ []) "1Tim.5.22"
∷ word (τ ∷ ή ∷ ρ ∷ ε ∷ ι ∷ []) "1Tim.5.22"
∷ word (μ ∷ η ∷ κ ∷ έ ∷ τ ∷ ι ∷ []) "1Tim.5.23"
∷ word (ὑ ∷ δ ∷ ρ ∷ ο ∷ π ∷ ό ∷ τ ∷ ε ∷ ι ∷ []) "1Tim.5.23"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.5.23"
∷ word (ο ∷ ἴ ∷ ν ∷ ῳ ∷ []) "1Tim.5.23"
∷ word (ὀ ∷ ∙λ ∷ ί ∷ γ ∷ ῳ ∷ []) "1Tim.5.23"
∷ word (χ ∷ ρ ∷ ῶ ∷ []) "1Tim.5.23"
∷ word (δ ∷ ι ∷ ὰ ∷ []) "1Tim.5.23"
∷ word (τ ∷ ὸ ∷ ν ∷ []) "1Tim.5.23"
∷ word (σ ∷ τ ∷ ό ∷ μ ∷ α ∷ χ ∷ ο ∷ ν ∷ []) "1Tim.5.23"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.23"
∷ word (τ ∷ ὰ ∷ ς ∷ []) "1Tim.5.23"
∷ word (π ∷ υ ∷ κ ∷ ν ∷ ά ∷ ς ∷ []) "1Tim.5.23"
∷ word (σ ∷ ο ∷ υ ∷ []) "1Tim.5.23"
∷ word (ἀ ∷ σ ∷ θ ∷ ε ∷ ν ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.5.23"
∷ word (Τ ∷ ι ∷ ν ∷ ῶ ∷ ν ∷ []) "1Tim.5.24"
∷ word (ἀ ∷ ν ∷ θ ∷ ρ ∷ ώ ∷ π ∷ ω ∷ ν ∷ []) "1Tim.5.24"
∷ word (α ∷ ἱ ∷ []) "1Tim.5.24"
∷ word (ἁ ∷ μ ∷ α ∷ ρ ∷ τ ∷ ί ∷ α ∷ ι ∷ []) "1Tim.5.24"
∷ word (π ∷ ρ ∷ ό ∷ δ ∷ η ∷ ∙λ ∷ ο ∷ ί ∷ []) "1Tim.5.24"
∷ word (ε ∷ ἰ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.24"
∷ word (π ∷ ρ ∷ ο ∷ ά ∷ γ ∷ ο ∷ υ ∷ σ ∷ α ∷ ι ∷ []) "1Tim.5.24"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.5.24"
∷ word (κ ∷ ρ ∷ ί ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.24"
∷ word (τ ∷ ι ∷ σ ∷ ὶ ∷ ν ∷ []) "1Tim.5.24"
∷ word (δ ∷ ὲ ∷ []) "1Tim.5.24"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.24"
∷ word (ἐ ∷ π ∷ α ∷ κ ∷ ο ∷ ∙λ ∷ ο ∷ υ ∷ θ ∷ ο ∷ ῦ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.5.24"
∷ word (ὡ ∷ σ ∷ α ∷ ύ ∷ τ ∷ ω ∷ ς ∷ []) "1Tim.5.25"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.25"
∷ word (τ ∷ ὰ ∷ []) "1Tim.5.25"
∷ word (ἔ ∷ ρ ∷ γ ∷ α ∷ []) "1Tim.5.25"
∷ word (τ ∷ ὰ ∷ []) "1Tim.5.25"
∷ word (κ ∷ α ∷ ∙λ ∷ ὰ ∷ []) "1Tim.5.25"
∷ word (π ∷ ρ ∷ ό ∷ δ ∷ η ∷ ∙λ ∷ α ∷ []) "1Tim.5.25"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.5.25"
∷ word (τ ∷ ὰ ∷ []) "1Tim.5.25"
∷ word (ἄ ∷ ∙λ ∷ ∙λ ∷ ω ∷ ς ∷ []) "1Tim.5.25"
∷ word (ἔ ∷ χ ∷ ο ∷ ν ∷ τ ∷ α ∷ []) "1Tim.5.25"
∷ word (κ ∷ ρ ∷ υ ∷ β ∷ ῆ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.5.25"
∷ word (ο ∷ ὐ ∷ []) "1Tim.5.25"
∷ word (δ ∷ ύ ∷ ν ∷ α ∷ ν ∷ τ ∷ α ∷ ι ∷ []) "1Tim.5.25"
∷ word (Ὅ ∷ σ ∷ ο ∷ ι ∷ []) "1Tim.6.1"
∷ word (ε ∷ ἰ ∷ σ ∷ ὶ ∷ ν ∷ []) "1Tim.6.1"
∷ word (ὑ ∷ π ∷ ὸ ∷ []) "1Tim.6.1"
∷ word (ζ ∷ υ ∷ γ ∷ ὸ ∷ ν ∷ []) "1Tim.6.1"
∷ word (δ ∷ ο ∷ ῦ ∷ ∙λ ∷ ο ∷ ι ∷ []) "1Tim.6.1"
∷ word (τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.6.1"
∷ word (ἰ ∷ δ ∷ ί ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.6.1"
∷ word (δ ∷ ε ∷ σ ∷ π ∷ ό ∷ τ ∷ α ∷ ς ∷ []) "1Tim.6.1"
∷ word (π ∷ ά ∷ σ ∷ η ∷ ς ∷ []) "1Tim.6.1"
∷ word (τ ∷ ι ∷ μ ∷ ῆ ∷ ς ∷ []) "1Tim.6.1"
∷ word (ἀ ∷ ξ ∷ ί ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.6.1"
∷ word (ἡ ∷ γ ∷ ε ∷ ί ∷ σ ∷ θ ∷ ω ∷ σ ∷ α ∷ ν ∷ []) "1Tim.6.1"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.6.1"
∷ word (μ ∷ ὴ ∷ []) "1Tim.6.1"
∷ word (τ ∷ ὸ ∷ []) "1Tim.6.1"
∷ word (ὄ ∷ ν ∷ ο ∷ μ ∷ α ∷ []) "1Tim.6.1"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.1"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.6.1"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.1"
∷ word (ἡ ∷ []) "1Tim.6.1"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ί ∷ α ∷ []) "1Tim.6.1"
∷ word (β ∷ ∙λ ∷ α ∷ σ ∷ φ ∷ η ∷ μ ∷ ῆ ∷ τ ∷ α ∷ ι ∷ []) "1Tim.6.1"
∷ word (ο ∷ ἱ ∷ []) "1Tim.6.2"
∷ word (δ ∷ ὲ ∷ []) "1Tim.6.2"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.6.2"
∷ word (ἔ ∷ χ ∷ ο ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.6.2"
∷ word (δ ∷ ε ∷ σ ∷ π ∷ ό ∷ τ ∷ α ∷ ς ∷ []) "1Tim.6.2"
∷ word (μ ∷ ὴ ∷ []) "1Tim.6.2"
∷ word (κ ∷ α ∷ τ ∷ α ∷ φ ∷ ρ ∷ ο ∷ ν ∷ ε ∷ ί ∷ τ ∷ ω ∷ σ ∷ α ∷ ν ∷ []) "1Tim.6.2"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.6.2"
∷ word (ἀ ∷ δ ∷ ε ∷ ∙λ ∷ φ ∷ ο ∷ ί ∷ []) "1Tim.6.2"
∷ word (ε ∷ ἰ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.6.2"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.6.2"
∷ word (μ ∷ ᾶ ∷ ∙λ ∷ ∙λ ∷ ο ∷ ν ∷ []) "1Tim.6.2"
∷ word (δ ∷ ο ∷ υ ∷ ∙λ ∷ ε ∷ υ ∷ έ ∷ τ ∷ ω ∷ σ ∷ α ∷ ν ∷ []) "1Tim.6.2"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.6.2"
∷ word (π ∷ ι ∷ σ ∷ τ ∷ ο ∷ ί ∷ []) "1Tim.6.2"
∷ word (ε ∷ ἰ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.6.2"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.2"
∷ word (ἀ ∷ γ ∷ α ∷ π ∷ η ∷ τ ∷ ο ∷ ὶ ∷ []) "1Tim.6.2"
∷ word (ο ∷ ἱ ∷ []) "1Tim.6.2"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.6.2"
∷ word (ε ∷ ὐ ∷ ε ∷ ρ ∷ γ ∷ ε ∷ σ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.6.2"
∷ word (ἀ ∷ ν ∷ τ ∷ ι ∷ ∙λ ∷ α ∷ μ ∷ β ∷ α ∷ ν ∷ ό ∷ μ ∷ ε ∷ ν ∷ ο ∷ ι ∷ []) "1Tim.6.2"
∷ word (Τ ∷ α ∷ ῦ ∷ τ ∷ α ∷ []) "1Tim.6.2"
∷ word (δ ∷ ί ∷ δ ∷ α ∷ σ ∷ κ ∷ ε ∷ []) "1Tim.6.2"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.2"
∷ word (π ∷ α ∷ ρ ∷ α ∷ κ ∷ ά ∷ ∙λ ∷ ε ∷ ι ∷ []) "1Tim.6.2"
∷ word (ε ∷ ἴ ∷ []) "1Tim.6.3"
∷ word (τ ∷ ι ∷ ς ∷ []) "1Tim.6.3"
∷ word (ἑ ∷ τ ∷ ε ∷ ρ ∷ ο ∷ δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ε ∷ ῖ ∷ []) "1Tim.6.3"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.3"
∷ word (μ ∷ ὴ ∷ []) "1Tim.6.3"
∷ word (π ∷ ρ ∷ ο ∷ σ ∷ έ ∷ ρ ∷ χ ∷ ε ∷ τ ∷ α ∷ ι ∷ []) "1Tim.6.3"
∷ word (ὑ ∷ γ ∷ ι ∷ α ∷ ί ∷ ν ∷ ο ∷ υ ∷ σ ∷ ι ∷ []) "1Tim.6.3"
∷ word (∙λ ∷ ό ∷ γ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.6.3"
∷ word (τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.6.3"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.3"
∷ word (κ ∷ υ ∷ ρ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.6.3"
∷ word (ἡ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.6.3"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.6.3"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.3"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.3"
∷ word (τ ∷ ῇ ∷ []) "1Tim.6.3"
∷ word (κ ∷ α ∷ τ ∷ []) "1Tim.6.3"
∷ word (ε ∷ ὐ ∷ σ ∷ έ ∷ β ∷ ε ∷ ι ∷ α ∷ ν ∷ []) "1Tim.6.3"
∷ word (δ ∷ ι ∷ δ ∷ α ∷ σ ∷ κ ∷ α ∷ ∙λ ∷ ί ∷ ᾳ ∷ []) "1Tim.6.3"
∷ word (τ ∷ ε ∷ τ ∷ ύ ∷ φ ∷ ω ∷ τ ∷ α ∷ ι ∷ []) "1Tim.6.4"
∷ word (μ ∷ η ∷ δ ∷ ὲ ∷ ν ∷ []) "1Tim.6.4"
∷ word (ἐ ∷ π ∷ ι ∷ σ ∷ τ ∷ ά ∷ μ ∷ ε ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.6.4"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ []) "1Tim.6.4"
∷ word (ν ∷ ο ∷ σ ∷ ῶ ∷ ν ∷ []) "1Tim.6.4"
∷ word (π ∷ ε ∷ ρ ∷ ὶ ∷ []) "1Tim.6.4"
∷ word (ζ ∷ η ∷ τ ∷ ή ∷ σ ∷ ε ∷ ι ∷ ς ∷ []) "1Tim.6.4"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.4"
∷ word (∙λ ∷ ο ∷ γ ∷ ο ∷ μ ∷ α ∷ χ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.6.4"
∷ word (ἐ ∷ ξ ∷ []) "1Tim.6.4"
∷ word (ὧ ∷ ν ∷ []) "1Tim.6.4"
∷ word (γ ∷ ί ∷ ν ∷ ε ∷ τ ∷ α ∷ ι ∷ []) "1Tim.6.4"
∷ word (φ ∷ θ ∷ ό ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.6.4"
∷ word (ἔ ∷ ρ ∷ ι ∷ ς ∷ []) "1Tim.6.4"
∷ word (β ∷ ∙λ ∷ α ∷ σ ∷ φ ∷ η ∷ μ ∷ ί ∷ α ∷ ι ∷ []) "1Tim.6.4"
∷ word (ὑ ∷ π ∷ ό ∷ ν ∷ ο ∷ ι ∷ α ∷ ι ∷ []) "1Tim.6.4"
∷ word (π ∷ ο ∷ ν ∷ η ∷ ρ ∷ α ∷ ί ∷ []) "1Tim.6.4"
∷ word (δ ∷ ι ∷ α ∷ π ∷ α ∷ ρ ∷ α ∷ τ ∷ ρ ∷ ι ∷ β ∷ α ∷ ὶ ∷ []) "1Tim.6.5"
∷ word (δ ∷ ι ∷ ε ∷ φ ∷ θ ∷ α ∷ ρ ∷ μ ∷ έ ∷ ν ∷ ω ∷ ν ∷ []) "1Tim.6.5"
∷ word (ἀ ∷ ν ∷ θ ∷ ρ ∷ ώ ∷ π ∷ ω ∷ ν ∷ []) "1Tim.6.5"
∷ word (τ ∷ ὸ ∷ ν ∷ []) "1Tim.6.5"
∷ word (ν ∷ ο ∷ ῦ ∷ ν ∷ []) "1Tim.6.5"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.5"
∷ word (ἀ ∷ π ∷ ε ∷ σ ∷ τ ∷ ε ∷ ρ ∷ η ∷ μ ∷ έ ∷ ν ∷ ω ∷ ν ∷ []) "1Tim.6.5"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.6.5"
∷ word (ἀ ∷ ∙λ ∷ η ∷ θ ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.6.5"
∷ word (ν ∷ ο ∷ μ ∷ ι ∷ ζ ∷ ό ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.6.5"
∷ word (π ∷ ο ∷ ρ ∷ ι ∷ σ ∷ μ ∷ ὸ ∷ ν ∷ []) "1Tim.6.5"
∷ word (ε ∷ ἶ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.6.5"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.6.5"
∷ word (ε ∷ ὐ ∷ σ ∷ έ ∷ β ∷ ε ∷ ι ∷ α ∷ ν ∷ []) "1Tim.6.5"
∷ word (ἔ ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.6.6"
∷ word (δ ∷ ὲ ∷ []) "1Tim.6.6"
∷ word (π ∷ ο ∷ ρ ∷ ι ∷ σ ∷ μ ∷ ὸ ∷ ς ∷ []) "1Tim.6.6"
∷ word (μ ∷ έ ∷ γ ∷ α ∷ ς ∷ []) "1Tim.6.6"
∷ word (ἡ ∷ []) "1Tim.6.6"
∷ word (ε ∷ ὐ ∷ σ ∷ έ ∷ β ∷ ε ∷ ι ∷ α ∷ []) "1Tim.6.6"
∷ word (μ ∷ ε ∷ τ ∷ ὰ ∷ []) "1Tim.6.6"
∷ word (α ∷ ὐ ∷ τ ∷ α ∷ ρ ∷ κ ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.6.6"
∷ word (ο ∷ ὐ ∷ δ ∷ ὲ ∷ ν ∷ []) "1Tim.6.7"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.6.7"
∷ word (ε ∷ ἰ ∷ σ ∷ η ∷ ν ∷ έ ∷ γ ∷ κ ∷ α ∷ μ ∷ ε ∷ ν ∷ []) "1Tim.6.7"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.6.7"
∷ word (τ ∷ ὸ ∷ ν ∷ []) "1Tim.6.7"
∷ word (κ ∷ ό ∷ σ ∷ μ ∷ ο ∷ ν ∷ []) "1Tim.6.7"
∷ word (ὅ ∷ τ ∷ ι ∷ []) "1Tim.6.7"
∷ word (ο ∷ ὐ ∷ δ ∷ ὲ ∷ []) "1Tim.6.7"
∷ word (ἐ ∷ ξ ∷ ε ∷ ν ∷ ε ∷ γ ∷ κ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.6.7"
∷ word (τ ∷ ι ∷ []) "1Tim.6.7"
∷ word (δ ∷ υ ∷ ν ∷ ά ∷ μ ∷ ε ∷ θ ∷ α ∷ []) "1Tim.6.7"
∷ word (ἔ ∷ χ ∷ ο ∷ ν ∷ τ ∷ ε ∷ ς ∷ []) "1Tim.6.8"
∷ word (δ ∷ ὲ ∷ []) "1Tim.6.8"
∷ word (δ ∷ ι ∷ α ∷ τ ∷ ρ ∷ ο ∷ φ ∷ ὰ ∷ ς ∷ []) "1Tim.6.8"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.8"
∷ word (σ ∷ κ ∷ ε ∷ π ∷ ά ∷ σ ∷ μ ∷ α ∷ τ ∷ α ∷ []) "1Tim.6.8"
∷ word (τ ∷ ο ∷ ύ ∷ τ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.6.8"
∷ word (ἀ ∷ ρ ∷ κ ∷ ε ∷ σ ∷ θ ∷ η ∷ σ ∷ ό ∷ μ ∷ ε ∷ θ ∷ α ∷ []) "1Tim.6.8"
∷ word (ο ∷ ἱ ∷ []) "1Tim.6.9"
∷ word (δ ∷ ὲ ∷ []) "1Tim.6.9"
∷ word (β ∷ ο ∷ υ ∷ ∙λ ∷ ό ∷ μ ∷ ε ∷ ν ∷ ο ∷ ι ∷ []) "1Tim.6.9"
∷ word (π ∷ ∙λ ∷ ο ∷ υ ∷ τ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.6.9"
∷ word (ἐ ∷ μ ∷ π ∷ ί ∷ π ∷ τ ∷ ο ∷ υ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.6.9"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.6.9"
∷ word (π ∷ ε ∷ ι ∷ ρ ∷ α ∷ σ ∷ μ ∷ ὸ ∷ ν ∷ []) "1Tim.6.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.9"
∷ word (π ∷ α ∷ γ ∷ ί ∷ δ ∷ α ∷ []) "1Tim.6.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.9"
∷ word (ἐ ∷ π ∷ ι ∷ θ ∷ υ ∷ μ ∷ ί ∷ α ∷ ς ∷ []) "1Tim.6.9"
∷ word (π ∷ ο ∷ ∙λ ∷ ∙λ ∷ ὰ ∷ ς ∷ []) "1Tim.6.9"
∷ word (ἀ ∷ ν ∷ ο ∷ ή ∷ τ ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.6.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.9"
∷ word (β ∷ ∙λ ∷ α ∷ β ∷ ε ∷ ρ ∷ ά ∷ ς ∷ []) "1Tim.6.9"
∷ word (α ∷ ἵ ∷ τ ∷ ι ∷ ν ∷ ε ∷ ς ∷ []) "1Tim.6.9"
∷ word (β ∷ υ ∷ θ ∷ ί ∷ ζ ∷ ο ∷ υ ∷ σ ∷ ι ∷ []) "1Tim.6.9"
∷ word (τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.6.9"
∷ word (ἀ ∷ ν ∷ θ ∷ ρ ∷ ώ ∷ π ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.6.9"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.6.9"
∷ word (ὄ ∷ ∙λ ∷ ε ∷ θ ∷ ρ ∷ ο ∷ ν ∷ []) "1Tim.6.9"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.9"
∷ word (ἀ ∷ π ∷ ώ ∷ ∙λ ∷ ε ∷ ι ∷ α ∷ ν ∷ []) "1Tim.6.9"
∷ word (ῥ ∷ ί ∷ ζ ∷ α ∷ []) "1Tim.6.10"
∷ word (γ ∷ ὰ ∷ ρ ∷ []) "1Tim.6.10"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.6.10"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.6.10"
∷ word (κ ∷ α ∷ κ ∷ ῶ ∷ ν ∷ []) "1Tim.6.10"
∷ word (ἐ ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.6.10"
∷ word (ἡ ∷ []) "1Tim.6.10"
∷ word (φ ∷ ι ∷ ∙λ ∷ α ∷ ρ ∷ γ ∷ υ ∷ ρ ∷ ί ∷ α ∷ []) "1Tim.6.10"
∷ word (ἧ ∷ ς ∷ []) "1Tim.6.10"
∷ word (τ ∷ ι ∷ ν ∷ ε ∷ ς ∷ []) "1Tim.6.10"
∷ word (ὀ ∷ ρ ∷ ε ∷ γ ∷ ό ∷ μ ∷ ε ∷ ν ∷ ο ∷ ι ∷ []) "1Tim.6.10"
∷ word (ἀ ∷ π ∷ ε ∷ π ∷ ∙λ ∷ α ∷ ν ∷ ή ∷ θ ∷ η ∷ σ ∷ α ∷ ν ∷ []) "1Tim.6.10"
∷ word (ἀ ∷ π ∷ ὸ ∷ []) "1Tim.6.10"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.6.10"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.6.10"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.10"
∷ word (ἑ ∷ α ∷ υ ∷ τ ∷ ο ∷ ὺ ∷ ς ∷ []) "1Tim.6.10"
∷ word (π ∷ ε ∷ ρ ∷ ι ∷ έ ∷ π ∷ ε ∷ ι ∷ ρ ∷ α ∷ ν ∷ []) "1Tim.6.10"
∷ word (ὀ ∷ δ ∷ ύ ∷ ν ∷ α ∷ ι ∷ ς ∷ []) "1Tim.6.10"
∷ word (π ∷ ο ∷ ∙λ ∷ ∙λ ∷ α ∷ ῖ ∷ ς ∷ []) "1Tim.6.10"
∷ word (Σ ∷ ὺ ∷ []) "1Tim.6.11"
∷ word (δ ∷ έ ∷ []) "1Tim.6.11"
∷ word (ὦ ∷ []) "1Tim.6.11"
∷ word (ἄ ∷ ν ∷ θ ∷ ρ ∷ ω ∷ π ∷ ε ∷ []) "1Tim.6.11"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.6.11"
∷ word (τ ∷ α ∷ ῦ ∷ τ ∷ α ∷ []) "1Tim.6.11"
∷ word (φ ∷ ε ∷ ῦ ∷ γ ∷ ε ∷ []) "1Tim.6.11"
∷ word (δ ∷ ί ∷ ω ∷ κ ∷ ε ∷ []) "1Tim.6.11"
∷ word (δ ∷ ὲ ∷ []) "1Tim.6.11"
∷ word (δ ∷ ι ∷ κ ∷ α ∷ ι ∷ ο ∷ σ ∷ ύ ∷ ν ∷ η ∷ ν ∷ []) "1Tim.6.11"
∷ word (ε ∷ ὐ ∷ σ ∷ έ ∷ β ∷ ε ∷ ι ∷ α ∷ ν ∷ []) "1Tim.6.11"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.6.11"
∷ word (ἀ ∷ γ ∷ ά ∷ π ∷ η ∷ ν ∷ []) "1Tim.6.11"
∷ word (ὑ ∷ π ∷ ο ∷ μ ∷ ο ∷ ν ∷ ή ∷ ν ∷ []) "1Tim.6.11"
∷ word (π ∷ ρ ∷ α ∷ ϋ ∷ π ∷ α ∷ θ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.6.11"
∷ word (ἀ ∷ γ ∷ ω ∷ ν ∷ ί ∷ ζ ∷ ο ∷ υ ∷ []) "1Tim.6.12"
∷ word (τ ∷ ὸ ∷ ν ∷ []) "1Tim.6.12"
∷ word (κ ∷ α ∷ ∙λ ∷ ὸ ∷ ν ∷ []) "1Tim.6.12"
∷ word (ἀ ∷ γ ∷ ῶ ∷ ν ∷ α ∷ []) "1Tim.6.12"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.6.12"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.6.12"
∷ word (ἐ ∷ π ∷ ι ∷ ∙λ ∷ α ∷ β ∷ ο ∷ ῦ ∷ []) "1Tim.6.12"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.6.12"
∷ word (α ∷ ἰ ∷ ω ∷ ν ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.6.12"
∷ word (ζ ∷ ω ∷ ῆ ∷ ς ∷ []) "1Tim.6.12"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.6.12"
∷ word (ἣ ∷ ν ∷ []) "1Tim.6.12"
∷ word (ἐ ∷ κ ∷ ∙λ ∷ ή ∷ θ ∷ η ∷ ς ∷ []) "1Tim.6.12"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.12"
∷ word (ὡ ∷ μ ∷ ο ∷ ∙λ ∷ ό ∷ γ ∷ η ∷ σ ∷ α ∷ ς ∷ []) "1Tim.6.12"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.6.12"
∷ word (κ ∷ α ∷ ∙λ ∷ ὴ ∷ ν ∷ []) "1Tim.6.12"
∷ word (ὁ ∷ μ ∷ ο ∷ ∙λ ∷ ο ∷ γ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.6.12"
∷ word (ἐ ∷ ν ∷ ώ ∷ π ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.6.12"
∷ word (π ∷ ο ∷ ∙λ ∷ ∙λ ∷ ῶ ∷ ν ∷ []) "1Tim.6.12"
∷ word (μ ∷ α ∷ ρ ∷ τ ∷ ύ ∷ ρ ∷ ω ∷ ν ∷ []) "1Tim.6.12"
∷ word (π ∷ α ∷ ρ ∷ α ∷ γ ∷ γ ∷ έ ∷ ∙λ ∷ ∙λ ∷ ω ∷ []) "1Tim.6.13"
∷ word (σ ∷ ο ∷ ι ∷ []) "1Tim.6.13"
∷ word (ἐ ∷ ν ∷ ώ ∷ π ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.6.13"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.13"
∷ word (θ ∷ ε ∷ ο ∷ ῦ ∷ []) "1Tim.6.13"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.13"
∷ word (ζ ∷ ῳ ∷ ο ∷ γ ∷ ο ∷ ν ∷ ο ∷ ῦ ∷ ν ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.6.13"
∷ word (τ ∷ ὰ ∷ []) "1Tim.6.13"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ α ∷ []) "1Tim.6.13"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.13"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.13"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.6.13"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.13"
∷ word (μ ∷ α ∷ ρ ∷ τ ∷ υ ∷ ρ ∷ ή ∷ σ ∷ α ∷ ν ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.6.13"
∷ word (ἐ ∷ π ∷ ὶ ∷ []) "1Tim.6.13"
∷ word (Π ∷ ο ∷ ν ∷ τ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.6.13"
∷ word (Π ∷ ι ∷ ∙λ ∷ ά ∷ τ ∷ ο ∷ υ ∷ []) "1Tim.6.13"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.6.13"
∷ word (κ ∷ α ∷ ∙λ ∷ ὴ ∷ ν ∷ []) "1Tim.6.13"
∷ word (ὁ ∷ μ ∷ ο ∷ ∙λ ∷ ο ∷ γ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.6.13"
∷ word (τ ∷ η ∷ ρ ∷ ῆ ∷ σ ∷ α ∷ ί ∷ []) "1Tim.6.14"
∷ word (σ ∷ ε ∷ []) "1Tim.6.14"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.6.14"
∷ word (ἐ ∷ ν ∷ τ ∷ ο ∷ ∙λ ∷ ὴ ∷ ν ∷ []) "1Tim.6.14"
∷ word (ἄ ∷ σ ∷ π ∷ ι ∷ ∙λ ∷ ο ∷ ν ∷ []) "1Tim.6.14"
∷ word (ἀ ∷ ν ∷ ε ∷ π ∷ ί ∷ ∙λ ∷ η ∷ μ ∷ π ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.6.14"
∷ word (μ ∷ έ ∷ χ ∷ ρ ∷ ι ∷ []) "1Tim.6.14"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.6.14"
∷ word (ἐ ∷ π ∷ ι ∷ φ ∷ α ∷ ν ∷ ε ∷ ί ∷ α ∷ ς ∷ []) "1Tim.6.14"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.14"
∷ word (κ ∷ υ ∷ ρ ∷ ί ∷ ο ∷ υ ∷ []) "1Tim.6.14"
∷ word (ἡ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.6.14"
∷ word (Ἰ ∷ η ∷ σ ∷ ο ∷ ῦ ∷ []) "1Tim.6.14"
∷ word (Χ ∷ ρ ∷ ι ∷ σ ∷ τ ∷ ο ∷ ῦ ∷ []) "1Tim.6.14"
∷ word (ἣ ∷ ν ∷ []) "1Tim.6.15"
∷ word (κ ∷ α ∷ ι ∷ ρ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.6.15"
∷ word (ἰ ∷ δ ∷ ί ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.6.15"
∷ word (δ ∷ ε ∷ ί ∷ ξ ∷ ε ∷ ι ∷ []) "1Tim.6.15"
∷ word (ὁ ∷ []) "1Tim.6.15"
∷ word (μ ∷ α ∷ κ ∷ ά ∷ ρ ∷ ι ∷ ο ∷ ς ∷ []) "1Tim.6.15"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.15"
∷ word (μ ∷ ό ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.6.15"
∷ word (δ ∷ υ ∷ ν ∷ ά ∷ σ ∷ τ ∷ η ∷ ς ∷ []) "1Tim.6.15"
∷ word (ὁ ∷ []) "1Tim.6.15"
∷ word (β ∷ α ∷ σ ∷ ι ∷ ∙λ ∷ ε ∷ ὺ ∷ ς ∷ []) "1Tim.6.15"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.6.15"
∷ word (β ∷ α ∷ σ ∷ ι ∷ ∙λ ∷ ε ∷ υ ∷ ό ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.6.15"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.15"
∷ word (κ ∷ ύ ∷ ρ ∷ ι ∷ ο ∷ ς ∷ []) "1Tim.6.15"
∷ word (τ ∷ ῶ ∷ ν ∷ []) "1Tim.6.15"
∷ word (κ ∷ υ ∷ ρ ∷ ι ∷ ε ∷ υ ∷ ό ∷ ν ∷ τ ∷ ω ∷ ν ∷ []) "1Tim.6.15"
∷ word (ὁ ∷ []) "1Tim.6.16"
∷ word (μ ∷ ό ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.6.16"
∷ word (ἔ ∷ χ ∷ ω ∷ ν ∷ []) "1Tim.6.16"
∷ word (ἀ ∷ θ ∷ α ∷ ν ∷ α ∷ σ ∷ ί ∷ α ∷ ν ∷ []) "1Tim.6.16"
∷ word (φ ∷ ῶ ∷ ς ∷ []) "1Tim.6.16"
∷ word (ο ∷ ἰ ∷ κ ∷ ῶ ∷ ν ∷ []) "1Tim.6.16"
∷ word (ἀ ∷ π ∷ ρ ∷ ό ∷ σ ∷ ι ∷ τ ∷ ο ∷ ν ∷ []) "1Tim.6.16"
∷ word (ὃ ∷ ν ∷ []) "1Tim.6.16"
∷ word (ε ∷ ἶ ∷ δ ∷ ε ∷ ν ∷ []) "1Tim.6.16"
∷ word (ο ∷ ὐ ∷ δ ∷ ε ∷ ὶ ∷ ς ∷ []) "1Tim.6.16"
∷ word (ἀ ∷ ν ∷ θ ∷ ρ ∷ ώ ∷ π ∷ ω ∷ ν ∷ []) "1Tim.6.16"
∷ word (ο ∷ ὐ ∷ δ ∷ ὲ ∷ []) "1Tim.6.16"
∷ word (ἰ ∷ δ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.6.16"
∷ word (δ ∷ ύ ∷ ν ∷ α ∷ τ ∷ α ∷ ι ∷ []) "1Tim.6.16"
∷ word (ᾧ ∷ []) "1Tim.6.16"
∷ word (τ ∷ ι ∷ μ ∷ ὴ ∷ []) "1Tim.6.16"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.16"
∷ word (κ ∷ ρ ∷ ά ∷ τ ∷ ο ∷ ς ∷ []) "1Tim.6.16"
∷ word (α ∷ ἰ ∷ ώ ∷ ν ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.6.16"
∷ word (ἀ ∷ μ ∷ ή ∷ ν ∷ []) "1Tim.6.16"
∷ word (Τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.6.17"
∷ word (π ∷ ∙λ ∷ ο ∷ υ ∷ σ ∷ ί ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.6.17"
∷ word (ἐ ∷ ν ∷ []) "1Tim.6.17"
∷ word (τ ∷ ῷ ∷ []) "1Tim.6.17"
∷ word (ν ∷ ῦ ∷ ν ∷ []) "1Tim.6.17"
∷ word (α ∷ ἰ ∷ ῶ ∷ ν ∷ ι ∷ []) "1Tim.6.17"
∷ word (π ∷ α ∷ ρ ∷ ά ∷ γ ∷ γ ∷ ε ∷ ∙λ ∷ ∙λ ∷ ε ∷ []) "1Tim.6.17"
∷ word (μ ∷ ὴ ∷ []) "1Tim.6.17"
∷ word (ὑ ∷ ψ ∷ η ∷ ∙λ ∷ ο ∷ φ ∷ ρ ∷ ο ∷ ν ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.6.17"
∷ word (μ ∷ η ∷ δ ∷ ὲ ∷ []) "1Tim.6.17"
∷ word (ἠ ∷ ∙λ ∷ π ∷ ι ∷ κ ∷ έ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.6.17"
∷ word (ἐ ∷ π ∷ ὶ ∷ []) "1Tim.6.17"
∷ word (π ∷ ∙λ ∷ ο ∷ ύ ∷ τ ∷ ο ∷ υ ∷ []) "1Tim.6.17"
∷ word (ἀ ∷ δ ∷ η ∷ ∙λ ∷ ό ∷ τ ∷ η ∷ τ ∷ ι ∷ []) "1Tim.6.17"
∷ word (ἀ ∷ ∙λ ∷ ∙λ ∷ []) "1Tim.6.17"
∷ word (ἐ ∷ π ∷ ὶ ∷ []) "1Tim.6.17"
∷ word (θ ∷ ε ∷ ῷ ∷ []) "1Tim.6.17"
∷ word (τ ∷ ῷ ∷ []) "1Tim.6.17"
∷ word (π ∷ α ∷ ρ ∷ έ ∷ χ ∷ ο ∷ ν ∷ τ ∷ ι ∷ []) "1Tim.6.17"
∷ word (ἡ ∷ μ ∷ ῖ ∷ ν ∷ []) "1Tim.6.17"
∷ word (π ∷ ά ∷ ν ∷ τ ∷ α ∷ []) "1Tim.6.17"
∷ word (π ∷ ∙λ ∷ ο ∷ υ ∷ σ ∷ ί ∷ ω ∷ ς ∷ []) "1Tim.6.17"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.6.17"
∷ word (ἀ ∷ π ∷ ό ∷ ∙λ ∷ α ∷ υ ∷ σ ∷ ι ∷ ν ∷ []) "1Tim.6.17"
∷ word (ἀ ∷ γ ∷ α ∷ θ ∷ ο ∷ ε ∷ ρ ∷ γ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.6.18"
∷ word (π ∷ ∙λ ∷ ο ∷ υ ∷ τ ∷ ε ∷ ῖ ∷ ν ∷ []) "1Tim.6.18"
∷ word (ἐ ∷ ν ∷ []) "1Tim.6.18"
∷ word (ἔ ∷ ρ ∷ γ ∷ ο ∷ ι ∷ ς ∷ []) "1Tim.6.18"
∷ word (κ ∷ α ∷ ∙λ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.6.18"
∷ word (ε ∷ ὐ ∷ μ ∷ ε ∷ τ ∷ α ∷ δ ∷ ό ∷ τ ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.6.18"
∷ word (ε ∷ ἶ ∷ ν ∷ α ∷ ι ∷ []) "1Tim.6.18"
∷ word (κ ∷ ο ∷ ι ∷ ν ∷ ω ∷ ν ∷ ι ∷ κ ∷ ο ∷ ύ ∷ ς ∷ []) "1Tim.6.18"
∷ word (ἀ ∷ π ∷ ο ∷ θ ∷ η ∷ σ ∷ α ∷ υ ∷ ρ ∷ ί ∷ ζ ∷ ο ∷ ν ∷ τ ∷ α ∷ ς ∷ []) "1Tim.6.19"
∷ word (ἑ ∷ α ∷ υ ∷ τ ∷ ο ∷ ῖ ∷ ς ∷ []) "1Tim.6.19"
∷ word (θ ∷ ε ∷ μ ∷ έ ∷ ∙λ ∷ ι ∷ ο ∷ ν ∷ []) "1Tim.6.19"
∷ word (κ ∷ α ∷ ∙λ ∷ ὸ ∷ ν ∷ []) "1Tim.6.19"
∷ word (ε ∷ ἰ ∷ ς ∷ []) "1Tim.6.19"
∷ word (τ ∷ ὸ ∷ []) "1Tim.6.19"
∷ word (μ ∷ έ ∷ ∙λ ∷ ∙λ ∷ ο ∷ ν ∷ []) "1Tim.6.19"
∷ word (ἵ ∷ ν ∷ α ∷ []) "1Tim.6.19"
∷ word (ἐ ∷ π ∷ ι ∷ ∙λ ∷ ά ∷ β ∷ ω ∷ ν ∷ τ ∷ α ∷ ι ∷ []) "1Tim.6.19"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.6.19"
∷ word (ὄ ∷ ν ∷ τ ∷ ω ∷ ς ∷ []) "1Tim.6.19"
∷ word (ζ ∷ ω ∷ ῆ ∷ ς ∷ []) "1Tim.6.19"
∷ word (Ὦ ∷ []) "1Tim.6.20"
∷ word (Τ ∷ ι ∷ μ ∷ ό ∷ θ ∷ ε ∷ ε ∷ []) "1Tim.6.20"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.6.20"
∷ word (π ∷ α ∷ ρ ∷ α ∷ θ ∷ ή ∷ κ ∷ η ∷ ν ∷ []) "1Tim.6.20"
∷ word (φ ∷ ύ ∷ ∙λ ∷ α ∷ ξ ∷ ο ∷ ν ∷ []) "1Tim.6.20"
∷ word (ἐ ∷ κ ∷ τ ∷ ρ ∷ ε ∷ π ∷ ό ∷ μ ∷ ε ∷ ν ∷ ο ∷ ς ∷ []) "1Tim.6.20"
∷ word (τ ∷ ὰ ∷ ς ∷ []) "1Tim.6.20"
∷ word (β ∷ ε ∷ β ∷ ή ∷ ∙λ ∷ ο ∷ υ ∷ ς ∷ []) "1Tim.6.20"
∷ word (κ ∷ ε ∷ ν ∷ ο ∷ φ ∷ ω ∷ ν ∷ ί ∷ α ∷ ς ∷ []) "1Tim.6.20"
∷ word (κ ∷ α ∷ ὶ ∷ []) "1Tim.6.20"
∷ word (ἀ ∷ ν ∷ τ ∷ ι ∷ θ ∷ έ ∷ σ ∷ ε ∷ ι ∷ ς ∷ []) "1Tim.6.20"
∷ word (τ ∷ ῆ ∷ ς ∷ []) "1Tim.6.20"
∷ word (ψ ∷ ε ∷ υ ∷ δ ∷ ω ∷ ν ∷ ύ ∷ μ ∷ ο ∷ υ ∷ []) "1Tim.6.20"
∷ word (γ ∷ ν ∷ ώ ∷ σ ∷ ε ∷ ω ∷ ς ∷ []) "1Tim.6.20"
∷ word (ἥ ∷ ν ∷ []) "1Tim.6.21"
∷ word (τ ∷ ι ∷ ν ∷ ε ∷ ς ∷ []) "1Tim.6.21"
∷ word (ἐ ∷ π ∷ α ∷ γ ∷ γ ∷ ε ∷ ∙λ ∷ ∙λ ∷ ό ∷ μ ∷ ε ∷ ν ∷ ο ∷ ι ∷ []) "1Tim.6.21"
∷ word (π ∷ ε ∷ ρ ∷ ὶ ∷ []) "1Tim.6.21"
∷ word (τ ∷ ὴ ∷ ν ∷ []) "1Tim.6.21"
∷ word (π ∷ ί ∷ σ ∷ τ ∷ ι ∷ ν ∷ []) "1Tim.6.21"
∷ word (ἠ ∷ σ ∷ τ ∷ ό ∷ χ ∷ η ∷ σ ∷ α ∷ ν ∷ []) "1Tim.6.21"
∷ word (Ἡ ∷ []) "1Tim.6.21"
∷ word (χ ∷ ά ∷ ρ ∷ ι ∷ ς ∷ []) "1Tim.6.21"
∷ word (μ ∷ ε ∷ θ ∷ []) "1Tim.6.21"
∷ word (ὑ ∷ μ ∷ ῶ ∷ ν ∷ []) "1Tim.6.21"
∷ []
|
oeis/142/A142000.asm | neoneye/loda-programs | 11 | 22068 | <gh_stars>10-100
; A142000: Primes congruent to 24 mod 29.
; Submitted by <NAME>
; 53,227,401,691,1039,1097,1213,1619,2083,2141,2663,2837,2953,3011,3301,3359,3533,3823,3881,4229,4519,4751,5099,5273,5563,5737,6143,6317,6491,6607,6781,7013,7129,7187,7477,7883,8231,8521,8753,9043,9391,9623,9739,10667,10957,11131,11827,12697,13103,13219,13451,13567,13799,14321,14437,14669,14843,15017,15307,15887,16061,16699,16931,17047,17569,17627,18149,18439,18671,18787,19309,19483,19541,19889,20063,20353,20411,20759,21107,21397,21803,21977,22093,22441,22963,23021,23311,23369,23833,24007,24181
mov $2,$0
add $2,2
pow $2,2
lpb $2
mul $1,$4
mov $3,$1
add $3,52
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,58
sub $2,1
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
sub $0,5
|
source/hash/a-cmuha3.ads | ytomino/drake | 33 | 2896 | <gh_stars>10-100
pragma License (Unrestricted); -- public domain
-- translated unit from MurmurHash3
--
-- MurmurHash3 was written by <NAME>, and is placed in the public
-- domain. The author hereby disclaims copyright to this source code.
--
-- Ada version: 2014 yt
package Ada.Containers.Murmur_Hash_3 is
-- 32bit version MurmurHash3 that targets low latency for hash table use.
pragma Pure;
type State is private;
function Initialize (Initiator : Hash_Type) return State;
pragma Inline (Initialize);
-- Body
procedure Update (S : in out State; Item : Hash_Type);
-- Tail
type Hash_8 is mod 2 ** 8;
for Hash_8'Size use 8;
type Hash_16 is mod 2 ** 16;
for Hash_16'Size use 16;
type Hash_24 is mod 2 ** 24;
for Hash_24'Size use 24;
procedure Update (S : in out State; Item : Hash_8);
procedure Update (S : in out State; Item : Hash_16);
procedure Update (S : in out State; Item : Hash_24);
-- Finalization
procedure Finalize (S : State; Digest : out Hash_Type);
private
pragma Compile_Time_Error (Hash_Type'Size /= 32, "size mismatch");
type State is record
h1 : Hash_Type;
len : Count_Type;
end record;
pragma Suppress_Initialization (State);
end Ada.Containers.Murmur_Hash_3;
|
Task/Problem-of-Apollonius/Ada/problem-of-apollonius-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 2584 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
package Apollonius is
type Point is record
X, Y : Long_Float := 0.0;
end record;
type Circle is record
Center : Point;
Radius : Long_Float := 0.0;
end record;
type Tangentiality is (External, Internal);
function Solve_CCC
(Circle_1, Circle_2, Circle_3 : Circle;
T1, T2, T3 : Tangentiality := External)
return Circle;
end Apollonius;
|
orka_egl/src/egl-objects-surfaces.ads | onox/orka | 52 | 11109 | <gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 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 EGL.Objects.Configs;
with EGL.Objects.Displays;
package EGL.Objects.Surfaces is
pragma Preelaborate;
type Swap_Behavior is (Buffer_Preserved, Buffer_Destroyed);
type Surface (Platform : Displays.Platform_Kind) is new EGL_Object with private;
function Create_Surface
(Display : Displays.Display;
Config : Configs.Config;
Window : Native_Window_Ptr;
sRGB : Boolean) return Surface
with Pre => Display.Is_Initialized and Config.Is_Initialized;
function Width (Object : Surface) return Natural
with Pre => Object.Is_Initialized;
function Height (Object : Surface) return Natural
with Pre => Object.Is_Initialized;
function Behavior (Object : Surface) return Swap_Behavior
with Pre => Object.Is_Initialized;
procedure Swap_Buffers (Object : Surface)
with Pre => Object.Is_Initialized;
private
for Swap_Behavior use
(Buffer_Preserved => 16#3094#,
Buffer_Destroyed => 16#3095#);
for Swap_Behavior'Size use Int'Size;
type Surface (Platform : Displays.Platform_Kind) is new EGL_Object with record
Display : Displays.Display (Platform);
end record;
overriding procedure Pre_Finalize (Object : in out Surface);
end EGL.Objects.Surfaces;
|
HoTT/Transport/Coproduct.agda | michaelforney/hott | 0 | 17476 | {-# OPTIONS --without-K #-}
open import HoTT.Base
module HoTT.Transport.Coproduct where
private
variable
i : Level
X : 𝒰 i
A B : X → 𝒰 i
x₁ x₂ : X
transport-+ : (p : x₁ == x₂) →
transport (λ x → A x + B x) p ~
+-rec (inl ∘ transport A p) (inr ∘ transport B p)
transport-+ refl (inl a) = refl
transport-+ refl (inr b) = refl
|
pi-visualizer/src/main/antlr4/cz/vutbr/fit/xproko26/pivis/antlr/PiExpr.g4 | dprokopo/pi-visualizer | 0 | 4492 | <filename>pi-visualizer/src/main/antlr4/cz/vutbr/fit/xproko26/pivis/antlr/PiExpr.g4
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
grammar PiExpr;
cmds : (cmd NL)* cmd;
cmd : 'agent' ID def # Agent
| 'show' sum # Show
| 'redlist' # List
| 'reduce' # Reduce
| 'simplify' # Simplify
| 'env' ID? # Env
| 'clear' # Clear
| 'reset' # Reset
| 'help' # Help
| 'exit' # Exit
| 'quit' # Exit
| # Empty
;
def : '=' sum
| '(' varlist ')' '=' sum
| '=' '(' '\\' varlist ')' sum
;
sum : par # Continuesum
| par ('+' par)+ # Summation
;
par : proc # Continuepar
| proc ('|' proc)+ # Parallel
;
proc : NIL # Nil
| ID '<' varlist '>' # Concretization
| ID '(' varlist ')' # Concretization
| ID # Concretization
| pi proc # Prefix
| '[' NAME '=' NAME ']' proc # Match
| '!' proc # Replication
| '(' '^' nlist ')' proc # Restriction
| '(' sum ')' # Parentheses
;
pi : TAU '.' # Tau
| NAME '.' '(' '\\' varlist ')' # Input
| NAME '(' varlist ')' '.' # Input
| NAME '.' # Input
| '\'' NAME '.' '[' varlist ']' # Output
| '\'' NAME '<' varlist '>' '.' # Output
| '\'' NAME '.' # Output
;
nlist : NAME (',' NAME)*;
varlist : varname (',' varname)*;
varname : NAME
| ID
;
TAU: 't';
NIL: '0';
ID: [A-Z]([a-zA-Z0-9] | '_' | '-')*;
NAME: [a-z]([a-zA-Z0-9] | '_' | '-')*;
NL: '\r'? '\n';
WS: [ \t]+ -> skip;
|
boot.asm | maddievision/sparkleos | 0 | 98000 | ; =============== REAL MODE ===============
[bits 16]
[org 0x7C00]
real_start:
mov [var_boot], dl
mov bp, 0x9000
mov sp, bp
; TODO disk stuff
call set_vga_gfx_mode
mov si, real_msg
call print_str
.enter_protected:
cli
lgdt [gdt_desc]
or eax, 1
mov cr0, eax
jmp CODE:protected_start
set_vga_gfx_mode:
mov ah, 0 ; clear
mov al, 0x13 ; vga 16 color gfx mode 640x480
int 0x10
ret
print_str:
.read_ch:
mov al, [si]
or al, al
jz .end
cmp al, 0x1
je .color
mov ah, 0xE ; char out
mov bh, 0
int 0x10
jmp .next
.color:
inc si
mov bl, [si]
.next:
inc si
jmp .read_ch
.end:
ret
real_msg:
db 1, 0x54 ; pink
db 13, 10
db ' hello', 13, 10,
db 1, 0x2B ; gold
db ' sparkles', 13, 10
db 13, 10
db 0
var_boot: db 0
gdt_entries:
.start:
dd 0, 0
.code_kernel:
CODE equ $ - .start
dw 0xFFFF, 0
db 0, 0x9A, 0xCF, 0
.data_kernel:
DATA equ $ - .start
dw 0xFFFF, 0
db 0, 0x92, 0xCF, 0
.code_user:
dw 0xFFFF, 0
db 0, 0xFA, 0xCF, 0
.data_user:
dw 0xFFFF, 0
db 0, 0xF2, 0xCF, 0
gdt_desc:
dw $ - gdt_entries - 1
dd gdt_entries
; =============== PROTECTED MODE ===============
[bits 32]
VIDEO equ 0xB8000
GFX_MEM equ 0xA0000
protected_start:
mov ax, DATA
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ebp, 0x90000
mov esp, ebp
; ; only works in text modes
; mov esi, protected_msg
; call print_str32
mov esi, sparkles_8bpp
call draw_8bpp
jmp $
; TODO .enter_long
; text mode only
print_str32:
mov edi, VIDEO
mov ebx, 0x0700
.read_ch:
movsx eax, byte [esi]
or eax, eax
jz .end
cmp eax, 1
je .color
add eax, ebx
mov [edi], eax
inc edi
inc edi
jmp .next
.color:
inc esi
movsx ebx, byte [esi]
shl ebx, 8
.next:
inc esi
jmp .read_ch
.end:
ret
protected_msg:
db 1, 0x34
db 'protected'
db 0
draw_8bpp:
; TODO: draw pixel data at middle of screen
; just draw test pixel for now, to prove we're in protected mode
; (GFX_MEM + x + 320y)
mov [GFX_MEM + 2 + 320 * 2], byte 0xF
ret
sparkles_8bpp:
; TODO: sparkles pixel data
db 0
[bits 64]
long_start:
; TODO
jmp $
times 510 - ($ - $$) db 0
dw 0xAA55 ; bsig
|
programs/oeis/336/A336696.asm | neoneye/loda | 22 | 522 | <reponame>neoneye/loda<filename>programs/oeis/336/A336696.asm
; A336696: Sum of odd divisors of 1+sigma(n).
; 1,1,6,1,8,14,13,1,8,20,14,30,24,31,31,1,20,6,32,44,48,38,31,62,1,44,42,80,32,74,48,1,57,72,57,24,56,62,80,112,44,98,78,108,80,74,57,156,30,48,74,156,72,133,74,133,121,112,62,183,104,98,192,1,108,180,96,128,98,180,74,57,124,144,156,192,98,183,121,216,62,128,108,403,110,160,133,182,112,288,114,183,176,180,133,288,156,44,158,110
seq $0,203 ; a(n) = sigma(n), the sum of the divisors of n. Also called sigma_1(n).
seq $0,593 ; Sum of odd divisors of n.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.