Discussion
Loading...

Discussion

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Thomas 🔭🕹️
@thomasfuchs@hachyderm.io  ·  activity timestamp 2 weeks ago

found a bug in FDISK in MS-DOS 5.0, where do I report this

"run-time error R6003 - integer divide by 0"
"run-time error R6003 - integer divide by 0"
"run-time error R6003 - integer divide by 0"
  • Copy link
  • Flag this post
  • Block
Nigel Wadsworth 🇦🇺
@nygl@mastodon.social replied  ·  activity timestamp 2 weeks ago

@thomasfuchs Ooh, memory just bubbled to the surface! You had to low level format based on the MFM/RLL drive controller before you ran fdisk.

debug<enter>
g=c800:5<enter>

Then fdisk, create a new partition.

Then format c: /s/v and give it a name.

The horrors....

  • Copy link
  • Flag this comment
  • Block
EndlessMason
@EndlessMason@hachyderm.io replied  ·  activity timestamp 2 weeks ago

@thomasfuchs to Copilot™

  • Copy link
  • Flag this comment
  • Block
alf149 (Rolf Amfelt)
@alf149@social.data.coop replied  ·  activity timestamp 2 weeks ago

@thomasfuchs
Maybe @shanselman could find it funny?

  • Copy link
  • Flag this comment
  • Block
Scott Hanselman 👸🏽🐝🌮
@shanselman@hachyderm.io replied  ·  activity timestamp 2 weeks ago

@alf149 @thomasfuchs Lemme open source it first and then we can take a PR 😉 https://github.com/microsoft/MS-DOS

  • Copy link
  • Flag this comment
  • Block
Federation Bot
@Federation_Bot replied  ·  activity timestamp 2 weeks ago

@shanselman @alf149 @thomasfuchs

:)

"To whoever winds up maintaining this, I will apoligize in advance. I had just learned 'C' when writing this, so out of ignorance of the finer points of the langauge I did a lot of things by brute force. Hope this doesn't mess you up too much - MT 5/20/86"

https://github.com/microsoft/MS-DOS/blob/main/v4.0/src/CMD/FDISK/FDISK.C

  • Copy link
  • Flag this comment
  • Block
mr_daemon
@mr_daemon@untrusted.website replied  ·  activity timestamp 2 weeks ago

@jpsays @shanselman @alf149 @thomasfuchs

```
#define BEGIN {
#define END }
```

I don't know whether to find this adorable or be horrified.

  • Copy link
  • Flag this comment
  • Block
David Chisnall (*Now with 50% more sarcasm!*)
@david_chisnall@infosec.exchange replied  ·  activity timestamp 2 weeks ago

@mr_daemon @jpsays @shanselman @alf149 @thomasfuchs

The Bourne shell code, as I recall, had an entire header to make C look like Pascal and then was written in almost-Pascal.

  • Copy link
  • Flag this comment
  • Block
axel.
@axeln@norden.social replied  ·  activity timestamp 2 weeks ago

@david_chisnall @mr_daemon @jpsays @shanselman @alf149 @thomasfuchs I know friends of ADA, who did this as well when they had to use C. The outcome is … special.

  • Copy link
  • Flag this comment
  • Block
Lars Ivar
@larsivi@snabelen.no replied  ·  activity timestamp 2 weeks ago

@thomasfuchs

To @foone ?

  • Copy link
  • Flag this comment
  • Block
Paul Cantrell
@inthehands@hachyderm.io replied  ·  activity timestamp 2 weeks ago

@thomasfuchs

On Fedi

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login