Welcome!
Final Burn Neo => FBN Development => Topic started by: dink on April 12, 2016, 03:28:30 PM
-
Once in a while I'll post some information about some neat tips/tricks that help me while I'm developing. This time, its macros for MingW's bash shell!
I have some macros in my mingw shell: cpu, drv and snd, you basically just type...
cpu(+enter) will go to ~/fbalpha/trunk/src/cpu
cpu z80(+enter) will go to ~/fbalpha/trunk/src/cpu/z80
snd and drv function in a similar fashion :)
edit /etc/profile, or c:\mingw\msys\1.0\etc\profile from outside of mingw
add at the bottom:
*NOTE: my source directory is in ~/fbalpha/trunk/, debug installation is ~/fbadebugg - change these to whatever you want.
gofbalphadrvdir() {
cd ~/fbalpha/trunk/src/burn/drv/$1
}
gofbalphaburnerdir() {
cd ~/fbalpha/trunk/src/burner/$1
}
gofbalphadebugdir() {
cd ~/fbadebugg
}
gofbalphadebuglaunch() {
cd ~/fbadebugg
fbaxp
}
gofbalphadir() {
cd ~/fbalpha/trunk
}
gofbalphaobjdir() {
cd ~/fbalpha/trunk/obj/47/3ds/$1
}
gofbalphacpudir() {
cd ~/fbalpha/trunk/src/cpu/$1
}
gofbalphasnddir() {
cd ~/fbalpha/trunk/src/burn/snd/$1
}
alias f=gofbalphadir
alias fd=gofbalphadebugdir
alias drv=gofbalphadrvdir
alias burner=gofbalphaburnerdir
alias fb=gofbalphadebuglaunch
alias obj=gofbalphaobjdir
alias cpu=gofbalphacpudir
alias snd=gofbalphasnddir
-
You'll need a good editor that can be loaded from MingW's bash shell, I use a fork of FTE called efte, available here: https://sourceforge.net/projects/efte/
Attached you'll find a .zip file with my efte config, it sets the tabstops properly for the FBAlpha project. In my windowsXP system, the config directory is in c:\program files\efte\config - it's probably something similar on other systems.