Vibe Coded

Code created with AI (LLM) assistance.

The fundamentals may already be known, but the code is created by "Conversation". This can be partially written or entirely written from scratch.

Example with ChatGPT:

Write a batch script that emulates the startup of a retro PC. Include a CD ROM check, memory check and some dummy dates

Chat GPT 4o Response:

Hereโ€™s a fun little retro-style batch script that emulates the startup of a 90s/early 2000s PC. It mimics:

You can save this as retro_boot.bat and run it in a Windows Command Prompt for the nostalgic vibes.

@echo off
title IBM Compatible PC Boot ROM
color 0A
cls

echo.
echo PhoenixBIOS 4.0 Release 6.0     
echo Copyright 1985-2001 Phoenix Technologies Ltd.
echo All Rights Reserved
echo.

REM Simulate memory test
set /a mem=0
:memtest
cls
echo Memory Test : %mem%K OK
set /a mem+=4096
ping -n 1 127.0.0.1 > nul
if %mem% lss 65536 goto memtest

echo.
echo Detecting IDE drives...
ping -n 2 127.0.0.1 > nul
echo Primary Master: WDC WD800BB-75JHCO
ping -n 2 127.0.0.1 > nul
echo Secondary Master: TSSTcorp CDDVDW SH-S223C
ping -n 1 127.0.0.1 > nul
echo.

REM Simulate CD-ROM check
echo Checking for bootable CD-ROM...
ping -n 2 127.0.0.1 > nul
echo No bootable media found.
echo.

REM Dummy system dates
echo System Date: 12/07/2003
echo System Time: 07:43:21
ping -n 2 127.0.0.1 > nul

echo.
echo Starting MS-DOS...
ping -n 2 127.0.0.1 > nul
cls

REM Fake DOS prompt
echo Microsoft(R) Windows Millennium
echo (C) Copyright Microsoft Corp 1981-2000.
echo.

echo C:\>dir
ping -n 2 127.0.0.1 > nul
echo Volume in drive C has no label.
echo Volume Serial Number is 04F3-29C1
echo.
echo Directory of C:\

echo AUTOEXEC.BAT     01-04-2002  07:23a                 42
echo CONFIG.SYS       01-04-2002  07:23a                105
echo COMMAND.COM      01-04-2002  07:23a             93,856
echo WIN             <DIR>        01-04-2002  07:23a
echo GAMES           <DIR>        01-04-2002  07:23a
echo.

echo C:\>_

pause > nul

Sounds like a vibe to me, while we're vibing, see what else you can do with LLMs in the ๐Ÿ  HomeLab