Pantherina,
interdimensionalmeme,

Thanks, I was looking exactly for thst !

It will be great to know exactly what happens when you make the function calls.

I have been very curious to know how they wrote the InStr VB6 function. I hope it’s somewhere in there !

mac, (edited )
@mac@infosec.pub avatar

That page is full of pop-ups.

Pantherina,

Your browser is not full of adblockers

mac,
@mac@infosec.pub avatar

It’s the built-in browser for sync for Lemmy on android

Pantherina,

Which is a chromium instance. I would use mull with UBO and noscript.

cupcakezealot,
@cupcakezealot@lemmy.blahaj.zone avatar

i remember writing .bat files and pretending they were really fancy update scripts when i was like ten they did nothing but it was still fun :)

KISSmyOSFeddit,

They were important to boot games that needed most of your limited memory.

doublejay1999,
@doublejay1999@lemmy.world avatar

640k should be enough for anybody

laughterlaughter,

Bill Gates denied saying this, by the way.

a_wild_mimic_appears,

tell that my mouse driver, the soundblaster driver and the cdrom driver fighting over every single byte of that precious ram 😩

Klear,

Or to play the demo made by the warez group that cracked it before launching the game.

ArmoredThirteen,

Like half of my job is writing .bat files to automate stuff locally and not tell my boss that all I do anymore is double click the right things in the right order…

SpaceCadet,
@SpaceCadet@feddit.nl avatar
SnipingNinja,

Next step, bind them to unused keys on your keyboard and press them in the right order

targetx,
@targetx@programming.dev avatar

I’d recommend scheduled tasks instead. Why be involved at all? :-)

ebits21,
@ebits21@lemmy.ca avatar

I suggest Autohotkey ;)

umbrella,
@umbrella@lemmy.ml avatar

op’s job is now turning on the computer and setting off ahk.

WhiskyTangoFoxtrot,

Just set up a drinking bird to set off AHK.

umbrella,
@umbrella@lemmy.ml avatar

op’s job is now overseeing a drinking bird

shield_gengar,
@shield_gengar@sh.itjust.works avatar

Wow a promotion; fancy!

a_wild_mimic_appears,

i propose to create a menu in which you can define what batchfiles to run in what order. its been a while since i worked with batch files, but if memory serves right, that should be doable, no?

psud,

Yes. You could make menus and capture keystrokes in batch files

My autoexec.bat back in windows 3 asked if you wanted windows or a command line (most games didn’t like the memory overhead of being loaded from windows)

WhiskyTangoFoxtrot,

Do you ever list your job title as Batman?

cupcakezealot,
@cupcakezealot@lemmy.blahaj.zone avatar

only if they keep the it room as dark as possible and whenever someone walks in for help they jump up onto the desk with a flashlight and yell "I’M BATMAN’ while wearing a cape and underpants.

ArmoredThirteen,

Well I work from home so I do keep my room dark, I like to have a blanket over my shoulders, it’s not uncommon for me to just be in my underwear… Honestly I’m most of the way there

nycki,

Tra-la-la!

caseyweederman,

50% hero. 100% cotton.

KingThrillgore,
@KingThrillgore@lemmy.ml avatar

No, because the IRS wants to tax Batman

viking,
@viking@infosec.pub avatar

You can put in a timeout command at the end, and then call the next .bat file.

For example “TIMEOUT /T 60” waits for 60 seconds before resuming, or you can override it by pressing any key.

So if you know how long the wait time between scripts is, just write a master.bat and call them in order, with adequate waiting time in between.

SpaceCadet,
@SpaceCadet@feddit.nl avatar

Or just use the @CALL command to call them in order without having to guesstimate how long they run.

Tja,

This guy is a master bat-er

ArmoredThirteen,

Okay so the dumb part is a lot of this is me abstracting away our complex build system. I’ve basically bubble-gummed a dedicated build system in top of it for only the tasks I do. At a certain point if I start adding configurations or timing I might as well just wrap it in gradle or something. But the system that I’m calling is already their attempt at simplifying another build system that’s underneath it that was written by the old guard using arcane sorcery. The whole thing is a mess

CatTrickery,

I had a job like that and powershell was a godsend. I let it slip when I accidentally set the multiplier for the delay randomiser too low and it did a months work in a morning. I ended up writing a guide for the others there when I left but sadly everyone but me had computers that supported newer versions of Windows where the scripts ended up broken. They asked me to come back and update it the Monday after I left. I asked if they would pay me to do it. They said no. Then I said no.

ArmoredThirteen,

This is part of why I still have manual kickoffs for mine. Never need to worry about work getting done while I’m away or getting done suspiciously fast. Also they should have paid you lol, the dingdongs. Would cost a lot more just in work lost having someone else spend time deciphering and fixing it. They could always get someone else up to speed with the system after it is fixed by you so there’s little or no down time

laughterlaughter,

Please use punctuation.

cupcakezealot,
@cupcakezealot@lemmy.blahaj.zone avatar

punctuation is a scam created by the shadow government

billgamesh,

yeah punctuations is silly who cares

Eldritch,

Typicalcommingfromashillforbigwhitespace!

laughterlaughter,

It isn’t. There’s a reason for it.

chiliedogg,

I still use bat h files and the system scheduler to automate a shocking amount of my job.

PowerCrazy,

Where is the ctrl+alt+del function defined? I just want to see what made that sequence work. I’d also be interested in where ctrl+break is defined.

mkwt,

