News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Recent posts

#21
avatar_Prodatron
Off topic / Re: Windows 11 forbidden folde...
Last post by Prodatron - Yesterday at 21:12
Quote from: HAL6128 on Yesterday at 14:49AUX: — an auxiliary device. In CP/M 1 and 2, PIP used PUN: (paper tape punch) and RDR: (paper tape reader) instead of AUX:
LST: — list output device, usually the printer
PRN: — as LST:, but lines were numbered, tabs expanded and form feeds added every 60 lines
NUL: — null device, akin to /dev/null
EOF: — input device that produced end-of-file characters, ASCII 0x1A
INP: — custom input device, by default the same as EOF:
OUT: — custom output device, by default the same as NUL:
[/left]

[/code]

Is this from CP/M itself (until 2.2)?
Wasnt this only used by PIP? At least the BDOS doesnt have any clue about these strings. Maybe later CCP of CP/M plus as well? But MSDOS/QDOS was 2.2 based Not 3.x. So yes Bryce is right, this has nothing really to do with CP/M imho, just the naming.
#22
avatar_McArti0
Amstrad CPC hardware / Re: Memory refresh plus
Last post by McArti0 - Yesterday at 19:57
Quote from: McArti0 on Yesterday at 12:41CRTC is not refreshing CPC only when R0=0. if R0<>0
errata: CRTC is not refreshing CPC only when R1=0. if R1<>0
#23
avatar_Bryce
Off topic / Re: Windows 11 forbidden folde...
Last post by Bryce - Yesterday at 19:52
Slightly interesting, but absolutely nothing to do with CP/M. This is just to avoid security loopholes in script based languages / SQL code injection hacks. It has always existed, but the list seems to get longer with each Win version.

Bryce.
#24
avatar_m_dr_m
Programming / Re: Basic On Mushroom
Last post by m_dr_m - Yesterday at 19:45
Regarding Lua, I forgot I did some preliminary experiments. Maybe I should post the results somewhere more visible?

The conclusions were: 
  • wren seems to have a smaller footprint (while being a more attractyves language)
  • it wasn't viable!

But those tests were done with LLVM_Z80, and since then SDCC has improved and generates better code (e.g. calls via register instead of stack handled via IX).
#25
avatar_m_dr_m
Programming / Re: Basic On Mushroom
Last post by m_dr_m - Yesterday at 19:38
Quote from: Targhan on 23:50, 27 March 24What about something like LUA on CPC?  It is simple, and can be added "modules" for more features, which could be added later.
Sounds like a great idea!
It has a lot of warts compare to e.g. Nim, but it might be small enough.
I might try to port the VM, following @PulkoMandy's steps. As GUNHED suggests, with careful separation of system part, to target:
  • CP/M? (to benefit a larger community, and CP/M on CPC has become sexy again)
  • SymbOs directly? (for less memory constraints?)

Quote from: eto on Yesterday at 08:40Would an adaption of MMBasic make sense? It's designed for microcontrollers with limited RAM. Not sure if it's possible to adapt it for an 8bit processor though.
The site states: "In its minimal version MMBasic typically compiles to about 94K of flash". Ouch!
It can be good for inspiration, but if I were to port a language, I would prefer start from wren.

@GUNHED. You should try lisp.

Syntax is usually passionately debated, while being the less important aspect, as long as:
  • it is consistent
  • easy stuff is easy to write and hard stuff is possible to write
Parenthesis are already used for function calls. It makes no sense discriminating user functions from built-in functions, especially if you want to promote functions as first class citizen (ability to store, pass and return functions) and allow generic programming.
#26
C
Off topic / Re: Windows 11 forbidden folde...
Last post by cwpab - Yesterday at 19:30
I have already accidentally written this double message, so...

According to Microsoft..
" These folder can't be created on the desktop as they refer to "System Action" or "Device" and are reserved for tasks to be performed by Windows. Here are other folders that cannot be created:
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9,
LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 "
#27
C
Off topic / Re: Windows 11 forbidden folde...
Last post by cwpab - Yesterday at 19:24
I'm using Windows 10 Enterprise LTSB (yeah, I pirated a special educational copy to get rid of all the crap, which is not included here) and when I create a folder named "OUT", there is no error message.

It would be interesting to try in some Windows 3.11 and Windows 95 emulators I have on my DBGL MS-DOS game collection, though... Hmmm.

EDIT: Okay, it seems that only "CON", "AUX" and "PRN" are forbidden in my Windows 10. Cool stuff!
#28
A
Off topic / Re: Windows 11 forbidden folde...
Last post by andycadley - Yesterday at 18:56
Quote from: cwpab on Yesterday at 18:50Is there any possible explanation to why this happens in Windows 11, but not in Windows 10? (Maybe I should try creating a folder with those names from the CLI?)

I mean, if they are supposedly "dragging" this from 35 years ago, shouldn't this also be an issue in ALL versions of Windows and not just in 11?
It does happen in all versions of Windows. I think the NT line always had ways of getting around it if you really wanted to create yourself headaches (using NTFS native paths for example) but Explorer always had a prompt to block you.

Every now and again someone "discovers" this and thinks it's a new thing.
#29
Quote from: Bryce on Yesterday at 13:50Check the flat cable to the drive
Will do. Thx.

Quote from: Bryce on Yesterday at 13:50Also check the drive PCB (especially the sockets) for dry joints.
on the drive? I checked with another drive which definitely works and it has the same issues, so it probably is the 664. Or do you mean the sockets of the ICs on the 664 PCB?
#30
C
Off topic / Re: Windows 11 forbidden folde...
Last post by cwpab - Yesterday at 18:50
Is there any possible explanation to why this happens in Windows 11, but not in Windows 10? (Maybe I should try creating a folder with those names from the CLI?)

I mean, if they are supposedly "dragging" this from 35 years ago, shouldn't this also be an issue in ALL versions of Windows and not just in 11?
Powered by SMFPacks Menu Editor Mod