Autor Beitrag
rolpli
Hält's aus hier
Beiträge: 4

Win98 (suse)
Delphi 7
BeitragVerfasst: Sa 24.03.07 17:38 
Hallo!
Ich möchte ein altes Notebook (486SX 25MHz)
als Microkontroller missbrauchen!
Wie bekomme ich Delphi7 dazu ein 16Bit Programm für Win3.1 oder gar DOS (FreeDos)
zu erzeugen?
Ich hab' mal irgentwo so etwas gelesen, aber ich finde es nicht mehr.
Ich brauch nur zugriff auf Port-Adressen für ein selbtgestricktes ISA-Board!
Ein Programm das ich per Diskette zum alten Notebook bringe wird nicht ausgeführt!

Gruß Roland
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Sa 24.03.07 18:00 
Delphi erzeugt seit Delphi 2 keine 16-Bit Programme mehr.

Mit Delphi 1 oder einem TurboPascal (gibts im Borland-Museum) sollte das u.U. gehen. Alternativ kannst du auch versuchen, mit FPC und einem entsprechenden Target eine 16-Bit Exe zu erstellen.

Das das so ohne weiteres gehen sollte, wäre mir neu.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
Force
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 143

Ubuntu Jaunty
FreePascal
BeitragVerfasst: Mo 26.03.07 17:43 
Nur mal ne doofe Frage am Rande: Wofür gibts dann eigentlich die Komponenten-Gruppe Windows 3.1?

_________________
There are 1010 kinds of people. Those who understand base-negative-1 notation, and those who do not.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mo 26.03.07 18:00 
Damit man Projekte, die für Win16 geschrieben wurden, auch unter D7 kompilieren kann. Abwärtskompatiblität. Es werden aber trotzdem nur 32-bit-Executables erzeugt.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
devok
Hält's aus hier
Beiträge: 16

Win XP SP2
Delphi 7 Prof.
BeitragVerfasst: Di 27.03.07 18:18 
Mir fällt da spontan nur Win32s ein.

Würde mich jetzt aber auch mal interessieren
ob ein D7-Prog unter Win3x mit Win32s läuft.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mi 28.03.07 12:10 
Ein sehr einfaches schon. Aber mir fällt da was zu DOS ein. AFAIK gabs da mal was *such* Irgendeinen DOS-Extender, mit dem man PEs unter DOS ausführen konnte, sogar mit einfachen Fenstern. WIe hieß das Ding nochmal?

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mi 28.03.07 12:45 
user profile iconTimosch hat folgendes geschrieben:
AFAIK gabs da mal was *such* Irgendeinen DOS-Extender, mit dem man PEs unter DOS ausführen konnte, sogar mit einfachen Fenstern. WIe hieß das Ding nochmal?


Du meinst bestimmt Turbo Vision. Aber da gabs Delphi noch überhaupt nicht. Außerdem war es Schrott. Ein D7 - Programm läuft definitiv NICHT auf Win 3.11 / DOS. Nicht mal ein "Hello World" Programm. Gilt auch für Console-Applications !!

_________________
Gruß
Hansa
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 28.03.07 12:53 
Turbo Vision war doch eine GUI-Bibliothek für TP.
Ich glaube er meint WDosX
tippach.business.t-online.de/wdosx/

_________________
Markus Kinzler.
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mi 28.03.07 17:29 
Jaja, das ist ja alles möglich. Irgendwelche Emulatoren usw. Aber die Richtung stimmt eben nicht. Jedes einigermaßen sauber programmierte DOS-Programm (auch egal ob Win 3.11 usw.) kann unter XP problemlos laufen. Ein D7-Programm (32 Bit) aber eben nicht auf Win < 95 / DOS.

_________________
Gruß
Hansa
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mi 28.03.07 19:41 
user profile iconhansa hat folgendes geschrieben:
user profile iconTimosch hat folgendes geschrieben:
AFAIK gabs da mal was *such* Irgendeinen DOS-Extender, mit dem man PEs unter DOS ausführen konnte, sogar mit einfachen Fenstern. Wie hieß das Ding nochmal?


Du meinst bestimmt Turbo Vision. Aber da gabs Delphi noch überhaupt nicht. Außerdem war es Schrott. Ein D7 - Programm läuft definitiv NICHT auf Win 3.11 / DOS. Nicht mal ein "Hello World" Programm. Gilt auch für Console-Applications !!

Nein, Turbo Vision meine ich nicht. Aber ich geb dir grundsätzlich Recht. (Vor allem wg. Console-Apps; viele verwechseln die ja mit DOS-Anwendungen). Aber ein sehr einfaches könnte vllt. schon unter Win32s laufen. Aber das ist irgendwie... naja, suboptimal.
Wenn man Win3.1-Anwendungen schreiben will, dann sollte man D1 nehmen, wenn man DOS-Programme schreibt, ist zu Turbo Pascal zu raten.