Ctrl+alt+delete was a separate interrupt line direct from the keyboard. That is, when you pressed the three keys, the interrupt signal was asserted, causing the CPU to jump to the interrupt service routine, which should be in the source code package.

billgamesh,

is it in the source code, or is it just passed right to BIOS?

uid0gid0, (edited )

It was originally a BIOS interrupt, but eventually got captured by the OS. Here’s Dave Bradley talking about inventing it m.youtube.com/watch?v=K_lg7w8gAXQ

Telodzrum,

Bill does not think that is funny.

viking,
@viking@infosec.pub avatar

LOL, some of the comments in the source are gold.

github.com/microsoft/MS-DOS/blob/…/ABORT.ASM


<span style="color:#323232;">Note:  We do need to explicitly close FCBs.  Reasons are as follows:  If we
</span><span style="color:#323232;">; are running in the no-sharing no-network environment, we are simulating the
</span><span style="color:#323232;">; 2.0 world and thus if the user doesn't close the file, that is his problem
</span><span style="color:#323232;">; BUT...  the cache remains in a state with garbage that may be reused by the
</span><span style="color:#323232;">; next process.  We scan the set and blast the ref counts of the FCBs we own.
</span><span style="color:#323232;">;
</span><span style="color:#323232;">; If sharing is loaded, then the following call to close process will
</span><span style="color:#323232;">; correctly close all FCBs.  We will then need to walk the list AFTER here.
</span><span style="color:#323232;">;
</span><span style="color:#323232;">; Finally, the following call to NET_Abort will cause an EOP to be sent to all
</span><span style="color:#323232;">; known network resources.  These resources are then responsible for cleaning
</span><span style="color:#323232;">; up after this process.
</span><span style="color:#323232;">;
</span><span style="color:#323232;">; Sleazy, eh?~
</span>
bane_killgrind,

This is what people mean when they say hostile to users damn wow

interdimensionalmeme,

I imagine that’s already a compatibility thing. If the os closed the file handles at that point but the program was expecting to do that, it might crash.

Omega_Jimes,

Look at them, embracing open source like this, how wonderful.

MacNCheezus,
@MacNCheezus@lemmy.today avatar

Can’t wait for the OSS community to fork it and build some cool shit on top of this /s

Duamerthrax,

Well, this should be incredibly useful for Dosbox and improving playability of retro games, right?

MacNCheezus,
@MacNCheezus@lemmy.today avatar

Perhaps, if there are some very specific compatibility issues that haven’t been solved yet.

That said, MS-DOS 4 isn’t even the most recent version, the last one was 6.22 to my knowledge, and IIRC a lot of games tended to require at least version 5 or 6.

JasonDJ,

I’m sure the only reason why they waited this long is that they needed to make sure it’s old enough that the companies they stole code from can’t sue.

anindefinitearticle,

And look at all of they ways they are extending the open source community via github and copilot!

h3rm17,

They sure are extinguishing any posible fear I may have about the absolutely destroying anything beautiful.

ILikeBoobies,

MS-DOS 1.25, 2.0 were release years ago, your title should specify 4.0

lemmyreader,

Exactly.

m3t00,
@m3t00@lemmy.world avatar

not making money. make windows a gui on top of linux. like osX. silly microsoft

m3t00,
@m3t00@lemmy.world avatar

reminds me of the last time I had to remember that dir/copy/move with backslashes. dad’s insurance ‘software’. always amazed me how computer users get stuck in a way of doing things. print mail

redcalcium,

Take that FreeDOS!

darth_tiktaalik, (edited )
@darth_tiktaalik@lemmy.ml avatar

Pretty soon they’ll need to change the name to HipsterDOS.

FreeDOS before it was cool.

Tja,

Look at me, I AM FREE DOS now

theshatterstone54,

Ah, the Quick and Dirty Operating System… we meet again.

HowMany,

Wake me when they release DOS 6.x source code.

TypicalHog,

Wake me up when they open source Windows 10/11.

neutron,

Let’s wait until 2050s.

TypicalHog,

That’s too optimistic, haha!

werefreeatlast,

I think nobody wants that. I can think of a better way to fuck up your hardware and it pulls nails too.

Microsoft…you keep it. We good.

RubberElectrons,
@RubberElectrons@lemmy.world avatar

😂

TypicalHog,

I want it, it’s never ever gonna happen tho.

xavier666,

Should have just before the heat death of the universe (if we are lucky)

TypicalHog,

fr fr

herrcaptain,

I love that they specify that they’re not accepting pull requests.

QuazarOmega,

Even funnier when it’s their own platform and it has been missing the feature to disable them for so long afaik

jemikwa,

github.com/microsoft/MS-DOS/blob/…/CTRLC.ASM
; The user has returned to us.
So ominous.
; Well… time to abort the user.
Goodbye

lemmyreader,

!remind 10 years when they will release the source code of Windows 3.0 for non-commercial use

(3.11 will take another 10 years)

figaro,

Not gonna happen, windows probably still has 3.0 code deep beneath the tape holding things together now

  • All
  • Subscribed
  • Moderated
  • Favorites
  • opensource@lemmy.ml
  • rosin
  • Youngstown
  • osvaldo12
  • khanakhh
  • slotface
  • tacticalgear
  • InstantRegret
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • everett
  • magazineikmin
  • Durango
  • provamag3
  • GTA5RPClips
  • ethstaker
  • modclub
  • mdbf
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • megavids
  • tester
  • anitta
  • JUstTest
  • lostlight
  • All magazines