Download Chocolatey Package and Put on Internal Repository # # repositories and types from one server installation. # are repository servers and will give you the ability to manage multiple # Chocolatey Software recommends Nexus, Artifactory Pro, or ProGet as they # generally really quick to set up and there are quite a few options. # You'll need an internal/private cloud repository you can use. Internal/Private Cloud Repository Set Up # # Here are the requirements necessary to ensure this is successful. ![]() Your use of the packages on this site means you understand they are not supported or guaranteed in any way. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.įortunately, distribution rights do not apply for internal use. If you are an organization using Chocolatey, we want your experience to be fully reliable.ĭue to the nature of this publicly offered repository, reliability cannot be guaranteed. Human moderators who give final review and sign off.Security, consistency, and quality checking.ModerationĮvery version of each package undergoes a rigorous moderation process before it goes live that typically includes: * : No optimizations done relative to C version "for("-equivalent loops could be optimized.Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community. * Notes : Translated from C "Unoptimized" version, http: //rosettacode. * Description: Solves "100 Doors" problem, see: http: //rosettacode. Some of the macro code is derived from the examples included with EASy68K. bytes of code the specified emulator does not report cycles. Txa add delta to X by transferring X to A, adding delta to A, then transferring back to XĬlc clear carry before adding (6502 has no add-without-carry instruction)Ĭpx #$64 check to see if we're at or past the 100th door (at $200 + $63)īmi openloop jump back to openloop if less than 100Ģ2. ![]() Inc $1 start out with a delta of 1 (0+1=1) Start: ldx #0 initialize index - first door will be at $200 + $0 At end, closed doors = $00, open doors = $01 assumes memory at $02xx is initially set to 0 and stack pointer is initialized Largely inspired by the optimized C implementation - makes use of the fact that finally only the doors whose numbers are squares of integers are open, as well as the fact that Finally, format array values for output: 0 for closed, 1 for openĤ8. STY 01 Add stride (Y) to index (X, via A) INC $200,X Toggle bit 0 to reverse state of door Zero Page address $01 used to add Stride to Index (via A) because there's no add-to-X or add-Y-to-A instruction. $0200 (door 0) is cleared for display purposes but is not involved in the open/close loops. be directly shown as pixels in the display. On the specified emulator, this is in video memory, so tbe results will ![]() Based on BASIC QB64 unoptimized version: NMOS version of the 6502, but should work with any version. Written for the original MOS Technology, Inc. 100 DOORS in 6502 assembly language for: 250.5 verbose version, but uses ordinary components. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |