Difference between revisions of "Z80:DevTuesday"

From SpecNext official Wiki
Jump to: navigation, search
(2021 week 23, modulo 320)
(Adding two more snippets posted on Next discord)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==== 2024 week 12 (Mar 19) ====
 +
 +
Ped7g - 9 bytes routine calculating byte size 1,2 or 4 (C like integer types) from number of bits (A = 1..32):<br>
 +
[https://gist.github.com/ped7g/27ffe953d7af00a687dd8c9d6ea7ad6c source @github gists]<br>
 +
[https://www.facebook.com/groups/z80asm/posts/1992580414468910/ original challenge post @fb]
 +
 +
==== 2023 week 32 (Aug 10) ====
 +
 +
em00k - dot command converting SL2 images + Next Palette to 256 color BMP:<br>
 +
[https://github.com/em00k/sl2bmp source and binary @github]
 +
 +
==== 2023 week 19 (May 9) ====
 +
 +
Ped7g - Z80 quicksort array of pointers to 64 byte long strings (esxdos filenames):<br>
 +
[https://www.facebook.com/groups/SpectrumNextDev/posts/1886842855027058/ facebook post (for comments/questions)]<br>
 +
[https://gist.github.com/ped7g/5b29c9199494bf35ee5b0aeacf98df75 quicksort_strings.asm source @github gists]
 +
 +
==== 2022 week 7 (Feb 15) ====
 +
 +
Ped7g - Z80N specific optimisation of calculating address in 90 degree rotated char buffer:<br>
 +
[https://discord.com/channels/556228195767156758/686699389703422030/942746180645969981 discord post with NEX file]<br>
 +
[https://gist.github.com/ped7g/cc65958c69f08564d140ffd14a9ef715 clockwise32x32char_z80n.asm source @github gists]
 +
 +
==== 2021 week 33 (Aug 17) ====
 +
 +
Ped7g - RRCA-like nibbles rotation, both Z80N and Z80 variants:<br>
 +
[https://www.facebook.com/groups/SpectrumNextDev/posts/1443193089392039/ facebook post (for comments/questions)]<br>
 +
[https://github.com/ped7g/ZXSpectrumNextMisc/blob/master/snippets/bit_fun.i.asm source+NEX @github]
 +
 +
==== 2021 week 30 (Jul 27) ====
 +
 +
Ped7g - "modulo 192" and "modulo 40" Z80N routine:<br>
 +
[https://www.facebook.com/groups/SpectrumNextDev/posts/1429633577414657/ facebook post (for comments/questions)]<br>
 +
[https://github.com/ped7g/ZXSpectrumNextMisc/blob/master/snippets/mod192.i.asm source+NEX @github] [https://github.com/ped7g/ZXSpectrumNextMisc/blob/master/snippets/mod40.i.asm (mod 40)]
 +
 
==== 2021 week 23 (Jun 8) ====
 
==== 2021 week 23 (Jun 8) ====
  

Latest revision as of 21:16, 22 March 2024

2024 week 12 (Mar 19)

Ped7g - 9 bytes routine calculating byte size 1,2 or 4 (C like integer types) from number of bits (A = 1..32):
source @github gists
original challenge post @fb

2023 week 32 (Aug 10)

em00k - dot command converting SL2 images + Next Palette to 256 color BMP:
source and binary @github

2023 week 19 (May 9)

Ped7g - Z80 quicksort array of pointers to 64 byte long strings (esxdos filenames):
facebook post (for comments/questions)
quicksort_strings.asm source @github gists

2022 week 7 (Feb 15)

Ped7g - Z80N specific optimisation of calculating address in 90 degree rotated char buffer:
discord post with NEX file
clockwise32x32char_z80n.asm source @github gists

2021 week 33 (Aug 17)

Ped7g - RRCA-like nibbles rotation, both Z80N and Z80 variants:
facebook post (for comments/questions)
source+NEX @github

2021 week 30 (Jul 27)

Ped7g - "modulo 192" and "modulo 40" Z80N routine:
facebook post (for comments/questions)
source+NEX @github (mod 40)

2021 week 23 (Jun 8)

Ped7g - "modulo 320" Z80N routine:
facebook post (for comments/questions)
source+NEX @github

2021 week 14 (Apr 6)

Ped7g - size-optimised initialisation of longer nextreg-value pairs:
facebook post (for comments/questions)
source @github gists

2021 week 5 (Feb 2)

Ped7g (based on Omega's code from VOID demo) - second version - ULA attributes fade in/out:
facebook post with video
source @github gists

2021 week 2 (Jan 12)

Ped7g (based on Omega's code from VOID demo) - ULA attributes fade in/out (code-size focused):
facebook post
source @github gists

2021 week 1 (Jan 5)

Ped7g (based on work and discussions of fellow Next devs) - detect Z80N CPU:
facebook post
source+NEX @github

2020 week 51 (Dec 15)

Busy/Baze/Zilog/Ped7g - decode 5-bit-letter bitstream in 19 bytes:
facebook post
source+NEX @github

2020 week 45 (Nov 3)

Ped7g - displaying all 512 colours which ZX Next could produce on screen:
facebook post
source+NEX @github

2020 week 44 (Oct 27)

Ped7g - assembly snippets: integer comparison and finding total number of video-lines:
facebook post
source @github

em00k - loadbmp various examples:
source @github

2020 week 42 (Oct 13)

Ped7g - v2 of using ZX128 shadow ULA screen and nextreg $69 for "double buffering":
v2 source @github gists - using also DMA and custom IM1 routine

2020 week 41 (Oct 6)

Matt Davies - simple game controls (reads "OPQA space" and MD1 joystick):
facebook post
source @gitlab snippets

Matt Davies - Z80N Bit Arrays:
facebook post
source @gitlab snippets

Ped7g - using ZX128 shadow ULA screen and nextreg $69 for "double buffering":
v1 source @github gists

2020 week 32 (Aug 4)

Ped7g - reading Atari "driving controller" on Kempston 2 port:
facebook post
source and NEX file @github

2020 week 22 (May 26)

Ped7g - palette fade-out effect in Layer2 320x256 mode (using linear interpolation with Bresenham algorithm):
facebook post
source @github

2020 week 19 (May 5)

Ped7g - big-picture scroll in Layer2 320x256 mode:
facebook post
source @github

2020 week 12 (Mar 17)

Matt Davies - DMA copy and fill:
facebook post
source @pastebin

2020 week 11 (Mar 10)

Matt Davies - A string compare routine:
facebook post
source @pastebin

2020 week 10 (Mar 3)

em0000k - Simple Tilemap Example:
facebook post
source @github

Ped7g - clamping HL value to -0x100..+0x100 (16b signed math):
source @gist.github

2020 week 8 (Feb 18)

Matt Davies - Some simple utilities:
facebook post
source @pastebin

em0000k - DMA samples player (one channel, different samples in succession):
forum post
source @pastebin

Chris Kirby - simple cooperative multitasking system for z80.
facebook post
source @pastebin

2020 week 7 (Feb 11)

Matt Davies - Memory page allocation:
facebook post
source @pastebin "2021 variant" @gitlab

David Saphier - DMA sample player:
facebook post
source @pastebin

Robin Verhagen-Guest - Multiframe Copper program:
facebook post
source @pastebin