Spiral

My friend sent me this:

a bunch of hardcoded print statement which spiral a counter

It pretty much forced me to write spiral.php and spiral.sh to generate this:

print('1')

print('7 8 9')
print('6 1 2')
print('5 4 3')

print('21 22 23 24 25')
print('20  7  8  9 10')
print('19  6  1  2 11')
print('18  5  4  3 12')
print('17 16 15 14 13')

print('43 44 45 46 47 48 49')
print('42 21 22 23 24 25 26')
print('41 20  7  8  9 10 27')
print('40 19  6  1  2 11 28')
print('39 18  5  4  3 12 29')
print('38 17 16 15 14 13 30')
print('37 36 35 34 33 32 31')

print('73 74 75 76 77 78 79 80 81')
print('72 43 44 45 46 47 48 49 50')
print('71 42 21 22 23 24 25 26 51')
print('70 41 20  7  8  9 10 27 52')
print('69 40 19  6  1  2 11 28 53')
print('68 39 18  5  4  3 12 29 54')
print('67 38 17 16 15 14 13 30 55')
print('66 37 36 35 34 33 32 31 56')
print('65 64 63 62 61 60 59 58 57')

print('111 112 113 114 115 116 117 118 119 120 121')
print('110  73  74  75  76  77  78  79  80  81  82')
print('109  72  43  44  45  46  47  48  49  50  83')
print('108  71  42  21  22  23  24  25  26  51  84')
print('107  70  41  20   7   8   9  10  27  52  85')
print('106  69  40  19   6   1   2  11  28  53  86')
print('105  68  39  18   5   4   3  12  29  54  87')
print('104  67  38  17  16  15  14  13  30  55  88')
print('103  66  37  36  35  34  33  32  31  56  89')
print('102  65  64  63  62  61  60  59  58  57  90')
print('101 100  99  98  97  96  95  94  93  92  91')

print('157 158 159 160 161 162 163 164 165 166 167 168 169')
print('156 111 112 113 114 115 116 117 118 119 120 121 122')
print('155 110  73  74  75  76  77  78  79  80  81  82 123')
print('154 109  72  43  44  45  46  47  48  49  50  83 124')
print('153 108  71  42  21  22  23  24  25  26  51  84 125')
print('152 107  70  41  20   7   8   9  10  27  52  85 126')
print('151 106  69  40  19   6   1   2  11  28  53  86 127')
print('150 105  68  39  18   5   4   3  12  29  54  87 128')
print('149 104  67  38  17  16  15  14  13  30  55  88 129')
print('148 103  66  37  36  35  34  33  32  31  56  89 130')
print('147 102  65  64  63  62  61  60  59  58  57  90 131')
print('146 101 100  99  98  97  96  95  94  93  92  91 132')
print('145 144 143 142 141 140 139 138 137 136 135 134 133')

print('211 212 213 214 215 216 217 218 219 220 221 222 223 224 225')
print('210 157 158 159 160 161 162 163 164 165 166 167 168 169 170')
print('209 156 111 112 113 114 115 116 117 118 119 120 121 122 171')
print('208 155 110  73  74  75  76  77  78  79  80  81  82 123 172')
print('207 154 109  72  43  44  45  46  47  48  49  50  83 124 173')
print('206 153 108  71  42  21  22  23  24  25  26  51  84 125 174')
print('205 152 107  70  41  20   7   8   9  10  27  52  85 126 175')
print('204 151 106  69  40  19   6   1   2  11  28  53  86 127 176')
print('203 150 105  68  39  18   5   4   3  12  29  54  87 128 177')
print('202 149 104  67  38  17  16  15  14  13  30  55  88 129 178')
print('201 148 103  66  37  36  35  34  33  32  31  56  89 130 179')
print('200 147 102  65  64  63  62  61  60  59  58  57  90 131 180')
print('199 146 101 100  99  98  97  96  95  94  93  92  91 132 181')
print('198 145 144 143 142 141 140 139 138 137 136 135 134 133 182')
print('197 196 195 194 193 192 191 190 189 188 187 186 185 184 183')

Unboxing #8: Unboxing of Mini Classic Game Console | Learning Electronics In The Lab With Jay Jay

This post is part of my video blog: In The Lab With Jay Jay.

You can support this channel on Patreon: patreon.com/JohnElliotV

Silly Job Title: Power Provider

It’s the In The Lab With Jay Jay Halloween Special! This evening: another unboxing video! This time we’re taking a look at my retro gaming console: The Mini Classic Game Console. Complete with 620 odd games!

I picked this thing up at Vinnies (the thrift store) for fifteen Aussie buckaroos.

The main circuit board looks like this:

I found the S71PL256NC0HFW5U2 which is a 64Mb flash memory. The details of the other circuitry was obscured.

Here is the list of games on this thing:

And this is the manual:

I managed to get this thing wired through an AV to HDMI adapter, then a HDMI to USB adapter, so in the last half of the video you can see me demoing a few of the games and scrolling through the full list of games.

Oh, and in this video I read “NTSL” on the manual and say “they got that wrong, it’s NTSA”, but *I* got that wrong, and it’s “NTSC”. The American video standard. In Australia almost everything is PAL.

Following is a list of products I use which may appear in my videos. Clicking through on these links before purchasing from Amazon, eBay, or AliExpress is a great way to support the channel at no cost to you. Thanks!


Rigol MSO5074 Mixed Signal Oscilloscope

