Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

developing a PC-98 emulator

Name: L4TE 2012-01-21 11:40

Hello fellow /prog/grammers.  I come with a question that I hope you will be able to answer or give me advice.  If not then at least make the troll posts obvious so that I don't waste time learning something useless. 

I want a PC-98 emulator, for Android.  I want to be able to play touhou(the first 5 games) on the go.  The thing is that even the emulator that exist for PC aren't that many and I think only one works good.

I currently only know Visual basic(a little since I learned it like 6 years ago and haven't used it in the 5 years after) and a little of python(learning it through google's online course).

The question is, can I make an emulator with that knowledge or is another language(other than python that is) better for the task?  And which?

Name: Anonymous 2012-01-21 11:46

Just port and extend Dosbox.

Name: Anonymous 2012-01-21 11:51

Learn how to design programs.
Learn how to use the android sdk.
Use any language, it doesn't matter.

If it's slow, consider profiling your emulator, learning the android ndk, and then replacing slow code.

Name: L4TE 2012-01-21 11:55

>>2
The PC-98 is different from the IBM PC in many ways; for instance, it uses its own 16 bit C-Bus instead of the ISA bus; BIOS, I/O port addressing, memory management, and graphics output are also different. However, localized MS-DOS or Windows will still run on PC-9801s.

 I don't know if that will work...

Name: Anonymous 2012-01-21 13:35

>>3
Use any language, it doesn't matter.

But:
The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.

Name: Anonymous 2012-01-21 13:43

If you want to wrote for Android, you have to use Java. This is what has held me back.

Name: Anonymous 2012-01-21 14:06

If I write a VM using Java will that be like using a VM inside a VM inside a VM?

thus i achieve triple VM Satori?

Name: L4TE 2012-01-21 14:13

>>6
Is it that advanced/hard_to_learn?

Name: Anonymous 2012-01-21 14:21

>>8

most people just find it frustrating, but people coming from a scripting background find java difficult, probably because of the transition from flexible and terse syntax to verbose and strict. And you have to get used to the idea of structuring everything inside of classes, which is new to someone who has only written scripts, but that type of organization is common practice in most languages.

Name: Anonymous 2012-01-21 14:24

>>8
the good thing is that you have a project in mind, it easier to learn something to archive something else, that to learn something just for the sake of it.

Name: Anonymous 2012-01-21 14:58

>>4
I don't know if that will work...
It shouldn't be a problem, Dosbox already supports a lot of different hardware set-ups.  For the BIOS I'm pretty sure it's a difference of less than ten interrupts.

Name: Anonymous 2012-01-21 15:22

>>5
There's always the Android NDK, but that will limit the portability and compatibility. (Android fragmentation in full effect yo.)

Name: L4TE 2012-01-21 15:48

>>12
>>3
The NDK allows you to implement parts of your applications using native-code languages such as C and C++.


Does "native code" mean any language I please? Because the only languages they mantion are C and C++.
:/

Name: Anonymous 2012-01-21 16:01

>>13
Trolling or retarded? "Native code" means it compiles into native machine code instead of using the virtual machine.

Name: Anonymous 2012-01-21 16:43

>>14
Excuse me do you know how to read?
Maybe you missed the part where I explain that I don't know much about programing?

Suck my dick, dude.

Name: Anonymous 2012-01-21 17:13

>>15
If you're that unable of finding out things for yourself you'll never know much about programming either.

Name: Anonymous 2012-01-21 17:30

lol
you need to be good in Java mate
pick up a book and learn it until you master it
then you move on to Android API

Name: Anonymous 2012-01-21 17:31

>>16 Mind telling us how you found out what native code was? If it involved at least one other person, then you are a hypocrite.

Name: Anonymous 2012-01-21 17:37

>>18
Not by asking stupid shit like a complete fucktard.

Name: Anonymous 2012-01-21 17:58

>>5,12
Android run a modified Java VM, named Dalvik. So it's expected that most code which runs in a regular JVM can be converted to Dalvik's .dex class files.

Also, Android have this SL4A, which allow development in various scripting languages, Python included.

For the native counterpart, the NDK provides a cross-compiler and some libraries. Can't you download gcc sources and make your own for the same arm targets, and then link with android ndk's gcc?

Name: Anonymous 2012-01-21 20:58

>>20
What would that achieve?

Name: Anonymous 2012-01-21 22:02

>>19
Smart people learn by asking, SMARTASSES(not unlike yourself)don't.

Name: Anonymous 2012-01-21 22:17

>>21 ?

Name: L4TE 2012-01-22 13:12

So I can make an emulator in java?

Anyways, from what I've gathered in this thread, this is what I'll need to do:

