473,578 Members | 2,818 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sources for DOS-16bit

Hi all,

before I decided to bother you by e-mail, I spent days (not kidding)
searching on the Internet. I am looking for Python binaries for
DOS-16bit!!!!
Not for Win-16bit or DOS-32 which are the only DOS availabele sources
on Python official site and on the other sites as well!!!
I will prefere sources for Borland C 3.x.

I was trying to use Python 1.0.1 (16python.exe file) for my
application,
but I realized it doesn't work on NEC V25 CPU (8086/8088 compatible
CPU developed by NEC).

I was involved in to our school computer "research" :) and we need
this piece of code to reach our goal.

We have to demonstrate the power of the free software (mainly its
compatiblity for different platforms)!!!

Can you please search your archives or route me somewhere?
I will really appreciate your answer and help
Petr Jakes
Gymnasium student
Jicin
Czech republic

Jul 18 '05 #1
3 2209
"McBooCzech " <pe**@tpc.cz> writes:
before I decided to bother you by e-mail, I spent days (not kidding)
searching on the Internet. I am looking for Python binaries for
DOS-16bit!!!!


I think this is hopeless. Python is too memory hungry for that.
Jul 18 '05 #2
McBooCzech wrote:
I am looking for Python binaries for DOS-16bit!!!!
Not for Win-16bit or DOS-32 which are the only DOS availabele sources
on Python official site and on the other sites as well!!!
I will prefere sources for Borland C 3.x.

I was trying to use Python 1.0.1 (16python.exe file) for my
application,
but I realized it doesn't work on NEC V25 CPU (8086/8088 compatible
CPU developed by NEC).

I was involved in to our school computer "research" :) and we need
this piece of code to reach our goal.

We have to demonstrate the power of the free software (mainly its
compatiblity for different platforms)!!!

Can you please search your archives or route me somewhere?


Does it have to be Python? There are other languages that
are arguably as portable, and certainly more compact. Lua,
for example, has been ported to quite small devices. See
http://www.lua.org/ for more on that, but note there are
other options as well. Python's not the only "free portable
software" around, though it's the best in many ways.

-Peter
Jul 18 '05 #3
On Fri, 2004-12-10 at 16:30, Peter Hansen wrote:
McBooCzech wrote:
I am looking for Python binaries for DOS-16bit!!!!
Not for Win-16bit or DOS-32 which are the only DOS availabele sources
on Python official site and on the other sites as well!!!
I will prefere sources for Borland C 3.x.

I was trying to use Python 1.0.1 (16python.exe file) for my
application,
but I realized it doesn't work on NEC V25 CPU (8086/8088 compatible
CPU developed by NEC).

I was involved in to our school computer "research" :) and we need
this piece of code to reach our goal.

We have to demonstrate the power of the free software (mainly its
compatiblity for different platforms)!!!

Can you please search your archives or route me somewhere?


Does it have to be Python? There are other languages that
are arguably as portable, and certainly more compact. Lua,
for example, has been ported to quite small devices. See
http://www.lua.org/ for more on that, but note there are
other options as well. Python's not the only "free portable
software" around, though it's the best in many ways.

You may want to consider some of the programming languages of the day.
Pascal comes to mind; it was popular when the 8086 was "The Machine to
Own" (tm). Much as Java of a decade and a half later had "bytecode",
there was a byte code for pascal called "p-code" courtesy of UCSD.
Look at wikipedia.org for the "pascal programming language." There
are executables and source code files for lots of pascal compilers.
IMHO this is your best chance at getting a complex program into a
limited machine.

For more insight, look at uClinux and elks. They are both linux
derivatives for small machines like the 8086.

BTW, how much RAM does your machine have? Also, remember that if your
chip is anything like the V20 or V30 from NEC it also can emulate the
8080 (which the Z80 is a clone of.) I have no clue how to use this
mode.

I might be recalling this incorrectly, but the V20 and V30 do have one
incompatibility with the 8086. There is an op code called AAD. It was
intended to help with BCD (base 10) arithmetic and would basically
perform the operation 10 * X + Y. The value 10 happened to be encoded
into the op code. The 8086, when executing this operation, would pull
the value from the op code. The V20-V30 would pull it from a constants
table. So, using any value other than 10 would result in the operation
K * X + Y for some unsigned 4 bit value; on the V20-V30 it was an
undefined operation. What this an accident? I don't know, but a lot of
assembly coders came to depend on the one or two CPU cycles it would
save over a proper mul and add. One or two cycles per array reference
was a big thing back then ...

Anyhow, sorry about babbling on about this non-python related nonsense
and good luck.

Adam DePrince
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1029
by: RDJ | last post by:
=== This is a AoooAoooA project (^_^) === DictObjSys (DOS): Dictionary Objects System V.0.0.1 (2004 Oct 26) Copyright (C) 2004 RDJ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the...
2
1892
by: Maryam | last post by:
Is a split window possible for an MS DOS program and MS Access program?? If so how??? When you run a DOS programn it covers the whole of the PC screen and if you have other applications you cannot see them in the task bar and you have to alt-tab to flick through them.
11
2906
by: Brett | last post by:
Hi. I wrote a program in C that spends most of its time doing integer arithmetic (on a data set loaded at run time), with a negligible amount of I/O. I compiled it with lcc-win32 as a console application. The program took 10 hrs to crunch a particular batch of data. I also compiled with Open Watcom 1.1 with similar results. However, I...
6
1228
by: ~neil~ | last post by:
Hello I was asked to try another group in an earlier post, I was writing the program in C inside a DOS window. Software of choice -> (Borland Turbo C++ 1.0). Nobody uses DOS anymore?...I'm I the only one? Dos is not the issue! It's weather or not C programming is still excepted by users writing programs for the DOS operating
22
2091
by: Stan Weiss | last post by:
I have a program writeen in Microsoft QC 2.5 for DOS which has a very simple interface of using printf and sscanf also gets and puts. Is there an easy way to convert this to Window? Thanks Stan
10
8035
by: Nikolay Petrov | last post by:
How can I convert DOS cyrillic text to Unicode
4
7249
by: Bruno Barros | last post by:
Hello, I don´t know if union REGS <dos.h> is part of this group, but i have a problem. At the moment i use turboc++lite and i don´t have reply when i execute the question code. Only a black screen! Anyone help me? What´s is wrong? This code return the DOS version. #include <stdio.h> #include <dos.h> #include <conio.h> //use getch() e...
8
1768
by: vitalyt | last post by:
Hi, I have cpp file which consist nested templates. Compilation time without optimization is 1-2 minutes, with -O2 turned on more then 5 hours. :( Could anybody help with that problem? AIX 5.2, Visual Age C++ 6 compiler #include <pair> using namespace std; // value typedef
55
12784
by: Steve | last post by:
I have to develop several large and complex C++ hardware test programs that should work under DOS, most likely with 32-bit DOS extender. Development workstation OS would be Microsoft XP. Quite some time ago I worked in DOS, with Borland BC++ 4.1. I do not have it any more. Which compiler would you recommend me now? Which ones support serious...
9
2402
by: =?Utf-8?B?SG93YXJkIFNtaXRo?= | last post by:
I am using VC++ 6.0 (with SP5 installed). When using WinXP this is with SP2 installed. I am developing an instrumentation system comprising a set of networked PCs connected using TCP/IP TCP links. Communications on the Windows PCs use a class derived from CAsyncSocket(). I have written client and server versions of my software for use on the...
0
7779
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8126
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8291
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8150
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6524
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5343
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3801
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1391
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1114
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.