notes

Rigol PLA2216 Logic Probe

notes

ATEN CS1922 2-Port DisplayPort KVM

notes

UNI-T UTi260B Thermal Imager

notes

TOMLOV DM602 Pro Digital Microscope

notes

UNI-T UTG962E Signal Generator

notes

Leadstar 12" LCD TV

notes

Riden RD6006 Bench Power Supply

notes

Tenma 72-10505 Bench Power Supply

notes

UPERFECT 15.6" HDMI LCD

notes

Pro'sKit SS-331H Desoldering Pump

notes

NOYAFA NF-521 Thermal Imager

notes

Dremel 4300 Rotary Tool

notes

Epson Perfection V39 Flatbed Scanner

notes

OWON XDM1041 Bench Multimeter

notes

FILCO Majestouch 2SS 104-key Mechanical Keyboard

notes

ANENG AN-999S Bench Multimeter

notes

FILCO Majestouch 2SS 87-key Mechanical Keyboard

notes

Bosch IXO VI Electric Screwdriver

notes

Victorinox Swiss Champ Red Swiss Army Knife

notes

Kingst LA1010 USB Logic Analyzer

notes

Dremel 2500 Multi-Vise

notes

YIHUA 938D Soldering Tweezers

notes

Dremel 335 Plunge Router

notes

ZKETECH EBD-A20H Electronic Load

notes

Yizhan Microscope

notes

Miniware DT71 Digital Tweezers

notes

Dremel 220 Drill Press

notes

Rigol PLA2216 Compatible Logic Probe

notes

Dremel EZ725 Rotary Tool Accessory Set

notes

Brother P-Touch D210 Label Maker

notes

Brother P-touch H105 Label Maker

notes

ENGINEER PA-21 Crimping Tool

notes

Fluke 1AC-C2-II VoltAlert Voltage Detector

notes

ENGINEER PA-09 Crimping Tool

notes

MESR-100 ESR Meter

notes

Horusdy Soldering Station

notes

Tera HW0006 Pro Barcode Scanner

notes

Hakko CHP 3C-SA Precision Tweezers

notes

FNIRSI DSO-TC3 3 in 1 Oscilloscope, Signal Generator, Component Tester

notes

Ryobi RYSF5003 Stud Finder

notes

M6013 Capactance Meter

notes

UNI-T UT116A Digital Tweezers

notes

Jackcat Electric Scissors

notes

DigiTech QM1323 Multimeter

notes

MMOBIEL Helping Hands

notes

ZZWS Book Holder

notes

TOWOT Industrial Tweezers

notes

Amazon Basics Ratchet Screwdriver

notes

Kaisi 35x25cm Repair Mat

notes

gku AC1009 Underdesk Keyboard Drawer

notes

QWORK Helping Hands

notes

Kaisi 45x30cm Repair Mat

notes

Duratech TH-1980 PCB Clamp

notes

FNIRSI SG-002 Signal Generator

notes

SHDSL Tape Dispenser

notes

Sudake SDK08 Test Clips

notes

Capactior Discharge Pen

notes

AMTECH NC-559-ASM Flux

notes

Sharp EL-546L Scientific Calculator

notes

Bysameyee Head-Mounted Magnifier

notes

Legion Tools Mini Screwdriver Set

notes

Scotch Titanium Scissors

notes

RELIFE RL-007GA Solder Lugs

notes

Super Bright 90000LM LED Torch

notes

Bosch IXO Angle Screw Adapter

notes

OZSTOCK Large Folding Step Ladder

notes

Craft Knife Set

notes

Fuumuui Paint Brushes

notes

Dremel Cutting Discs for Rotary Tool

notes

Gasmate Butane

notes

Dremel 490 Rotary Tool Dust Blower

notes

nmsafety Gloves

notes

HiLetGo USB Logic Analyzer

notes

OZSTOCK Small Folding Step Ladder

notes

Kaisi Soldering Tools w/ Desoldering Pump

notes

Magnetic/Claw Pickup Tool

notes

395nm UV Lamp

notes

Sudake SDK07 Test Clips

notes

MECHANIC UV Curing Light

notes

Comidox ATX Power Supply Tester

notes

Spudgers

Kaqiwze Blow Torch

notes

Telescopic Magnetic Pickup Tool

notes

Third Hand

notes

JST XH2.54 Pre-crimped Connector Kit

365nm UV Lamp

notes

Drill Extension

300pcs Heat Shrink Wire Connectors

IC Chip Pickup Tool

Metal Spudgers

Telescopic Magnetic Pickup w/ Light

Spudger Set

Crowbar

Stainless Steel Tray

Multifunction Hooks

Heat Shrink Wire Connectors

JST XH2.54 6pin Pre-crimped Connector

Telescopic Magnet

Knife Blades

SUNSHINE Hard Brush Set

notes

100pcs Heat Shrink Wire Connectors

DT830B Digital Multimeter

notes

Digital Meter

JST XH2.54 Connector Kit

EXAR Signal Generator

notes

Wozniak Solder Lugs

notes

Let’s go shopping!

Game on!

I was at the thrift store the other day and I found this retro gaming system for AU$15 (US$10). Haven’t had a play with it yet, I’m saving it for when I have some time to do the unboxing. And I didn’t want to do that until I had my new HDMI recording setup installed, but that’s done now, so I AM READY BABY.

John's new retro gaming system