Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Fix broken xrefs that use the doc-guides attribute
// Allow examples to render correctly in previews despite being // a nested directory :idprefix: :idseparator: - :icons: font :doc-guides: ../ :doc-examples: ../_examples :imagesdir: ../../asciidoc/images :includes: ../includes :root: ../../asciidoc/
// Allow examples to render correctly in previews despite being // a nested directory :idprefix: :idseparator: - :icons: font :doc-guides: .. :doc-examples: ../_examples :imagesdir: ../../asciidoc/images :includes: ../includes :root: ../../asciidoc/
Add the Efene plugin to the list
[[plugins_list]] == List of plugins This is a non-exhaustive list of Erlang.mk plugins, sorted alphabetically. === elixir.mk An https://github.com/botsunit/elixir.mk[Elixir plugin] for Erlang.mk. http://elixir-lang.org/[Elixir] is an alternative language for the BEAM. === elvis.mk An https://github.com/inaka/elvis...
[[plugins_list]] == List of plugins This is a non-exhaustive list of Erlang.mk plugins, sorted alphabetically. === efene.mk An https://github.com/ninenines/efene.mk[Efene plugin] for Erlang.mk. http://efene.org/[Efene] is an alternative language for the BEAM. === elixir.mk An https://github.com/botsunit/elixir.mk[...
Simplify command to change managementState
// Module included in the following assemblies: // // * installing/installing_bare_metal/installing-bare-metal.adoc // * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc // * installing/installing_vsphere/installing-restricted-networks-vsphere.adoc // * installing/installing_vsphere/insta...
// Module included in the following assemblies: // // * installing/installing_bare_metal/installing-bare-metal.adoc // * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc // * installing/installing_vsphere/installing-restricted-networks-vsphere.adoc // * installing/installing_vsphere/insta...
Add documentation on building uberjars
= Packed deployments We use the term 'packed deployment' to mean that everything required at runtime is built (if necessary) and packed into an archive, ready for deployment and execution in the target operating environment. It is common to create 'uberjars' containing pre-compiled Clojure code, togther with dependen...
= Packed deployments We use the term 'packed deployment' to mean that everything required at runtime is built (if necessary) and packed into an archive, ready for deployment and execution in the target operating environment. It is common to create 'uberjars' containing pre-compiled Clojure code, togther with dependen...
Add note about supported Spring Boot plugin version
== Spring Boot Application Plugin The plugin `com.bmuschko.docker-spring-boot-application` is a highly opinionated plugin for projects applying the https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-gradle-plugin.html[Spring Boot plugin]. Under the covers the plugin preconfigures tasks f...
== Spring Boot Application Plugin The plugin `com.bmuschko.docker-spring-boot-application` is a highly opinionated plugin for projects applying the https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-gradle-plugin.html[Spring Boot plugin]. Under the covers the plugin preconfigures tasks f...
Document package migration in release notes
=== 5.0.0-M1 *Date of Release:* June 30, 2016 *Scope:* First milestone release of JUnit 5 ==== Summary of Changes ===== JUnit Platform - `org.junit.platform.console.ConsoleRunner` has been renamed to `ConsoleLauncher` ===== JUnit Jupiter - `ExtensionContext.getElement()` now returns `Optional<AnnotatedElement>`....
=== 5.0.0-M1 *Date of Release:* June 30, 2016 *Scope:* First milestone release of JUnit 5 ==== Summary of Changes The following is a list of global changes. For details regarding changes specific to the Platform, Jupiter, and Vintage, consult the dedicated subsections. .Package Migration [cols="20,80"] |=== | Old ...
Remove Ivan as doc author (sorry Ivan, old asciidoc only supports one author).
IronBee Reference Manual ======================== Brian Rectanus, Ivan Ristic v0.9.0, 2010-2014 :doctype: book :encoding: utf-8 :toc2: :toclevels: 3 include::ch-preface.adoc[] include::ch-introduction.adoc[] include::ch-server-configuration.adoc[] include::ch-ironbee-configuration.adoc[] include::ch-diagnostics-de...
IronBee Reference Manual ======================== Brian Rectanus v0.9.0, 2010-2014 :doctype: book :encoding: utf-8 :toc2: :toclevels: 3 include::ch-preface.adoc[] include::ch-introduction.adoc[] include::ch-server-configuration.adoc[] include::ch-ironbee-configuration.adoc[] include::ch-diagnostics-devel-tools.ado...
Update What's New for 5.8
[[new]] = What's New in Spring Security 5.8 Spring Security 5.8 provides a number of new features. Below are the highlights of the release. * https://github.com/spring-projects/spring-security/pull/11638[gh-11638] - Refresh remote JWK when unknown KID error occurs * https://github.com/spring-projects/spring-security/...
[[new]] = What's New in Spring Security 5.8 Spring Security 5.8 provides a number of new features. Below are the highlights of the release. * https://github.com/spring-projects/spring-security/pull/11638[gh-11638] - Refresh remote JWK when unknown KID error occurs * https://github.com/spring-projects/spring-security/...
Remove reference to git, prefer -b in further statement
= Full Ergodox EZ build environment for Void Linux Create a chroot like so: [source] xbps-install -S -R https://repo.voidlinux.eu/current -r /tmp/foo base-voidstrap Then you can run. INFO: /tmp/foo here must be absolute. Limitation of xbps-uunshare. [source] xbps-uunshare /tmp/foo xbps-install -- -S gcc wget unzip...
= Full Ergodox EZ build environment for Void Linux Create a chroot like so: [source] xbps-install -S -R https://repo.voidlinux.eu/current -r /tmp/foo base-voidstrap Then you can run. INFO: /tmp/foo here must be absolute. Limitation of xbps-uunshare. [source] xbps-uunshare /tmp/foo xbps-install -- -S gcc wget unzip...
Document `--details verbose` stacktrace emission fix
[[release-notes-5.3.0-M1]] == 5.3.0-M1 *Date of Release:* ❓ *Scope:* ❓ For a complete list of all _closed_ issues and pull requests for this release, consult the link:{junit5-repo}+/milestone/23?closed=1+[5.3 M1] milestone page in the JUnit repository on GitHub. [[release-notes-5.3.0-M1-junit-platform]] === JUnit ...
[[release-notes-5.3.0-M1]] == 5.3.0-M1 *Date of Release:* ❓ *Scope:* ❓ For a complete list of all _closed_ issues and pull requests for this release, consult the link:{junit5-repo}+/milestone/23?closed=1+[5.3 M1] milestone page in the JUnit repository on GitHub. [[release-notes-5.3.0-M1-junit-platform]] === JUnit ...
Update upgrade notes regarding Hibernate 5.2
==== Changes to Configuration Model In preparation for Hibernate 5.2 support the previous "SessionFactoryBean" notion has been removed. Now if you wish to customize `SessionFactory` creation you should instead register a custom `org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory` in Spring.
==== Changes to Configuration Model In preparation for Hibernate 5.2 support the previous "SessionFactoryBean" notion has been removed. Now if you wish to customize `SessionFactory` creation you should instead register a custom `org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory` in Spring. ==== Id...
Remove another reference to 64-bit systems.
[[vm-max-map-count]] === Virtual memory Elasticsearch uses a <<default_fs,`mmapfs`>> directory by default for 64bit systems to store its indices. The default operating system limits on mmap counts is likely to be too low, which may result in out of memory exceptions. On Linux, you can increase the limits by running ...
[[vm-max-map-count]] === Virtual memory Elasticsearch uses a <<default_fs,`mmapfs`>> directory by default to store its indices. The default operating system limits on mmap counts is likely to be too low, which may result in out of memory exceptions. On Linux, you can increase the limits by running the following comm...
Remove another reference to 64-bit systems.
[[vm-max-map-count]] === Virtual memory Elasticsearch uses a <<default_fs,`mmapfs`>> directory by default for 64bit systems to store its indices. The default operating system limits on mmap counts is likely to be too low, which may result in out of memory exceptions. On Linux, you can increase the limits by running ...
[[vm-max-map-count]] === Virtual memory Elasticsearch uses a <<default_fs,`mmapfs`>> directory by default to store its indices. The default operating system limits on mmap counts is likely to be too low, which may result in out of memory exceptions. On Linux, you can increase the limits by running the following comm...
Update and fix errors in delete ELB docs
===== Delete Amazon Load Balancer ====== Type +deleteAmazonLoadBalancer+ ====== Description This stage provides orchestration for deleting an Amazon Elastic Load Balancer. This is a destructive process, which cannot be reversed. If the provided +loadBalancerName+ is not found for _all_ provided +regions+, the opera...
===== Delete Amazon Load Balancer ====== Type +deleteAmazonLoadBalancer+ ====== Description This stage provides orchestration for deleting an Amazon Elastic Load Balancer. This is a destructive process, which cannot be reversed. CAUTION: This operation marks the end of a Load Balancer's life. The process cannot be...
Fix broken cross link in documentation
[[breaking_70_plugins_changes]] === Plugins changes ==== Azure Repository plugin * The legacy azure settings which where starting with `cloud.azure.storage.` prefix have been removed. This includes `account`, `key`, `default` and `timeout`. You need to use settings which are starting with `azure.client.` prefix inste...
[[breaking_70_plugins_changes]] === Plugins changes ==== Azure Repository plugin * The legacy azure settings which where starting with `cloud.azure.storage.` prefix have been removed. This includes `account`, `key`, `default` and `timeout`. You need to use settings which are starting with `azure.client.` prefix inste...
Fix GitHub repo url in adoc files
= Spring Cloud Data Flow Reference Guide Sabby Anandan; Marius Bogoevici; Eric Bottard; Mark Fisher; Ilayaperumal Gopinathan; Gunnar Hillert; Mark Pollack; Patrick Peralta; Glenn Renfro; Thomas Risberg; Dave Syer; David Turanski; Janne Valkealahti :doctype: book :toc: :toclevels: 4 :source-highlighter: prettify :number...
= Spring Cloud Data Flow Reference Guide Sabby Anandan; Marius Bogoevici; Eric Bottard; Mark Fisher; Ilayaperumal Gopinathan; Gunnar Hillert; Mark Pollack; Patrick Peralta; Glenn Renfro; Thomas Risberg; Dave Syer; David Turanski; Janne Valkealahti :doctype: book :toc: :toclevels: 4 :source-highlighter: prettify :number...
Update title and email. Add section numbers.
// // Copyright (c) 2016-2017 Eclipse Microprofile Contributors: // Red Hat // // 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 // // Unle...
// // Copyright (c) 2016-2017 Eclipse Microprofile Contributors: // Red Hat // // 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 // // Unle...
Fix missing comma and boolean true
[[search-aggregations-metrics-geobounds-aggregation]] === Geo Bounds Aggregation A metric aggregation that computes the bounding box containing all geo_point values for a field. .Experimental! [IMPORTANT] ===== This feature is marked as experimental, and may be subject to change in the future. If you use this featur...
[[search-aggregations-metrics-geobounds-aggregation]] === Geo Bounds Aggregation A metric aggregation that computes the bounding box containing all geo_point values for a field. .Experimental! [IMPORTANT] ===== This feature is marked as experimental, and may be subject to change in the future. If you use this featur...
Fix missing comma and boolean true
[[search-aggregations-metrics-geobounds-aggregation]] === Geo Bounds Aggregation A metric aggregation that computes the bounding box containing all geo_point values for a field. .Experimental! [IMPORTANT] ===== This feature is marked as experimental, and may be subject to change in the future. If you use this featur...
[[search-aggregations-metrics-geobounds-aggregation]] === Geo Bounds Aggregation A metric aggregation that computes the bounding box containing all geo_point values for a field. .Experimental! [IMPORTANT] ===== This feature is marked as experimental, and may be subject to change in the future. If you use this featur...
Add readme reference to license.
:libVersion: 0.1.7 # ADAL image:https://api.bintray.com/packages/jmspt/maven/adal/images/download.svg[Build Status,link=https://bintray.com/jmspt/maven/adal/_latestVersion] Android Development Accelaration Library Add the dependency in the form: [source, groovy, subs='attributes'] dependencies { /* Include all mo...
:libVersion: 0.1.7 # ADAL image:https://api.bintray.com/packages/jmspt/maven/adal/images/download.svg[Build Status,link=https://bintray.com/jmspt/maven/adal/_latestVersion] Android Development Accelaration Library Add the dependency in the form: [source, groovy, subs='attributes'] dependencies { /* Include all mo...
Fix type on Clojutre start date
= clojuTRE clojuTRE 2017-09-02 :jbake-type: event :jbake-edition: 2017 :jbake-link: http://clojutre.org/2017/ :jbake-location: Tampere, Finland :jbake-start: 2017-09-92 :jbake-end: 2017-09-02 clojuTRE is a free Clojure conference organized by http://www.metosin.fi/[Metosin]. The event has single track, late start, sho...
= clojuTRE clojuTRE 2017-09-02 :jbake-type: event :jbake-edition: 2017 :jbake-link: http://clojutre.org/2017/ :jbake-location: Tampere, Finland :jbake-start: 2017-09-02 :jbake-end: 2017-09-02 clojuTRE is a Clojure conference organized by http://www.metosin.fi/[Metosin]. The event has single track, late start, short ta...
Make admin page info panel dismissible
ο»Ώ<%@ Control Language="C#" AutoEventWireup="false" EnableViewState="false" Inherits="R7.Epsilon.AdminPageInfo" %> <%@ Import Namespace="DotNetNuke.Security" %> <% if (PortalSecurity.IsInRole ("Administrators")) { %> <div class="skin-admin-page-info alert alert-warning"> <a class="skin-page-permalink" hr...
ο»Ώ<%@ Control Language="C#" AutoEventWireup="false" EnableViewState="false" Inherits="R7.Epsilon.AdminPageInfo" %> <%@ Import Namespace="DotNetNuke.Security" %> <% if (PortalSecurity.IsInRole ("Administrators")) { %> <div class="skin-admin-page-info alert alert-info alert-dismissible"> <button type="butt...
Use UserController.Instance, rename formal parameter
ο»Ώ<%@ Application Inherits="DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication" Language="C#" %> <%@ Import Namespace="DotNetNuke.Entities.Portals" %> <%@ Import Namespace="DotNetNuke.Entities.Users" %> <%@ Import Namespace="R7.Epsilon.Components" %> <script runat="server"> public override string GetVaryByCus...
ο»Ώ<%@ Application Inherits="DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication" Language="C#" %> <%@ Import Namespace="DotNetNuke.Entities.Portals" %> <%@ Import Namespace="DotNetNuke.Entities.Users" %> <%@ Import Namespace="R7.Epsilon.Components" %> <script runat="server"> public override string GetVaryByCus...
Add logo option, header font type, size, color
ο»Ώ<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Refresh" content="60" /> <title>TeamTracker</title> <link rel="icon" href="team.png"> </head> <body> <b>...
ο»Ώ<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Refresh" content="60" /> <title>TeamTracker</title> <link rel="icon" href="team.png"> </head> <body> <im...
Fix for U4-4026 Inline styling affect header text
<%@ Page Language="c#" CodeBehind="editLanguage.aspx.cs" AutoEventWireup="True" MasterPageFile="../masterpages/umbracoPage.Master" Inherits="umbraco.settings.editLanguage" %> <%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %> <asp:Content ContentPlaceHolderID="body" runat="serve...
<%@ Page Language="c#" CodeBehind="editLanguage.aspx.cs" AutoEventWireup="True" MasterPageFile="../masterpages/umbracoPage.Master" Inherits="umbraco.settings.editLanguage" %> <%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %> <asp:Content ContentPlaceHolderID="body" runat="serve...
Change the paragraph tag to an anchor tag linked to the item. Also added specific blue text "Click here to register."
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IQueryable<CRP.Core.Domain.Item>>" %> <%@ Import Namespace="CRP.Core.Resources"%> <%@ Import Namespace="CRP.Controllers"%> <table class="itembrowsetable"> <thead> </thead> <tbody> <% // ...
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IQueryable<CRP.Core.Domain.Item>>" %> <%@ Import Namespace="CRP.Core.Resources"%> <%@ Import Namespace="CRP.Controllers"%> <table class="itembrowsetable"> <thead> </thead> <tbody> <% // ...
Make aside panes wider GH-79
<div class="container"> <div class="row"> <div id="ContentTopPane" runat="server" class="col" /> </div> <div class="row"> <main id="ContentPane" runat="server" class="col-md-9 col-sm-7 skin-autoexpand-pane" /> <aside id="AsidePane" runat="server" class="col-md-3 col-sm-5" containertype="G" containername="R7.Ep...
<div class="container"> <div class="row"> <div id="ContentTopPane" runat="server" class="col" /> </div> <div class="row"> <main id="ContentPane" runat="server" class="col-md-8 col-sm-7 skin-autoexpand-pane" /> <aside id="AsidePane" runat="server" class="col-md-4 col-sm-5" containertype="G" containername="R7.Ep...
Revert "Added a very special div"
ο»Ώ<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Test Form</title> <link rel="icon" href="favicon.ico"/> </head> <body> <form id="form1" runat="server"> <div> ...
ο»Ώ<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Test Form</title> <link rel="icon" href="favicon.ico"/> </head> <body> <form id="form1" runat="server"> <div> ...
Document Library Picker - Fix Search Highlighting
<div> <ui-select ng-model="ctrl.documentLibrary.selected" theme="bootstrap"> <ui-select-match placeholder="Select or search for a document library..."> <div ng-if="$select.selected"> <img ng-src="{{ctrl.siteUrl + $select.selected.ImageUrl}}" style="vertical-align: baseline"/> ...
<div> <ui-select ng-model="ctrl.documentLibrary.selected" theme="bootstrap"> <ui-select-match placeholder="Select or search for a document library..."> <div ng-if="$select.selected"> <img ng-src="{{ctrl.siteUrl + $select.selected.ImageUrl}}" style="vertical-align: baseline"/> ...
Adjust so packages.config points to resources repo
<% Response.Redirect("https://raw.githubusercontent.com/cake-build/example/master/tools/packages.config") %>
<% Response.Redirect("https://raw.githubusercontent.com/cake-build/resources/master/packages.config") %>
Fix for setting value update after key was made read-only.
ο»Ώ<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Settings.aspx.cs" Inherits="Settings" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Settings</title> </head> <body> <a href="Default.aspx">Back</a> <form id="SettingsForm" runat="server"> <di...
ο»Ώ<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Settings.aspx.cs" Inherits="Settings" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Settings</title> </head> <body> <a href="Default.aspx">Back</a> <form id="SettingsForm" runat="server"> <di...
Fix typo from previous merge
ο»Ώ<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<LogOnViewModel>" %> <%@ Import Namespace="Orchard.Users.ViewModels"%> <h1 class="page-title"><%=Html.TitleForPage(Model.Title)%></h1> <p><%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink("Register", "Register")%><%=_Encode...
ο»Ώ<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<LogOnViewModel>" %> <%@ Import Namespace="Orchard.Users.ViewModels"%> <h1 class="page-title"><%=Html.TitleForPage(Model.Title)%></h1> <p><%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink("Register", "Register")%><%=_Encode...
Fix BottomPane is missing in 2cols layout
<div class="container"> <div class="row"> <div id="BottomPane1" runat="server" class="col-md-6" /> <div id="BottomPane2" runat="server" class="col-md-6" /> <div id="BottomPane3" runat="server" class="col-md-6" /> <div id="BottomPane4" runat="server" class="col-md-6" /> <div id="BottomPane5" runat="server" cl...
<div class="container"> <div class="row"> <div id="BottomPane1" runat="server" class="col-md-6" /> <div id="BottomPane2" runat="server" class="col-md-6" /> <div id="BottomPane3" runat="server" class="col-md-6" /> <div id="BottomPane4" runat="server" class="col-md-6" /> <div id="BottomPane5" runat="server" cl...
Remove "+New Translation" link on the front-end (keep in "Manage Content" though).
ο»Ώ<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Localization.ViewModels.ContentLocalizationsViewModel>" %> <% Html.RegisterStyle("base.css"); %> <div class="content-localization"><% if (Model.Localizations.Count() > 0) { %> <%--//todo: need this info in the view model--%> ...
ο»Ώ<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Localization.ViewModels.ContentLocalizationsViewModel>" %>
Fix for a rare problem that could occur if there was an exception very early in the ASP.NET page life-cycle (before the "forum" control was instantiated)
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" %> <script runat="server"> public void Page_Error( object sender, System.EventArgs e ) { Exception x = Server.GetLastError(); YAF.Classes.Data.DB.eventlog_create( forum.PageUserID, this, x ); YAF.Classes.Utils.CreateMa...
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" %> <script runat="server"> public void Page_Error( object sender, System.EventArgs e ) { Exception x = Server.GetLastError(); YAF.Classes.Data.DB.eventlog_create( YafContext.Current.PageUserID, this, x ); YAF.Classes.U...
Add missing li to term list, adjust visual style
ο»Ώ<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="TermLinks.ascx.cs" Inherits="R7.News.Controls.TermLinks" %> <asp:ListView id="listTermLinks" runat="server" DataKeyNames="TermId"> <LayoutTemplate> <ul runat="server"> <li runat="server" id="itemPlaceholder"></li> </ul> <...
ο»Ώ<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="TermLinks.ascx.cs" Inherits="R7.News.Controls.TermLinks" %> <asp:ListView id="listTermLinks" runat="server" DataKeyNames="TermId"> <LayoutTemplate> <ul runat="server" class="list-inline small" style="margin-left:inherit"> <li runat="...
Update to U4-1485 for 4.11.4
<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>The website is restarting</title> <META HTTP-...
<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %> <% // NH: Adds this inline check to avoid a simple codebehind file in the legacy project! if (!umbraco.cms.helpers.url.ValidateProxyUrl(Request["url"], Request.Url.AbsoluteUri)) { throw new ArgumentException("Can't redirect to the...
Test MapPath on relative paths
<%@ PAGE LANGUAGE = C# %> <%-- -- Test calling map path on a relative path. This should print -- the full path of map-path.aspx --%> <html> <script runat=server> void Page_Load() { Response.Write (Server.MapPath ("map-path.aspx")); } </script> <body> </body> </html>
Fix for lack of formatting.
<%@ Page Language="c#" CodeFile="error.aspx.cs" AutoEventWireup="True" Inherits="YAF.error" %> <html> <head> <title>Forum Error</title> <link type="text/css" rel="stylesheet" href="resources/forum.css" /> <link type="text/css" rel="stylesheet" href="themes/yafpro/theme.css" /> </head> <body> <br /> <table class="conten...
<%@ Page Language="c#" CodeFile="error.aspx.cs" AutoEventWireup="True" Inherits="YAF.error" %> <html> <head> <title>Forum Error</title> <link type="text/css" rel="stylesheet" href="resources/forum.css" /> <link type="text/css" rel="stylesheet" href="themes/yafpro/theme.css" /> </head> <body> <div class="yafnet"> <table...
Add test page for the CompareValidator control.
<%@ Page Language="C#" %> <html> <script runat="server"> void Check_Click(Object src, EventArgs E) { message.Text = "Entered data is " + (Page.IsValid ? "valid." : "invalid!"); } </script> <head> <title>CompareValidator</title> </head> <body> <form runat="server"> <asp:Label text="Enter twice the same string:" runat...
Fix for rendering bug... Div was no longer containing the subForums messing up theming.
<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="ForumSubForumList.ascx.cs" Inherits="YAF.Controls.ForumSubForumList" %> <asp:Repeater ID="SubforumList" runat="server" OnItemCreated="SubforumList_ItemCreated"> <HeaderTemplate> <div class="subForumList"><span...
<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="ForumSubForumList.ascx.cs" Inherits="YAF.Controls.ForumSubForumList" %> <asp:Repeater ID="SubforumList" runat="server" OnItemCreated="SubforumList_ItemCreated"> <HeaderTemplate> <div class="subForumList"><span...
Fix syntax error due to missing semicolon
package tlc2.tool.distributed; public aspect RMIMethodMonitorAspect { // catch all method calls to RMI methods pointcut callToRemoteMethod() : execution(* tlc2.tool.distributed.InternRMI.*(..)) || execution(* tlc2.tool.distributed.TLCServerRMI.*(..)) || execution(* tlc2.tool.distributed.TLCWorkerRMI.*(.....
package tlc2.tool.distributed; public aspect RMIMethodMonitorAspect { // catch all method calls to RMI methods pointcut callToRemoteMethod() : execution(* tlc2.tool.distributed.InternRMI.*(..)) || execution(* tlc2.tool.distributed.TLCServerRMI.*(..)) || execution(* tlc2.tool.distributed.TLCWorkerRMI.*(.....
Add a 2nd pointcut to handle files named "package.scala".
package scala.tools.eclipse.contribution.weaving.jdt.core; import org.eclipse.jdt.internal.core.util.Util; /** * We override the behaviour of isValidCompilationUnitName() for .scala files. * The standard implementation applies Java identifier rules on the prefix of * the file name, so that, for example, "package.s...
package scala.tools.eclipse.contribution.weaving.jdt.core; import org.eclipse.jdt.internal.core.util.Util; import org.eclipse.jdt.core.JavaConventions; import org.eclipse.core.runtime.IStatus; import org.eclipse.jdt.internal.core.JavaModelStatus; /** * We override the behaviour of isValidCompilationUnitName() for .s...
Fix syntax error due to missing semicolon
package tlc2.tool.distributed; public aspect RMIMethodMonitorAspect { // catch all method calls to RMI methods pointcut callToRemoteMethod() : execution(* tlc2.tool.distributed.InternRMI.*(..)) || execution(* tlc2.tool.distributed.TLCServerRMI.*(..)) || execution(* tlc2.tool.distributed.TLCWorkerRMI.*(.....
package tlc2.tool.distributed; public aspect RMIMethodMonitorAspect { // catch all method calls to RMI methods pointcut callToRemoteMethod() : execution(* tlc2.tool.distributed.InternRMI.*(..)) || execution(* tlc2.tool.distributed.TLCServerRMI.*(..)) || execution(* tlc2.tool.distributed.TLCWorkerRMI.*(.....
Tweak X-Trace API call logging
package edu.brown.cs.systems.retro.aspects.cpu; import edu.brown.cs.systems.baggage.Baggage; import edu.brown.cs.systems.baggage.DetachedBaggage; import edu.brown.cs.systems.retro.resources.CPUTracking; import edu.brown.cs.systems.retro.resources.Execution; import edu.brown.cs.systems.retro.throttling.ThrottlingPoint;...
package edu.brown.cs.systems.retro.aspects.cpu; import edu.brown.cs.systems.baggage.Baggage; import edu.brown.cs.systems.baggage.DetachedBaggage; import edu.brown.cs.systems.retro.resources.CPUTracking; import edu.brown.cs.systems.retro.resources.Execution; import edu.brown.cs.systems.retro.throttling.ThrottlingPoint;...
Add compilation instructions for mirah-parser_with_duby.jar
import java.util.ArrayList; import java.util.List; import mirah.lang.ast.Node; import mirah.lang.ast.NodeScanner; import mirah.lang.ast.NodeImpl; class ChildCollector extends NodeScanner { private ArrayList<Node> children = new ArrayList<Node>(); @Override public boolean enterDefault(Node node, Object arg) { ...
import java.util.ArrayList; import java.util.List; import mirah.lang.ast.Node; import mirah.lang.ast.NodeScanner; import mirah.lang.ast.NodeImpl; /* To compile the new AST with duby extensions: * ajc -1.5 -inpath dist/mirah-parser.jar \ * -outjar dist/mirah-parser_with_duby.jar \ * -classpath ../mirah/javal...
Fix syntax error due to missing semicolon
package tlc2.tool.distributed; public aspect RMIMethodMonitorAspect { // catch all method calls to RMI methods pointcut callToRemoteMethod() : execution(* tlc2.tool.distributed.InternRMI.*(..)) || execution(* tlc2.tool.distributed.TLCServerRMI.*(..)) || execution(* tlc2.tool.distributed.TLCWorkerRMI.*(.....
package tlc2.tool.distributed; public aspect RMIMethodMonitorAspect { // catch all method calls to RMI methods pointcut callToRemoteMethod() : execution(* tlc2.tool.distributed.InternRMI.*(..)) || execution(* tlc2.tool.distributed.TLCServerRMI.*(..)) || execution(* tlc2.tool.distributed.TLCWorkerRMI.*(.....
Remove annotation to remove java5 dependency
package org.lamport.tla.toolbox.test.threading; import org.aspectj.lang.annotation.SuppressAjWarnings; /** * The purpose of this advice is to intercept method execution in the backend * code - namely all code in the packages tlc2, tla2sany, tla2tex, pcal and util. * * It notifies the {@link MonitorAdaptor} about...
package org.lamport.tla.toolbox.test.threading; import org.aspectj.lang.annotation.SuppressAjWarnings; /** * The purpose of this advice is to intercept method execution in the backend * code - namely all code in the packages tlc2, tla2sany, tla2tex, pcal and util. * * It notifies the {@link MonitorAdaptor} about...
Add aspect to check environment variables for Baggage from main method
package edu.brown.cs.systems.tracing.aspects; import edu.brown.cs.systems.baggage.BaggageUtils; /** * Instruments all main methods */ public aspect TracingPlaneInit { declare precedence: TracingPlaneInit, *; before(): execution(public static void main(String[])) { BaggageUtils.checkEnvironment...
Change VOID into VOID * in function header
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation ; All rights reserved. This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation ; All rights reserved. This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
Add linear search in x86 assembly lang
TITLE Linear/Sequential search implemented in x86 assembly (MASM) ; Search for a value in an array of bytes by comparing each value with a key ; return the position of the key ; O(n) time complexity ; the address of the first element in the array must be in the edx ; and the arrays length in the ecx register ; the inde...
Add patch to display popup when attempting to enter forest portrait
.nds .relativeinclude on .erroronwarning on ; This patch adds a text popup if the player tries to enter the Forest of Doom portrait before it's unlocked. ; This is necessary for portrait randomizer when the Forest of Doom portrait isn't in the normal location, since the normal event only works in that sector. @Overla...
Add synchronization at the end of the copy test.
.regalias count s1 .regalias source s2 .regalias dest s3 .regalias temp s4 _start temp = 0xf cr30 = temp ; start all strands count = mem_l[length] source = &dataStart dest = source + count count = count >> 2 ; divide by 4 temp = cr0 ; get strand ID temp = temp * count ; com...
.regalias count s1 .regalias source s2 .regalias dest s3 .regalias temp s4 _start temp = 0xf cr30 = temp ; start all strands count = mem_l[length] source = &dataStart dest = source + count count = count >> 2 ; divide by 4 temp = cr0 ; get strand ID temp = temp * count ; com...
Add experiment showing use of string as immediate value in source operand.
; Sandbox asm file template to start experimenting from SECTION .data SECTION .text global _start _start: nop mov eax,'WXYZ' ; You can use a string as an immediate value ; in a soure operand. Debugger will show 0x5A595857 ; which is the binary ascii equivalent. mov eax,1 ; Code for Exi...
Add patch to fix infinite quest rewards bug in PoR
.nds .relativeinclude on .erroronwarning on .open "ftc/arm9.bin", 02000000h ; Disables the start button exiting the quests menu. ; The B button can be used to exit the quest menu instead. ; This prevents taking quest rewards over and over by exiting before the quest is marked as complete. ; Changes how the quest men...
Convert a string from uppercase to lowercase.
; Sandbox asm file template to start experimenting from ; converts the Snippet string in memory to lowercase by looping and ; adding 32 to each byte in the string SECTION .data Snippet db "KANGAROO" SECTION .text global _start _start: nop mov ebx,Snippet mov eax,8 DoMore: add byte [ebx],32 ...
Add example asm files for testing
; Test program to bit-bang a single character out SOD as serial async data org 00000H BITTIME equ 0113h ; Time delay for a single bit OUTBITS equ 00Bh START: mvi c,'T' ; Send a test character COUT: di mvi b,OUTBITS ; Number of output...
Add tabs to sandbox template.
; Sandbox asm file template to start experimenting from SECTION .data SECTION .text global _start _start: nop mov eax,1 ; Code for Exit Syscall mov ebx,0 ; Return a code of zero int 80H ; Make kernel call SECTION .bss
; Sandbox asm file template to start experimenting from SECTION .data SECTION .text global _start _start: nop mov eax,1 ; Code for Exit Syscall mov ebx,0 ; Return a code of zero int 80H ; Make kernel call SECTION .bss
Add an 64-bit error function
; Copyright 2015 Philipp Oppermann ; ; 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 writ...
; Copyright 2015 Philipp Oppermann ; ; 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 writ...
Add patch to make PoR enemy resistances behave like DoS and OoE
.nds .relativeinclude on .erroronwarning on ; This patch makes resistances in PoR act like resistances in DoS and OoE. ; In vanilla PoR, if an enemy resists even one element of an attack, it will resist the attack. ; This changes it so the enemy must resist all elements of the attack to resist the attack. .open "ftc/...
Fix position of blackjack player plays
;;----------------------------------------------------------------------------;; ;; Align the position of the numbers in blackjack minigame of casino. ;; Copyright 2015 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in complian...
;;----------------------------------------------------------------------------;; ;; Align the position of the numbers in blackjack minigame of casino. ;; Copyright 2015 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in complian...
Fix bug when changing PoR starting area
.nds .relativeinclude on .erroronwarning on .open "ftc/arm9.bin", 02000000h .org 0x02051F90 ; Where the original game's code for loading area/sector/room indexes is. b 020BFC00h ; Jump to some free space, where we will put our own code for loading the area/sector/room indexes. .org 0x020BFC00 ; Free space. mov r...
.nds .relativeinclude on .erroronwarning on .open "ftc/arm9.bin", 02000000h .org 0x02051F90 ; Where the original game's code for loading area/sector/room indexes is. b 020BFC00h ; Jump to some free space, where we will put our own code for loading the area/sector/room indexes. .org 0x020BFC00 ; Free space. mov r...
Fix error with root directory entry for STAGE2.BIN
; Volume Label db 'BOOTDISK' ; File Name db ' ' ; File Extension db 0x08 ; Attribute db 0x00 ; Reserved for NT db 0x01 ; Creation dw 0x0000 ; Creation Time dw 0x0000 ; Creation Date dw 0x0000 ; Last Access Data dw 0x0000 ; FAT32 Upper Half dw 0x8000 ; Last Write Time dw 0x47...
; Volume Label db 'BOOTDISK' ; File Name db ' ' ; File Extension db 0x08 ; Attribute db 0x00 ; Reserved for NT db 0x01 ; Creation dw 0x0000 ; Creation Time dw 0x0000 ; Creation Date dw 0x0000 ; Last Access Data dw 0x0000 ; FAT32 Upper Half dw 0x8000 ; Last Write Time dw 0x47...
Add patch to enable skipping AoS cutscenes on first playthrough
.gba .relativeinclude on .erroronwarning on .open "ftc/rom.gba", 08000000h ; Allow skipping events with start, even if you haven't beaten the game once yet. .org 0x0805B56C mov r0, 3h .close
Add flash on Z cancel demo
// Super Smash Bros. flash on Z cancel demonstration arch n64.cpu endian msb //output "", create include "LIB\N64.inc" include "LIB\macros.inc" origin 0x0 insert "LIB\Super Smash Bros. (U) [!].z64" origin 0x0CB528 base 0x80150AE8 // Z cancel jal Flash origin 0x33204 base 0x80032604 scope Flash: { addiu sp, -0x18...
Add patch to fix bug where common enemy creature sets boss death flag
.nds .relativeinclude on .erroronwarning on ; This patch fixes the bug where the common enemy version of The Creature sets his boss death flag. .open "ftc/overlay9_60", 022D7900h .org 0x022D7D14 ; Check if Var A is 0 (common enemy/boss rush version) and skip setting the boss death flag if so. ; This code already...
Add routine for 32bit print.
; ============================================================================= ; Copyright (C) 2015 Manolis Fragkiskos Ragkousis -- see LICENSE.TXT ; ============================================================================= ;;; Print routine ;;; ebx contains a null terminated string %ifndef PRINT_STRING_PM %defi...
Add patch to make Balore face left if player enters from left
.nds .relativeinclude on .erroronwarning on ; This patch makes Balore detect which side of the room the player enters from, and if it's from the left, he moves himself to face left. .open "ftc/overlay9_23", 022FF9C0h @Overlay41Start equ 0x02308920 @FreeSpace equ @Overlay41Start + 0x140 .org 0x022FFD44 b @BaloreFa...
Move level number in equip menu
;;----------------------------------------------------------------------------;; ;; Align the position of the textbox in equip menu ;; Copyright 2014 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License...
;;----------------------------------------------------------------------------;; ;; Align the position of the textbox in equip menu ;; Copyright 2014 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License...
Modify version string to be more concise
; 0x0000 ; RST 0x00 jp boot ; Magic Number ; 0x0003 .db "KK" ; 0x0008 ; RST 0x08 .fill 0x08-$ rkcall: jp kcall .fill 0x10-$ ; 0x0010 ; RST 0x10 rlcall: jp lcall .fill 0x18-$ ; 0x0018 ; RST 0x18 jp reboot .fill 0x20-$ ; 0x0020 ; RST 0x20 jp pcall .fill 0x28-$ ; 0x0028 ; RST 0x28 jp bcall .fill 0...
; 0x0000 ; RST 0x00 jp boot ; Magic Number ; 0x0003 .db "KK" ; 0x0008 ; RST 0x08 .fill 0x08-$ rkcall: jp kcall .fill 0x10-$ ; 0x0010 ; RST 0x10 rlcall: jp lcall .fill 0x18-$ ; 0x0018 ; RST 0x18 jp reboot .fill 0x20-$ ; 0x0020 ; RST 0x20 jp pcall .fill 0x28-$ ; 0x0028 ; RST 0x28 jp bcall .fill 0...
Add patch to skip emblem drawing screen in PoR
.nds .relativeinclude on .erroronwarning on .open "ftc/overlay9_25", 022D7900h ; Skip the screen where the player has to draw an emblem and press OK when starting a new game. .org 0x022DAAB0 ; Code in the name entry menu after you finished typing in your name that would normally take you to the emblem drawing screen...
Add patch to fix Gravedorcus from left entrance
.nds .relativeinclude on .erroronwarning on ; This patch makes Gravedorcus not immediately damage the player if they enter from the left door. .open "ftc/overlay9_33", 022B73A0h .org 0x022BA230 ; Remove branch that would make Gravedorcus's intro cutscene play if you enter the room from the right. nop .org 0x022...
Move up the number of military games
;;----------------------------------------------------------------------------;; ;; Align the position of the numbers in military minigame of casino. ;; Copyright 2015 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in complianc...
;;----------------------------------------------------------------------------;; ;; Align the position of the numbers in military minigame of casino. ;; Copyright 2015 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in complianc...
Add patch to always enable dowsing hat effect
.nds .relativeinclude on .erroronwarning on ; Always have the Dowsing Hat effect of beeping when there's a hidden blue chest, even if you don't have Dowsing Hat equipped. .open "ftc/overlay9_19", 021FFFC0h .org 0x0221AE30 ; Where the blue chest loads your currently equipped head armor. mov r0, 7h ; Dowsing Hat .c...
Add asm patch to implement magical tickets in DoS
.nds .relativeinclude on .erroronwarning on @Overlay41Start equ 0x023E0100 @FreeSpace equ 0x023E0100 .open "ftc/overlay9_0", 0219E3E0h .org 0x021EEF00 b @FreeSpace .close .open "ftc/overlay9_41", @Overlay41Start .org @FreeSpace ; TODO: Don't allow using during boss fights. mov r0, 0h ; Sector index mov...
Add patch to fix some PoR bosses not playing music in boss rando
.nds .relativeinclude on .erroronwarning on ; Fixes the boss rush versions of certain bosses so they play the boss music when they're created. ; This is for the boss randomizer. @Overlay119Start equ 0x02308EC0 @FreeSpace equ @Overlay119Start + 0x4C0 .open "ftc/overlay9_119", @Overlay119Start .org @FreeSpace @Initia...
Fix Windows compileation for VS 2010
.386 .model flat exception_handler proto .safeseh exception_handler end
.386 .model flat exception_handler proto c .safeseh exception_handler end
Remove unused sentinel table for i686
; This file is a part of the IncludeOS unikernel - www.includeos.org ; ; Copyright 2015 Oslo and Akershus University College of Applied Sciences ; and Alfred Bratterud ; ; 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 ...
; This file is a part of the IncludeOS unikernel - www.includeos.org ; ; Copyright 2015 Oslo and Akershus University College of Applied Sciences ; and Alfred Bratterud ; ; 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 ...
Test source update to test both gl> and gs>
\ This software is the Kestrel-3's first milestone: print a bunch of "A" \ characters to the console. $2000 ORG ( RISC-V ISA spec says we boot here. ) 0 x31 auipc ( X31 = address of next insn ) assume-gp ( This lets us load big constants ) x31 gl> uart-port x2 ld ( X2 = uart transmit port ) x0 65 x3 addi ( ...
\ This software is the Kestrel-3's first milestone: print a bunch of "A" \ characters to the console. $2000 ORG ( RISC-V ISA spec says we boot here. ) 0 x31 auipc ( X31 = address of next insn ) assume-gp ( This lets us load big constants ) x31 gl> uart-port x2 ld ( X2 = uart transmit port ) x0 65 x3 addi ( ...
Fix the bold effect for stamps in request menu
;;----------------------------------------------------------------------------;; ;; Increase textbox size in request menu ;; Copyright 2014 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You ...
;;----------------------------------------------------------------------------;; ;; Increase textbox size in request menu ;; Copyright 2014 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You ...
Add call for load_gdt, but disabled because it triple faults
# multiboot config and setup .set ALIGN, 1<<0 # align modules on page boundaries .set MEMINFO, 1<<1 # provide memory map .set FLAGS, ALIGN | MEMINFO # flags .set MAGIC, 0x1BADB002 # header magic .set CHECKSUM, -(MAGIC + FLAGS) # checksum to prove multi .secti...
# multiboot config and setup .set ALIGN, 1 << 0 # align modules on page boundaries .set MEMINFO, 1 << 1 # provide memory map .set FLAGS, ALIGN | MEMINFO # flags .set MAGIC, 0x1BADB002 # header magic .set CHECKSUM, -(MAGIC + FLAGS) # checksum to prove multi .sect...
Add patch to keep DoS drawbridge down once lowered
.nds .relativeinclude on .erroronwarning on ; This patch makes the drawbridge in DoS stay down permanently once you've lowered it once. ; The button will stay depressed, so that you don't need to worry about hitting it every time you walk into the room from the right. .open "ftc/overlay9_0", 0219E3E0h .org 0x021A27C...
Add completely untested multitasking code
taskswapHandler : pop ecx ; pop eip into ecx pusha mov ebx, [currentTaskNum] ; get the current task imul ebx, TASK_OBJ_SIZE add ebx, RunningTaskList mov [ebx+Task_eip], ecx mov [ebx+Task_stackLoc], esp ; store the relevent things ; get the next Task object into ebx taskswapHandler.goLoop : add ebx...
Set global GOT at 0 and merge infinite loops
use32 global _GLOBAL_OFFSET_TABLE_ global __morestack global abort global memcmp global memcpy global malloc global free global start extern main start: ; rust functions compare esp against [gs:0x30] as a sort of stack guard thing ; as long as we set [gs:0x30] to dword 0, it should be ok mov [gs:0x30], d...
use32 global __morestack global abort global memcmp global memcpy global malloc global free global start global _GLOBAL_OFFSET_TABLE_ _GLOBAL_OFFSET_TABLE_ equ 0 extern main start: ; rust functions compare esp against [gs:0x30] as a sort of stack guard thing ; as long as we set [gs:0x30] to dword 0, it shou...
Add optimistic disk loading code to get the map into 000
BasicUpstart2(start) * = $0810 "Main" start: rts
BasicUpstart2(start) * = $0810 "Main" start: jsr loadmap rts loadmap: lda #fname_end-fname ldx #<fname ldy #>fname jsr $FFBD //; call SETNAM lda #$01 ldx $BA //#; last used dev number bne skip ldx #$08 //; default to device 8 skip: ldy #$0...
Check the state->st_b.condition when returining from the interpreter
%include "Ab/State.nasm" extern ab_act global ab_interpret_func section .text ab_interpret_func: call ab_act ret
%include "Ab/State.nasm" extern ab_act global ab_interpret_func section .text ; Byte* ab_interpret_func(ExecState*, ExecAction) ab_interpret_func: push rbx mov rbx, rdi call ab_act cmp byte [rbx + ExecState.st_b + ExecStateB.condition], ExecCond_HALTED je ab_exit int 3 ab_exit: pop rbx ...
Add test for fsave and frstor
global _start section .data align 16 %include "header.inc" sub esp, 128 fldz fld1 fsave [esp] frstor [esp] %include "footer.inc"
Add proof of concept file for using assembler macros instead of instructions.
ο»Ώ.cpu "6502" .format "flat" * = $F000 BackgroundColor = $80 INT_Byte_SIZE = 1 VSYNC = $00 VBLANK = $01 WSYNC = $02 COLUBK = $09 TIM64T = $296 INTIM = $284 push .macro address, size .for i = \address, i <= \address + (\size - 1), i = i + 1 LDA i PHA .next .endmacro popTo .macro address, size .for i = \address...
Move stamp gives in request menu
;;----------------------------------------------------------------------------;; ;; Increase textbox size in request menu ;; Copyright 2014 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You ...
;;----------------------------------------------------------------------------;; ;; Increase textbox size in request menu ;; Copyright 2014 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You ...
Tweak to skip name signing patch
.nds .relativeinclude on .erroronwarning on .open "ftc/arm9.bin", 02000000h ; Skip the screen where the player has to sign their name and press OK when starting a new game. .org 0x02045E8C ; Code that sets the name signing menu's state to 3 after zeroing out the name pixel data. movne r0, 6h ; Instead set the stat...
.nds .relativeinclude on .erroronwarning on .open "ftc/arm9.bin", 02000000h ; Skip the screen where the player has to sign their name and press OK when starting a new game. .org 0x02045E8C ; Code that sets the name signing menu's state to 3 after zeroing out the name pixel data. movne r0, 6h ; Instead set the stat...
Print additional info about SID file
// load sid music .var music = LoadSid("res/jeff_donald.sid") //.var music = LoadSid("res/demo.sid") .pc = music.location .fill music.size, music.getData(i) .var picture = LoadBinary("res/dcc.prg") .pc = $2000 - 2 "Bitmap Data" .fill picture.getSize(), picture.get(i)
// load sid music //.var music = LoadSid("res/jeff_donald.sid") .var music = LoadSid("res/demo.sid") .pc = music.location "Music" .fill music.size, music.getData(i) .pc = $2000 - 2 "Bitmap Data" .var picture = LoadBinary("res/dcc.prg") .fill picture.getSize(), picture.get(i) //--------------------------------------...
Fix bug in dos seal drawing skip patch
.nds .relativeinclude on .erroronwarning on .open "ftc/overlay9_0", 0219E3E0h ; This makes it so you don't need to draw a Magic Seal to kill a boss. .org 0x02213C04 ; Location of the boss-killed code for loading the current game mode. mov r0, 1 ; Always load 1 (meaning Julius mode). .close
.nds .relativeinclude on .erroronwarning on .open "ftc/overlay9_0", 0219E3E0h ; This patch makes it so you don't need to draw a Magic Seal to kill a boss. .org 0x02213C04 ; Location of the seal drawing code for loading the current game mode. mov r0, 1 ; Always load 1 (meaning Julius mode). ; The above change caus...
Make SYS call to label main, not the end of the BASIC program.
org $0fff load_address: $01 $10 @(low basic_end) @(high basic_end) $01 $00 $9e "4109" 0 basic_end: $00 $00
org $0fff load_address: $01 $10 @(low basic_end) @(high basic_end) $01 $00 $9e @(princ main nil) 0 basic_end: $00 $00
Move technique name and PM in team menu
;;----------------------------------------------------------------------------;; ;; Align the position of the textbox in team menu ;; Copyright 2015 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License....
;;----------------------------------------------------------------------------;; ;; Align the position of the textbox in team menu ;; Copyright 2015 Benito Palacios (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License....
Add patch to make gergoth not be on top of player coming from left
.nds .relativeinclude on .erroronwarning on ; This patch makes Gergoth appear on the right half of his room when the player enters from the left so he's not on top of the player. .open "ftc/overlay9_36", 022FF9C0h .org 0x022FFAF0 ; Code in Gergoth's initialization that normally floors him in different ways depending...
Add patch to start Julius with the Tower Key
.nds .relativeinclude on .erroronwarning on .open "ftc/overlay9_0", 0219E3E0h ; This patch starts the player with the Tower Key in Julius mode. ; This is so the player doesn't get softlocked by the randomizer in Julius mode. .org 0x021F6280 ; Give all 5 magic seals (simplified version of the original code that was...
Change setup for protected mode
[ORG 0x10800] PMode: mov eax, 0xFEEDFACE mov ecx, 0xF00DD00D mov edx, 0xBAADBEEF .jmpy: hlt jmp .jmpy
[ORG 0x10800] [BITS 32] PMode: mov eax, 0x10 mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ss, ax mov esp, 0x90000 mov ebp, esp .jmpy: hlt jmp .jmpy
Add asm patch to break balore blocks with any weapon
.nds .relativeinclude on .erroronwarning on .open "ftc/overlay9_0", 0219E3E0h ; This makes it so that all melee weapons can break balore blocks, not just Julius's whip. .org 0x02212AB0 ; Branch of a switch statement taken for all melee weapons except Julius's whip. b 02212D64h ; Instead take the branch taken for J...
Add in example that was provided to create a basic "kernel" for the atari game for rendering to the screen.
processor 6502 include "vcs.h" include "macro.h" SEG ORG $F000 Reset StartOfFrame ; Start of vertical blank processing lda #0 sta VBLANK lda #2 sta VSYNC ; 3 scanlines of VSYNCH signal... sta WSYNC sta WSYNC sta WSYNC lda #0 sta VSYNC ; 37 scanlines of vertical blank... sta WSYNC sta WSYNC sta WSYNC sta WSYNC ...
Fix load address - still not working :(
//============================================================ // .efo header //============================================================ .pc = $0 .text "EFO2" // fileformat magic .word prepare // prepare routine .word setup // setup routine .word interrupt // irq handler .word 0 ...
//============================================================ // .efo header //============================================================ .pc = $2000 .text "EFO2" // fileformat magic .word prepare // prepare routine .word setup // setup routine .word interrupt // irq handler .word ...