user profile iconmkinzler hat folgendes geschrieben:
Turbo Vision war doch eine GUI-Bibliothek für TP.
Ich glaube er meint WDosX
tippach.business.t-online.de/wdosx/

Genau, das ist ein DOS-Extender, mit dem man unter DOS 32-bit-PE-Anwendungen ausführen kann. Aber auch etwas... naja, suboptimal eben.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mi 28.03.07 19:51 
user profile iconTimosch hat folgendes geschrieben:
..viele verwechseln die ja mit DOS-Anwendungen. Aber ein sehr einfaches könnte vllt. schon unter Win32s laufen. Aber das ist irgendwie... naja, suboptimal...


Du verwechselst immer noch Abwärtskompatibilität mit Aufwärtskompatibilität. 8) Ein 16 Bit-Programm wird auf XP/Vista zum laufen zu kriegen sein, aber ein XP/Vista Programm, oder zum Thema, ein D7-Prog macht auf einem DOS/ <Win95 System keinen Sinn und wird auch nie laufen.

_________________
Gruß
Hansa
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Mi 28.03.07 20:22 
user profile iconhansa hat folgendes geschrieben:
Ein 16 Bit-Programm wird auf XP/Vista zum laufen zu kriegen sein

Juhuu, ich kann dich mal kritisieren ;)

Vista hat keine 16bit-Unterstützung mehr. Jedenfalls nicht standardmäßig.

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mi 28.03.07 20:42 
Solche Sprüche kenne ich schon seit ME, wenn nicht gar früher. Gut gut, dann lasse mal das Programm im Anhang unter Vista laufen und berichte über irgendeine Fehlermeldung. BP 7.0. Als EXE umbenennen.
Einloggen, um Attachments anzusehen!
_________________
Gruß
Hansa
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 28.03.07 20:47 
Geht nicht!
Einloggen, um Attachments anzusehen!
_________________
Markus Kinzler.
Force
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 143

Ubuntu Jaunty
FreePascal
BeitragVerfasst: Mi 28.03.07 20:53 
bei mir kommt die Fehlermeldung nicht, kann es vielleicht sein, dass du die 64-Bit Version benutzt?

Ich kann jedenfalls das Programm ganz normal starten, auch wenn es nicht so funktioniert wie es funktionieren sollte ^^
Einloggen, um Attachments anzusehen!
_________________
There are 1010 kinds of people. Those who understand base-negative-1 notation, and those who do not.
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 28.03.07 20:57 
Zitat:
kann es vielleicht sein, dass du die 64-Bit Version benutzt?
Ja, wie die Meldung ja auch sagt.

_________________
Markus Kinzler.
Force
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 143

Ubuntu Jaunty
FreePascal
BeitragVerfasst: Mi 28.03.07 20:59 
user profile iconmkinzler hat folgendes geschrieben:
Ja, wie die Meldung ja auch sagt.


Hö? Wo steht das?? Also da steht eigentlich nur, dass man sich an den Hersteller wenden soll, ob der auch ne 32- oder 64Bit-Version hat - und das heißt ja noch lange nciht das du dann Vista 64 benutzt :D

_________________
There are 1010 kinds of people. Those who understand base-negative-1 notation, and those who do not.
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 28.03.07 21:02 
Ein 32Bit-Betriebssystem wird wohl kaum nach einer 64bittigen Exe verlangen...

_________________
Markus Kinzler.
Force
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 143

Ubuntu Jaunty
FreePascal
BeitragVerfasst: Mi 28.03.07 21:03 
hm..das stimmt xD

Na ja, back to topic ^^

_________________
There are 1010 kinds of people. Those who understand base-negative-1 notation, and those who do not.
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mi 28.03.07 23:07 
user profile iconForce hat folgendes geschrieben:
...Ich kann jedenfalls das Programm ganz normal starten, auch wenn es nicht so funktioniert wie es funktionieren sollte ^^


So ist es. Force hat es erfasst. :lol: Die Tatsache, dass Fehlermeldung definitiv erscheint, die reicht. Das BP 7 Programm läuft auch unter Vista. :P Irgendein Programm muss die ja produziert haben. Und das ist mein Mini-Programm. Hier noch der Source :

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
var i : integer;
begin
  for i := 1 to 7 do;
  writeln (i);
end.


Uff, noch ein falscher ; aber der interessiert nicht. 8)

@Force : welche Vista-Version ?

_________________
Gruß
Hansa