learn Java
make a PC-98 emulator that works on PC(or find one that does and is GLP'd)
learn android SDK
port emulator to android using SDK
if it's slow or doesnt work right learn ndk
somehow use ndk to make emulator port work

Is that ok or should I make some adjustments to the proposed workflow?

Name: Anonymous 2012-01-22 13:17

>>24
>>24
scrub toilets

Name: Anonymous 2012-01-22 13:25

>>25
Friends don't let friends learn Java.

Name: Anonymous 2012-01-22 13:41

>>26
There is always something to gain from learning something, even if it is an esoteric programming language.

Name: Anonymous 2012-01-22 14:01

>>22
There's a difference between asking and being lazy.

>>23
Building your own cross-compiler instead of just using what's provided in the NDK?

Name: Anonymous 2012-01-22 14:32

>>28
You obviously don't know it.

Name: Anonymous 2012-01-23 17:10

Is there any kind of PC-98 Hardware Sound Emulator (think Hoot) for Android? I'd love to have something like that.

Then again, I'd love to have a not-lacking-in-performance-or-MIDI-Win95 Emulator so I can play oldschool eroge on the go..

Name: Da Mersennary. 2012-01-23 21:22

Check my 5 bits.

Name: Anonymous 2012-01-23 22:09

bum bum bum... ^^

Download the Android NDK

The Android NDK is a companion tool to the Android SDK that lets you build performance-critical portions of your apps in native code. It provides headers and libraries that allow you to build activities, handle user input, use hardware sensors, access application resources, and more, when programming in C or C++. If you write native code, your applications are still packaged into an .apk file and they still run inside of a virtual machine on the device. The fundamental Android application model does not change.

Name: Anonymous 2012-01-23 22:11

natives ain't natives with android native

"exterminate/..."

http://developer.android.com/sdk/ndk/index.html

Name: Anonymous 2012-01-24 2:14

What do you think about this, /prog?:
http://www.linuxjournal.com/article/10940

Name: Anonymous 2012-01-24 8:20

>>34
Like /prog/, Android can always suck more. Anyway, you can obviously use anything that uses the same ABI as the NDK C compiler.

Name: L4TE 2012-01-24 17:10

>>35
ABI

Association Of British Insurers
American Bankruptcy Institute
ankle-brachial index
a phoenix demon in the form of a human who makes her debut in the episode titled: The Fiery Bird Master, Princess Abi (episode 146) and is present in most of the episodes up until the episode titled: The Demon Linked with the Netherworld (episode 154) where she and her mother Tekkei are slain by Naraku.
American Biographical Institute

Which one?

Name: Anonymous 2012-01-24 18:05

>>36
abblication brogram inderface :----DDD

Name: L4TE 2012-01-26 23:02

Still waiting for serious answer.
:/

Name: Anonymous 2012-01-26 23:33

Application Binary Interface

Name: Anonymous 2012-01-27 1:45

>>36
Application Butthole Interface

Name: Anonymous 2012-01-27 2:30

>>36
Anus Bruising Intercourse

Name: Anonymous 2012-01-27 7:15

>>38
For what?

Name: Anonymous 2012-01-28 23:03

>>42
For >>36.
But I'm gonna assume >>39
was a serious answer, so yeah...

Name: Anonymous 2012-01-29 10:29

Application Dubs Interface

Name: Anonymous 2012-07-13 0:23

Has someone decided to work on this?
I haven't really had the time to learn a new language.
Job and whatnot.

Name: Anonymous 2012-07-13 1:49

>>45
Has anyone really been far even as decided to use even go want to do look more like?

Name: Anonymous 2012-07-13 5:09

[b][i]DEVELOPERS DEVELOPERS DEVELOPERS MY ANUS

Name: Anonymous 2012-07-13 5:09

[/i][/b]

Name: Anonymous 2012-07-13 10:44

Touhou would make a fucking amazing cellphone game.

Name: Anonymous 2012-07-13 20:14

J2ME Touhou

Name: Anonymous 2012-07-13 21:14

>>50
Someone make this. Just rewrite the whole game, it shouldn't be hard.

I really want to play Imperishable Night while on the bus.

Name: Anonymous 2012-07-14 0:05

>>13
Native code is the chief instruction set on your computer.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-07-14 7:39

>>49,51
http://itunes.apple.com/pk/app/fantasy-night-touhou-project/id409773958?mt=8

There's probably something for Android too, haven't looked.

Name: Anonymous 2012-07-14 7:45

>>53
That's a shitty Chinese ripoff that shamelessly uses ZUN and other artists' data. If you're going to buy Touhou, buy the real deal.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-07-14 7:59

>>54
More than a few people clearly want to play Touhou on their phones.

It's also free.

Name: Anonymous 2012-07-14 9:02

https://play.google.com/store/apps/details?id=vesp.touhou.shoot

But, this makes me sad:
This app is incompatible with all of your devices.

Name: Anonymous 2012-11-17 7:25

Still waiting.

Name: Anonymous 2012-11-17 7:36

>>56
lol android fragmentation

Name: Anonymous 2012-11-17 8:49

>>58
Artificial fragmentation. Google really fucked up when they decided to allow developers to geographically restrict their apps in the Play Store.

Name: Anonymous 2012-11-17 11:27

Still waiting, Reimu.

Name: Anonymous 2012-11-17 16:24

>>59

Gay Store

Name: Anonymous 2012-11-17 17:02

>>59
good luck exporting crypto to egypt or france

Name: Anonymous 2012-11-17 18:30

>>62
Hey, I'm not exporting anything, I'm just sending bits to another machine in the same country as me! What that machine does with those bits is out of my hands!

Name: Anonymous 2012-11-17 18:39

>>63
You will explain that to a judge, Milhouse.

Don't change these.
Name: Email:
Entire Thread Thread List